Skip to content

Omron Nexsocket

Driver that can be used to communicate with the Omron NEX Simulator. It is based on the NexSocket.dll The variable names in Simumatik need to match exactly with the name in the Global Variables at Sysmac Studio.

Parameters

Aside from the common parameters described in the communication_driver docs, this driver includes:

  • ip: IP address of the controller that want to connect to. Default = '127.0.0.1'

Setup data

The setup data will give values to the parameters required and will specify the I/O variables info.

{
    "parameters": {
        "ip": "192.168.1.23"
    },
    "variables": {
        "inputs": {
            "datatype": "byte", 
            "size": 1,
            "operation": "write"
        },
        "outputs": {
            "datatype": "byte", 
            "size": 1, 
            "operation": "read"
        }
    }
}

Note

The setup_params in the generic PLC components for allenbradley_logix will need the following format:

{"ip": "127.0.0.1"}