Skip to content

Allen-Bradley ControlLogix driver

This driver allows the communication between Simumatik and Allen-Bradley ControlLogix PLCs.

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 = '192.168.0.1'

Note

The IP address for this driver can be configured in the following ways:

  • IP Address Only (10.20.30.100) - Use for a ControlLogix PLC is in slot 0 or if connecting to a CompactLogix or Micro800 PLC.
  • IP Address/Slot (10.20.30.100/1) - (ControlLogix) if PLC is not in slot 0
  • CIP Routing Path (1.2.3.4/backplane/2/enet/6.7.8.9/backplane/0) - Use for more complex routing.

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"
        }
    }
}