1.5.7
Configuring RS-232 (CPX-CEC only)
An RS232 interface can be configured on the CPX-CEC:
•
Select the CPX-CEC controller in the "PLC Configuration" window.
•
Open the context menu with the right mouse button.
•
Select the "Append Subelement" menu item and then "RS232" in the context menu.
Figure: Selecting RS232 (CPX-CEC only)
•
Set the following module parameters for the RS232 node:
Module parameter
Value
Protocol
–
–
Baudrate
9,600 ... 230,400 bit/s
Figure: Module parameters for RS232 (CPX-CEC only)
Note
The transmission rate is limited when using an FED on the serial interface.
•
Set the baud rate to max. 38,400 bit/s.
The CoDeSys general online Help contains the documentation for using the libraries for the serial
interface. For CPX-CEC, Syslibcom.lib must be used with the parameter COM2.
Modular valve terminal with integrated controller CPX-CEC-...
None
(free programming with
SysLibCom.lib)
CoDeSys Protocol
(serial interface to FED)
Note
RS-232 interface of the CPX-CEC
corresponds to COM2
31