Festo control block CPX-CEC
4.13 Configuring Modbus TCP
The controller CPX-CEC-…-V3 supports Modbus TCP Client as well as Modbus TCP Master.
Operation with Modbus TCP Master is restricted to 8 simultaneously usable channels.
Detailed information on Modbus TCP can be found in the online Help for Codesys.
The following steps describe how to prepare to control a CPX-CEC-…-V3 by means of a further CPX-
CEC-…-V3 via Modbus TCP.
4.13.1 CPX-CEC-…-V3 as Modbus TCP client/master
1. Highlight the "Device (CPX-CEC)" branch in the Codesys device window.
2. Open the "Add Device" dialog
– menu command [Project] [Add Device] or
– context menu [Add Device].
Figure: Add Device - selecting "Ethernet"
3. Select the company "3S - Smart Software Solutions GmbH" in the "Vendor" drop-down list.
4. Accept "Ethernet" as the interface by clicking the "Add Device" button.
5. Highlight the new "Ethernet" branch in the device window.
6. Add a "Modbus TCP Master" module via the context menu.
45