background image

Festo control block CPX-CEC 

Installation 

3.1 

General information 

 

Caution 

Risk of injury due to electric shock. 

 

Always switch off the power supply before mounting or removing CPX modules. 

 

 

 

Note 

The controller CPX-CEC-...-V3 contains electrostatically sensitive components. 

 

Therefore do not touch any contacts. 

 

Observe the handling specifications for electrostatically sensitive devices. 

 

 

Note 

The controller CPX-CEC-...-V3 only supports single-channel switch-off. All inputs and outputs are 
de-energised when the power supply is switched off. 

 

 

Note 

Check your EMERGENCY STOP circuit in order to ascertain the measures necessary for 
switching your machine/system into a safe state in the event of an EMERGENCY STOP 

(e.g. shutting off energy sources; load voltage supply, compressed air, etc.). 

 

Information on mounting the CPX terminal can be found in the CPX system manual P.BE-CPX-SYS-.... .  

 

10 

Summary of Contents for CPX-CEC-C1-V3

Page 1: ...8042601 en 1411c 8042603 Terminal CPX Control block CPX CEC C1 V3 M1 V3 S1 V3 Description Codesys Controller...

Page 2: ......

Page 3: ...ess http www gnu org copyleft gpl html Internal CPX CEC V3 web server http IP address of the device cgi bin system about Festo AG CO KG D 73726 Esslingen 2014 Internet http www festo com E Mail servic...

Page 4: ...ntroller Fieldbus operating mode 9 3 Installation 10 3 1 General information 10 3 2 Mounting and removal 11 3 2 1 Removal 11 3 2 2 Mounting 11 3 3 Connection and display components 12 3 4 Setting the...

Page 5: ...s Modbus TCP client master 45 4 13 2 CPX CEC V3 as Modbus TCP slave device 50 4 14 Online mode 51 4 14 1 Login 51 4 14 2 Starting and monitoring the application 53 4 14 3 Logout 53 4 15 Forcing 54 4 1...

Page 6: ......

Page 7: ...ial applications interference suppression measures may be required outside of industrial environments e g in residential and mixed use areas In original condition without unauthorised modifications on...

Page 8: ...uators Use only power supplies that guarantee reliable electrical isolation of the operating voltage to IEC DIN EN 60204 1 Observe also the general requirements for PELV power circuits as per IEC DIN...

Page 9: ...additionally marked with a pictogram A distinction is made between the following danger warnings Warning means that serious injury to people and damage to property can occur if this warning is not hee...

Page 10: ...mation The manual refers to the following versions Codesys controller CPX CEC V3 Revision 01 and later CODESYS V3 pbF programming environment with CPX CEC package The manual contains information on th...

Page 11: ...ocess visualisation within Codesys using a display and operator unit CDPX and the Software Designer Studio available separately use of the OPC server for connecting to an OPC client or use of the web...

Page 12: ...ey are automatically shared based on the variable declaration within the application The following sample combinations for distributing the remanent memory are possible RETAIN variable PERSISTENT RETA...

Page 13: ...ary For configuring motor controllers from Festo e g CMMP AS Festo_FHPPMAX_3 library Festo profile FHPPMAX Festo_CPX CMAX_3 library For controlling and parameterising the Festo axis controller CPX CMA...

Page 14: ...Remote Controller Fieldbus fieldbus node required The individual operating modes are described briefly below 2 5 1 Standalone operating mode 1 CPX CEC V3 2 CPX terminal controlled by CPX CEC V3 Stand...

Page 15: ...Fieldbus operating mode 1 CPX CEC V3 for communication via the fieldbus node connected to the fieldbus 2 CPX fieldbus node in this case CPX FB13 3 CPX terminal controlled by CPX CEC V3 Remote Controll...

Page 16: ...ations for electrostatically sensitive devices Note The controller CPX CEC V3 only supports single channel switch off All inputs and outputs are de energised when the power supply is switched off Note...

Page 17: ...l the device carefully and without tilting away from the contact rails 3 of the manifold sub base 2 3 2 2 Mounting Note Mount the device at the left hand end position of the CPX terminal position 0 1...

Page 18: ...on DIL switches 2 RUN STOP rotary switch 6 DIL switch 2 section DIL switches 3 Ethernet interface 10 100BaseT RJ45 7 Connection for handheld CPX MMI 4 CPX CEC C1 V3 M1 V3 CANopen interface plug 9 pin...

Page 19: ...osition Setting Meaning 0 STOP Codesys controller stopped The STOP LED lights up yellow 1 F RUN Codesys controller started The RUN LED lights up green Factory setting 1 Table Switch positions of the R...

Page 20: ...uring protection to IP65 IP67 Ethernet cable Use connecting cables with the following specification Screened flexible Ethernet round cable from category 5 Max outside diameter 5 4 mm Core diameter 0 8...

Page 21: ...slaves with voltage Note Use a protective cap or blanking plug to seal unused connections This provides protection to IP65 IP67 section Ensuring protection to IP65 IP67 Connecting CANopen slaves Note...

Page 22: ...prevent equalising currents flowing through the screen of the CAN bus Clamp the screen under the clamp strap of the CAN bus plug accompanying manual for the CAN bus plug Appropriate CAN bus plugs ada...

Page 23: ...cables reduce interference immunity Make sure that the signal cable is not longer than 30 m 3 5 4 Power supply The power for the device is supplied via the manifold sub base The device is supplied via...

Page 24: ...the accompanying user documentation when installing the device Figure CPX CEC V3 with operator unit CDPX Connect the CDPX to the CPX CEC V3 directly via the Ethernet interface or indirectly via a swit...

Page 25: ...for handheld CPX MMI Further information section Parameterisation using the handheld CPX MMI General information on the CPX MMI can be found in the manual P BE CPX MMI 1 3 8 Ensuring protection to IP...

Page 26: ...software Filename Contents CODESYS Installation and Start pdf Getting started with the Codesys programming system English CoDeSys_OPC_Server_V3_User_Guide pdf Documentation for OPC Server V3 installat...

Page 27: ...on and confirm your entries by clicking OK Figure New Project dialog 4 4 2 Selecting a device 1 Select the relevant device in the CPX CEC Project dialog Check the Show all device versions box for an e...

Page 28: ...grey and cannot be selected The Codesys program window opens with the newly created project 1 Device window with CPX CEC V3 its interfaces and PLC logic 2 Editing window with tabs for the objects act...

Page 29: ...section Selecting a device If necessary change the sorting sequence to alter how the devices are displayed in the updated list Manually select a device if you know the name node address or IP address...

Page 30: ...al gateway 2 Click the Add device button Figure Add device dialog 3 Enter the name node address or IP address of the device to be connected in the Add device dialog and confirm your entries by clickin...

Page 31: ...vice The currently active path is shown in bold in the list and active is appended to the name Figure Activated device 4 5 Scan Festo Devices To launch the scan program Scan Festo Devices 1 Click the...

Page 32: ...rties dialog 3 If necessary change the IP address 4 If necessary change the settings for the subnet mask standard gateway and DNS server 5 Transfer the changes to the device To do this click OK 6 Wait...

Page 33: ...ode automatically section Automatically reading in the configuration or manually section Manual configuration 4 6 1 Configuration by entering the order code 1 Double click the CPX_System node in the D...

Page 34: ...ual configuration function on the Module Configuration tab 3 Execute the Scan function 4 Click Apply to transfer the result to the device configuration Figure Automatic scanning function for the actua...

Page 35: ...lternatively you can also address the inputs and outputs manually 3 Save the project and close the dialog by clicking Close Addressing settings The I O addresses are automatically assigned by Codesys...

Page 36: ...Festo control block CPX CEC Figure Changing the I O address manually Check the Always update variables box 30...

Page 37: ...an be found in the user documentation for the respective modules The following parameterisation options are available Parameterisation via Description Properties Module configuration in Codesys offlin...

Page 38: ...tion tab contains information about the settings for the CPX system and the diagnostic memory trace parameters Note Changes are only transferred to the controller system and only come into effect afte...

Page 39: ...et all outputs to default Execute program Figure PLC system settings The setting of specific values in stop mode can therefore be achieved via the Execute program option Note General I O settings in s...

Page 40: ...mode Select a module in the device tree Figure CPX module selection The Module Configuration tab contains information about the settings for the CPX module Note Changes are only transferred to the con...

Page 41: ...d from module function 2 Change the values of the individual parameters 3 Save the changes using the Write to module function or log into the controller 4 Generate a boot project if required so that t...

Page 42: ...k CPX CEC Module errors are displayed on the Status tab in online mode Figure CPX module status Information about the module available electronically is displayed on the Information tab Figure CPX mod...

Page 43: ...ormation on parameterisation via CPX MMI can be found in the manual P BE CPX MMI 1 4 10 Rotary switch settings The rotary switch is permanently assigned to a variable on the Onboard Bus I O Mapping ta...

Page 44: ...aud rate is opened by double clicking the CAN branch in the Codesys device window 4 11 1 Adding a CANopen slave 1 Highlight the CANopen_Manager branch in the Codesys device window Figure Device window...

Page 45: ...minal CPV CO2 section Integrating CPV terminals 6 Close the dialog by clicking the Close button 7 Highlight the added CANopen slave in the device window Figure Device window selecting FB14 8 Double cl...

Page 46: ...dding a CANopen slave step 3 1 Highlight the CANopen slave CO2 in the device window 2 Open the Add Device dialog menu command Project Add Device or context menu Add Device 3 Select one of the followin...

Page 47: ...the actual cycle time in the SoftMotion program We recommend operating up to 8 axes on a CPX CEC M1 V3 4 12 3 Cycle time interpolation time Different cycle times must be observed depending on the conn...

Page 48: ...s are in the range from 0 to 15 Priorities 15 are non real time priorities 3 Set the task type to External and the external event to CANopen_SYNC Figure Configuring the MotionTask 4 Add a CANbus node...

Page 49: ...ime on the CANopen I O Mapping tab Figure Configuring the bus cycle task 10 Add SoftMotion drives to the CANopen_Manager e g CMMP_AS_C2_3A_M3_SoftMotion Virtual drives can be added to the SoftMotion G...

Page 50: ...tion drives on the SoftMotion Drive Basic tab Figure Configuring the basic parameters 13 Configure the scaling factors for the individual SoftMotion drives on the SoftMotion Drive Scaling Mapping tab...

Page 51: ...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 me...

Page 52: ...Master in the Ethernet branch 7 Highlight the new Modbus TCP Master branch and add the Modbus TCP Slave module using the context menu 8 Repeat this process for the other Modbus TCP slaves Figure Devic...

Page 53: ...ication 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...

Page 54: ...Festo control block CPX CEC Figure Settings on channel 1 Figure Settings on channel 2 48...

Page 55: ...r the slave Figure Modbus TCP Slave I O Mapping tab If the timeout option is activated and if this has a value greater than zero the holding register values IW are automatically reset after this time...

Page 56: ...Slave in the Ethernet branch 2 Highlight the branch of the device being parameterised as a Modbus TCP Slave Device Several tabs for parameterising the selected Modbus TCP Slave Device are displayed i...

Page 57: ...tion ALT F8 Codesys logs in to the CPX CEC V3 connected via the active path in the gateway First a comparison is performed of whether the connected CPX CEC V3 matches the device selected in the projec...

Page 58: ...e connection to the CPX CEC V3 as well as the application are highlighted in green in the device window The CPX CEC V3 is online the application is not started not running the Run status LED lights up...

Page 59: ...ainst a green background in the device window run appears after the application CPX CEC V3_Code The circular arrows in front of the various devices of the CPX CEC V3 light up green The application on...

Page 60: ...ual output signal and can be observed at the relevant status LED However the forced output signal is not transferred to the image table of the outputs The online display in Codesys does not show the f...

Page 61: ...on Online mode if necessary a temporary connection to the device in the active path is established The target system ID of the controller in the active path must be the same as the device type in the...

Page 62: ...CEC V3 Diagnosis via Advantages LEDs Fast local error detection using LEDs section Status LEDs Handheld CPX MMI Fast local error detection CPX system manual Codesys Online diagnosis In the diagnostic...

Page 63: ...llow 1 The RUN and STOP LEDs indicate the status of the RUN STOP rotary switch Figure Status LEDs on the CPX CEC V3 LED Sequence Meaning Error handling RUN PLC status started Lights up green PLC progr...

Page 64: ...PS power system Lights up green No error Operating voltage sensor supply present Flashes green quickly Operating voltage sensor supply outside the tolerance range Eliminate undervoltage Flashes green...

Page 65: ...nge Eliminate undervoltage SF system failure Flashes red Minor error class 1 information Description of the error numbers in the CPX system manual Error class 2 Serious error class 3 No error M Modify...

Page 66: ...s in the controller configuration 5 3 1 Diagnostic messages in PLC diagnosis Diagnostic information is recorded and displayed centrally in PLC diagnosis Select PLC_Diagnosis in the device tree Figure...

Page 67: ...LC diagnosis Exporting all messages to a CSV file Selection filter for displaying the diagnostic messages Error Warning Information Error number Application 5 3 2 Diagnostic messages on the Log tab Di...

Page 68: ...in the Scan Festo Devices dialog Diagnostic information is called up in the Scan Festo Devices dialog in the context menu of the selected Festo device using the Diagnosis function Figure Calling up Di...

Page 69: ...n Drive Basic tab Figure Error message on the SoftMotion Drive Basic tab A list of possible SoftMotion error numbers can be found in the 3S online Help SoftMotion Programming Interface SoftMotion Libr...

Page 70: ...gram The following Festo libraries can be used for diagnosis in the user program Festo_General_3 General device diagnosis Festo_CPX_3 CPX specific diagnosis Examples and documentation for this functio...

Page 71: ...g pointers to outputs because Codesys cannot automatically detect which output is being accessed by means of a pointer Referencing this output with the following sample calls is enough to guarantee an...

Page 72: ...n_Manager tab starts all slaves simultaneously Figure Selecting CANopen_Manager Figure NMT Start All option Note The command NMT Start All is not executed while optional slaves are not yet ready to st...

Page 73: ...MI are always overwritten by the parameters in the Codesys project when a project is downloaded and a boot project is started 6 5 Data incompatibility between the runtime project and controller If the...

Page 74: ...X CEC C1 V3 Motion functions for electric drives CPX CEC M1 V3 SoftMotion functions for electric drives CPX CEC S1 V3 RS232 communication function Ethernet protocols EasyIP Modbus TCP TCP IP Ethernet...

Page 75: ...nal operating voltage 24 V DC Load voltage Without pneumatic components 18 V DC 30 V DC With Midi Maxi pneumatic components 21 6 V DC 26 4 V DC With CPA pneumatic components 20 4 V DC 26 4 V DC With M...

Page 76: ...YS V3 provided by Festo allows the configuration commissioning and programming of different Festo components and devices It is called Codesys for short in this online Help manual Codesys target system...

Page 77: ...us data profile for positioning controllers from Festo Handheld CPX MMI Handheld programmer for commissioning and service purposes IP Internet Protocol protocol for addressing and delivering data Modb...

Page 78: ...rotocol for data transport and backup TCP IP Combination of the protocols TCP and IP the most widely used protocol in communication via Ethernet UDP User Datagram Protocol a minimal connection free ne...

Reviews: