Skip to main content

Ethernet/IP Generic Device Driver

Parameters

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

ParameterDefault ValueDescription
ip127.0.0.1IP address used by the device.
read_size1Size in bytes of the data sent from the PLC to the Device.
write_size1Size in bytes of the data sent from the Device to the PLC.

Setup data

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

{
"parameters": {
"ip": "127.0.0.1",
"read_size": 1,
"write_size": 1
},
"variables": {
"in_0": {
"datatype": "int",
"size": 1,
"operation": "write"
},
"out_0": {
"datatype": "int",
"size": 1,
"operation": "read"
}
}
}
note

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

{ "ip": "192.168.0.1", "comm": "tcp" }