Festo control block CPX-CEC
9. Highlight one of the "Modbus TCP Slave" branches.
Several tabs for parameterising the selected "Modbus TCP Slave" are displayed in the workspace.
Figure: Workspace for "Modbus TCP Slave" (parameters)
10. Enter the IP address for the Modbus TCP slave.
11. Enter the unit ID for the Modbus TCP slave.
If the unit ID is not the same as the unit ID configured in the slave, communication cannot take place.
12. Enter the port for the Modbus TCP slave.
To configure the I/O mapping, appropriate channels must be added.
Figure: Workspace for "Modbus TCP Slave" - adding a channel
13. Click the "Add Channel..." button and set the desired parameters.
The appropriate parameters are described in the Codesys Help.
Using the CPX-CEC-…-V3 as a Modbus TCP slave provides
–
access to the range %QW with access type "Read Input Registers (function code 04)"
–
access to the range %IW with access type "Write Multiple Registers (function code 16)"
The length specifies how many words should be read and written.
47
Summary of Contents for CPX-CEC-C1-V3
Page 2: ......
Page 6: ......
Page 54: ...Festo control block CPX CEC Figure Settings on channel 1 Figure Settings on channel 2 48...