
Table of Contents
1CPX-CEC-............................................................................................................................................1
1.1 Modular valve terminal with integrated controller CPX-CEC-.......................................................1
1.2 CoDeSys provided by Festo for CPX-CEC-.................................................................................1
1.2.1 What is CoDeSys provided by Festo?..............................................................................1
1.2.2 Additional functions for CPX-CEC-...................................................................................2
1.2.3 Documentation and Help ..................................................................................................2
1.2.4 Designated use.................................................................................................................3
1.2.5 Service..............................................................................................................................3
1.2.6 Target group......................................................................................................................3
1.2.7 Important user information................................................................................................3
1.2.8 Marking special information in the target system-specific Help.........................................3
1.3 Overview of functions and libraries..............................................................................................5
1.3.1 Function overview.............................................................................................................5
1.3.2 Libraries..........................................................................................................................14
1.4 Preliminary work ........................................................................................................................16
1.4.1 Prerequisites...................................................................................................................16
1.4.2 Preparing the PC............................................................................................................16
1.4.3 Installing the target system.............................................................................................17
1.4.4 Selecting the target system.............................................................................................20
1.5 CPX-CEC-... PLC configuration.................................................................................................21
1.5.1 IP address setting...........................................................................................................22
1.5.2 Target system settings....................................................................................................24
1.5.3 General parameter information.......................................................................................25
1.5.4 System parameter settings.............................................................................................26
1.5.5 Rotary switch settings.....................................................................................................26
1.5.6 Manual I/O configuration of the CPX system..................................................................27
1.5.7 Configuring RS-232 (CPX-CEC only).............................................................................31
1.5.8 Configuring SoftMotion for CPX-CEC-M1.......................................................................32
1.6 CPX module descriptions...........................................................................................................35
1.6.1 System configuration tabs...............................................................................................35
1.7 Online configuration/online mode...............................................................................................37
1.7.1 Determining the network configuration ...........................................................................37
1.7.2 CPI scan.........................................................................................................................38
1.8 Diagnosis...................................................................................................................................39
1.8.1 Diagnostic options with the PLC configuration in online status.......................................39
1.8.2 Error and diagnostic information.....................................................................................40
1.9 Diagnosis in the user program...................................................................................................41
1.9.1 Example: A short-circuit on the 5th output channel of the 3rd module (8DI/8DO)...........42
1.9.2 Error handling by the CPX-CEC-....................................................................................44
1.9.3 CANopen fieldbus master diagnosis...............................................................................46
1.10 Application and programming instructions.................................................................................52
1.10.1 I/O update.......................................................................................................................52
1.10.2 Using CANopen masters ................................................................................................52
1.10.3 CPX-MMI use and program downloads..........................................................................52
1.11 Appendix....................................................................................................................................53
1.11.1 Festo terms and conditions for the use of software packages........................................53
2Glossary............................................................................................................................................55
3Index..................................................................................................................................................57