WCCOAtoolCMactivation - Local PC Operations

Local operations that can be performed on a WinCC OA installation without requiring access to the License Portal.

Operations shown in this section are common to a WinCC OA installation and do not require any access to license portal.

Container Operations

Get the IP address of license server

This is useful when a container is not attached locally. WCCOAtoolCMactivation cannot guess whether a server or a local installation is being used, hence when the container to be handled is possibly remote the search for an IP address should be done first.

WCCOAtoolCMactivation -info -serial 130-123456789

Example JSON response:

{
  "returnmessage": {
    "errorcode": 0,
    "errortext": "operation \"info\" completed successfully",
    "internalerrorcode": "0",
    "internalerrortext": ""
  },
  "result": {
    "servername": "<ServerName>",
    "serverip": "<IP Address>"
  }
}
Create a new container

This is the action behind the "+" icon in WinCC OA PA license panel. This call works locally or with a license server.

WCCOAtoolCMactivation -container -lif "C:\Siemens\Automation\WinCC_OA\3.20\data\license\ETM_pc_-_A_Siemens_Company.WibuCmLif"

Example JSON response:

{
  "returnmessage": {
    "errorcode": 0,
    "errortext": "operation \"cmcontainer\" completed successfully",
    "internalerrorcode": "0",
    "internalerrortext": ""
  },
  "result": {
    "cmcontainer": "130-987654321"
  }
}

This works with the IP address of a license server as well:

WCCOAtoolCMactivation -container -lif "C:\Siemens\Automation\WinCC_OA\3.20\data\license\ETM_pc_-_A_Siemens_Company.WibuCmLif" -server 192.168.1.100
Import update file into container

After downloading and transferring the update file (.rau) to the offline PC, import it.

WCCOAtoolCMactivation -import -update license-update.rau -serial 130-987654321
Create context file

Create a license context file (.rac) for container synchronization or receipt creation.

WCCOAtoolCMactivation -create -context license-context.rac -serial 130-987654321

Remote Server Operations

All operations can also be performed with remote license servers by adding the -server <IP> option to each call.

Example with remote server:

WCCOAtoolCMactivation -container -lif "C:\Siemens\Automation\WinCC_OA\3.20\data\license\ETM_pc_-_A_Siemens_Company.WibuCmLif" -server 192.168.1.100