SINUMERIK S7 TCP command line params - x-tensive/OPCUA.embedded GitHub Wiki

/instance:<instanceName>

Optional. Specifies instance name for non-default instance. Instances are explained here.

/port:<port>

Optional. Specifies TCP port for OPC UA server. Default is 4840.

/nocert

Optional. Indicates that OPC UA server should not use x509 certificate and private key. Only unsecured OPC UA server endpoint is hosted. Avoid to use it in production environments.

/dev:<deviceHost>[:<devicePort>]

Specifies SINUMERIK device host and port. Host can be a network name or IP address. Port is optional, default is 102.

/nck[:<tsap>]

Optional. Indicates that NCK address space should be initialized. TSAP number is optional, define it only for non-standard NCK device TSAP number.

/plc[:<tsap>]

Optional. Indicates that PLC address space should be initialized. TSAP number is optional, define it only for non-standard PLC device TSAP number.

Both NCK and PLC TSAP numbers can be defined as decimal or hexadecimal numbers. Use "0x" prefix for hexadecimal, for instance, "/nck:0x307"

Here is an example of connecting SINUMERIK device with IP address 192.168.0.1 and default TCP port 102, both NCK and PLC adress spaces are initialized:

dpa.opcua.s7nck.exe /dev:192.168.0.1 /nck /plc
⚠️ **GitHub.com Fallback** ⚠️