background image

 

System manual CECX / Incremental encoder interface module CECX-C-2G2 

CECX-II 27-16 

 

27.6.4 Speed  measurement 

The velocity measurement function can be used to obtain a good accuracy 
of the evaluation when using a rotary encoder with a low resolution. 
This is done by measuring the period duration between two incremental 
encoder pulses by means of an internal time basis. 
 
The velocity measurement can be made in either direction. 
The velocity value is measured four times for each period duration. 
 
If the direction is changed during an ongoing measurement, the measure-
ment is started anew. 
Once the measurement is completed the value is marked as new. 
 
The input pulses are scanned with an internal tact of 50 MHz. At a maxi-
mum input frequency of 250 kHz this will result in a resolution of at least 8 
Bit. 
 
Frequencies that are smaller than 3 pulses per second are evaluated as ze-
ro velocity. 
 

27.6.5 Pulse  counter  without direction evaluation 

This function provides a pulse counter at track A (edgeCount=4). Direction 
information will not be taken into consideration. Track B and Zero are not 
evaluated. 
 

27.6.6 Pulse  counter  with direction evaluation 

This function provides a pulse counter at track A. The status of track B de-
cides on the direction of counting. 
Track B = 0 -> forward 
Track B = 1 -> backward 
Track Zero is not evaluated. 
 

Summary of Contents for CECX-X-C1 Series

Page 1: ...Manual Controller Modular CECX CECX X C1 CECX X M1 761886 1112c en ...

Page 2: ...1112c en ...

Page 3: ...international festo com The copying distribution and utilization of this document as well as the communication of its contents to others without expressed authorization is prohibited Offenders will be held liable for compensation of damages All rights are reserved in particular the right to carry out patent utility model or ornamental design registration ...

Page 4: ......

Page 5: ... II System ManualCECX CECX III Library Ethernet lib CECX IV Library EventData lib CECX V Library IncEnc lib CECX VI Library Festo_EasyIP lib CECX VII Library PLCService lib CECX VIII Library SysLibComEx lib CECX IX Library Festo_Motion lib CECX X Library Festo_PartDetector lib CECX XI Interface FED VipWin 1112c en ...

Page 6: ...1112c en ...

Page 7: ...CECX modular control system CECX modular control system ...

Page 8: ... map 15 Address setting for modules 15 CECX D 16E 16 CECX D 14A 2 17 CECX D 8E8A NP 2 18 CECX D 6E8A PN 2 20 CECX A 4E V 21 CECX A 4A V 22 CECX A 4E4A V 23 CECX A 4E4A A 24 CECX E 4E T P1 25 CECX E 6E T P2 26 CECX F PB S V1 12 Bytes 32 Bytes 64 Bytes 27 CECX F PB V1 28 CECX C 2G2 30 CECX S 2S1 31 CECX C 2G1 32 CECX C S1 CECX S S4 33 CECX B CO 33 CAN Master SLOT 35 Bus interface SLOT for Controller...

Page 9: ...es The development environment therefore contains many functions that are only available on specific controls Not all these functions are supported by the CECX modular control system The functions of CoDeSys provided by Festo that are supported by CECX modular control system is contained in the Overview of functions further down Overview of chapters Overview of functions and libraries Network conf...

Page 10: ...e code Yes All files Yes Implicit during loading Yes Notes during loading Yes Creating implicit during boot project Yes Source download Only upon request Yes Symbol configuration Yes Project data base ENI server No Macros Yes 2 If nothing else is specified always use the current compiler version Functionality functions Supported Managing projects All functions Yes Managing objects All functions Ye...

Page 11: ...ngle cycle Yes Writing values Yes Forcing values Yes Cancel forcing Yes General online functions part 1 Writing forcing dialog Yes Functionality functions Supported Invocation hierarchy Yes Sequence control Yes Simulation Yes Communication parameters Yes Load source code Yes Creating boot project Yes Writing file into control Yes Loading file from control Yes 1 Online change Yes 2 General online f...

Page 12: ...e is used the contents of addresses can be displaced Functionality functions Supported Windows All functions Yes Instruction list IL Yes Structured Text ST Yes Sequential Function Chart SFC Yes Ladder Diagram LD Yes Function chart FUP Yes Editors languages Continuous graphic function chart CFC Yes Addresses automatically Yes Check address overlapping Yes Configuration options Storing configuration...

Page 13: ...s debug_loop DI_edge Yes Task configuration in online mode All functions Yes A task with a valid condition is executed either when the time specified at Interval has expired or after a rising edge of a condition variable specified at event Yes If several tasks have a valid condition the task with the highest priority is executed Yes If several tasks have a valid condition and equal priority then t...

Page 14: ...etPlcProgram or file operations should therefore not be executed An IEC task with the highest priority which runs as event driven task should be used for debugging In the context of the event only the event on which the task is waiting is called up if necessary also information that would otherwise be lost is stored e g the precise time stamp although this should only be assignments to global vari...

Page 15: ...can be used by the application Functionality functions Supported I O configuration configurable Yes I O configuration Download as file No added to program code I O configuration No address check Yes can be set Supporting CANopen configuration Yes Supporting profibus configuration Yes Supporting preemptive multi tasking Yes fixed Online change Yes can be set Updating used IOs Yes can be set Single ...

Page 16: ...twork functions Subindex area Yes Display width in pixel Yes can be set Display height in pixel Yes can be set Use of 8 3 file format Yes 2 can be set Alarm handling within the control No Trend data recording within the control Yes can be set Activating system variable CurrentVisu Yes can be set Supported fonts in the target system No Simplified input handling Yes can be set Web visualization No i...

Page 17: ... Yes Comparative operators Yes Address operators Yes Call operators Yes Type conversion Yes IEC operators and additional standard extending functions Numeric operators Yes BOOL constants Yes TIME constants Yes DATE constants Yes TIME_OF_DAY constants Yes DATE_AND_TIME constants Yes Numbers constants Yes REAL and LREAL constants Yes STRING constants Yes Constants Typed constants Yes Variables Yes V...

Page 18: ...Command line commands Yes Command line commands Command file commands Yes Keyboard operation All functions Yes Siemens import All functions Yes DDE communication All functions Yes CoDeSys visualization All functions Yes CoDeSys HMI All functions Yes 1 CoDeSys license management All functions Yes 1 Tools for calling up external applications All functions No SoftMotion All functions Yes 2 1 Not cont...

Page 19: ...SysLibPlcCtrl lib SysLibProjectInfo lib SysLibRtc lib 3 SysLibSem lib SysLibShm lib SysLibSockets lib 4 SysLibSocketsAsync lib 4 SysLibStr lib SysLibTask lib SysLibTime lib SysTaskInfo lib BusDiag lib System libraries that offer access to special hardware and software functions of a CECx e g access to real time clock file system communication interface etc Diagnosis for CAN bus systems and PROFIBU...

Page 20: ...onfiguration SLOT Tab Find PLC lists the controls that have been found in the network The following actions can be activated with buttons Search Network Add PLC Net Config Set as active PLC Search Network By pressing button Search Network the search for controls in the network will be repeated Prerequisite is that Multicast has been enabled by the network administrator and Answer on find requests ...

Page 21: ...e control configuration Entered here are the control components used and how they are configured Prerequisites A target system of the CECX series must be installed with Install Target When creating a new project the target system must be selected in Target system settings under configuration The settings for Target platform Memory partioning General Network functions and Visualization are preset a...

Page 22: ...been configured CoDeSys creates end points which can be accessed in the IEC program The following end points will be created One end point per input or output containing the measured value e g the value V for an analog electrical signal A status value as diagnosis information for each module module error If this value is TRUE an error exists otherwise not A status value for each end point end poin...

Page 23: ...everal CECX D 16E modules that have been added to the same CPU module must have different addresses If this instruction is not adhered to and address conflicts result it is possible that modules are not recognized and that inputs output settings are duplicated set incorrectly or not set at all Different type modules e g a CECX D 16E module and a CECX A 4E4A V module on a CPU module can use the sam...

Page 24: ...ght into agreement with the position of the address switch on the module DI0 DI15 despike None No input signal debouncing 100 ms Debouncing time 100 ms DI0 DI1 Interrupt None No edge evaluation Rising edge Signal change at rising edge Falling edge Signal change at falling edge Both Signal change at every signal edge The two inputs DI0 and DI1 can be interrupted i e they can trigger system events w...

Page 25: ...Address Auto The address set on the hex switch on the module is recognized and taken over automatically See chapter Address setting for modules 0 F The address set here specified in hexcode must be brought into agreement with the position of the address switch on the module DO0 DO7 short circuit scan DO8 DO13 short circuit scan None This module has two output groups with separate voltage supply Th...

Page 26: ...nterruptible 8 digital outputs 2A source at 50 coincidence short circuit protected overload protection short circuit detection group cut off Module parameters Name Value Description Address Auto The address set on the hex switch on the module is recognized and taken over automatically See chapter Address setting for modules 0 F The address set here specified in hexcode must be brought into agreeme...

Page 27: ...ling edge Both Signal change at every signal edge The two inputs DI0 and DI1 can be interrupted i e they can trigger system events when corresponding module parameters have been set They can be evaluated with the functions of the EventData lib library Status values as diagnosis information The following status values are created for this module example Possible error states when status TRUE Module...

Page 28: ...greement with the position of the address switch on the module short circuit scan None The short circuit detection deactivates all active outputs of the output group scan The short circuit detection reactivates the outputs not affected by the short circuit DI0 DI5 despike None Debouncing time 1 ms 100 ms Debouncing time 100 ms DI0 DI1 Interrupt None No edge evaluation Rising edge Signal change at ...

Page 29: ...alog input output module Analog inputs 10V or 0 10V resolution 14 bit sensor failure detection Module parameters Name Value Description Address Auto The address set on the hex switch on the module is recognized and taken over automatically See chapter Address setting for modules 0 F The address set here specified in hexcode must be brought into agreement with the position of the address switch on ...

Page 30: ...s defective or missing AI status sensor failure detection CECX A 4A V Analog input output module 4 analog outputs 10V resolution 12 Bit Module parameters Name Value Description Address Auto The address set on the hex switch on the module is recognized and taken over automatically See chapter Address setting for modules 0 F The address set here specified in hexcode must be brought into agreement wi...

Page 31: ...tion 12 Bit Module parameters Name Value Description Address Auto The address set on the hex switch on the module is recognized and taken over automatically See chapter Address setting for modules 0 F The address set here specified in hexcode must be brought into agreement with the position of the address switch on the module AI0 AI3 operating mode 10 10 V Operating mode with differential input ci...

Page 32: ...cription Address Auto The address set on the hex switch on the module is recognized and taken over automatically See chapter Address setting for modules 0 F The address set here specified in hexcode must be brought into agreement with the position of the address switch on the module AI0 AI3 operating mode 0 20 mA Operating mode with input current range 0 to 20 mA 4 20 mA Input current range 4 to 2...

Page 33: ...rature sensor 2 or 4 conductor technique Module parameters Name Value Description Address Auto The address set on the hex switch on the module is recognized and taken over automatically See chapter Address setting for modules 0 F The address set here specified in hexcode must be brought into agreement with the position of the address switch on the module Status values as diagnosis information The ...

Page 34: ...e compensation of the terminal temperature is achieved with an internal temperature measurement sensor microvolt is applied if the terminal temperature is measured with a semi conductor temperature sensor KTY type with a nominal resistance of 2 000 W This semi conductor temperature sensor is connected to an analog input The cold junction compensation and the linearization must be realized in the u...

Page 35: ...le is recognized and taken over automatically See chapter Address setting for modules 0 Only two modules of this type may be operated on one CPU An address setting is therefore not required The required GSD file CECX_F_FB_S_V1_6008 gsd for the configuration of the PROFIBUS slave module is stored in the IOCONFIG directory of the Target Support Packages Data The data transmitted over the PROFIBUS ar...

Page 36: ... as diagnosis information The following status values are created for this module example for 32 byte module Possible error states when status TRUE Module status module is defective or missing BAI status none BAO status none CECX F PB V1 PROFIBUS Master interface module PROFIBUS Master DPV1 The module is configurable in the PLC configuration at the lower most unused SLOT see image CECX I 28 ...

Page 37: ... BusDiag_Lib Declaration of variables PROGRAMM BusDiag_Lib_Profibus VAR DiagGBS DiagGetBusState DiagGS DiagGetState Diag BOOL FALSE Stationsadress DWORD Stationsadress of the profibus slave END_VAR Program code DiagGBS ENABLE TRUE DRIVERNAME 0 DEVICENUMBER 2 Initial situation In the case of an error the bus has the state 7 DiagGBS EXTENDEDINFO Stationsadress 7 In the following it is described how ...

Page 38: ...le ended RS 422 For encoders with RS 422output 5 V differential INC0 INC1 edge count 1x Encoder counter pulse single 2x Encoder counter pulse 2 fold 4x Encoder counter pulse 4 fold Counter Counter with track A without direction detection Signed counter Counter with track A and B with direction detection INC0 DI0 INC1 DI1 latch edge None No latch function data storage at change of latch input signa...

Page 39: ...S1 Serial interface module 2 RS 232 C Modul parameters Name Value Description address auto The address set on the hex switch on the module is recognized and taken over automatically See chapter Address setting for modules 0 F The address set here specified in hexcode must be brought into agreement with the position of the address switch on the module Status values as diagnosis information The foll...

Page 40: ...kBaud 1 Mbaud Data transmission rate data bits 16 24 Number of data bits data code Binary oder gray code Coding of the sensor Gray code after Frank Gray coding process for robust transmission of digital values bit oder most significant bit first oder least significant bit first Specification of sequence in which the bits are transmitted in the data stream Status values as diagnosis information The...

Page 41: ...arity data bits 8 Number of data bits stop bits 0 1 oder 2 Number of stop bits See also online help to the target system CECX under Start up of CoDeSys and control Establishing PC Control connection Serial connection CECX B CO CANOpen bus link module for up to 12 add on modules The CECX B CO is a CANOpen bus link module and may be connected as slave module to each CAN master module Set the values ...

Page 42: ... that the modules selected are inserted in the sequence described above Otherwise data could be written onto the wrong modules When adding modules they are inserted above the actual selected module Do not start selection with module of CECX E 6E T P2 type PDO Mapping To ensure that data are transmitted between CAN Master and CAN Slave the Receive PDO Mapping and the Send PDO Mapping must be set ri...

Page 43: ...nk module CECX B CO CAN Master SLOT Configuration entry for a CAN Master for operating CAN slaves If the CAN master is set on unused or on Businterface then the libraries 3S_CANDrv lib 3S_CANOpenManager lib and 3S_CANOpenMaster lib that have been inserted automatically must be removed manually otherwise conflicts could arise during the compilation of the project Bus diagnosis The library BusDag li...

Page 44: ...ing the diagnosis information in the case of an error DiagGBS EXTENDEDINFO NodeID 7 the variable Diag must be set manually to TRUE The emergency telegram is displayed in DiagGS EXTENDEDINFO IF Diag THEN DiagGS ENABLE TRUE DRIVERNAME 0 DEVICENUMBER CANMaster BUSMEMBERID NodeID Diag FALSE END_IF Bus interface SLOT for Controller CECX X M1 Configuration entry of a bus interface for SoftMotion drives ...

Page 45: ...o further cycle until an application reset was performed Other tasks of the taskconfiguration are not stopped When the whole application is stopped a start is only possible after an application reset If a reaction is desired from the user a watchdog exception handler must be added Task configuration System events The system behavior can be influenced as desired in this e g by call of a callback fu...

Page 46: ...CECX modular control system CECX I 38 ...

Page 47: ...System manual CECX ...

Page 48: ...CECX II ...

Page 49: ...rol 3 1 3 2 Working mode of the control 3 4 3 3 Start up and programming overview 3 5 4 General assembly and installation instructions 4 1 4 1 General instructions on assembly and removal 4 1 4 2 Mounting rail 4 1 4 3 Footprint 4 2 4 4 Adding modules 4 2 4 5 Mounting dismounting the boards and modules 4 3 4 6 Air conditioning ventilation 4 7 5 Power supply of modules 5 1 5 1 Connection 5 1 5 2 Pow...

Page 50: ...C directives and standards 12 1 12 1 Why EMC compatible wiring 12 2 13 Connections and wiring 13 1 13 1 General information on interfaces 13 1 13 2 General information on inputs outputs 13 7 13 3 General limits for wire cross sections 13 11 13 4 Test of interference immunity 13 12 14 CPU module 14 1 14 1 Introduction 14 1 14 2 Safety notes 14 1 14 3 Description of the module 14 4 14 4 Operating el...

Page 51: ...odule CECX D 8E8A NP 2 17 1 17 1 Introduction 17 1 17 2 Safety notes 17 1 17 3 Description of the module 17 3 17 4 Connections and wiring 17 4 17 5 Configuration 17 11 17 6 Operating behavior 17 12 17 7 Disposal 17 14 17 8 Technical data 17 15 17 9 EC directives and standards 17 17 18 Digital input output module CECX D 6E8A PN 2 18 1 18 1 Introduction 18 1 18 2 Safety notes 18 1 18 3 Description o...

Page 52: ...nfiguration 21 12 21 6 Operating behavior 21 13 21 7 Disposal 21 14 21 8 Technical data 21 15 21 9 EC directives and standards 21 17 22 Analog input output module CECX A 4E4A A 22 1 22 1 Introduction 22 1 22 2 Safety notes 22 1 22 3 Description of the module 22 3 22 4 Connections and wiring 22 5 22 5 Configuration 22 10 22 6 Operating behavior 22 11 22 7 Disposal 22 12 22 8 Technical data 22 13 22...

Page 53: ...5 10 EC directives and standards 25 10 26 PROFIBUS Slave interface module CECX F PB S V1 26 1 26 1 Introduction 26 1 26 2 Safety notes 26 1 26 3 Description of the module 26 3 26 4 Operating elements and displays 26 4 26 5 Connections and wiring 26 5 26 6 Configuration 26 8 26 7 7 Operating behavior 26 8 26 8 Disposal 26 8 26 9 Technical data 26 9 26 10 EC directives and standards 26 10 27 Increme...

Page 54: ...Introduction 30 1 30 2 Safety notes 30 1 30 3 Description of the module 30 3 30 4 Installation instructions 30 4 30 5 Display and operating elements 30 6 30 6 Connections and wiring 30 7 30 7 Configuration 30 10 30 8 Operating behavior 30 10 30 9 Disposal 30 10 30 10 Technical data 30 11 30 11 EC directives and standards 30 12 31 Serial option module CECX C S1 31 1 31 1 Introduction 31 1 31 2 Safe...

Page 55: ... 33 7 33 6 Configuration 33 8 33 7 Operating behavior 33 8 33 8 Disposal 33 8 33 9 Technical data 33 9 33 10 EC directives and standards 33 10 34 Bus link module CECX B CO 34 1 34 1 Introduction 34 1 34 2 Safety notes 34 1 34 3 Description of the module 34 3 34 4 CANOpen protocol 34 4 34 5 Operating elements and displays 34 8 34 6 Connections and wiring 34 9 34 7 Configuration 34 12 34 8 Operating...

Page 56: ...Content System Manual CECX VIII ...

Page 57: ...owing designs Product design Description CONTROLLER CECX X C1 Modular controller CECX Software CoDeSys CONTROLLER CECX X M1 Modular controller CECX Software CoDesys with SoftMotion In the following the unit is described as CECX modular control system or simply as control CECX II 0 1 ...

Page 58: ...System manual CECX Product design CECX II 0 2 ...

Page 59: ...nowledge and ability Project engineer Technical basic education university of applied science engi neering degree or corresponding professional experience Knowledge in working mode of a PLC safety instructions the application Electrician Specialized training in the electro technical field in accordance with industrial training guidelines Knowledge in safety instructions wiring guidelines circuit d...

Page 60: ...f the CECX modular control system have been developed manufactured tested and documented in accordance with the appropriate safety standards Therefore the products do not pose any danger to the health of persons or a risk of damage to other property or equipment under normal circumstances provided that the instructions and safety precautions relating to the intended use are properly observed The C...

Page 61: ...mizing signal reflections Terminal resistors must be installed or joined at the line end of bus segments Modules Modules also termed peripheral modules establish the connection with the process Modules can be plugged into the right hand side of the CPU module to extend the range of functions Signal trans ducers and actuators for example are linked with the I O modules CPU module Central module of ...

Page 62: ... Retain data Data that are written from the application into the memory of the control system These are normally quantities time information etc Retain data retain their value when the unit is switched on or off The stored data are used when the program is re started The data are not stored on the compact flash memory card Status report Files which the unit can store for analyzing errors They cont...

Page 63: ... serious injury ATTENTION means that if the corresponding safety measures are not taken a po tentially hazardous situation can occur that may result in property in jury or slight bodily injury CAUTION CAUTION used without the safety alert symbol indicates a potentially hazardous situation which if not avoided may result in damage to property This symbol reminds you of the possible consequences of ...

Page 64: ...tion be taken into consideration Should you require additional information please contact the manufacturer When installing commissioning and servicing CECX products adhere to the instructions in the respective chapters of the hardware modules WARNING The following application areas are expressly excluded Use in explosive or fire risk areas Use in mining Outdoor use Other products without additiona...

Page 65: ...em are sen sitive to electrostatic discharge Before handling modules touch a grounded metal object in order to discharge any static electricity from your body 2 2 1 Personnel safety WARNING Unqualified interventions in the control may cause abnormal behavior of the machine plant or personal injury or damage to the equipment Only especially qualified staff may perform interventions in the control s...

Page 66: ...structions contained in these manuals must be precisely fol lowed in all circumstances Failure to do so could result in the creation of potential sources of danger or the disabling of safety features inte grated in the CECX modular control system Apart from the safety instructions given in these manuals the safety precautions and accident prevention measures appropriate to the situ ation in questi...

Page 67: ...nly main tenance activities expressly approved by Festo may be performed see chapter Service notes Any other manipulations to the device will result in loss of warranty 2 5 Requirement for UL508 and use conforming to EN 61131 The modules of the CECX modular control system are defined as open type equipment according to UL508 or as offenes Betriebsmittel ac cording to EN 61131 and must therefore be...

Page 68: ...System manual CECX Safety notes CECX II 2 6 ...

Page 69: ...n to different interfaces option modules are slotted into the CPU module The casing provides mechanical protection the inner construction of the module guarantees EMC shielding During the start of the system the CoDeSys compares the current hardware configuration actual configuration with the hardware configuration stored in the IEC project setpoint configuration Deviations in configuration or fau...

Page 70: ...system makes coupling or a ga teway function possible For example this makes cross linking a CANopen field bus system with a PROFIBUS DP field bus system possible Ethernet CECX with option modules and I Omodules FED CAN Bus CPX MPA CPV CPI Machine Vision CMMP AS oder CMMS ST MTR DCI SFC DC CAN Bus Profibus DP Ethernet CECX with option modules and I Omodules FED CAN Bus CPX MPA CPV CPI Machine Visi...

Page 71: ...plays can communicate with the CECX modular control system via a serial connection or an Ethernet connection The scope of supply from the designer of the FED includes appropriate drivers which support the easy variable exchange on the basis of the sym bol files see also online Help of CoDeSys Attention Is in CECX a variable declared as BYTE WORD or DWORD an bit wise access via the FED is not possi...

Page 72: ...to the process map Writing outputs At the end of the cycle the target states of the outputs stored in the process map are transferred to the physical outputs 3 2 2 Configuration and addressing The CECX modular control system can be made up of a host of modules and linked with additional external devices The expansion of the CECX modular control system and its connected de vices is fixed during con...

Page 73: ...modular control system CoDeSys offers a comfortable user interface with the following functions Configuration and parameterization of the CECX modular control sys tem with the control configuration Programming according to EN 61131 3 see chapter Programming lan guages Integrated module libraries see Description of library Library administrator for integrating additional libraries Simulation mode e...

Page 74: ...nging of projects The Sequential Function Chart describes the temporal sequence of the various steps within the program with transitions and connections Function plan FUP and or Free graphic function plan CFC The function chart works with a list of networks where each network receives a structure which represents a logical or arithmetical statement the call up of a function block a jump or a retur...

Page 75: ...lp for the CECX modular control sys tem is displayed only when the CECX modular control system has been set as target system Access to the Help is gained via the online Help table of contents under Target system This system manual is a component part of the specific target system Help see online Help CECX II 3 7 ...

Page 76: ...System manual CECX System overview CECX II 3 8 ...

Page 77: ...enance work CAUTION Damage to components Handle all modules and components with care Please ensure the following Clean contact surfaces to avoid contact faults Bus plugs that are not bent Ensure that no pieces of wires fillings or swarf fall into the unit when you are drilling holes or connecting wires 4 2 Mounting rail A steel rail TS 35x7 5 is to be used as mounting rail for the control For the ...

Page 78: ... Adding modules Up to 12 modules I O technology or field bus modules can be lined up next to each other in any order on the right side of the CPU module The connection between the CPU module and the added modules is estab lished via a parallel K Bus The entire package is snapped onto a mounting rail mounting rail TS 35x7 5 For the calculation of the number of modules that can be added the speci fi...

Page 79: ...es The individual modules are lined up next to each other and connected to one another via the K Bus plug Each line is completely prepared this way before being installed on the mounting rail TS 35x7 5 as complete pack age Preparing for installing on the mounting rail 1 Unpack modules 2 Remove all side lids on the K Bus plug except for the one on the module to the extreme right 3 Set address switc...

Page 80: ...her the modules with the CPU module to form one control block The CPU module must be positioned to the extreme left the add on modules are added on to the right 1 Remove the side cover 2 Press on the module until both locking pins are engaged Plugging modules together CECX II 4 4 ...

Page 81: ...unctionality may be impaired Installing the CECX modular control system This is how the CECX modular control system is installed on the mounting rail 1 Pull out unlock all locking levers on the mounting rail 2 Slightly incline the module s and place on the fixture of the mounting rail 3 Press the lower half of the module onto the mounting rail 4 Lock all locking levers on the mounting rail one aft...

Page 82: ... 3 Pull out unlock all locking levers on the mounting rail 4 Remove the modules from the mounting rail 4 5 1 End fixture To prevent the modules from slipping or loosening through vibration an end plate must be mounted on the left and right side of the mounting rail Standard type end fixtures regularly included in the delivery program of the manufacturer can be used 00 01 02 03 04 05 06 07 08 09 10...

Page 83: ...rough natural heat dissipation an air conditioning of the control cabinet must be provided When installed in a control cabinet attention must be given that the area around the temperature inputs is not exposed to any temperature changes e g no air conditioners with intermittent operating hours For further information about the calculation of the total power loss in the control cabinet In chap Powe...

Page 84: ...System manual CECX General assembly and installation instructions CECX II 4 8 ...

Page 85: ...1 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 0V 24V DO0 DO1 DO2 DO3 DO4 DO5 DO6 DO7 DI0 DI1 DI2 DI3 DI4 DI5 DI6 DI7 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 0V 24V DO0 DO1 DO2 DO3 DO4 DO5 DO6 DO7 DI0 DI1 DI2 DI3 DI4 DI5 DI6 DI7 PWR CT RL DIAG SI0 0V 24V CAN0 RX TX COMPACT FLASH USB ETH CAN1 SI1 Pxxxxx xxxxx 24 V DC 10 A 10 A 10 A 10 A 0 V Connection diagram for 24 V power supply ...

Page 86: ...53852 14 CECX X M1 553853 14 CECX C S1 553855 0 25 CECX C ET 553856 0 5 CECX F CO 553854 0 25 CECX S S4 553979 0 25 CECX D 16E 552096 1 0 4 CECX D 14A 2 552097 2 1 0 4 CECX D 8E8A NP 2 552099 1 9 0 4 CECX D 6E8A PN 2 553972 1 9 0 4 CECX A 4E4A V 552100 3 3 0 3 CECX A 4E4A A 552101 3 6 0 3 CECX C 2G2 552117 0 6 CECX F PB V1 553981 1 6 CECX F PB S V1 552102 1 4 CECX E 4E T P1 553973 2 5 0 3 CECX E 6...

Page 87: ...dd on mod ules The CPU itself has a consumption of 14 W 5 V sided W 24 V sided W Comment CPU module 10 45 Source this power the CPU module can provide on the K Bus Option module 1 0 25 0 Sink Option module 2 0 25 0 Sink Option module 3 0 5 0 Sink Output module 0 4 1 Sink Analog module 0 3 3 3 Sink Subtotal 1 7 4 3 Subtotal of the option mod ules and the add on mod ules The power consumption determ...

Page 88: ... Power supply of modules CECX II 5 4 Power requirement of loads Number of outputs capacity coincidence factor e g for 14 x 2 A outputs 14 2 A 24 V 0 5 336 W Total power requirement for the power supply unit 20 336 356 W ...

Page 89: ...he components and the modules Information Modules of the same type must have different address switch positions within one control package Different modules in different control packages may have the same address switch positions 6 2 Control key Ctrl The Ctrl key on the CPU modules is located next to the 7 segment display The Ctrl key is used to execute the following functions Start application St...

Page 90: ...so has system programs stored on it The Compact Flash Cards supported by the CECX modular control system can be requested and ordered from FESTO CAUTION The Compact Flash Card can sustain damage if handled incorrectly Do not remove or plug in the memory card during operation Do not switch the unit off while it is writing on the memory card Do not use force when inserting the card into the slot Do ...

Page 91: ...System manual CECX Operation and displays COMPACT FLASH USB CAN0 RX TX 1 2 3 1 LED 2 Eject key 3 Slot Position of the slot and the operating elements CECX II 6 3 ...

Page 92: ... power supply 2 Carefully slot in the Compact Flash Card with slight pressure in the di rection of the arrow until it engages Removing the memory card 1 Turn off the power supply 2 Carefully press the eject key with a suitable object e g blunt stylus The card is ejected by a few millimeters 3 Carefully pull the card from the slot ...

Page 93: ...activated on your system the installation starts automatically and you can skip steps 3 and 4 3 Select Execute in the Start menu 4 Enter D setup if necessary replace D with the letter of your CD ROM drive 5 Follow the instructions on the screen During the installation process CoDeSys and a Target Support Package is installed for the CECX modular control system That completes the installation The c...

Page 94: ...the file corresponding to your system E g CECX X C1 tnf or CECX X M1 tnf and click on Open 3 On the left under Possible target systems select Festo AG u Co KG and 4 Click on Install If necessary you may have to confirm the creation of an installation directory Festo AG u Co KG will then be displayed on the right under Installed tar get systems CECX II 7 2 ...

Page 95: ...System manual CECX Commissioning of CoDeSys and control InstallTarget window with installed target system 5 Click on Close The files of the target Support Package are now installed CECX II 7 3 ...

Page 96: ...supply The LED on the central processor mod ule lights up and the 7 segment display starts showing the start up steps When the 7 segment display shows 0 the start up is complete and the con trol is ready for operation For further information on the display of the start up procedure see chapter Diagnosis 7 4 Creating a CoDeSys project 1 Start the CoDeSys by clicking on the CoDeSys icon on the deskt...

Page 97: ...l can be established as follows Direct connection via crossover Ethernet cable or Connection via network with a 1 1 wired cable The network setting is therefore only marginally different and must be car ried out in accordance with the instructions in the following paragraphs The network address can be automatically obtained if a DHCP server is available in the network If no DHCP server is present ...

Page 98: ...cally via DHCP If no DHCP server is present activate DHCP in the network configuration first before you start the control The control will then automatically be as signed an IP address To do so apply the following steps Example dialog IP config for connection over network with active DHCP 1 Select in IP config Enable DHCP in order to facilitate an automatic addressing by the DHCP server 2 Close th...

Page 99: ...IP IP address Subnet Subnet mask Gateway Gateway entry Enable DHCP Enable automatic addressing by DHCP server If selected and there is no DHCP server available in the network then the set IP address is used Answer on find requests Relevant for network operation When selected the con trol answers to search requests Reboot on OK When selected A reboot is carried out after OK to take over the setting...

Page 100: ...1 4 Network configuration examples Example Stand alone operation with a PC and a control IP addr 192 168 181 1 IP addr 192 168 181 2 Stand alone operation with a PC and a control The last digit Host ID of the IP entry for the control must be different to the IP address of the PC and the first part Net ID must be the same Information The IP address and subnet mask of the PC can be read by entering ...

Page 101: ...68 181 2 subnet m 255 255 255 0 IP addr 192 168 181 4 subnet m 255 255 255 0 Development PC and control in the same network A free IP address must be selected for the control Information Check with a ping command whether the IP address selected for the con trol is free no reaction to ping command Subnet mask can be taken over by the PC readable with command ipconfig A Gateway entry is not required...

Page 102: ...ue to the separation of logic and physical protocol levels Ethernet and TCP IP two types of addresses exist in the network A fixed Ethernet address MAC ID for each unit and an IP address which is allocated to each unit in the network The application always sends data to or receives data from an IP address To ensure their arrival at the receiver a connection must be established be tween the logic I...

Page 103: ... mask for IP addresses defines which bits are used for addressing the participant Host ID A 1 as wildcard defines which bits the network address Net ID contains The number of these bits de termines which classes the networks belong to Net class Net mask Description A 255 0 0 0 Large network B 255 255 0 0 Medium sized network C 255 255 255 0 Small network with a maximum of 254 participants Example ...

Page 104: ...ring the boot up the CECX modular control system then requests its IP address from the DHCP server via the network Information is also provided in the following chapters 7 5 3 Serial connection As an alternative to the TCP IP connection it is also possible to establish a connection between a PC and the control via a crossover RS 232 cable Information This is only possible if the control has an RS ...

Page 105: ...ration of the serial connection settings Information A TCP IP connection to the control must be available for the configuration of the serial connection settings 1 Connect an RS 232 interface of the control with a COM port of your PC 2 In KeStudio under the Resources tab open the Control configura tion 3 Click on Configuration SLOT in the configuration tree One or multiple entries are shown under ...

Page 106: ...to 115200 Baud The operable Baud rate depends on the cable length and the electric environmental conditions See literature on RS 232 connections e g 57600 Baud for a cable length up to approx 5 m Parity Activate deactivate the parity check to be set equal on both communication sides Data bits and Stop bits Number of the data and stop bits per data word to be set equal on both communication sides R...

Page 107: ...n of the hardware is replicated in CoDeSys 1 At the bottom left select tab Resources 2 Double click on Control configuration 3 With the right mouse button click on ExtModules SLOT and attach the modules required for your project one after the other via Attach subelement The modules are then displayed in the configuration tree Configuring external modules CECX II 7 15 ...

Page 108: ... FED Designer Without the dictionary only markers PLC Memory inputs PLC Input outputs PLC Output retain PLC Retain and parameters PLC Parameter can be transferred Creating symbol files If you have enabled the creation of symbol entries in the project options the symbol file is automatically created by CoDeSys during the compilation of the project However you should first specify which PLC variable...

Page 109: ...s valuable memory of the control All variables contained in the project are selected as default also all variables of the connected libraries In the following select only those variables that are actu ally to be exchanged between the units 4 Remove the tick at Output object variables if all objects contained in the project are selected Otherwise symbol entries will be created for all variables con...

Page 110: ...alog Set object attributes Dialog Set object attributes example of a selection 6 Repeat item 5 if you wish to add further variables with other options 7 Close the dialog Set object attributes with OK All configurations are then taken over 8 If you wish to create the symbol file compile the project The symbol file is then stored in the project directory You can now use the Tag Editor of the FED Des...

Page 111: ...mporting the symbol file Import the symbol file as Special tag file sym Select Use Motorola byte order when importing 7 7 2 Connection The FED is connected to the serial interface of the CPU module X1 Serial Interface RS 485 A See also hardware programming CPU module connections and wiring Establishing connections Connection of PINs to the connecting plugs CECX side 9 core DSUB plug FED side 15 co...

Page 112: ...roject and you can continue with the next action If you have not yet created a project or wish to create one continue as follows 7 8 1 Creating a new project 1 Start with the command File New CoDeSys opens the window Target system settings 2 Under Configuration select the desired control and confirm with OK A window for creating the first PLC_PRG module opens Confirm with OK Now you can start with...

Page 113: ...ted Errors are displayed parallel to the states The error display is always triggered with switching through the status and a double or triple digit error info sequence e g 0 E 1 0 Every character is displayed for 1 second 8 1 2 Touch control during operation The CTRL key serves as simple operating element of the control With this key the control can be switched into different operating modes and ...

Page 114: ...or ex ists Check CF card if needed change CF card part from Festo oth erwise send module to Festo Hardware initialization the consistency of the bootblock is being checked Power On Self Test check of the consistency of the CPU module oc curs The extended boot system is being loaded and started Firmware is loaded from the Compact Flash into the DRAM Firmware is being started Start up of the bootblo...

Page 115: ... the start up A CoDeSys runtime system has not been loaded in the Init state Stop In this operating state the IEC application program is loaded but there is no cyclical processing of the application This is a safety state in which no application CoDeSys IEC or robotics can set outputs That is why this state can only be exited locally via the CTRL key on the control but not remote via the CoDeSys p...

Page 116: ...action Delete application The retain data are deleted and afterwards the system is newly initialized Delete application To next action Write status report The application is being deleted Write status report To next action Trigger new start Status report is being written Trigger new start Continue to main operating status INIT A new start is being executed STOP Display short keystroke long keystro...

Page 117: ... report is being written Example Write status report The function Write status report can be triggered from any main operating mode INIT STOP RUN Sequence 1 Click through the functions by using short keystrokes until the diagno sis display is shown 2 Activate Write status report by using a long keystroke 3 Once the status report has been triggered the system will automatically return into the prev...

Page 118: ...System manual CECX Operating behavior CECX II 8 6 ...

Page 119: ...example the error 31 in status Hardware initialization FPGA could not be loaded Display during the start up of the application status error signals for example the error 103 in Status Init no 3S license or initializa tion error 3S runtime system The display of the error can be confirmed by activating the CTRL key after which the normal status display re appears Given the limited range of display o...

Page 120: ...103 No 3S license or initialization error of 3S runtime system Contact Festo o E 401 Error during starting of the IO sys tem Check add on modules o E 501 Error during writing of the status report Contact Festo o E 701 Error message class 3 Remedy cause for error message class 3 and confirm the error o E 901 No or invalid license information A license update may be required Please contact your supp...

Page 121: ... you can ensure that they can be reused their raw materials recycled or put to another use and you will be making an important contribution to the protection of our environ ment 10 2 Disposal of the battery ATTENTION Batteries and accumulators are hazardous waste and must be properly disposed of Although batteries have a low voltage they can provide enough cur rent when short circuited to ignite f...

Page 122: ...System manual CECX Disposal CECX II 10 2 ...

Page 123: ...protection rating IP 20 for modules and open modules Environmental conditions Operating temperature 5 C to 55 C Average temperature over 24 h Open devices 50 C Storage temperature 40 C up to 70 C except displays Relative humidity of air 10 95 Vibration resistance 3 5 mm amplitude for 5 f 9 Hz and 1 0 g for 9 f 150 Hz Shock resistance Max 15 g 11 ms half sine Pollution degree 2 not conductive pollu...

Page 124: ...System manual CECX Technical data CECX II 11 2 ...

Page 125: ...tem manual CECX EC directives and standards 12 EC directives and standards Detailed information about EC directives and standards can be found in the project engineering manual of your modules CECX II 12 1 ...

Page 126: ...ielding in accordance with the guidelines described be low 12 1 1 Basic structure of EMC measures The EMC concept for the entire CECX modular control system is designed in such a way that each module can independently withstand the influences that occur in an electro magnetically affected industrial environment A closed shield casing is assumed This shield cover is correspondingly expanded by shie...

Page 127: ...g of ground and shield connections Low impedance connection of the parts This also means good conduc tance at high frequencies and is achieved through large connection areas grounding conductors that are as short as possible use of wide grounding ribbons instead of wires if possible Surface contact of bare metal must be available Contact surfaces must be protected against corrosion Use toothed was...

Page 128: ...both cable ends connected in a plane with metal plugs Shield present throughout Caution in the case of wall ducts Is the communication partner used suitable for industrial environments with interference Analog lines Twisted pair wire used Cable shield connected via line with 0 V clamp of the analog module in order to shield the 50 Hz fields ...

Page 129: ... suitable line We recommend a data cable in accordance with ISO DIS 11898 CAN norm Structure Twisted pair shielded wiring with signal ground SGND twisted 2 wire conductor CAN CAN Signal ground SGND Shield with signal ground A multi core twisted cable can also be used At the same time it is impor tant to note that the CAN and the CAN lines are guided in a common twisted pair of wires Surge impedanc...

Page 130: ... 143 m 104 m 120 m 800 kbit s 61 m 70 m 42 m 48 m 1 Mbit s 40 m 46 m 21 m 24 m Information The length specifications in the table are maximum values based on ideal conditions The practical cable length is reduced by poor shielding contact strong interference stub lines and poor cable quality Furthermore the cable length is dependent on the properties of the remain ing CAN bus modules and on the op...

Page 131: ...c impedance of 100 120 Ohm Plug type 9 pole D SUB socket connector with completely conductive shell The cable shielding must be connected plane with the shield cover of the plug An additional connection of the shield and the ground GND is not necessary Cable manufacture See the corresponding project engineering handbook for the interface modules Cable length Maximum cable length is dependent on th...

Page 132: ...le Designation Etherline P Flex 5e Flexible cable not oil resistant Manufacturer DRAKA Multimedia Designation Silverline Gold Cat 7 patch cable S STP 4x2x0 14qmm This or a qualitatively equivalent cable must be used for the connection Plug type RJ45 plug Modular plug 8 pin shielded with a blue protective cap The cable shielding must be connected plane with the shield cover of the plug An additiona...

Page 133: ...ith the transducer SE 010 A for the SSI interfaces The values for the baud rate specific cable lengths can deviate for use of transducers of other manufacturers and the interference resistance of the transducer is to be observed respectively We recommend dimensioning the SSI cable so that it is only as long as absolutely necessary Minimum bend radius Minimum bend radius during installation 60 mm M...

Page 134: ... 50 mm 13 1 6 USB The USB interfaces are used to connect different media e g in the context of maintenance work They are however not suited for unmonitored con tinuous operation as the connection plug does not have a strain relief Information The use of USB enabled devices from the computer world may result in unexpected system behavior or system failures as these devices are not normally designed...

Page 135: ...1 2 pole cage clamp 553858 NECC L1G4 C1 4 pole cage clamp 553859 NECC L1G6 C1 6 pole cage clamp 553860 NECC L1G8 C1 8 pole cage clamp 553861 NECC L1G18 C1 18 pole cage clamp Grids The grid 5 08 mm is used Only standard female connectors by Phoenix Contact and Weidmüller may be used for the CECX modular control sys tem Connectors of other manufacturers may only be used if the manufac turer can guar...

Page 136: ...13 2 3 Digital input Cable type Unshielded cable Plug type Standard female connectors with a grid dimension of 5 08 mm as in the 24V power supply It is recommended to arrange the sub units in such a way that the corresponding signals are positioned each on one plug 13 2 4 Digital output Cable type Unshielded cable Plug type Standard female connectors with a grid dimension of 5 08 mm as in the 24V ...

Page 137: ...th a grid dimension of 5 08 mm as in the 24V power supply It is recommended to arrange the sub units in such a way that the corresponding signals are positioned each on one plug Short circuiting unused pre cabled inputs In the case of already pre cabled inputs that are not yet used the wires at the end of the cable must be short circuited to avoid noise injection 13 2 6 Analog output current or vo...

Page 138: ... connected to these inputs in both iso lated and in non isolated configurations Type J Fe CuNi according to IEC 548 1 Type K NiCr Ni according to DIN 43710 1977 and IEC 548 1 Plug type Female connectors with gold contacts and a grid dimension of 5 08 mm 13 2 9 Incremental encoder input Cable type Shielded standard cable Plug type 9 pole D SUB connector with completely conductive shell The cable sh...

Page 139: ...nd trouble free function is not im paired Table 6 Minimum cross sections for copper conductors Description of conductors cables and lines Order Application One core multi core One core solid Two core shielded Two core unshielded Three or more core shielded or not Outside the housing Not flexible Main circuit Connection to ma chine parts that are subject to frequent movement Connection in con trol ...

Page 140: ...and possible heat dissipation permissible voltage drop for error free operation of the connected equipment These limits must be taken into consideration for the calculation of wire cross sections in the respective application 13 3 4 Maximum cross section The maximum conductor cross section is limited by the female connectors used as follows Spacing 5 08 mm 2 5 mm2 AWG 12 13 4 Test of interference ...

Page 141: ...nces provided that the in structions and safety precautions relating to the intended use are properly observed 14 2 Safety notes 14 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which if not avoided will result in death or se...

Page 142: ... where there is a risk of explosion or fire Use in the mining sector Use in the open air Other products are to be used for these applications The CPU module is not designed for safety relevant control tasks e g shutdown in case of an emergency For safety relevant control tasks and personnel security additional external safety measures must be implemented to ensure the system remains in a safe oper...

Page 143: ...rcuits to connections terminals and interfaces up to 50 V rated voltage that have a secure disconnect for hazardous voltages e g with sufficient isolation and voltage proof CAUTION Fire hazard during module failure Provide suitable fuses for the 24 V DC power supply of the control sys tem for the final application for details refer to the Power supply sec tion 14 2 4 Safety instructions for mainte...

Page 144: ...t and one CAN interface For extension purposes three plug in slots for option modules are available which may already be fitted when the control is supplied 14 3 1 Front view Serial Interface 0V 24V CAN RX TX USB Ethernet CAN Serial Interface Compact Flash Power Ctrl Diagnostic X3 X3 X4 X4 X5 X5 X1 X2 X6 X7 X8 2 1 3 4 5 6 7 Front view 1 Diagnosis display 2 RS 485 A interface 3 Power supply 4 3 slo...

Page 145: ...r strip A 2 pole female connector is used for the power supply of the CPU module Female connector Color Number Order no Weidmüller 2 pole sw 1 BLZF 5 08 2 SN SW 170769 Information Larger terminal blocks may be used to group multiple signals The current carrying capacity of the terminal block is thus however reduced according to derating curve of the terminal block manufacturer The technical data f...

Page 146: ...4 4 3 Program loading button Ctrl The program load key Ctrl is located next to the 7 segment display The program load key is used to perform various functions such as switch over of operating mode See chapter Operating behavior 14 4 4 CAN status LEDs The module is fitted with two status LEDs RX and TX LEDs at the front side of the module which are activated from the Microcontroller RX LED green br...

Page 147: ...ovides 3 slots for the option modules The following modules can be inserted in the slots Left slot Middle slot Right slot CECX C S1 for RS 232 or CECX S S4 for RS 485 A RS 422 A CECX F CO for CAN CECX C ET for Ethernet CECX C S1 CECX S S4 CECX F CO CECX C ET X3 X3 X4 X4 X5 X5 Serial Interface CAN Ethernet Assignment of the slots CECX II 14 7 ...

Page 148: ...option modules may not be plugged or removed if the CPU module is activated Inserting option module into slot 1 Turn off power supply 2 Remove reserve module 3 Insert module in the right position labeling of option module must on the right into the intended position Ethernet CAN SI1 X4 X3 X5 CAN X4 RX TX Inserting an option module into slot CECX II 14 8 ...

Page 149: ...dd on modules Power consumption 5 V on the K Bus 10 W Power consumption 24 V on the K Bus 45 W To guarantee stable functioning of the module cluster the power demand on the added on modules must not exceed the above specified power val ues Information For the calculation of the number of modules that can be added the speci fied performance values given in the respective project engineering hand bo...

Page 150: ...abinet attention must be given that the area around the temperature inputs is not exposed to any temperature changes e g no air conditioners with intermittent operating hours Information To guarantee the dissipation of heat it is advisable to leave a free space of at least 30 mm above and below the modules 14 6 1 Use of air filters To ensure that the contamination does not exceed contamination lev...

Page 151: ...d voltage proof CAUTION Fire hazard during module failure Provide suitable fuses for the 24 V DC power supply of the control sys tem for the final application for details refer to the Power supply sec tion Section Refer to the manufacturer specific data sheet of the of the female connec tors used for type cross section and material For further information See chapter Accessories The actual permiss...

Page 152: ...ype B 14 7 2 Grounding If required for reasons of electrical safety for the end usage the metal parts of the module can be grounded via the threaded bushing M4 that is lo cated on the underside of the casing grounding point Material electrolytic galvanized sheet steel blue galvanized self clinching standoff Position of the grounding point CECX II 14 12 ...

Page 153: ...output A A Transmit receive 8 Input or Output B B Transmit receive 3 Input or Output TERM A Terminating resistor 7 TERM B Terminating resistor 2 SGND Signal Ground 1 5 14 7 3 2 Cable and plug specification See chapter General information about interfaces 14 7 3 3 RS 485 A terminal resistance To activate the bus termination at the last participant during RS 485 opera tion the pins 2 and 7 TERM A TE...

Page 154: ...cipant Example for connecting a CPU module via CAN For more information See chapter General information about interfaces 14 7 4 2 Pin assignment 6 1 5 9 Reserved Reserved CAN GND Reserved Reserved SGND CAN Reserved 9 pol DSUB female connector Pin assignment DSUB plug connection from front Information Both SGND Signal Ground and GND optional ground connections are connected internally The designati...

Page 155: ...d last participant pins 4 and 5 TERM1 and pins 8 and 9 TERM2 must be connected 6 1 5 9 GND CAN TERM2 TERM2 Reserved CAN SGND TERM1 TERM1 CAN interface with activated bus termination 14 7 5 Compact Flash slot 14 7 5 1 Position of the Compact Flash slot To operate the CPU module a Compact Flash disk with the firmware and the application must be plugged into the Compact Flash slot CECX II 14 15 ...

Page 156: ...It is constructed so that it can only be inserted in one direction The card should slide easily in the slot Keep the card away from moisture heat and direct sunlight Keep the card away from electrostatic sources or magnetic fields Do not let the card fall and do not bend it Do not remove the card and do not turn off the device while it is writing on to the card 14 7 5 3 Inserting the Compact Flash...

Page 157: ... CAUTION Insert the Compact Flash card as shown in the diagram with the arrow to the front Improper insertion can cause damage to the contact pins 14 7 5 4 Removing the Compact Flash card CAUTION The Compact Flash card may neither be plugged in nor unplugged dur ing operation 1 Turn off the power supply 2 Press the key above the card slot and pull out the Compact Flash card 1 RX TX USB Compact Fla...

Page 158: ...ent with industrial interference Never keep USB devices constantly connected as the USB ports are not operationally reliable danger of unplugging For constant operations use a strain relief The USB ports are LowPowerPorts 100 mA Larger loads such as those from devices with HDD DVD must be self powered as they will otherwise trigger non valid operating states 14 7 6 1 Cable and plug specification F...

Page 159: ... 14 8 2 Setting the address The station address of the CPU module is entered via 2 rotary switches Front address switch HIGH back address switch LOW The address switches are located on the top right hand side of casing 0 1 F 2 3 4 5 6 7 8 9 A BCD E 0 1 F 2 3 4 5 6 7 8 9 A BCD E Position of address switches On leaving the factory all modules are set to address 0 Information Modules of the same type...

Page 160: ... buffered SRAM remain intact except during battery change See chapter Replacing the battery The real time clock contin ues 14 9 2 Response to module errors In case an error occurs this error will be displayed on the diagnosis display on the front side of the CPU module For further information See chapter Display of errors in the 7 segment display 14 10 Diagnosis Display of the 7 segment display an...

Page 161: ...Maintenance 14 11 1 Battery Position of the battery 14 11 1 1 Battery type and service life Battery type CR2032 Lithium Mn 3 V 220 mAh Service life At least 3 years typically 5 years The battery can be ordered from a dealer CECX II 14 21 ...

Page 162: ...ted and result in short circuited battery It is recommended to exchange the battery every 3 years An indication for the end of the battery s life cycle is the case where the control is switched off and on again and the time indicated on the control no longer corresponds with the actual time If this is the case replace the bat tery immediately Remove the lower cover on the right side of the casing ...

Page 163: ...ce with their labeling By dis posing of such used devices correctly you can ensure that they can be reused their raw materials recycled or put to another use and you will be making an important contribution to the protection of our environ ment 14 12 2 Disposal of the battery CAUTION Pay attention to hazardous waste regulations when disposing of batter ies Although batteries have a low voltage the...

Page 164: ...lative humidity of air 10 to 95 non condensing Vibration resistance According to EN 61131 2 2007 Shock resistance According to EN 61131 2 2007 Computer kernel Processor Embedded Processor 400 MHz Memory 64 MB Buffered SRAM 512 kB Interfaces CAN interface onboard Communication with periphery components CAN bus Baud rates To be set via software Serial interface onboard RS 485 A RS 485 A Baud rates T...

Page 165: ...ty principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 14 14 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 14 14 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 14 14 2 4 Requirements on environm...

Page 166: ......

Page 167: ...ent under normal circumstances provided that the in structions and safety precautions relating to the intended use are properly observed 15 2 Safety notes 15 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which if not avoided ...

Page 168: ...do not contain any information that draws attention to potentially dangerous or harmful functions 15 2 2 General safety notes z The unit is defined as open type equipment according to UL 508 or as offenes Betriebsmittel according to EN 61131 and must therefore be installed in a switch cabinet z The system manual is additionally required for programming of the module CAUTION Improper use of the ass...

Page 169: ... control system 15 3 1 Front view 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 0V n c DI0 DI1 DI2 DI3 DI4 DI5 DI6 DI7 DI8 DI9 DI10 DI11 DI12 DI13 DI14 DI15 Pxxxxx xxxxx 2 1 CECX D 16E front view 1 Reference potential 2 16 digital inputs DI0 and DI1 interruptible Information The type plate is stored on the module in an EEPROM and can be read out by the application ...

Page 170: ...urve of the terminal block manufacturer The technical data for the terminals are contained in the technical data sheet of the manufacturer of the female connectors 15 4 Connections and wiring 15 4 1 Power Supply WARNING Danger of personal injury due to electric shock Supply the device exclusively from power sources that have an extra low voltage e g SELV or PELV according to EN 61131 2 2007 Connec...

Page 171: ...r strip 15 4 2 1 Connection example 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 0V n c DI0 DI1 DI2 DI3 DI4 DI5 DI6 DI7 DI8 DI9 DI10 DI11 DI12 DI13 DI14 DI15 Pxxxxx xxxxx 0 V 24 V 10 A Connection example for digital inputs Information The reference potential for the isolated digital inputs is the 0 V terminal that is located on the front side For operation of the digital inputs the 0 V te...

Page 172: ...l input module CECX D 16E CECX II 15 6 15 4 2 3 Connection diagram Input diagram 15 4 3 Interrupt inputs The digital inputs DI0 and DI1 can also be used as interrupt inputs for the speedy processing of external digital signals ...

Page 173: ... example 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 0V n c DI0 DI1 DI2 DI3 DI4 DI5 DI6 DI7 DI8 DI9 DI10 DI11 DI12 DI13 DI14 DI15 Pxxxxx xxxxx 0 V 24 V 10 A Connection example for interrupt inputs CAUTION Interfering impulses over 10 V may trigger an unwanted interrupt event ...

Page 174: ... II 15 8 15 4 3 2 Connection diagram Input diagram for interrupt inputs 15 4 4 EMC and wiring guidelines Information See chapter EC directives and standards Pay attention from the outset to careful wiring and shielding Further information See system manual ...

Page 175: ...evices Configuration data is created by included configuration tools 15 5 2 Setting the address The modules are addressed via the address switch A maximum of 12 modules of the same type can be distinguished on one line The address switch is located on the right side underneath the lower cover The K Bus plug is located underneath the upper cover 0 4 8 C 1 2 3 5 6 7 9 A B D E F 1 Position of the add...

Page 176: ...he same line must have different address switch positions Different modules e g CECX C 2G2 and CECX D 16E may have the same address switch positions The lids for the K Bus plug and the address switch must remain locked at the last module in the line to protect it against dirt and damage through electrostatic discharge on contact ...

Page 177: ...le only when the digital input is not used as interrupt input If the input is configured as interrupt input debouncing takes automatically place with 34 μs 15 7 Disposal 15 7 1 Disposal of the module The symbol with the crossed out waste container means that electrical and electronic devices including their accessories must not be dis posed of in the household garbage The materials are recyclable ...

Page 178: ...ck resistance According to EN 61131 2 2007 Digital inputs Number of inputs 16 Input type Type 1 according to EN 61131 2 Voltage range for 1 15 V UH 30 V Voltage range for 0 3 V UH 5 V Filter Adjustable 500 Hz 50 Hz Cycle time 1 ms Galvanic isolation Yes Electric strength 707 V with unsewed ground connection Status display Green LED Interrupt inputs Number of inputs 2 DI0 DI1 of the digital inputs ...

Page 179: ...res and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 15 9 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 15 9 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 15 9 2 4 Requirements on...

Page 180: ......

Page 181: ...uipment under normal circumstances provided that the in structions and safety precautions relating to the intended use are properly observed 16 2 Safety notes 16 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which if not avoi...

Page 182: ... do not contain any information that draws attention to potentially dangerous or harmful functions 16 2 2 General safety notes z The unit is defined as open type equipment according to UL 508 or as offenes Betriebsmittel according to EN 61131 and must therefore be installed in a switch cabinet z The system manual is additionally required for programming of the module CAUTION Improper use of the as...

Page 183: ...gital output module for use in the CECX modular control system 16 3 1 Front view 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 0V 24V DO0 DO1 DO2 DO3 DO4 DO5 DO6 DO7 0V 24V DO8 DO9 DO10 DO11 DO12 DO13 Pxxxxx xxxxx 2 1 3 3 CECX D 14A 2 front view 1 Voltage supply for DO0 DO7 2 Voltage supply for DO8 DO13 3 14 digital outputs ...

Page 184: ...ith 2 connections Socket board CECX D 14A 2 Order no Weidmüller 8 pole 2 BLZF 5 08 8 SN SW 170775 2 pole 1 BLZF 5 08 2 SN SW 170769 Information Larger terminal blocks may be used to group multiple signals The current carrying capacity of the terminal block is thus however reduced according to derating curve of the terminal block manufacturer The technical data for the terminals are contained in th...

Page 185: ...ure disconnect for hazardous voltages e g with sufficient isolation CAUTION Fire hazard during module failure Provide suitable fuses for the 24 V DC power supply for the final appli cation Only fuses with a maximum nominal disconnecting current of 10 A may be used 16 4 2 Digital outputs There are 14 digital outputs available to activate the digital actors They share a common ground potential but a...

Page 186: ...mple for digital outputs CAUTION Wrongly plugging the supply terminal blocks one position downwards can lead to the destruction of the module Even if one of the 0V pins is not connected the digital outputs still func tion However the LEDs do not light up in this case and the status of the digital outputs is not correctly indicated 16 4 2 2 Status display 14 orange LEDs to indicate the signal statu...

Page 187: ...X II 16 7 16 4 2 3 Connection diagram Output diagram 16 4 3 EMC and wiring guidelines Information See chapter Fehler Verweisquelle konnte nicht gefunden werden Pay attention from the outset to careful wiring and shielding Further information See system manual ...

Page 188: ... devices Configuration data is created by included configuration tools 16 5 2 Setting the address The modules are addressed via the address switch A maximum of 12 modules of the same type can be distinguished on one line The address switch is located on the right side underneath the lower cover The K Bus plug is located underneath the upper cover 0 1 F 2 3 4 5 6 7 8 9 A BCD E 1 Position of the add...

Page 189: ...locked outputs are still short circuited The periodic attempts to switch on can be set via a configuration entry Error acknowledgement cycle time After the short circuit has been rectified the system Dox_stat flags are reset information about the rectification of the error is generated and the outputs become available again The outputs that were not active when the short circuit occurred continue ...

Page 190: ...ital output module CECX D 14A 2 CECX II 16 10 After the short circuit has been rectified the system DOx_stat flag is re set information about the rectification of the error is generated and the output becomes available again ...

Page 191: ...ows for a swifter breakdown of the en ergy than would be possible when using the freewheeling diode Information The load capacity of the outputs for inductive loads can be raised by adding an external freewheeling diode which will however significantly increase the switch off time In the case of high load currents higher values of inductance or greater switching frequency a freewheeling diode must...

Page 192: ...d out waste container means that electrical and electronic devices including their accessories must not be dis posed of in the household garbage The materials are recyclable in accordance with their labeling By dis posing of such used devices correctly you can ensure that they can be reused their raw materials recycled or put to another use and you will be making an important contribution to the p...

Page 193: ...ons Operating temperature 5 C to 55 C Storage temperature 40 C to 70 C Relative humidity of air 10 to 95 non condensing Vibration resistance According to EN 61131 2 2007 Shock resistance According to EN 61131 2 2007 Digital outputs Number of outputs 14 Rated voltage 24 V DC Processing time 1 ms Rated current 2 A at 50 coincidence per group Galvanic isolation Yes Electric strength 707 V with unsewe...

Page 194: ...ures and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 16 9 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 16 9 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 16 9 2 4 Requirements o...

Page 195: ...perty or equipment under normal circumstances provided that the in structions and safety precautions relating to the intended use are properly observed 17 2 Safety notes 17 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which ...

Page 196: ...Notes do not contain any information that draws attention to potentially dangerous or harmful functions 17 2 2 General safety notes z The unit is defined as open type equipment according to UL 508 or as offenes Betriebsmittel according to EN 61131 and must therefore be installed in a switch cabinet z The system manual is additionally required for programming of the module CAUTION Improper use of t...

Page 197: ...dular control system 17 3 1 Front view 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 0V 24V DO0 DO1 DO2 DO3 DO4 DO5 DO6 DO7 DI0 DI1 DI2 DI3 DI4 DI5 DI6 DI7 Pxxxxx xxxxx 2 1 3 CECX D 8E8A NP 2 front view 1 Voltage supply 2 8 digital outputs 3 8 digital inputs DI0 and DI1 interruptible Information The type plate is stored on the module in an EEPROM and can be read out by the application ...

Page 198: ... block manufacturer The technical data for the terminals are contained in the technical data sheet of the manufacturer of the female connectors 17 4 Connections and wiring CAUTION When switching off the control the power supply of the module must be disconnected before or at the same time as the power supply of the CPU module In case of non observance the outputs of the module may have undefined s...

Page 199: ... nominal disconnecting current of 10 A may be used 17 4 2 Digital inputs For the processing of external digital signals 8 digital inputs of type 1 ac cording to EN 61131 2 are available They share a common ground po tential but are isolated for the evaluation logic The switching status HIGH is indicated by green LEDs on the left side of the connector strip 17 4 2 1 Connection example Connection ex...

Page 200: ...igital inputs is the 0 V terminal that is located on the front side For operation of the digital inputs the 0 V terminal located on the front side must be connected 17 4 2 2 Status display 8 green LEDs to indicate the signal status z LED is lit input is on HIGH z LED is dark input is on LOW 17 4 2 3 Connection diagram Input diagram ...

Page 201: ...or the speedy processing of external digital signals They share a common ground potential but are isolated for the evaluation logic The switching status HIGH is indicated by green LEDs on the left side of the connector strip 17 4 3 1 Connection example Connection example for interrupt inputs CAUTION Interfering impulses over 10 V may trigger an unwanted interrupt event ...

Page 202: ... 4 Digital outputs There are 8 digital outputs available to activate the digital actors They share a common ground potential but are isolated for the evaluation logic CECX D 8E8A NP 2 2 A rated current at 50 coincidence The rated voltage supplying the group is 24 V DC The status of the corresponding output is indicated by the orange status LEDs ...

Page 203: ... example for digital outputs CAUTION Wrongly plugging the supply terminal blocks by one position down wards can lead to the destruction of the module Even if one of the 0V pins is not connected the digital outputs still func tion However the LEDs do not light up in this case and the status of the digital outputs is not correctly indicated 17 4 4 2 Status display 8 orange LEDs to indicate the signa...

Page 204: ...D 8E8A NP 2 CECX II 17 10 17 4 4 3 Connection diagram Output diagram 17 4 5 EMC and wiring guidelines Information See chapter EC guidelines and standards Pay attention from the outset to careful wiring and shielding Further information See system manual ...

Page 205: ...s and devices Configuration data is created by included configuration tools 17 5 2 Setting the address The modules are addressed via the address switch A maximum of 12 modules of the same type can be distinguished on one line The address switch is located on the right side underneath the lower cover The K Bus plug is located underneath the upper cover 0 4 8 C 1 2 3 5 6 7 9 A B D E F 1 Position of ...

Page 206: ...her the blocked outputs are still short circuited The periodic attempts to switch on can be set via configuration entry Error ac knowledgement cycle time After the short circuit has been rectified the system Dox_stat flags are reset information about the rectification of the error is generated and the outputs become available again The outputs that were not active when the short circuit occurred c...

Page 207: ...d as interrupt input If the input is configured as interrupt input debouncing takes automatically place with 34 μs 17 6 3 Switching inductive loads The module contains no internal freewheeling diode to take up the inductive energy when switching off the inductive loads The inductive load capability for each channel is 1 J at 0 2 Hz The inductive energy is transformed into heat by the switching tra...

Page 208: ...duc tive loads 17 7 Disposal 17 7 1 Disposal of the module The symbol with the crossed out waste container means that electrical and electronic devices including their accessories must not be dis posed of in the household garbage The materials are recyclable in accordance with their labeling By dis posing of such used devices correctly you can ensure that they can be reused their raw materials rec...

Page 209: ...uts Number of inputs 8 Input type Type 1 according to EN 61131 2 Voltage range for HIGH 15 V UH 30 V Voltage range for LOW 3 V UL 5 V Filter Configurable 500 Hz 10 Hz Cycle time 1 ms Status display Green LED Galvanic isolation Yes Electric strength 707 V with unsewed ground connection Interrupt inputs Number of inputs 2 DI0 DI1 of the 8 digital inputs Input type Type 1 according to EN 61131 2 Volt...

Page 210: ...System manual CECX Digital input output module CECX D 8E8A NP 2 CECX II 17 16 Dimensions Footprint Height 120 mm Width 22 5 mm Width incl K Bus plug 32 5 mm Depth 100 mm Weight 135 g ...

Page 211: ...rocedures and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 17 9 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 17 9 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 17 9 2 4 Requireme...

Page 212: ......

Page 213: ...perty or equipment under normal circumstances provided that the in structions and safety precautions relating to the intended use are properly observed 18 2 Safety notes 18 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which ...

Page 214: ...ion symbol Notes do not contain any information that draws attention to potentially dangerous or harmful functions 18 2 2 General safety notes z The device is defined as open type equipment UL508 or as offenes Betriebsmittel EN 61131 2 and must therefore be installed in a control cabinet z The system manual is additionally required for programming of the module CAUTION Improper use of the assembly...

Page 215: ... 3 1 Front view 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 0V 24V DO0 DO1 DO2 DO3 DO4 DO5 DO6 DO7 0V 24V DI0 DI1 DI2 DI3 DI4 DI5 2 1 4 3 CECX D 6E8A PN 2 front view 1 Power supply of the digital outputs 2 8 digital outputs 3 Power supply of the digital inputs 4 6 digital inputs DI0 and DI1 interruptible Information The type plate is stored on the module in an EEPROM and can be read out ...

Page 216: ...ith 2 connections Socket board CECX D 6E8A PN 2 Order no Weidmüller 8 pole 1 BLZF 5 08 8 SN SW 170775 6 pole 1 BLZF 5 08 6 SN SW 170773 2 pole 1 BLZF 5 08 2 SN SW 170769 Information Larger terminal blocks may be used to group multiple signals The current carrying capacity of the terminal block is thus however reduced according to derating curve of the terminal block manufacturer The technical data...

Page 217: ...e exclusively from power sources that have an extra low voltage e g SELV or PELV according to EN 61131 2 2007 Connect only voltages and power circuits to connections terminals and interfaces up to 50 V rated voltage that have a secure disconnect for hazardous voltages e g with sufficient isolation CAUTION Fire hazard during module failure Provide suitable fuses for the 24 V DC power supply for the...

Page 218: ...4 DI5 0 V 24 V F1 Connection example for digital inputs Information The reference potential for the isolated digital inputs is the 0 V terminal that is located on the front side For operation of the digital inputs the 0 V terminal and the 24 V termi nal located on the front side must be connected 18 4 2 2 Status display 6 green LEDs to indicate the signal status z LED is lit input is on HIGH z LED...

Page 219: ...System manual CECX Digital input output module CECX D 6E8A PN 2 CECX II 18 7 18 4 2 3 Connection diagram Input diagram ...

Page 220: ...round potential but are isolated for the evaluation logic The switching status HIGH is indicated by green LEDs on the left side of the connector strip 18 4 3 1 Connection example 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 0V 24V DO0 DO1 DO2 DO3 DO4 DO5 DO6 DO7 0V 24V DI0 DI1 DI2 DI3 DI4 DI5 Pxxxxx xxxxx 0 V 24 V F1 Connection example for interrupt inputs CAUTION Interfering impulses ove...

Page 221: ...al outputs There are 8 digital outputs available to activate the digital actors They share a common ground potential but are isolated for the evaluation logic CECX D 6E8A PN 2 2 A rated current at 50 coincidence The rated voltage supplying the group is 24 V DC The switching status HIGH is indicated by orange LEDs on the left side of the connector strip ...

Page 222: ...tion example for digital outputs CAUTION Wrongly plugging the supply terminal blocks by one position down wards can lead to the destruction of the module Even if one of the 0V pins is not connected the digital outputs still func tion However the LEDs do not light up in this case and the status of the digital outputs is not correctly indicated 18 4 4 2 Status display 8 orange LEDs to indicate the s...

Page 223: ... CECX II 18 11 18 4 4 3 Connection diagram Output diagram 18 4 5 EMC and wiring guidelines Information See chapter Fehler Verweisquelle konnte nicht gefunden werden Pay attention from the outset to careful wiring and shielding Further information See system manual ...

Page 224: ...s and devices Configuration data is created by included configuration tools 18 5 2 Setting the address The modules are addressed via the address switch A maximum of 12 modules of the same type can be distinguished on one line The address switch is located on the right side underneath the lower cover The K Bus plug is located underneath the upper cover 0 4 8 C 1 2 3 5 6 7 9 A B D E F 1 Position of ...

Page 225: ...in the same line must have different address switch positions Different modules e g CECX C 2G2 and CECX D 6E8A PN 2 may have the same address switch positions The lids for the K Bus plug and the address switch must remain locked at the last module in the line to protect it against dirt and damage through electrostatic discharge on contact ...

Page 226: ...ated and the outputs become available again The outputs that were not active when the short circuit occurred continue to function without any restriction If after a short circuit another short circuit occurs on a further output the same procedure as for existing faulty outputs applies 18 6 1 2 Short circuit scan activated In order to clearly identify the output that is causing the short circuit th...

Page 227: ...atically place with 34 μs 18 6 3 Switching inductive loads The module contains no internal freewheeling diode to take up the inductive energy when switching off the inductive loads The inductive load capability for each channel is 1 J at 0 2 Hz The inductive energy is transformed into heat by the switching transistor It sets itself a voltage of 60 V This allows for a swifter breakdown of the en er...

Page 228: ...uts through induc tive loads 18 7 Disposal 18 7 1 Disposal of the module The symbol with the crossed out waste container means that electrical and electronic devices including their accessories must not be dis posed of in the household garbage The materials are recyclable in accordance with their labeling By dis posing of such used devices correctly you can ensure that they can be reused their raw...

Page 229: ...1 2 2007 Digital inputs Number of inputs 6 Input type Type 1 according to EN 61131 2 Voltage range for HIGH 15 V UH 30 V Voltage range for LOW 3 V UL 5 V Filter Configurable 500 Hz 10 Hz Cycle time 1 ms Status display Green LED Galvanic isolation Yes Electric strength 707 V with unsewed ground connection Circutry Source Interrupt inputs Number of inputs 2 DI0 DI1 of the 6 digital inputs Input type...

Page 230: ... input output module CECX D 6E8A PN 2 CECX II 18 18 Interfaces System bus interface Parallel bus interfaces plug in on side Dimensions Footprint Height 120 mm Width 22 5 mm Width incl K Bus plug 32 5 mm Depth 100 mm Weight 135 g ...

Page 231: ...rocedures and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 18 9 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 18 9 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 18 9 2 4 Requireme...

Page 232: ......

Page 233: ...ent under normal circumstances provided that the in structions and safety precautions relating to the intended use are properly observed 19 2 Safety notes 19 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which if not avoided ...

Page 234: ...do not contain any information that draws attention to potentially dangerous or harmful functions 19 2 2 General safety notes z The unit is defined as open type equipment according to UL 508 or as offenes Betriebsmittel according to EN 61131 and must therefore be installed in a switch cabinet z The system manual is additionally required for programming of the module CAUTION Improper use of the ass...

Page 235: ...og module for use in the CECX modular con trol system 19 3 1 Front view 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 UREF GND GND AI0 AI1 AI2 AI3 NC NC NC NC NC GND GND 1 CECX A 4E V front view 1 4 analog inputs Information The type plate is stored on the module in an EEPROM and can be read out by the application ...

Page 236: ...connections Female connector Color Number Order no Weidmüller 8 pole sw 2 BLZF 5 08 8 SN SW 170775 2 pole sw 1 BLZF 5 08 2 SN SW 170769 Information Larger terminal blocks may be used to group multiple signals The current carrying capacity of the terminal block is thus however reduced according to derating curve of the terminal block manufacturer The technical data for the terminals are contained i...

Page 237: ...D connection against 50 Hz field length max 1 m shield rail STAT CTRL DIAG SI0 0V 24V CAN0 RX TX COMPACT FLASH USB ETH CAN1 SI1 Connection of the shield rail for analog signals 19 4 1 1 Notes on wiring the analog lines Analog lines and reference voltage must be connected with a shielded cable The shield rail must be connected to the GND terminal at one point The shield must be placed on the shield...

Page 238: ...o the analog inputs e g by the external supply of an encoder there may still be a voltage on the analog outputs This enables drives to be switched on even though they have not re ceived an ON command Remedy The drives must only switch after the activation of an enable output This must only be switched on after the system startup has been completed e g via the output of a digital output module 19 4...

Page 239: ...shall be sup plied by the reference voltage Iref max 20 mA this results in an Rmin 4 x 500 Ω 2 kΩ 19 4 2 2 Connection diagram Connection diagram for analog inputs single ended 1 Sensor 2 Shield rail Information on the hardware endpoints See System manual 19 4 3 Analog inputs differential There are 4 analog inputs with 14 bit resolution available These inputs can either be used differentially or si...

Page 240: ...outputs This enables drives to be switched on even though they have not re ceived an ON command Remedy The drives must only switch after the activation of an enable output This must only be switched on after the system startup has been completed e g via the output of a digital output module 19 4 3 1 Connection example 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 UREF GND GND AI0 AI1 AI2 A...

Page 241: ... diagram for analog inputs differential 1 Sensor 2 Shield rail Information on the hardware endpoints See System manual 19 4 4 EMC and wiring guidelines Information See chapter EC directives and standards Pay attention from the outset to careful wiring and shielding Further information See system manual ...

Page 242: ... are addressed via the address switch A maximum of 12 modules of the same type can be distinguished on one line The address switch is located on the right side underneath the lower cover The K Bus plug is located underneath the upper cover 0 1 F 2 3 4 5 6 7 8 9 A B C D E 1 Position of the address switch 1 Address switch On leaving the factory all modules are set to address 0 and both covers are cl...

Page 243: ... upper transducer limit value has been reached through voltages above 10 4 V the sensor failure bit will be set If the lower transducer limit value has been undercut the sensor failure bit will be automatically reset The expansion resistance 1 MΩ allows the measure of approx 30 V at the analog inputs 19 6 2 Behavior during a fault 19 6 2 1 Module errors In case of a module error an internal watchd...

Page 244: ...d electronic devices including their accessories must not be dis posed of in the household garbage The materials are recyclable in accordance with their labeling By dis posing of such used devices correctly you can ensure that they can be reused their raw materials recycled or put to another use and you will be making an important contribution to the protection of our environ ment ...

Page 245: ...ts Number of inputs 4 Type Voltage input Resolution 14 Bit Signal range 10 V or 0 Uref 10 V Maximum measurement signal 10 4 V Input type Differential or single ended Galvanic isolation No Reference voltage output 10 V 2 5 max 20 mA Scan repeat cycle 1 ms Input impedance at signal range 10 MΩ Input filter characteristic Order First order Input filter characteristic transfer impedance 250 Hz Convert...

Page 246: ...ystem manual CECX Analog input module CECX A 4E V CECX II 19 14 Dimensions Footprint Module height 120 mm Mounting depth 100 mm Front panel width 22 5 mm Module width incl K Bus plug 32 5 mm Weight 132 g ...

Page 247: ...res and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 19 9 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 19 9 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 19 9 2 4 Requirements on...

Page 248: ......

Page 249: ...ment under normal circumstances provided that the in structions and safety precautions relating to the intended use are properly observed 20 2 Safety notes 20 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which if not avoided...

Page 250: ...do not contain any information that draws attention to potentially dangerous or harmful functions 20 2 2 General safety notes z The unit is defined as open type equipment according to UL 508 or as offenes Betriebsmittel according to EN 61131 and must therefore be installed in a switch cabinet z The system manual is additionally required for programming of the module CAUTION Improper use of the ass...

Page 251: ...tion of the module The CECX A 4A V is an analog module for use in the CECX modular con trol system 20 3 1 Front view 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 GND AO0 AO1 GND AO2 AO3 NC NC NC NC NC NC NC NC NC NC NC NC GND 1 CECX A 4A V front view 1 4 analog outputs ...

Page 252: ... connections Female connector Color Number Order no Weidmüller 8 pole sw 2 BLZF 5 08 8 SN SW 170775 2 pole sw 1 BLZF 5 08 2 SN SW 170769 Information Larger terminal blocks may be used to group multiple signals The current carrying capacity of the terminal block is thus however reduced according to derating curve of the terminal block manufacturer The technical data for the terminals are contained ...

Page 253: ...nection against 50 Hz field length max 1 m shield rail STAT CTRL DIAG SI0 0V 24V CAN0 RX TX COMPACT FLASH USB ETH CAN1 SI1 Connection of the shield rail for analog signals 20 4 1 1 Notes on wiring the analog lines z Analog lines and reference voltage must be connected with a shielded cable z The shield rail must be connected to the GND terminal at one point z The shield must be placed on the shiel...

Page 254: ...e range of 10 V are available 20 4 2 1 Connection example 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 GND AO0 AO1 GND AO2 AO3 NC NC NC NC NC NC NC NC NC NC NC NC GND Pxxxxx xxxxx shieldrail Actor IN IN GND Connection example for analog outputs For further information on wiring and shielding of the analog outputs See System manual ...

Page 255: ...nnection diagram for analog output 1 Actor 2 Shield rail Information on the hardware endpoints See System manual 20 4 3 EMC and wiring guidelines Information See chapter EC directives and standards Pay attention from the outset to careful wiring and shielding Further information See system manual ...

Page 256: ...distinguished on one line The address switch is located on the right side underneath the lower cover The K Bus plug is located underneath the upper cover 0 1 F 2 3 4 5 6 7 8 9 A B C D E 1 Position of the address switch 1 Address switch On leaving the factory all modules are set to address 0 and both covers are closed Note Modules of the same type that are installed within the same line must have d...

Page 257: ...will bring the input to an input difference voltage of 10 3 V The sensor failure is communicated to the CPU Once the sensor failure has been corrected the status Sensor failure will be automatically reset 20 7 Disposal 20 7 1 Disposal of the module The symbol with the crossed out waste container means that electrical and electronic devices including their accessories must not be dis posed of in th...

Page 258: ... to EN 61131 2 2007 Shock resistance According to EN 61131 2 2007 Analog outputs Number of outputs 4 Type Voltage output Resolution 12 Bit Signal range 10 V Galvanic isolation No Conversion cycle 1 ms Value of the lowest value Bit LSB 5 32 mV Monotonicity Yes Load resistance 1000 Ω Highest capacitive load 10 nF Differential non linearity 1 LSB Settling time at change over the full range at ohmic l...

Page 259: ...res and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 20 9 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 20 9 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 20 9 2 4 Requirements on...

Page 260: ......

Page 261: ... or equipment under normal circumstances provided that the in structions and safety precautions relating to the intended use are properly observed 21 2 Safety notes 21 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which if no...

Page 262: ...tes do not contain any information that draws attention to potentially dangerous or harmful functions 21 2 2 General safety notes z The unit is defined as open type equipment according to UL 508 or as offenes Betriebsmittel according to EN 61131 and must therefore be installed in a switch cabinet z The system manual is additionally required for programming of the module CAUTION Improper use of the...

Page 263: ...e for use in the CECX modular control system 21 3 1 Front view 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 UREF GND GND GND AI0 AI1 AI2 AI3 AO0 AO1 GND AO2 AO3 GND 2 1 CECX A 4E4A V front view 1 4 analog inputs 2 4 analog outputs Information The type plate is stored on the module in an EEPROM and can be read out by the application ...

Page 264: ...th 2 connections Female connector Color Number Order no Weidmüller 8 pole sw 2 BLZF 5 08 8 SN SW 170775 2 pole sw 1 BLZF 5 08 2 SN SW 170769 Information Larger terminal blocks may be used to group multiple signals The current carrying capacity of the terminal block is thus however reduced according to derating curve of the terminal block manufacturer The technical data for the terminals are contai...

Page 265: ...6 17 UREF GND GND GND AI0 AI1 AI2 AI3 AO0 AO1 GND AO2 AO3 GND 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 UREF GND GND GND AI0 AI1 AI2 AI3 AO0 AO1 GND AO2 AO3 GND GND connection against 50 Hz field length max 1 m shield rail STAT CTRL DIAG SI0 0V 24V CAN0 RX TX COMPACT F LASH USB ETH CAN1 SI1 Connection of the shield rail for analog signals 21 4 2 Notes on wiring the analog lines z Analo...

Page 266: ...e power supply for the modules is not switched on but a voltage is applied to the analog inputs e g by the external supply of an encoder there may still be a voltage on the analog outputs This enables drives to be switched on even though they have not re ceived an ON command Remedy The drives must only switch after the activation of an enable output This must only be switched on after the system s...

Page 267: ...tance sensor shall be used and shall be sup plied by the reference voltage Iref max 20 mA this results in an Rmin 500 Ω Example 2 All 4 analog inputs shall be used with a resistance sensor and shall be sup plied by the reference voltage Iref max 20 mA this results in an Rmin 4 x 500 Ω 2 kΩ 21 4 3 2 Connection diagram Connection diagram for analog inputs single ended 1 Sensor 2 Shield rail Informat...

Page 268: ...but a voltage is applied to the analog inputs e g by the external supply of an encoder there may still be a voltage on the analog outputs This enables drives to be switched on even though they have not re ceived an ON command Remedy The drives must only switch after the activation of an enable output This must only be switched on after the system startup has been completed e g via the output of a ...

Page 269: ...CECX Analog input output module CECX A 4E4A V CECX II 21 9 21 4 4 2 Connection diagram Connection diagram for analog inputs differential 1 Sensor 2 Shield rail Information on the hardware endpoints See System manual ...

Page 270: ...ECX II 21 10 21 4 5 Analog outputs 4 outputs with 12 bit resolution and a voltage range of 10 V are available 21 4 5 1 Connection example Connection example for analog outputs For further information on wiring and shielding of the analog outputs See System manual ...

Page 271: ...m Connection diagram for analog output 1 Actorr 2 Shield rail Information on the hardware endpoints See System manual 21 4 6 EMC and wiring guidelines Information See chapter EC directives and standards Pay attention from the outset to careful wiring and shielding Further information See system manual ...

Page 272: ...tinguished on one line The address switch is located on the right side underneath the lower cover The K Bus plug is located underneath the upper cover 0 1 F 2 3 4 5 6 7 8 9 A B C D E 1 Position of the address switch 1 Address switch On leaving the factory all modules are set to address 0 and both covers are closed Information Modules of the same type that are installed within the same line must ha...

Page 273: ... failure bit will be set If the lower transducer limit value has been undercut the sensor failure bit will be automatically reset The expansion resistance 1 MΩ allows the measure of approx 30 V at the analog inputs 21 6 2 Behavior during a fault 21 6 2 1 Module errors In case of a module error an internal watchdog monitor will be triggered In this case the outputs will be set to 0V the module is r...

Page 274: ...l and electronic devices including their accessories must not be dis posed of in the household garbage The materials are recyclable in accordance with their labeling By dis posing of such used devices correctly you can ensure that they can be reused their raw materials recycled or put to another use and you will be making an important contribution to the protection of our environ ment ...

Page 275: ...e According to EN 61131 2 2007 Analog inputs Number of inputs 4 Type Voltage input Resolution 14 Bit Signal range 10 V or 0 Uref 10 V Maximum measurement signal 10 4 V Input type Differential or single ended Galvanic isolation No Reference voltage output 10 V 2 5 max 20 mA Scan repeat cycle 1 ms Input impedance at signal range 10 MΩ Input filter characteristic Order First order Input filter charac...

Page 276: ...apacitive load 10 nF Differential non linearity 1 LSB Settling time at change over the full range at ohmic load 50 s μs Typ temp coefficient analog output error 20 ppm of FSV C Max temp coefficient analog output error 30 ppm of FSV C Biggest error at 77 00 F 0 15 of FSV FSV Scale end value Interfaces System bus interface Parallel bus interfaces plug in on side Dimensions Footprint Module height 12...

Page 277: ...cedures and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 21 9 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 21 9 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 21 9 2 4 Requirement...

Page 278: ......

Page 279: ... or equipment under normal circumstances provided that the in structions and safety precautions relating to the intended use are properly observed 22 2 Safety notes 22 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which if no...

Page 280: ...tes do not contain any information that draws attention to potentially dangerous or harmful functions 22 2 2 General safety notes z The unit is defined as open type equipment according to UL 508 or as offenes Betriebsmittel according to EN 61131 and must therefore be installed in a switch cabinet z The system manual is additionally required for programming of the module CAUTION Improper use of the...

Page 281: ...th 4 analog power inputs and 4 analog power outputs 22 3 1 Front view 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 NC GND GND GND AI0 AI1 AI2 AI3 AO0 AO1 GND AO2 AO3 GND 2 1 CECX A 4E4A A front view 1 4 analog power inputs 2 4 analog power outputs Information The type plate is stored on the module in an EEPROM and can be read out by the application ...

Page 282: ...th 2 connections Female connector Color Number Order no Weidmüller 8 pole sw 2 BLZF 5 08 8 SN SW 170775 2 pole sw 1 BLZF 5 08 2 SN SW 170769 Information Larger terminal blocks may be used to group multiple signals The current carrying capacity of the terminal block is thus however reduced according to derating curve of the terminal block manufacturer The technical data for the terminals are contai...

Page 283: ... DIAG SI0 0V 24V CAN0 RX TX COMPACT FLASH USB Ser No Pxxxxx xxxxx ETH CAN1 SI1 Connection of the shield rail for analog signals 22 4 2 Notes on wiring the analog lines Analog lines and reference voltage must be connected with a shielded cable The shield rail must be connected to the GND terminal at one point The shield must be placed on the shield rail as shown above To attain optimum interference...

Page 284: ...uts e g by the external supply of an encoder there may still be a voltage on the analog outputs This enables drives to be switched on even though they have not re ceived an ON command Remedy The drives must only switch after the activation of an enable output This must only be switched on after the system startup has been completed e g via the output of a digital output module 22 4 3 1 Connection ...

Page 285: ...m manual CECX Analog input output module CECX A 4E4A A CECX II 22 7 22 4 3 2 Connection diagram Connection diagram analog inputs 1 Sensor 2 Shield rail Information on the hardware endpoints See System manual ...

Page 286: ...lution and a voltage range of 10 V are available 22 4 4 1 Connection example 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 NC GND GND GND AI0 AI1 AI2 AI3 AO0 AO1 GND AO2 AO3 GND shield rail Actor Connection example for analog outputs For further information on wiring and shielding of the analog outputs See System manual ...

Page 287: ... Connection diagram for analog outputs 1 Actor 2 Shield rail Information on the hardware endpoints See System manual 22 4 5 EMC and wiring guidelines Information See chapter EC directives and standards Pay attention from the outset to careful wiring and shielding Further information See system manual ...

Page 288: ...istinguished on one line The address switch is located on the right side underneath the lower cover The K Bus plug is located underneath the upper cover 0 4 8 C 1 2 3 5 6 7 9 A B D E F 1 Position of the address switch 1 Address switch On leaving the factory all modules are set to address 0 and both covers are closed Information Modules of the same type that are installed within the same line must ...

Page 289: ... outputs will be set to 0 mA the module is reset and signals the module error to the CPU module The CECX A 4E4A A module is no longer operative after a watchdog reset and should therefore be replaced 22 6 2 2 Sensor failure If the module is configured for an input range from 4 20 mA the range from 0 4 mA is used for the sensor failure monitoring The response thre shold of the sensor failure is at ...

Page 290: ...l and electronic devices including their accessories must not be dis posed of in the household garbage The materials are recyclable in accordance with their labeling By dis posing of such used devices correctly you can ensure that they can be reused their raw materials recycled or put to another use and you will be making an important contribution to the protection of our environ ment ...

Page 291: ...sistance According to EN 61131 2 2007 Analog inputs Number of inputs 4 Type Current input Signal range 0 20 mA or 4 20 mA Maximum measurement signal 0 8 mA to 20 8 mA Input type Differential Galvanic isolation No Scan repeat cycle 1 ms Input impedance at signal range 200 Ω Input filter characteristic First order Order Input filter characteristic 250 Hz Transition impedance Digital resolution 14 Bi...

Page 292: ...stance 600 Ω Differential non linearity 1 LSB Settling time at change over 50 μs the full range at ohmic load Typ temp coefficient analog output error 20 ppm of FSV C Max temp coefficient analog output error 30 ppm of FSV C Biggest error at 25 C 0 15 of FSV FSV Scale end value Interfaces System bus interface Parallel bus interfaces plug in on side Dimensions Footprint Module height 120 mm Mounting...

Page 293: ...cedures and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 22 9 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 22 9 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 22 9 2 4 Requirement...

Page 294: ......

Page 295: ...uipment under normal circumstances provided that the in structions and safety precautions relating to the intended use are properly observed 23 2 Safety notes 23 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which if not avoi...

Page 296: ...d by the Informa tion symbol Notes do not contain any information that draws attention to potentially dangerous or harmful functions 23 2 2 General safety notes z The device is defined as open type equipment and must therefore be installed in a control cabinet z The system manual is additionally required for programming of the module CAUTION Improper use of the assembly or the control system leads...

Page 297: ...odule allows direct connection of PT100 resistance sensors Up to 4 temperature measurement modules can be operated in 2 or 4 conductor technique 23 3 1 Front view 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 IRF0 GND IRF1 TI1 TI0 GND IRF2 GND IRF3 TI3 TI2 GND GND GND CECX E 4E T P1 front view Information The type plate is stored on the module in an EEPROM and can be read out by the applic...

Page 298: ...s 1 block with 2 connections Socket board CECX E 4E T P1 Order no Weidmüller 8 pole 2 BLZF 5 08 8 SN SW 170775 2 pole 1 BLZF 5 08 2 SN SW 170769 Information Larger terminal blocks may be used to group multiple signals The current carrying capacity of the terminal block is thus however reduced according to derating curve of the terminal block manufacturer The technical data for the terminals are co...

Page 299: ...eld rail Connection of the shield rail for analog signals 23 4 1 1 Notes on wiring the analog lines z Analog lines and reference current must be connected with a shielded cable z The shield rail must be connected to the GND terminal z Lines must be shielded shield connection to GND potential at both ends z The shield must be placed on the shield rail as shown above z To attain optimum interference...

Page 300: ...n the inputs is 14 Bit Each of these inputs is equipped with sensor failure monitoring 23 4 2 1 Connection example 2 conductor measurement 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 IRF0 GND IRF1 TI1 TI0 GND IRF2 GND IRF3 TI3 TI2 GND GND GND shield rail Connection example for 2 conductor measurement With the 2 conductor measurement the reference current is applied via two wire straps Th...

Page 301: ...I1 TI0 GND IRF2 GND IRF3 TI3 TI2 GND GND GND shield rail Connection example for 4 conductor measurement With the 4 conductor measurement the reference current is directly applied at the sensor This way the line resistance has no influence on the meas urement result 23 4 2 3 Connection diagram IREF GND shield rail GND GND GND TI0 GND GND Logic ADC Measurement input 2 conductor technique ...

Page 302: ...ail GND GND GND TI0 GND GND Logic ADC Measurement input 4 conductor technique 23 4 3 EMC and wiring guidelines Information See chapter Fehler Verweisquelle konnte nicht gefunden werden Pay attention from the outset to careful wiring and shielding Further information See system manual ...

Page 303: ...rneath the upper cover Position of the address switch 1 Address switch On leaving the factory all modules are set to address 0 and both covers are closed Note Modules of the same type that are installed within the same line must have different address switch positions Different modules e g CECX E 4E T P1 and CECX C 2G2 may have the same address switch positions The lids for the K Bus plug and the ...

Page 304: ...tchdog reset and should therefore be replaced 23 6 2 2 Sensor failure The module identifies both a failure in the measurement line as well as in the reference currency line The sensor failure is communicated to the CPU Once the sensor failure has been corrected the status Sensor failure will be automatically reset 23 7 Disposal 23 7 1 Disposal of the module The symbol with the crossed out waste co...

Page 305: ...asurement ranges 100 C to 850 C Linearization method Internal Input type 4 conductor or 2 conductor measurement Galvanic isolation No Calibration Yes Sensor failure detection Yes Constant current output 600 μA each type Scan repeat cycle 2 ms Input impedance at signal range 10 MΩ Input filter characteristic order First order Input filter characteristic transition frequency 15 Hz Transformation met...

Page 306: ...stem manual CECX Temperature module CECX E 4E T P1 CECX II 23 12 Dimensions Footprint Module height 120 mm Mounting depth 100 mm Front panel width 22 5 mm Module width incl K Bus plug 32 5 mm Weight 135 g ...

Page 307: ...ures and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 23 9 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 23 9 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 23 9 2 4 Requirements o...

Page 308: ......

Page 309: ...uipment under normal circumstances provided that the in structions and safety precautions relating to the intended use are properly observed 24 2 Safety notes 24 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which if not avoi...

Page 310: ...d by the Informa tion symbol Notes do not contain any information that draws attention to potentially dangerous or harmful functions 24 2 2 General safety notes z The device is defined as an open type equipment so that it must be installed in a control cabinet z The system manual is additionally required for programming of the module CAUTION Improper use of the assembly or the control system leads...

Page 311: ...ure measurement module for use in the CECX modular control system with inputs for 6 thermocouples 24 3 1 Front view TI0 TI1 TI2 TI3 TI4 TI5 1 2 CECX E 6E T P2 front view 1 6 temperature inputs TI0 TI5 2 Sensor interface optional Information The type plate is stored on the module in an EEPROM and can be read out by the application ...

Page 312: ...signed as male connectors with gold contacts with grid dimension of 5 08 mm As counterpart female connectors with gold contacts e g 2 blocks with each 6 connections from Weidmüller are therefore required Socket board CECX E 6E T P2 Order no Weidmüller 6 pole 2 BLZF 5 08 6 SN SW 170773 Information Larger terminal blocks may be used to group multiple signals The current carrying capacity of the term...

Page 313: ... following measuring range is available Measuring point temperature 100 C to 1 000 C The thermocouple type must be software configured Information A thermocouple type that is incorrectly entered in the configuration can cause measurement errors The resolution of the measuring procedure on the inputs is 14 Bit Each of these inputs is equipped with sensor failure monitoring If the measuring range is...

Page 314: ...1 1 Connection example Connection example for measuring input 1 6 inputs for thermocouples 2 Sensor interface see chapt Measuring with external compensation 24 4 1 2 Connection diagram TI TI0 U f GND_EXT0 GND TI5 U f GND_EXT5 1 Temperature input diagram 1 Counter and Logic ...

Page 315: ...ended with Cu wire then a temperature measurement sensor TE 220 A must be used to avoid large measurement deviations See chapt Measurements with external compensation 24 4 2 Interface for temperature measurement sensor SENSOR For measurement with external compensation the temperature measure ment sensor TE 220 A must be used 24 4 2 1 Connection SENSOR Data cable CAT5 Connection of a temperature me...

Page 316: ...le CECX E 6E T P2 CECX II 24 8 24 4 3 EMC and wiring guidelines Information See chapter Fehler Verweisquelle konnte nicht gefunden werden Pay attention from the outset to careful wiring and shielding Further information See system manual ...

Page 317: ...ath the upper cover 0 1 F 2 3 4 5 6 7 8 9 A B C D E 1 Position of the address switch 1 Address switch On leaving the factory all modules are set to address 0 and both covers are closed Information Modules of the same type that are installed within the same line must have different address switch positions Different modules may have the same address switch positions The lids for the K Bus plug and ...

Page 318: ...mperature Therefore a change in the thermo voltage is not proportional to the temperature change The soft ware executes the linearization To enable evaluation of the temperature at the measuring point the tem perature of the comparison point must be known The latter is measured by a terminal temperature sensor that is integrated into the module 24 6 1 2 Temperature data sampling TI0 U f GND_EXT0 Z...

Page 319: ...ne to the temperature measurment module The compensation of the terminal temperature is achieved with an internal tem perature measurement sensor The measurement value is linearized and forwarded to the CPU in C z No temperature measurement sensor must be connected to the sensor interface Information To ensure the highest possible accuracy it is recommended to install the CECX E 6E T P2 in a calm ...

Page 320: ...ensation Information To ensure highest exactness it is recommended to install the terminal point and thus the TE 220 A in a calm air environ ment and away from power electronics heating and ventilation ele ments to mount the temperature measurement sensor close by the terminal point z The temperature measurement sensor must be fixed with cable binder or attached via adherents Maximum cable length ...

Page 321: ...r triggered by a cable break in the thermocouple line or by a measurement value less than 100 C In the case of configured thermocouples that are not connected a sensor failure is indicated at this input 24 8 Disposal 24 8 1 Disposal of the module The symbol with the crossed out waste container means that electrical and electronic devices including their accessories must not be dis posed of in the ...

Page 322: ...nearization according to IEC 548 1 Type K NiCr Ni 100 C to 1000 C Linearization according to IEC 548 1 Measurement principle integrating Measuring time 100 ms Input resistance 10 kΩ Connections Plug in connection terminals gold plated contacts nominal cross section 1 5 mm 2 Intrinsic deviation 1 0 C max absolute measurement deviation at 25 C ambient temperature at the module 1 over the entire meas...

Page 323: ...stem manual CECX Temperature module CECX E 6E T P2 CECX II 24 15 Dimensions Footprint Module height 120 mm Mounting depth 100 mm Front panel width 22 5 mm Module width incl K Bus plug 32 5 mm Weight 142 g ...

Page 324: ...res and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 24 10 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 24 10 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 24 10 2 4 Requirements...

Page 325: ...perty or equipment under normal circumstances provided that the in structions and safety precautions relating to the intended use are properly observed 25 2 Safety notes 25 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which ...

Page 326: ...tion symbol Notes do not contain any information that draws attention to potentially dangerous or harmful functions 25 2 2 General safety notes z The device is defined as open type equipment UL508 or as offenes Betriebsmittel EN 61131 2 and must therefore be installed in a control cabinet z The system manual is additionally required for programming of the module CAUTION Improper use of the assembl...

Page 327: ...odule The CECX F PB V1 is a Profibus master module with the Profibus func tionality according to DPV 1 The connection occurs via K Bus 25 3 1 Front view PROFIBUS RUN STA RDY ERR CECX F PB V1 front view Information The type plate is stored on the module in an EEPROM and can be read out by the application ...

Page 328: ... communication stopped Blinking green with 5 Hz ERR LED illuminated Ready for communication but no connection to a participant present Blinking green irregularly During start up Missing or faulty configuration start up required During the operation Watchdog time error Dark No communication 25 4 3 Bus error LED ERR State Function Illuminated red STA LED off Short circuit detected Illuminated red ST...

Page 329: ...5 6 9 front view front view Connection cable with connection plug for PROFIBUS DP 25 5 1 2 Pin assignment PROFIBUS D SUB male connector front view PIN no Name Additional information 3 RS 485 A B line 5 GND Galvanic isolation 6 5V Galvanic isolation 8 RS 485 A A line 25 5 1 3 Cable specification The bus line is specified according to IEC 50170 as cable type A with the following properties Type Twis...

Page 330: ...ug specification To establish connection with the plug the following shielded plug is rec ommended Phönix plug SUBCON PLUS PROFIB AX SC Material number 2744380 25 5 1 6 Bus termination To ensure smooth operations the PROFIBUS line must be terminated on either end When using a plug designed for PROFIBUS the termination can be switched on off via a switch at the connector shell PROFIBUS pariticipant...

Page 331: ...hielding Further information See system manual 25 6 Configuration For configuration of the module please see CoDeSys help under Configu ration of PROFIBUS modules 25 6 1 Setting the address Since only one CECX F PB V1 may be added to a CP module no address setting is required 25 7 Operating behavior 25 7 1 Start up after Power On The module is passive and is configured and activated through the HO...

Page 332: ...cal and electronic devices including their accessories must not be dis posed of in the household garbage The materials are recyclable in accordance with their labeling By dis posing of such used devices correctly you can ensure that they can be reused their raw materials recycled or put to another use and you will be making an important contribution to the protection of our environ ment ...

Page 333: ... 5 V 0 6 W Overvoltage category II Equipment class III according to EN 61131 2 2007 Environmental conditions Operating temperature 5 C to 55 C Storage temperature 40 C to 70 C Relative humidity of air 10 to 95 non condensing Vibration resistance According to EN 61131 2 2007 Shock resistance According to EN 61131 2 2007 PROFIBUS DP Interface Data transmission rates 9 6 kBit s to 12 Mbit s Max cable...

Page 334: ...rocedures and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 25 10 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 25 10 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 25 10 2 4 Requir...

Page 335: ...roperty or equipment under normal circumstances provided that the in structions and safety precautions relating to the intended use are properly observed 26 2 Safety notes 26 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation whic...

Page 336: ...a tion symbol Notes do not contain any information that draws attention to potentially dangerous or harmful functions 26 2 2 General safety notes The module is defined as open type equipment UL508 or as offenes Betriebsmittel EN 61131 2 and must therefore be installed in a control cabinet The system manual is additionally required for programming of the module CAUTION Improper use of the assembly ...

Page 337: ...ed to connect the modular control sys tem CECX to the PROFIBUS DP as slave participant 26 3 1 Front view STATUS BUS FAULT PROFIBUS ADRESS OFF ON 0 1 2 3 4 5 6 CECX F PB S V1 front view 1 Bus connection 2 Address switch for PROFIBUS address Information The type plate is stored on the module in an EEPROM and can be read out by the application ...

Page 338: ... the DP master Data Exchange status Red No Baud rate or no master identified Flashing red approx 4 Hz Device has identified the Baud rate but is not ad dressed by the master The device was not or wrongly projected by the master 26 4 3 DIP switch for PROFIBUS address The PROFIBUS station address is set via the DIP switch PROFIBUS supports the address range 3 125 A change of the PROFIBUS station add...

Page 339: ...w Connection cable with connection plug for PROFIBUS DP 26 5 1 2 Pin assignment PROFIBUS D SUB male connector front view PIN No Name Additional information 3 RS 485 A B line 5 GND Galvanic isolation 6 5V Galvanic isolation 8 RS 485 A A line 26 5 1 3 Cable specification The bus line is specified according to IEC 50170 as cable type A with the following properties Type Twisted pair cable shielded Ch...

Page 340: ...lish connection with the plug the following shielded plug is rec ommended Phönix plug SUBCON PLUS PROFIB AX SC Material number 2744380 26 5 1 6 Bus termination To ensure smooth operations the PROFIBUS line must be terminated on either end When using a plug designed for PROFIBUS the termination can be switched on off via a switch at the connector shell PROFIBUS pariticipant Bus termination active s...

Page 341: ...ard must be plugged to modules be cause otherwise there would be no 5V supply for the terminating resistors The plug must not remain unconnected 26 5 2 EMC and wiring guidelines Information See chapter EC directives and standards Pay attention from the outset to careful wiring and shielding Further information See system manual ...

Page 342: ...ble errors See chapter 26 4 1 Status LED STATUS 26 7 3 Watchdog The CECX F PB S V1 has a internal watchdog The process data must be collected by the PROFIBUS master within 50 ms That implies a maximum cycle time of 50 ms 26 8 Disposal 26 8 1 Disposal of the module The symbol with the crossed out waste container means that electrical and electronic devices including their accessories must not be di...

Page 343: ...category II Equipment class III according to EN 61131 2 2007 Environmental conditions Operating temperature 5 C to 55 C Storage temperature 40 C to 70 C Relative humidity of air 10 to 95 non condensing Vibration resistance according to IEC 61131 2 2007 Shock resistance according to IEC 61131 2 2007 PROFIBUS DP Interface Data transmission rates 9 6 kBit s to 12 Mbit s Max cable length 100 m at 12 M...

Page 344: ...rocedures and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 26 10 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 26 10 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 26 10 2 4 Requir...

Page 345: ...operty or equipment under normal circumstances provided that the in structions and safety precautions relating to the intended use are properly observed 27 2 Safety notes 27 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which...

Page 346: ...tes do not contain any information that draws attention to potentially dangerous or harmful functions 27 2 2 General safety instructions z The unit is defined as open type equipment according to UL 508 or as offenes Betriebsmittel according to EN 61131 and must therefore be installed in a switch cabinet z The system manual is additionally required for programming of the module CAUTION Improper use...

Page 347: ... 2 incremental encoder inputs It has two latch inputs for recording events 27 3 1 Front view INC0 INC1 0V 24V DI0 DI1 00 01 02 03 2 1 3 4 CECX C 2G2 front view 1 Voltage supply 2 2 latch inputs 3 Encoder input 0 4 Encoder input 1 Information The incremental interface module CECX C 2G2 is not designed for drive control The type plate is stored on the module in an EEPROM and can be read out by the a...

Page 348: ...ule supply 1 block with 2 connections latch inputs Female connector Color Number Order no Weidmüller 2 pole sw 2 BLZF 5 08 2 SN SW 170769 Information Larger terminal blocks may be used to group multiple signals The current carrying capacity of the terminal block is thus however reduced according to derating curve of the terminal block manufacturer The technical data for the terminals are contained...

Page 349: ...er supply for the final appli cation Only fuses with a maximum nominal disconnecting current of 10 A may be used 27 4 1 1 Module supply The module is supplied by the CPU via K Bus The max permitted fuse is 10A recommended fuse protection circuit line breaker LSS 10A type B 27 4 1 2 Supply for connected transducers The CECX C 2G2 provides a 24 V and 5 V supply voltage for the con nected incremental...

Page 350: ...Incremental encoder interface module CECX C 2G2 CECX II 27 6 27 4 2 1 Connection example SINK input SOURCE input Connection example for latch inputs 27 4 2 2 Connection diagram Input diagram latch input SINK configuration ...

Page 351: ...5 V differential z 24 V single ended The configuration is carried out by software Information If only one encoder is used it must be connected to the upper interface INC0 Mode 5 V differential The specifications from chapter General information about interfaces are to be adhered to The specifications from the system manual on the topic Interfaces RS 485 422 are to be observed Mode 24 V single ende...

Page 352: ...ack A track B track 0 0 V 24 V Incremental encocer RS 422 Interface 5V GND 24V Interface 24V GND 10 A Incremental encocer track A track B track 0 Connection example encoder inputs with transducer supply and latch z INC0 is connected to a transducer via a 5V differential interface The transducer is supplied with 5V operating voltage via the CECX C 2G2 z INC0 is connected to a transducer with 24V in...

Page 353: ...ck A 09 A Track A Do not connect 04 B Track B Track B 08 B Track B Do not connect 03 0 Zero track Zero track signals 07 0 Zero track Do not connect 02 24 V Transducer supply Transducer supply 06 5 V Transducer supply Transducer supply Power supply 01 GND Ground Ground 27 4 3 3 Connection diagram Incremental encoder 5 V diff Interface 5V GND 5 1 6 9 INC0 track A track B track 0 Connection diagram f...

Page 354: ...volt age 5 V 5 1 6 9 24V Interface 24V GND INC0 Incremental encoder track A track B track 0 Connection diagram for incremental encoder with 24 V power supply single ended signal voltage 24 V 27 4 3 4 Cable and plug specification See chapter General information about interfaces 27 4 4 EMC and wiring guidelines Information See chapter EC directives and standards Pay attention from the outset to care...

Page 355: ...guration tools 27 5 2 Setting the address The modules are addressed via the address switch It is possible to connect a maximum of z 8 only CECX C 2G2 to a CPU module permissible address switch po sitions 0 7 z 2 only CECX C 2G2 to a CECX B CO permissible address switch posi tions 0 1 The address switch is located on the right side and underneath the lower cover The K Bus plug is located underneath...

Page 356: ...n the same line must have different address switch positions Different modules e g CECX A 4E4A A and CECX C 2G2 may have the same address switch positions The lids for the K Bus plug and the address switch must remain locked at the last module in the line to protect it against dirt and damage through electrostatic discharge on contact ...

Page 357: ...asis z Rotary position transducer monitor via zero track information z Latch function of counter status via an external latch input 24V Sink and Source z Latch function of counter status via zero pulse z Sensor failure monitor of tracks A B and zero in 5 V diff mode z Simulation mode for testing the application when incremental encoder is not connected 27 6 2 Position measurement Position measurem...

Page 358: ... Impulse signals of the position transducer resolution 1 fold A B Pulse signals of the position trans ducer P Cycle time Q Resolution 1 fold Position measurement 2 fold Q P A 1 2 B Impulse signals of the position transducer resolution 2 fold A B Pulse signals of the position trans ducer P Cycle time Q Resolution 2 fold ...

Page 359: ...osition trans ducer P Cycle time Q Resolution fold The actual direction of the movement is identified from the evaluation of the phase position of the pulse signals A and B see following image B A B A foreward backward Pulse signals of the position transducer identification of the movement direction 27 6 3 Position counter The position counter is a relative counter that starts at Zero and is updat...

Page 360: ...easure ment is started anew Once the measurement is completed the value is marked as new The input pulses are scanned with an internal tact of 50 MHz At a maxi mum input frequency of 250 kHz this will result in a resolution of at least 8 Bit Frequencies that are smaller than 3 pulses per second are evaluated as ze ro velocity 27 6 5 Pulse counter without direction evaluation This function provides...

Page 361: ... stamp on each latch event is recorded within the update cycle The time stamp has a resolution of 1µs This time stamp is unique up to an up date cycle of 65ms The possibility of an overflow exists for longer cycle times of the application program so that update cycles of the incremental encoder inputs of 65ms should be avoided The latch inputs are firmly assigned to the incremental encoder inputs ...

Page 362: ...ified 27 7 2 Behavior at transducer error If the Zero pulse monitor is activated through configuration of the number of increments per rotation the CECX C 2G2 will internally monitor the number of pulses between two Zero pulses If the number deviates an error will be triggered 27 7 3 Behavior at short circuit of transducer supply Both outputs for the transducer supply are sustained short circuit p...

Page 363: ...rical and electronic devices including their accessories must not be dis posed of in the household garbage The materials are recyclable in accordance with their labeling By dis posing of such used devices correctly you can ensure that they can be reused their raw materials recycled or put to another use and you will be making an important contribution to the protection of our environ ment ...

Page 364: ...al Interpretation configurable 1 fold 2 fold 4 fold Counter function with and without interpretation of direction Max impuls rate 1 MHz when using 4 fold interpretation differential Resolution 32 bit Galvanically isolated No Environmental conditions Operating temperature 5 C to 55 C Storage temperature 40 C to 70 C Relative humidity of air 10 to 95 non condensing Vibration resistance According to ...

Page 365: ...ax cycle time 16 Bit counter unique up to 65ms cycle time System interface K Bus Parallel bus interfaces plug in on side Diagnosis possibilities Sensor failure and sensor short circuit at 5 V differential input configuration Zero pulse monitoring Counter overflow Track error Signal frequence at inputs outside specifications max 250 kHz Dimensions Footprint Module height 120 mm Mounting depth 100 m...

Page 366: ...procedures and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 27 10 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 27 10 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 27 10 2 4 Requi...

Page 367: ...ipment under normal circumstances provided that the in structions and safety precautions relating to the intended use are properly observed 28 2 Safety notes 28 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which if not avoid...

Page 368: ...d by the Informa tion symbol Notes do not contain any information that draws attention to potentially dangerous or harmful functions 28 2 2 General safety notes z The device is defined as an open type equipment so that it must be installed in a control cabinet z The system manual is additionally required for programming of the module CAUTION Improper use of the assembly or the control system leads...

Page 369: ... a serial interface module for use in the modular control system It makes two serial interfaces available z Type RS 232 C according to PC standard z Transmission data rate up to 115200 Baud 28 3 1 Front view SI0 STATUS SI1 CECX S 2S1 front view Information The CECX S 2S1 module is not designed for drive integration ...

Page 370: ... 4 28 4 Operating elements and displays 28 4 1 Status LED STATUS Color Significance Comment ON LED is lit Green OK ON Ready for operation Orange Initialization ON Start up Red Switching on ON Switching on Red Module errors ON Wrong address switch position 0x04 0x0F ...

Page 371: ...tion Current loop Twisted paired wiring No RS 232 C Twisted pair wiring with signal ground SGND No RS 422 A unidirectional Twisted pair wiring with signal ground SGND Yes RS 422 A bidirectional 2 twisted pair wiring with 1 signal ground SGND Yes RS 485 A Twisted pair wiring with signal ground SGND Yes verdrillte 2 Drahtleitung Signalmasse Schirm mit Schirmmasse Twisted 2 pair line Signal ground Sh...

Page 372: ...ut 2 RXD Receive Data Input 3 TXD Transmit Data Output 5 GND Ground 7 RTS Request To Send Output 8 CTS Clear To Send Input 28 5 2 2 Cable and plug specification See chapter General information about interfaces 28 5 3 EMC and wiring guidelines Information See chapter Fehler Verweisquelle konnte nicht gefunden werden Pay attention from the outset to careful wiring and shielding Further information S...

Page 373: ...6 2 Setting the address The modules are addressed via the address switch A maximum of 4 simi lar modules switch position 0 3 can be differentiated within one line the switch position 4 F is invalid In case of an invalid address switch the module will not log on at the K Bus which means that it cannot be config ured either The address switch is located on the right side and underneath the lower cov...

Page 374: ...o protect it against pollution and damage through electrostatic discharge on contact 28 7 Disposal 28 7 1 Disposal of the module The symbol with the crossed out waste container means that electrical and electronic devices including their accessories must not be dis posed of in the household garbage The materials are recyclable in accordance with their labeling By dis posing of such used devices co...

Page 375: ... 2007 Environmental conditions Operating temperature 5 C to 55 C Storage temperature 40 C to 70 C Relative humidity of air 10 to 95 non condensing Vibration resistance according to IEC 61131 2 2007 Shock resistance according to IEC 61131 2 2007 Interfaces Interface type RS 232 C 9 pole male connector Transmission media shielded cable Galvanic isolation No RS 232 C baud rates Adjustable via softwar...

Page 376: ...ures and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 28 9 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 28 9 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 28 9 2 4 Requirements o...

Page 377: ...ent under normal circumstances provided that the in structions and safety precautions relating to the intended use are properly observed 29 2 Safety notes 29 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which if not avoided ...

Page 378: ... by the Informa tion symbol Notes do not contain any information that draws attention to potentially dangerous or harmful functions 29 2 2 General safety notes z The device is defined as open type equipment and must therefore be installed in a control cabinet z The system manual is additionally required for programming of the module CAUTION Improper use of the assembly or the control system leads ...

Page 379: ...for use in the modular control system CECX It makes 4 SSI interfaces available SSI Synchronous Serial Interface is an interface for absolute stroke measuring systems 29 3 1 Front view 0V 24V 00 01 SSI0 SSI1 SSI2 SSI3 CECX C 2G1 front view Information The type plate is stored on the module in an EEPROM and can be read out by the application ...

Page 380: ...ly Standard male connectors with grid dimension 5 08 mm The following female connectors are required for the CECX C 2G1 Socket board CECX C 2G1 Order no Weidmüller 2 pole 1 BLZF 5 08 2 SN SW 170769 The technical data for the terminals are contained in the technical data sheet of the manufacturer of the female connectors ...

Page 381: ...ages and power circuits to connections terminals and interfaces with a rated voltage of up to 50 V that have a safe separation from hazardous voltages e g with sufficient isolation and voltage proof CAUTION Fire danger for component failure Provide suitable fuses for the 24 V DC power supply for the final appli cation The maximum permitted fuse is 10A Section Refer to the manufacturer specific dat...

Page 382: ... consumption of the transducers amounts to 24 W when all 4 SSI interfaces are operated at a full load of 250 mA Fuse F1 The rated current for fuse F1 is dependent on the number of SSI interfaces used and their power consumption Each interface has its own internal resettable fuse with a rated current of 300 mA 29 5 2 SSI interface The Synchronous Serial Interface is an interface for absolute stroke...

Page 383: ... V DI DI CK CK F1 Connection example for transducer Information The voltage drop between the supply terminal and the voltage output on the SSI interface socket amounts to 1 V at 250 mA 29 5 2 2 Pin assignment PIN No Name 1 n c 2 n c 3 DI Data input 4 CK Clock input 5 CK Clock input 6 DI Data input 7 24 V Transducer supply output 8 1 8 0 V Transducer supply output ...

Page 384: ...the plug 29 5 2 4 Baud rate maximum cable length For more information See chapter Connections and wiring general information about interfaces 29 5 3 EMC and wiring guidelines EMC guidelines See chapter Fehler Verweisquelle konnte nicht gefun den werden Wiring guidelines See chapter Connections and wiring General information about interfaces Pay attention from the outset to careful wiring and shiel...

Page 385: ...configuration tools 29 6 2 Setting the address The modules are addressed via the address switch It is possible to connect a maximum of z 4 only CECX C 2G1 to a CPU module permissible address switch positions 0 3 z 2 only CECX C 2G1 to a CECX B CO permissible address switch positions 0 1 Information If an inadmissible address is set the module will not be recognized on the K Bus The address switch ...

Page 386: ...1 1 Failure of supply voltage If the supply voltage fails the Module Status variable is set to TRUE 29 7 1 2 Response to sensor failure In case of sensor failure the Channel Status variable of the affected channel is set to TRUE When the fault is corrected the following status variable is again set to FALSE 29 8 Disposal 29 8 1 Disposal of the module The symbol with the crossed out waste container...

Page 387: ...gory II Equipment class III according to EN 61131 2 2007 Environmental conditions Operating temperature 5 C to 55 C Storage temperature 40 C to 70 C Relative humidity of air 10 to 95 non condensing Vibration resistance According to EN 61131 2 2007 Shock resistance According to EN 61131 2 2007 SSI interfaces Number of interfaces 4 Output voltage for transducer supply 24 V DC Maximum current for tra...

Page 388: ...es and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 29 10 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 29 10 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 29 10 2 4 Requirements ...

Page 389: ...der normal circumstances provided that the instructions and safety precautions relating to the intended use are properly observed 30 2 Safety notes 30 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which if not avoided will re...

Page 390: ...sential that you also observe the safety instructions in the sys tem manual z The unit is defined as open type equipment according to UL 508 or as offenes Betriebsmittel according to EN 61131 and must therefore be installed in a CPU module z The system manual is additionally required for programming of the module CAUTION Improper use of the assembly or the control system leads to irreparable damag...

Page 391: ...r inserting in CPU modules The CAN option module CECX F CO contains the CAN connection for the CAN Controller integrated into the CPU Information The module s function is guaranteed only if it used in a CPU module The module is not designed for connection with foreign modules 30 3 1 Front view CAN RX TX X4 CECX F CO front view ...

Page 392: ...Installation instructions The module has been designed for operation with a CPU module It is in serted into the middle slot CAN RX TX X3 X4 X5 X4 CAN SerialInterface Ethernet Information The option modules must not be plugged or removed if the CPU module is activated ...

Page 393: ...0 4 1 Inserting an option module 1 Turn off the power supply 2 Remove dummy module 3 Insert module in the right position labeling X4 and CAN left into the middle slot Ethernet CAN SI1 X4 X3 X5 CAN X4 RX TX Inserting the CECX F CO option module into CP 23x module ...

Page 394: ...X4 RX TX X4 X3 X5 Removing the CECX F CO option module from CP 23x module 30 5 Display and operating elements 30 5 1 CAN status LEDs The module has two CAN status LEDs RX and TX LEDs per CAN inter face which are activated from the Microcontroller Name Color Description RX LED Green Briefly lights up on receipt of a CAN message TX LED Yellow Briefly lights up on transmission of a CAN message ...

Page 395: ...r 2 3 7 2 3 7 CECX F CO end station CAN CAN SGND CAN CAN SGND 2 3 7 Contact the shield with the connector at both sides and at a large surface area twisted pairs of wires CAN station Example for connecting a CECX F CO via CAN 30 6 1 2 Pin assignment 6 1 5 9 Reserved Reserved CAN GND Reserved Reserved SGND CAN Reserved 9 pin DSUB female connector Pin assignment DSUB plug connection from front ...

Page 396: ...he specific line delay in the lines results in the following ratio between Baud rate and maximum cable length Baud rate Max cable length typical Max cable length guaranteed 6 ns m run time 5 2 ns m run time 6 ns m run time 5 2 ns m run time 125 kbit s 561 m 647 m 542 m 625 m 250 kbit s 269 m 311 m 250 m 289 m 500 kbit s 124 m 143 m 104 m 120 m 800 kbit s 61 m 70 m 42 m 48 m 1 Mbit s 40 m 46 m 21 m...

Page 397: ...the pins 4 and 5 TERM1 must be connected as well as the pins 8 and 9 TERM2 6 1 5 9 GND CAN TERM2 TERM2 Reserved CAN SGND TERM1 TERM1 CAN interface with activated bus termination 30 6 2 EMC and wiring guidelines Information See chapter EC directives and standards Pay attention from the outset to careful wiring and shielding Further information See system manual ...

Page 398: ...The module is passive and is configured and activated through the HOST 30 8 2 Resetting The module can be reset by the HOST without the HOST itself having to be reset 30 9 Disposal 30 9 1 Disposal of the module The symbol with the crossed out waste container means that electrical and electronic devices including their accessories must not be dis posed of in the household garbage The materials are ...

Page 399: ...face type Media Independent Interface Connection CHAMP plug 30 pole Power supply 5 V Module recognition YES Module given YES NO no type recognized CAN interface Baud rate 125 kbit s 250 kbit s 500 kbit s 800 kbit s 1 Mbit s Terminating resistor YES can be bridged in plug Galvanic isolation NO Connection DSUB 9 pin connector plug Signaling 2 LEDs yellow transmit green receive Mechanics Structure No...

Page 400: ... and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 30 11 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 30 11 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 30 11 2 4 Requirements on...

Page 401: ...perty or equipment under normal circumstances provided that the instructions and safety precautions relating to the intended use are properly observed 31 2 Safety notes 31 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which i...

Page 402: ...absolutely essential that you also observe the safety instructions in the system manual z The device is defined as open type equipment UL508 or as offenes Betriebsmittel EN 61131 2 and must therefore be installed in a control cabinet z The system manual is additionally required for programming of the module CAUTION Improper use of the assembly or the control system leads to irreparable damage Turn...

Page 403: ...of the module The CECX C S1 RS 232 C is a serial option module for inserting in CPU modules Information The module s function is guaranteed only if it used in a CPU module The module is not designed for connection with foreign modules 31 3 1 Front view X3 RS232 CECX C S1 front view ...

Page 404: ... CECX II 31 4 31 4 Installation instructions The module has been designed for operation with a CPU module It is in serted into the left slot Use in a CP module Information The option modules may not be plugged or removed if the CPU module is activated ...

Page 405: ...Inserting an option module 1 Turn off the power supply 2 Remove dummy module 3 Insert module in the correct position in the left slot labeling X3 and Serial Interface PWR CTRL SI0 0V 24V X3 X4 X5 Serial Interface CAN RS232 X3 Ethernet Inserting the CECX C S1 option module ...

Page 406: ...e CECX C S1 CECX II 31 6 31 4 2 Removing an option module 1 Turn off the power supply 2 Pull module from the slot 3 Insert dummy module PWR CTRL SI0 0V 24V X3 X4 X5 Serial Interface CAN Ethernet RS232 X3 Removing the CECX C S1 option module ...

Page 407: ...For all serial interfaces holds true z Use shielded cables z Contact shield directly at metallic interface plug casing Required cable must be shiel ded in all cases Take account of line termination RS 232 C Standard line no verdrillte 2 Drahtleitung Signalmasse Schirm mit Schirmmasse Twisted 2 pair line Signal ground Shield with shield ground Structure of a shielded twisted pair wiring with signal...

Page 408: ... RXD Receive Data Input 3 TXD Transmit Data Output 4 n c Not connected 5 GND Ground 6 n c Not connected 7 RTS Request To Send Output 8 CTS Clear To Send Input 9 n c Not connected 31 5 2 2 Cable and plug specification See chapter General information about interfaces 31 5 3 EMC and wiring guidelines Information See chapter Fehler Verweisquelle konnte nicht gefunden werden Pay attention from the outs...

Page 409: ... Disposal 31 7 1 Disposal of the module The symbol with the crossed out waste container means that electrical and electronic devices including their accessories must not be dis posed of in the household garbage The materials are recyclable in accordance with their labeling By dis posing of such used devices correctly you can ensure that they can be reused their raw materials recycled or put to ano...

Page 410: ...terface to CPU module Interface type 3 3 V TTL output of the UART Connection CHAMP plug 30 pole Power supply 5 V Module recognition YES Module given YES NO no type recognized CECX C S1 Interface type RS 232 C 9 pole connector plug Transmission media shielded cable Galvanic isolation no RS 232 C baud rates To be set via software from 1200 Baud to 115000 Baud Mechanics Structure No casing only front...

Page 411: ...es and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 31 9 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 31 9 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 31 9 2 4 Requirements on ...

Page 412: ......

Page 413: ...perty or equipment under normal circumstances provided that the instructions and safety precautions relating to the intended use are properly observed 32 2 Safety notes 32 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which i...

Page 414: ...unctions 32 2 2 General safety notes z The device is defined as open type equipment UL508 or as offenes Betriebsmittel EN 61131 2 and must therefore be installed in a control cabinet z The system manual is additionally required for programming of the module CAUTION Improper use of the assembly or the control system leads to irreparable damage Turn off the power supply before inserting or removing ...

Page 415: ... the module The CECX S S4 RS 485 A RS 422 A is a serial option module for inserting in CPU modules Information The module s function is guaranteed only if it used in a CPU module The module is not designed for connection with foreign modules 32 3 1 Front view SI1 CECX S S4 front view ...

Page 416: ... CECX II 32 4 32 4 Installation instructions The module has been designed for operation with a CPU module It is in serted into the left slot Use in a CP module Information The option modules may not be plugged or removed if the CPU module is activated ...

Page 417: ...ECX S S4 CECX II 32 5 32 4 1 Inserting an option module 1 Turn off the power supply 2 Remove dummy module 3 Insert module in the right position labeling SI1 left into the left slot PWR CTRL SI0 0V 24V SI1 Inserting the CECX S S4 option module ...

Page 418: ...CX Serial option module CECX S S4 CECX II 32 6 32 4 2 Removing an option module 1 Turn off the power supply 2 Pull module from the slot 3 Insert dummy module PWR CTRL SI0 0V 24V SI1 Removing the CECX S S4 option module ...

Page 419: ...ec tional twisted pair wiring with signal ground SGND yes RS 422 A bidirecti onal 2x twisted pair wiring 1 signal ground SGND yes RS 485 A twisted pair wiring with signal ground SGND yes verdrillte 2 Drahtleitung Signalmasse Schirm mit Schirmmasse Twisted 2 pair line Signal ground Shield with shield ground Structure of a shielded twisted pair wiring with signal ground 32 5 2 Interface RS 485 A RS ...

Page 420: ... terminating resistor Example 1 RS 422 A interface Example 2 RS 485 A wiring connection at the CECX S S4 CECX S S4 8 B B A A GND B B A A G R 3 5 G R ground to other participants transmitter receiver transmit receive transmit receive 2 TERM B 7 TERM A t R communication participant transmitter receiver transmit receive transmit receive to other participants G transmitter R receiver Rt terminating re...

Page 421: ...85 A DSUB plug connection seen from front RS 422 A PIN No Signal designation Input Output 9 A Transmit Output 8 A Receive Input 4 B Transmit Output 3 B Receive Input 7 TERM A Terminating resistor 2 TERM B Terminating resistor 1 GND Ground 5 GND Ground RS 485 A PIN No Signal designation Input Output 8 A A Transmit receive Input or Output 3 B B Transmit receive Input or Output 7 TERM A Terminating r...

Page 422: ...cted RS 422 A RS 485 A 1 5 9 6 n c TERM A A A GND TERM B B B GND 1 5 9 6 n c TERM A A A do not connect GND TERM B B B do not connect GND n c not connected RS 422 A RS 485 A with activated bus termination board 32 5 2 4 Cable and plug specification See chapter General information about interfaces 32 6 EMC and wiring guidelines Information See chapter Fehler Verweisquelle konnte nicht gefunden werde...

Page 423: ... Disposal 32 8 1 Disposal of the module The symbol with the crossed out waste container means that electrical and electronic devices including their accessories must not be dis posed of in the household garbage The materials are recyclable in accordance with their labeling By dis posing of such used devices correctly you can ensure that they can be reused their raw materials recycled or put to ano...

Page 424: ...V TTL output of the UART Connection CHAMP plug 30 pole Power supply 5 V Module recognition YES Module given YES NO no type recognized CECX S S4 Interface type RS 485 A RS 422 A 9 pole connector plug Transmission media shielded cable Galvanic isolation No RS 485 A RS 422 A Baud rates To be set via software from 1200 Baud to 115000 Baud Switching between RS 485 A and RS 422 A To be set via software ...

Page 425: ...s and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 32 10 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 32 10 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 32 10 2 4 Requirements o...

Page 426: ......

Page 427: ...roperty or equipment under normal circumstances provided that the instructions and safety precautions relating to the intended use are properly observed 33 2 Safety notes 33 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which...

Page 428: ...essential that you also observe the safety instructions in the sys tem manual z The unit is defined as open type equipment according to UL 508 or as offenes Betriebsmittel according to EN 61131 and must therefore be installed in a CPU module z The system manual is additionally required for programming of the module CAUTION Improper use of the assembly or the control system leads to irreparable dam...

Page 429: ...t option module can be integrated into a 10Mbit s as well as a 100Mbit s Ethernet Information The module s function is guaranteed only if it is used in a CPU module The module is not designed for connection with foreign modules The MAC ID unique physical address of a network card is attached to the inside of the module as sticker 33 3 1 Front view Ethernet X5 CECX C ET front view ...

Page 430: ... Installation instructions The module has been designed for operation with a CPU module It is in serted into the right hand slot X3 X4 X5 CAN SerialInterface Ethernet Ethernet X5 Information The option modules must not be plugged or removed if the CPU module is activated ...

Page 431: ... 4 1 Inserting an option module 1 Turn off the power supply 2 Remove dummy module 3 Insert module in the correct position labeling X5 and Ethernet into the right slot Ethernet X5 X3 X4 X5 Ethernet SerialInterface Inserting the CECX C ET option module into CP 23x module ...

Page 432: ...e CECX C ET CECX II 33 6 33 4 2 Removing an option module 1 Turn off the power supply 2 Pull module from the slot 3 Insert dummy module X3 X4 X5 Ethernet SerialInterface CAN Ethernet X5 Removing the CECX C ET option module from CP 23x module ...

Page 433: ...thernet status LEDs 2 status LEDs are located below the Ethernet socket RJ 45 Name Color Description Activity LED Yellow Lights up when sending and receiving data Link status LED Green Lights up as soon as an Ethernet connection is alive 33 5 1 3 Cable and plug specification See chapter General information about interfaces 33 5 2 EMC and wiring guidelines Information See chapter EC directives and ...

Page 434: ...ST itself having to be reset 33 8 Disposal 33 8 1 Disposal of the module The symbol with the crossed out waste container means that electrical and electronic devices including their accessories must not be dis posed of in the household garbage The materials are recyclable in accordance with their labeling By dis posing of such used devices correctly you can ensure that they can be reused their raw...

Page 435: ...ck resistance Gemäß EN 61131 2 2007 Interface to CPU module Interface type Media Independent Interface Connection CHAMP plug 30 pole Power supply 5 V Module recognition YES Module given YES NO no type recognized Ethernet interface Ethernet interface 10 100 Mbit s LAN Number 1 Connection Modular plug 8 pin RJ45 plug Mechanics Structure No casing only front plate mounted on print Protection class Wh...

Page 436: ...es and safety principles EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 33 10 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 33 10 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 33 10 2 4 Requirements ...

Page 437: ...cumstances provided that the in structions and safety precautions relating to the intended use are properly observed 34 2 Safety notes 34 2 1 Representation At various points in this manual you will see notes and precautionary warn ings regarding possible hazards The symbols used have the following meaning DANGER indicates an imminently hazardous situation which if not avoided will result in death...

Page 438: ...ot contain any information that draws attention to potentially dangerous or harmful functions 34 2 2 General safety notes The device is defined as open type equipment UL508 or as offenes Betriebsmittel IEC 61131 2 and must therefore be installed in a con trol cabinet The system manual is additionally required for programming of the module CAUTION Improper use of the assembly or the control system ...

Page 439: ...s as decentralized I O clusters at other controls The CECX B CO is connected with a host control via CAN A maximum of 12 modules can be supplied and operated 34 3 1 Front view CECX B CO front view 1 Address switch 2 Baud rate switch 3 CAN interface 4 Voltage supply Information The type plate is stored on the module in an EEPROM and can be read out by the application CECX II 34 3 ...

Page 440: ...pply The module uses standard male connectors with grid dimension 5 08 mm Required socket board 1 block with 2 connections CAN connection 9 pole DSUB connector Female connector Color Number Order no Weidmüller 2 pole sw 1 BLZF 5 08 2 SN SW 170769 Information Larger terminal blocks may be used to group multiple signals The current carrying capacity of the terminal block is thus however reduced acco...

Page 441: ...essages 34 4 2 CANOpen short description CANOpen is a widely used CAN application layer that was developed by the association CAN in Automation CiA http www can cia org and which meanwhile has been accepted as international standard The CECX B CO supports CAN protocols CANOpen in accordance with DS301 V4 01 and device profiles in accordance with DS401 V2 0 These can be downloaded at the address li...

Page 442: ...ereof Cyclical synchronous A SYNC telegram triggers the modules to adopt the previously received output data and to send new input data Required The modules are triggered to send their input data via a CAN data re quest telegram The requested communication mode is set via the parameter Trans mission Type 34 4 2 3 Transmission rates Transmission rates from 125 kBaud to 1MBaud are available to cater...

Page 443: ...System manual CECX Bus link module CECX B CO Node monitoring Nodeguarding Heartbeat SDO transfer expedited segmented SYNC Consumer Emergency PDO CECX II 34 7 ...

Page 444: ...not remove or insert modules or options modules in the sys tem Otherwise charging and discharging of back up capacitors may lead to a thermal overload electric arc of the contacts 34 5 2 CAN status LEDs 2 status LEDs are located below the CAN interface Name Color Description RX LED Green Briefly lights up on receipt of a CAN message TX LED Yellow Briefly lights up on transmission of a CAN message ...

Page 445: ...r demand on the added on modules must not exceed 5 5W Information For the calculation of the number of modules that can be added the speci fied performance value given in the technical specifications under Power consumption 5 V on the K Bus must be used 34 6 1 1 Connection example The CECX B CO supplies the I O modules added on with 5 V logic supply and additionally with 24 V analog support voltag...

Page 446: ... 5 6 7 8 9 A BCDE F CAN RX TX Position of the CAN interface 34 6 2 1 Connection example Position shield on both sides and covering large connection areas provided in the plug 2 3 7 2 3 7 CECX B CO CAN CAN SGND CECX B CO end participiant 2 3 7 CPU module end participant CAN CAN SGND twisted pair twisted pair Connection example bus coupler CPU module CECX II 34 10 ...

Page 447: ...2 ns m run time 6 ns m run time 5 2 ns m run time 125 kbit s 561 m 647 m 542 m 625 m 250 kbit s 269 m 311 m 250 m 289 m 500 kbit s 124 m 143 m 104 m 120 m 800 kbit s 61 m 70 m 42 m 48 m 1 Mbit s 40 m 46 m 21 m 24 m Information The length specifications in the table are maximum values based on ideal conditions The practical cable length is reduced by poor shielding contact strong interference stub ...

Page 448: ...be as signed twice in the CAN network For further information See the chapter Baud rates and address settings Baud rate The Baud rate must set selected in keeping with the length of the cable For further information See the chapter Baud rates and address settings Heartbeat Guarding In case the module is not operated in synchronous cyclical mode this mon itoring function is used to detect a module ...

Page 449: ...125 kbit s 2 250 kbit s 3 500 kbit s 4 800 kbit s 5 1 Mbit s 6 F not allowed The firmware adopts the adjusted Baud rate once during start up of the CECX B CO Changing the Baud rate during operation is not possible Information The CECX B CO is delivered with the Baud switch position 0 It is manda tory that it is set accordingly If the Baud switch position is invalid the communication with the CECX ...

Page 450: ...dress setting is invalid the communication with the CECX B CO is disabled Status LED illuminates red 34 7 3 Creation of the default PDO mapping In principle the Default PDO Mapping contains a type pure PDO structure i e analog and digital data are not mixed in one PDO The Default PDO Mapping is created according to the CANOpen specifica tions of the DS 401 2 0 Due to the type purity the PDOs can a...

Page 451: ...correspond with which IO connection According to above image the following assignment follows the first TxPDO consists of Byte 1 8 Bit digital inputs 1 Byte 2 and Byte 3 1 analog input 16 Bit 2 The 8 Bit digital inputs come from the K Bus module which is described in object 0x2010 3 The analog input comes from the K Bus module which is described in object 0x2011 4 34 7 4 Mapping of add on modules ...

Page 452: ...oltage inputs resolution 14 bit 4 analog voltage outputs resolution 12 bit possible errors Sensor failure For each CECX A 4E4A V the object 0x5013 is extended by one Sub Index the objects 0x6401 and 0x6411 by 4 Sub indices Objects used 0x5013 CECX A 4E4A V or A configuration 0x6401 Read analog inputs 0x6411 Write analog outputs For details about the objects used See chapter K Bus module specific o...

Page 453: ...2 inputs can be configured as interruptible DI0 and or DI1 possible errors None For each CECX D 16E the objects 0x6100 0x6103 0x6107 0x6108 are ex tended by one Sub Index The 16 inputs of a CECX D 16E can therefore only be mapped as a group of 8 inputs DI0 DI7 and DI8 DI15 From the K Bus side the two Interrupt inputs share one Interrupt line Objects used 0x6005 Activate Interrupt 0x6100 read digit...

Page 454: ...cts used See chapter K Bus module specific objects CECX D 6E8A PN 2 6 digital inputs 8 digital outputs 2 inputs can be configured as interruptible DI0 and or DI1 possible errors none For each CECX D 6E8A PN 2 the objects 0x5020 0x5021 0x6000 0x6003 0x6007 0x6008 and 0x6200 are extended by one Sub Index The 6 inputs or 8 outputs can therefore only be mapped together as a group From the K Bus side t...

Page 455: ...2 the following objects are extended by two Sub indices 0x5030 0x5031 0x5032 0x5033 0x5034 0x5035 and 0x6402 Objects used 0x5030 CECX C 2G2 configuration 0x5031 CECX C 2G2 zero impulse initialization 0x5032 CECX C 2G2 Period Counter 0x5033 CECX C 2G2 Status 0x5034 CECX C 2G2 Impulse Counter 0x5035 CECX C 2G2 Timestamp 0x6402 CECX C 2G2 Counter For details about the objects used See chapter K Bus m...

Page 456: ...has occurred the value of the timestamp is used zero impulse does not have a timestamp Timestamp 0xffffffff zero impulse Timestamp 0xffffffff latch impulse A simultaneous occurrence of zero impulse and latch event on a single channel cannot be transmitted in one PDO In this case the zero impulse event is transmitted in the next cycle CECX II 34 20 ...

Page 457: ...are extended by one Sub Index The object 0x6401 is extended by 6 Sub indices Objects used 0x5010 CECX E 6E T P2 configuration 0x5011 CECX E 6E T P2 PDO Status 0x5014 CECX E 6E T P2 Temperature sensor configuration 0x6401 Read analog inputs For details about the objects used See chapter K Bus module specific objects Functionality The CECX E 6E T P2 has an internal measurement cycle of 100 ms To opt...

Page 458: ... LED red The CECX B CO will send a status message to the Bus master Once the module error has been removed the system must be newly initial ized new start up 34 8 1 1 Emergency Message To signal error states the CECX B CO sends out Emergency Messages 34 8 1 2 Telegram structure Example Emergency Message sensor failure Bus address CECX B CO 0x07 CAN Identifier Bus address 128 0x80 0x87 Error regist...

Page 459: ... Line remains active after start up Change to PRE_OPERATIONAL_ERROR 0x5004 The K bus has more modules than permitted Change to PRE_OPERATIONAL_ERROR 0x5005 K Bus WAIT Line is blocked by a device Change to PRE_OPERATIONAL_ERROR 0x5007 A K Bus module was unplugged from the K Bus Change to PRE_OPERATIONAL_ERROR 0x5008 SERR Line active Change to PRE_OPERATIONAL_ERROR 0x5009 At least one unknown module...

Page 460: ...ntroller recover from bus off 0x8130 Life Guard Error or Heartbeat Error according to 0x1029 1 change to XXX_ERROR 0x8140 recovered from bus off 0x8210 PDO not processed due to length error The manufacturer specific Error Field contains the CAN ID of the PDO PDO will be treated as failed and therefore the same reaction as with error 0x8101 34 8 2 Network Management Module states The states of the ...

Page 461: ...er cs Data byte Node address 0 address all nodes Broadcast Status transition Command Specifier cs Explanation 1 The initialization status us attained independently when switched on 2 Initialization completed transition into the status PRE_OPERATIONAL occurs automatically 3 6 0x01 Start_Remote_Node Starts the module releases outputs and starts the transmission of PDOs 4 7 0x80 Enter PRE_OPERATIONAL...

Page 462: ...hanisms can be active at any one time Guarding The master monitors the connected periphery via Node Guarding Hereto the Master sets Remote Frames message requirement telegrams With the assistance of Life Guarding the periphery can recognize whether or not a master has failed in which case all outputs are set to 0 The pe riphery replies to the Master s Remote Frames with the guarding message This c...

Page 463: ...5 06 07 08 09 10 11 12 13 14 15 16 17 0V 24V DO0 DO1 DO2 DO3 DO4 DO5 DO6 DO7 DI0 DI1 DI2 DI3 DI4 DI5 DI6 DI7 CAN 0V 24V STATUS ADRL ADRH BAUD 0 1 2 3 4 5 6 7 8 9 A BCD F 0 1 2 3 4 5 6 7 8 9 A BCD F 0 1 2 3 4 5 6 7 8 9 A B CD F CAN RX TX CAN Ext CAN Device typical application example for a bus link module Advantage flexible extension of a branch system KePlast 34 9 1 1 Calculation of the power cons...

Page 464: ...s 128 s User data RxPDO4 3 Byte 8 Bit 24 Bit 2 s 48 s Overhead TxPDO1 8 Byte 8 Bit 64 Bit 2 s 128 s User data TxPDO1 8 Byte 8 Bit 64 Bit 2 s 128 s Overhead TxPDO2 8 Byte 8 Bit 64 Bit 2 s 128 s User data TxPDO2 2 Byte 8 Bit 16 Bit 2 s 32 s Overhead TxPDO3 8 Byte 8 Bit 64 Bit 2 s 128 s User data TxPDO3 8 Byte 8 Bit 64 Bit 2 s 128 s Overhead Sync Signal 8 Byte 8 Bit 64 Bit 2 s 128 s Total 1648 s At a...

Page 465: ...ach entry in the object directory represents an object and is identified by a 16 bit index An index in turn can contain up to 256 sub indices This en ables the differentiation of 254 element up to 65536 independent of the 11 bit identifiers The sub indices 0 and 255 cannot be freely used In profiles the assignment of communication and device objects to a re spective index is precisely defined this...

Page 466: ... 0x100c Guard Time UNSIGNED16 rw 0 0x100d Life Time Factor UNSIGNED8 rw 0 0x1014 COB ID EMCY UNSIGNED32 ro 0x00000080 0 0x1015 Inhibit Time EMCY UNSIGNED16 rw 0 0 0x1017 Producer Heartbeat Time UNSIGNED16 rw 0 0 0x1018 Identity Object 0x00 Number of Entries UNSIGNED8 ro 2 0 0x01 Vendor ID UNSIGNED32 ro 0x 00000105 0 0x1029 Error Behavior 0x00 Largest subindex supported UNSIGNED8 ro 3 0 0x01 Commun...

Page 467: ...00 largest sub index supported UNSIGNED8 ro 2 0 0x01 COB ID used by PDO UNSIGNED32 rw 0x80000000 0 0x02 Transmission Type UNSIGNED8 rw 1 0 0x1600 1st Receive PDO Mapping Pa rameter 0x00 Number of Mapped Application Objects in PDO UNSIGNED8 rw 0 0x01 0x08 PDO mapping for the nth Application object to be mapped UNSIGNED32 rw 0 0x1601 2nd Receive PDO Mapping Parameter 0 0x00 Number of Mapped Applicat...

Page 468: ... ID used by PDO UNSIGNED32 rw 0x280 Node ID 0 0x02 Transmission Type UNSIGNED8 rw 1 0 0x1802 3rd Transmit PDO Communica tion Parameter 0x00 largest sub index supported UNSIGNED8 ro 2 0 0x01 COB ID used by PDO UNSIGNED32 rw 0x380 Node ID 0 0x02 Transmission Type UNSIGNED8 rw 1 0 0x1803 4th Transmit PDO Communica tion Parameter 0x00 largest sub index supported UNSIGNED8 ro 2 0 0x01 COB ID used by PD...

Page 469: ...0x1813 20th Transmit PDO Interrupt Line 4 Communication Parame ter Interrupt Line 4 0x00 largest sub index supported UNSIGNED8 ro 2 0 0x01 COB ID used by PDO UNSIGNED32 rw 0x80000000 0 0x02 Transmission Type UNSIGNED8 rw 1 0 0x1a00 1st Transmit PDO Mapping Parameter 0x00 Number of Mapped Application Objects in PDO UNSIGNED8 rw 0 0x01 0x08 PDO mapping for the nth Application object to be mapped UNS...

Page 470: ...2 rw 0x50000220 0 0x1a11 18th Transmit PDO Interrupt Line 2 Mapping Parameter Interrupt Line 2 0 0x00 Number of Mapped Application Objects in PDO UNSIGNED8 rw 2 0 0x01 Interrupt Status UNSIGNED32 rw 0x50000108 0 0x02 Timestamp UNSIGNED32 rw 0x50000220 0 0x1a12 19th Transmit PDO Interrupt Line 3 Mapping Parameter Interrupt Line 3 0 0x00 Number of Mapped Application Objects in PDO UNSIGNED8 rw 2 0 0...

Page 471: ...Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x2011 2nd K Bus module mapping 0x00 largest sub index supported UNSIGNED8 ro 10 0 0x01 K Bus ID Address Switch Position UNSIGNED16 ro 0 0x02 1st Interrupt PDO Number UNSIGNED8 rw 0 0x03 Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x04 Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x05...

Page 472: ... UNSIGNED32 ro 0 0x08 Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x09 Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x0A Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x2014 5th K Bus module mapping 0x00 largest sub index supported UNSIGNED8 ro 10 0 0x01 K Bus ID Address Switch Position UNSIGNED16 ro 0 0x02 1st Interrupt PDO Numb...

Page 473: ...x05 Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x06 Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x07 Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x08 Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x09 Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x0A Mapping for the nth Application...

Page 474: ...16 ro 0 0x02 1st Interrupt PDO Number UNSIGNED8 rw 0 0x03 Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x04 Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x05 Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x06 Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x07 Mapping for the nth Application Object to be mappe...

Page 475: ... 0x02 Version UNSIGNED8 ro 0 0x03 Hardware revision UNSIGNED8 ro 0 0x04 Not relevant UNSIGNED8 ro 0 0x05 Print Number UNSIGNED32 ro 0 0x06 Serial number UNSIGNED32 ro 0 0x07 Order Number UNSIGNED32 ro 0 0x08 Device Number UNSIGNED32 ro 0 0x09 Initiation Time UNSIGNED32 ro 0 0x0A Runtime UNSIGNED32 ro 0 0x2022 3rd K Bus Module Hardware Information 0x00 largest sub index supported UNSIGNED8 ro 10 0 ...

Page 476: ...Order Number UNSIGNED32 ro 0 0x08 Device Number UNSIGNED32 ro 0 0x09 Initiation Time UNSIGNED32 ro 0 0x0A Runtime UNSIGNED32 ro 0 0x2026 7th K Bus Module Hardware Information 0x00 largest sub index supported UNSIGNED8 ro 10 0 0x01 Name VISIBLE_STRING ro 0 0x02 Version UNSIGNED8 ro 0 0x03 Hardware revision UNSIGNED8 ro 0 0x04 Not relevant UNSIGNED8 ro 0 0x05 Print Number UNSIGNED32 ro 0 0x06 Serial...

Page 477: ...are Information 0x00 largest sub index supported UNSIGNED8 ro 10 0 0x01 Name VISIBLE_STRING ro 0 0x02 Version UNSIGNED8 ro 0 0x03 Hardware revision UNSIGNED8 ro 0 0x04 Not relevant UNSIGNED8 ro 0 0x05 Print Number UNSIGNED32 ro 0 0x06 Serial number UNSIGNED32 ro 0 0x07 Order Number UNSIGNED32 ro 0 0x08 Device Number UNSIGNED32 ro 0 0x09 Initiation Time UNSIGNED32 ro 0 0x0A Runtime UNSIGNED32 ro 0 ...

Page 478: ...nformation 0000 0000 0000 wxyz w 1 analog outputs given x 1 analog inputs given y 1 digital outputs given z 1 digital inputs given 2 16Bit field device profile number 0x191 The device type provides only a rough classification of the device Object 0x1001 Error register Index Sub Index Designation Type Attr Value PDO mapping 0x1001 0x00 error register UNSIGNED8 ro 0 The 8Bit value is structured the ...

Page 479: ... of error states recorded UNSIGNED8 rw 0x00 0 0x01 Current error UNSIGNED32 ro 0 0x02 Standard Error Field UNSIGNED32 ro 0 0 0xA Standard Error Field UNSIGNED32 ro 0 The Sub Index 0x00 contains the number of error states that are stored By writing a 0 on to the Sub Index 0x00 the entire error memory will be de leted The 32Bit value is divided up into two 16Bit fields MSB Additional information is ...

Page 480: ...ation tool In case the Guard Time 0 the node will not execute a Lifeguarding but can be monitored by the Master via Node Guarding Object 0x100D Life Time Factor Index Sub Index Designation Type Attr Value PDO mapping 0x100D Life Time Factor UNSIGNED8 rw 0 Life Time ms Life Time Factor Guard Time ms If no Guarding telegram was received during the Life Time the node will switch into error mode In ca...

Page 481: ...Object 0x00 Number of Entries UNSIGNED8 ro 2 0 0x01 Vendor ID UNSIGNED32 ro 0x 00000105 0 Object 0x1029 Error behavior Index Sub Index Designation Type Attr Value PDO mapping 0x1029 Error Behavior 0x00 Largest subindex supported UNSIGNED8 ro 3 0 0x01 Communication Error UNSIGNED8 rw 0 0 0x02 Output Error UNSIGNED8 rw 1 0 0x03 Input Error UNSIGNED8 rw 1 0 This object determines the behavior of the ...

Page 482: ...he following way Bit 0 Bit 10 CAN Identifier Bit 11 Bit 29 reserved Bit 30 Specifies whether or not access to this PDO is permitted 0 or not 1 Bit 31 Specifies whether the PDO exists 0 or not 1 It is not permitted to change the Identifier Bit 0 Bit 10 while the object exists Bit 31 0 Unlike DS401 the value 1 is used as default value for the Transmission Type Sub Index 2 Permitted configuration val...

Page 483: ...um number of PDO configuration objects is determined by the necessary Transmission PDOs for the K Bus modules Index Sub Index Designation Type Attr Value PDO mapping 0x180x Transmit PDO Communication Parameter 0x00 largest sub index supported UNSIGNED8 ro 2 0 0x01 COB ID used by PDO UNSIGNED32 rw 0x180 Node ID 0 0x02 Transmission Type UNSIGNED8 rw 1 0 The Sub Index 0x00 specifies the number of the...

Page 484: ...not 1 Bit 31 Specifies whether the PDO exists 0 or not 1 It is not permitted to change the Identifier Bit 0 Bit 10 while the object exists Bit 31 0 Only Mode 0 interrupt triggered is permitted as Transmission Type Sub Index 2 Object 0x1A00 0x1A07 Mapping TxPDO Index Sub Index Designation Type Attr Value PDO mapping 0x1A0x Transmit PDO Mapping Pa rameter 0x00 Number of Mapped Application Objects in...

Page 485: ...220 0 The Sub Index 0x00 specifies the number of the following parameters If a module triggers an Interrupt during normal operations the CECX B CO will secure a time stamp and the Interrupt status register which shall be transmitted via PDO in the next cycle This way no asynchronous PDO will be transmitted The Interrupt function of the K Bus module is switched off in the default sta tus Object 0x2...

Page 486: ...ED32 ro 0 0x08 Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x09 Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 0x0A Mapping for the nth Application Object to be mapped UNSIGNED32 ro 0 This object contains the K Bus configuration and represents it on the profile specific objects starting as of 0x6000 The PDO Mapping can be used to establish an assignment...

Page 487: ...bject 0x2020 0x202B K Bus Module Hardware Information Index Sub Index Designation Type Attr Value PDO mapping 0x2020 1st K Bus Module Hardware Information 0x00 largest sub index supported UNSIGNED8 ro 10 0 0x01 Name VISIBLE_STRING ro 0 0x02 Version UNSIGNED8 ro 0 0x03 Hardware revision UNSIGNED8 ro 0 0x04 Not relevant UNSIGNED8 ro 0 0x05 Print Number UNSIGNED32 ro 0 0x06 Serial number UNSIGNED32 r...

Page 488: ... information of the CECX B CO Sub Index 0 biggest supported Sub Index In case the object does not describe a module module is not given the value 0 is entered Sub Index 1 Name of the K Bus module Sub Index 2 Version number of the K Bus module Sub Index 3 Hardware revision number Sub Index 4 Not relevant Sub Index 5 Print number Sub Index 6 Serial number Sub Index 7 Order number Sub Index 8 Device ...

Page 489: ...er of Subindizes UNSIGNED8 ro 0 0x01 PDO Status UNSIGNED8 ro 1 0x5013 CECX A 4E4A x config 0x00 Number of Subindizes UNSIGNED8 ro 0 0x01 Config register UNSIGNED16 rw 1 0x5014 CECX E 6E T P2 ConfigL 0x00 Number of Subindizes UNSIGNED8 ro 0 0x01 Config register UNSIGNED16 rw 1 0x5020 CECX D 8E8A NP 2 CECX D 6E8A PN 2 Reset Short circuit 0x00 Number of Subindizes UNSIGNED8 ro 0 0x01 Reset Register U...

Page 490: ...rw 1 0x5046 CECX C 2G1 State 0x00 Number of Subindizes UNSIGNED8 ro 0 0x01 State UNSIGNED32 rw 1 0x6000 Read Input 8 Bit 0x00 Number of Input 8 Bit UNSIGNED8 ro 0 0x01 Read Input 1 to 8 UNSIGNED8 ro 1 0x6003 CECX D 8E8A NP 2 CECX D 6E8A PN 2 Config Debounce 8 Bit 0x00 Number of Subindizes UNSIGNED8 ro 0 0x01 Config register UNSIGNED8 rw 1 0x6005 Global Interrupt Enable Digital 8 Bit BOOLEAN rw TRU...

Page 491: ...NSIGNED32 ro 1 0x6411 Write Analogue Output 16 Bit 0x00 Number of Analogue Output 16 Bit UNSIGNED8 ro 0 0x01 Analogue Output SIGNED16 rw 1 0x6414 Write Manufacturer specific Analogue Output 0x00 Number of Analogue Output UNSIGNED8 ro 0 0x01 Analogue Output SIGNED16 rw 1 Object 0x5000 0x5003 Interrupt Status Leitung 1 bis 4 Index Sub Index Designation Type Attr Value PDO mapping 0x5000 Interrupt St...

Page 492: ...N 2 reset short circuit 0x00 Number of Subindizes UNSIGNED8 ro 0 0x01 Reset Register UNSIGNED16 rw 1 Object 0x5021 CECX D 6E8A PN 2 configuration short circuit Index Sub Index Designation Type Attr Value PDO mapping 0x5021 CECX D 6E8A PN 2 config short circuit 0x00 Number of Subindizes UNSIGNED8 ro 0 0x01 Config register UNSIGNED8 rw 1 Object 0x5030 CECX C 2G2 configuration Index Sub Index Designa...

Page 493: ... Impulse Counter 0x00 Number of Subindizes UNSIGNED8 ro 0 0x01 Impulse Counter Interface UNSIGNED32 rw 1 Object 0x5035 CECX C 2G2 Timestamp Index Sub Index Designation Type Attr Value PDO mapping 0x5035 CECX C 2G2 Timestamp 0x00 Number of Subindizes UNSIGNED8 ro 0 0x01 Timestamp Interface UNSIGNED32 rw 1 Object 0x5040 CECX C 2G1 Sample Configuration Index Sub Index Designation Type Attr Value PDO ...

Page 494: ...ignation Type Attr Value PDO mapping 0x5045 CECX C 2G1 Value 0x00 Number of Subindizes UNSIGNED8 ro 0 0x01 Value UNSIGNED32 rw 1 Object 0x5046 CECX C 2G1 Access to transducer status Index Sub Index Designation Type Attr Value PDO mapping 0x5046 CECX C 2G1 State 0x00 Number of Subindizes UNSIGNED8 ro 0 0x01 State UNSIGNED32 rw 1 Object 0x6000 Read digital inputs 8 Bit Index Sub Index Designation Ty...

Page 495: ...IGNED8 ro 0 0x01 Interrupt High to Low 1h to 8h UNSIGNED8 rw 0x00 1 Object 0x6100 Read digital inputs 16 Bit Index Sub Index Designation Type Attr Value PDO mapping 0x6100 Read Input 16 Bit 0x00 Number of Input 16 Bit UNSIGNED8 ro 0 0x01 Read Input 1 to 16 UNSIGNED16 ro 1 Object 0x6103 CECX D 8E8A NP 2 CECX D 6E8A PN 2 Configuration debouncing 16 Bit Index Sub Index Designation Type Attr Value PDO...

Page 496: ... Value PDO mapping 0x6300 Write Output 16 Bit 0x00 Number of Output 16 Bit UNSIGNED8 ro 0 0x01 Write Output 1 to 16 UNSIGNED16 rw 1 Object 0x6401 Read analog inputs Index Sub Index Designation Type Attr Value PDO mapping 0x6401 Read Analogue Input 16 Bit 0x00 Number of Analogue Input 16 Bit UNSIGNED8 ro 0 0x01 Analogue Input SIGNED16 ro 1 Object 0x6402 CECX C 2G2 Counter 32 Bit Index Sub Index Des...

Page 497: ...sposal of the module The symbol with the crossed out waste container means that electrical and electronic devices including their accessories must not be dis posed of in the household garbage The materials are recyclable in accordance with their labeling By dis posing of such used devices correctly you can ensure that they can be reused their raw materials recycled or put to another use and you wi...

Page 498: ...ng to EN 61131 2 2007 Environmental conditions Operating temperature 5 C to 55 C Storage temperature 40 C to 70 C Relative humidity of air 10 to 95 non condensing Vibration resistance according to IEC 61131 2 2007 Shock resistance according to IEC 61131 2 2007 CAN interface CAN interface DSUB plug 9 pole Baud rate Adjustable via rotary switch 1 MBit s 800 kBit s 500 kBit s 250 kBit s 125 kBit s Ga...

Page 499: ...nciples EN 61131 1 2003 Programmable Controllers Part 1 Information This product was developed for the use in industrial areas and can cause radio interference when used in residential areas 34 13 2 2 EMC guidelines EN 61131 2 2007 Programmable Controllers Part 2 34 13 2 3 Electrical safety and fire protection EN 61131 2 2007 Programmable Controllers Part 2 34 13 2 4 Requirements on environment an...

Page 500: ...System manual CECX Bus link module CECX B CO CECX II 34 64 ...

Page 501: ...The library Ethernet lib The library Ethernet lib ...

Page 502: ...The library Ethernet lib Table of contents The library Ethernet lib 1 Functions 1 EthGetIPConfig 1 EthSetIPConfig 2 CECX III ii ...

Page 503: ... Data type Description pIPConfig T_IPConfig T_IPConfig The structure contains the following variables Variable Data type Description Name STRING 15 Name of the control e g myPLC IP STRING 15 IP address e g 192 168 5 20 SubnetMask STRING 15 Subnet mask e g 255 255 255 0 Gateway STRING 15 Gateway address e g 192 168 5 1 DHCP BOOL If TRUE then the IP address is automatically polled by the DHCP server...

Page 504: ... from the PLCService lib In Out variable Data type Description pIPConfig T_IPConfig T_IPConfig The structure contains the following variables Variable Data type Description Name STRING 15 Name of the control e g myPLC IP STRING 15 IP address e g 192 168 5 20 SubnetMask STRING 15 Subnet mask e g 255 255 255 0 Gateway STRING 15 Gateway address e g 192 168 5 1 DHCP BOOL If TRUE then the IP address is...

Page 505: ...The library EventData lib The library EventData lib ...

Page 506: ...The library EventData lib Table of contents The library EventData lib 1 Functions 1 GetLastIntrEdge 1 Examples 3 Event driven task interrupt enabled DI edge detected 3 System event DI_edge 3 CECX IV ii ...

Page 507: ...the name Callback and which must be inserted in the task configuration under System events See example System event DI_edge Functions The EventData library contain s the following function s GetLastIntrEdge Returns interrupt data GetLastIntrEdge This function returns data of the last triggered interrupt from the digital input module When using these events in the SysLibCallCallBack library then th...

Page 508: ...0 Falling Edge 0x00000001 DI0 Rising Edge 0x00000002 DI1 Falling Edge 0x00000004 DI1 Rising Edge 0x00000008 Example In order to determine if the last interrupt was triggered by a rising edge on the digital input DI0 the EventMask parameter must be masked with 0x00000002 IF lastValidIntrEdge eventMask AND 2 2 THEN Output variable Data type Description GetLastIntrEdge BOOL Return value TRUE Function...

Page 509: ...Rising DI0Rising 1 END_IF IF lastValidIntrEdge eventMask AND 4 4 THEN DI1Falling DI1Falling 1 END_IF IF lastValidIntrEdge eventMask AND 8 8 THEN DI1Rising DI1Rising 1 END_IF END_PROGRAM System event DI_edge As with the above example the data of the last occurring interrupt is evaluated however directly in the interrupt context The name of the function inserted in the task configuration under Syste...

Page 510: ...ta IF pData eventMask AND 1 1 THEN int_DI0Falling int_DI0Falling 1 END_IF IF pData eventMask AND 2 2 THEN int_DI0Rising int_DI0Rising 1 END_IF IF pData eventMask AND 4 4 THEN int_DI1Falling int_DI1Falling 1 END_IF IF pData eventMask AND 8 8 THEN int_DI1Rising int_DI1Rising 1 END_IF END_FUNCTION ...

Page 511: ...The library IncEnc lib The library IncEnc lib ...

Page 512: ...The library IncEnc lib Table of contents The library IncEnc lib 1 Function blocks 1 IncEnc_SetCount 1 IncEnc_Latch_Zero 3 IncEnc_Latch_DI 4 CECX V ii ...

Page 513: ...view of the incremental encoder interface module Function blocks The IncEnc library contains the following function blocks IncEnc_SetCount For setting of a counter status at the occurrence of an event IncEnc_Latch_Zero Returns the counter status at zero impulse IncEnc_Latch_DI Returns the counter status and time stamp when setting the latch input IncEnc_SetCount This block is used for setting of a...

Page 514: ...nstant 0 with use of encoder input 0 or Port Constant 1 with use of encoder input 1 whereby for Constant one of the following enumeration values is used Constant Description INCENC_PORT_ADDR0 For address switch position 0 INCENC_PORT_ADDR1 For address switch position 1 up to INCENC_PORT_ADDR7 For address switch position 7 Example for module address 3 and encoder input 1 Port INCENC_PORT_ADDR3 1 Ou...

Page 515: ...reacts to rising edge Port UINT Specifies the port number address of the encoder input used See description of the function block IncEnc_SetCount Output variable Data type Description Done BOOL The variable is set to TRUE by the function block if the processing is completed Error BOOL The error code can take the following values FALSE 0 Call of blocks was successful TRUE 1 Call of blocks was not s...

Page 516: ...INT Specifies the port number address of the encoder input used See description of the function block IncEnc_SetCount Output variable Data type Description Done BOOL The variable is set to TRUE by the function block if the processing is completed Error BOOL The error code can take the following values FALSE 0 Call of blocks was successful TRUE 1 Call of blocks was not successful Count DINT The rea...

Page 517: ...The Festo_EasyIP lib library ...

Page 518: ... Communication functions 4 1 3 1 Functions for communicating via EasyIP 4 1 3 2 Easy_S 4 1 3 3 Easy_R 5 1 3 4 Easy_SR 7 1 4 Internally used variables constants and Help functions 9 1 4 1 Global variables 9 1 4 2 Global constants 10 1 4 3 IPFrom4Chars 10 1 5 Programming 11 1 5 1 Initialisation 11 1 5 2 Sending telegrams 12 1 5 3 Requesting telegrams 12 1 5 4 Programming instructions 13 2 Index 15 3...

Page 519: ...ormance of the hardware determines the number of packages that can be sent simultaneously or processed by the server EasyIP is implemented as an IEC library The following table shows which operands are defined in EasyIP and which can be exchanged via EasyIP in combination with a CoDeSys based controller Supported operands Description Supported Access via Operand type Range Flags Yes MW 1 Target se...

Page 520: ...to the EasyIP stack the Easy_Server program also contains the initialisation and deinitialisation functions When the IEC project starts the initialisation process runs automatically whereby a new socket opens and is linked to UDP port 995 The socket closes again when the IEC project stops Once EasyIP has initialised the IP address of the remote station is assigned to the index of the IP table shor...

Page 521: ... address part 4 xxx xxx xxx nnn Output variable Data type Description Easy_SetIPAddr BOOL FALSE Processing was successful IP address has been added to the table at the specified index TRUE Error invalid index 1 2 3 Easy_SetTimeOut The timeout which monitors communication between two EasyIP stations is set using this function The default setting is 1 and the basic pulse is the task cycle time in th...

Page 522: ...P telegram containing data to a remote station Input variable Data type Description TableIndex WORD Index in the IP shortcut table Permitted range of values 0 31 constant MAXIPTABLEINDEX OpType WORD Operand type Refer to the table Supported operand types for a list of available operands NumToSend WORD Number of data words to send 16 bit Permitted range of values 0 255 for operand type string STRIN...

Page 523: ...ype 113 EasyIP data package size exceeded 115 Waiting for a response from the server 117 Package could not be sent 1 3 3 Easy_R Sends an EasyIP telegram for requesting data to a remote station Input variable Data type Description TableIndex WORD Index in the IP shortcut table Permitted range of values 0 31 constant MAXIPTABLEINDEX OpType WORD Operand type Refer to the table Supported operand types...

Page 524: ... package 1 Incorrect operand type Remote does not support the operand type 2 Incorrect offset Memory area overflow with remote 4 Incorrect number of operands Data quantity excessive 128 Timeout No response received from the remote within the timeout time 65535 A communication process is still running on the specified IP Error code 0 OK 99 EasyIP data memory overflow 100 EasyIP is not installed 102...

Page 525: ... the string table for strings OpTypeReq WORD Requested operand type Refer to the table Supported operand types for a list of available operands NumToRequest WORD Number of operands to request Permitted range of values 0 255 OpOffLocReq WORD Offset in the local EasyIP memory index in the string table for strings OpOffRemReq WORD Target offset EasyIP memory of the remote station index in the string ...

Page 526: ...ote within the timeout time 65535 A communication process is still running on the specified IP Error code 0 OK 99 EasyIP data memory overflow 100 EasyIP is not installed 102 Invalid table index 103 Invalid IP address 112 Incorrect operand type 113 EasyIP data package size exceeded 115 Waiting for a response from the server 117 Package could not be sent ...

Page 527: ...Size of the input area set when the Easy_Server program is initialised MaxOutp DWORD Size of the output area set when the Easy_Server program is initialised pFlag DWORD Pointer indicating the start offset 0 of the flag area set when the Easy_Server program is initialised pInput DWORD Pointer indicating the start offset 0 of the input area set when the Easy_Server program is initialised pOutput DWO...

Page 528: ...AX_STRING_IDX WORD 49 Maximum index within the string table Magic WORD 1234 Used to check the byte order BigEndian or LittleEndian of the processor 1 4 3 IPFrom4Chars This function is used internally by functions of the Festo_EasyIP lib library and converts an IP address saved in several bytes into DWORD data format Input variable Data type Description BYTE1 BYTE IP address part 1 nnn xxx xxx xxx ...

Page 529: ... module in the project The module then appears in the Object Organizer and definitions for transfer parameters that the event may require are included automatically in the declaration section Start the function call of system events with the prefix callback Fig Configuration of system events example Performing initialisations The Easy_SetIPAddr and Easy_SetTimeout functions can then be called in t...

Page 530: ...atus FunctionStatus WORD return value from Easy_SR function END_VAR pInput pInput 20 add offset of 20 bytes in the input area IW10 pInput pInput 1 increase the content of pInput by 1 FunctionStatus Easy_R 0 2 1 10 2 600 request 1 input word from address IW2 of the remote station and write it to the local address IW10 Sending and requesting in a single telegram This function allows you to send data...

Page 531: ...us is written to MW600 1 5 4 Programming instructions Access to input and output area In certain circumstances access to the input and output area is only possible via a pointer This is necessary in the following cases write access to an input word access to 2 outputs inputs created consecutively in the control configuration The global variable list contains variables that specify the start of the...

Page 532: ......

Page 533: ...Global constants 10 Global variables 9 I Initialisation and deinitialisation 2 Initialisation of EasyIP 2 IPfromChars 10 P Performing deinitialisation 11 Programming instructions 11 Programming with EasyIP 11 R Requesting telegrams 11 S Sending and requesting in a single telegram 11 Sending telegrams 11 Supported operands 1 ...

Page 534: ...ltaneously or processed by the server I IP address An IP address is used to address a network as well as an individual slave in the network For this the IP address contains the net ID specifies the address of a network and the host ID specifies the address of an individual station in this network The numbers in an IP address which represent the net ID and the host ID are defined by the specificati...

Page 535: ...The library PLCService lib The library PLCService lib ...

Page 536: ...The library PLCService lib 1 Functions 1 PLCGetCPUClock 1 PLCGetCPUClockRate 2 PLCGetDeviceName 2 PLCGetFirmwareVersion 3 PLCGetHoursCounter 3 PLCGetLicenceOption 4 PLCGetSerialNo 4 PLCGetSystemVersion 5 PLCGetVendorName 5 PLCReboot 5 CECX VII ii ...

Page 537: ... PLCGetSystemVersion Returns system version PLCGetVendorName Returns vendor name PLCReboot Triggers reboot of the control PLCGetCPUClock This function returns a 64 bit counter value of the CPU cycle divided into two UDINT 32 bit values If the value of pClkLo overruns the value of pClkHi is incremented by one The cycle frequency of the CPU can be determined using the PLCGetCPUClockRate function The...

Page 538: ...h value part of the number pClkLo UDINT Low value part of the number Output variable Data type Description PLCGetCPUClockRate BOOL Return value TRUE Function successfully executed FALSE Function was not successfully completed Example The value of the cycle frequency of 33 MHz is returned e g as pClkLo 33 000 000 and pClkHi 0 PLCGetDeviceName This function returns the device description of the cont...

Page 539: ...sCounter This function returns the operating hours counter of the control 15 minutes after switching on of the control the operating hours counter is incremented by 1 and subsequently every additional hour If the result is 0 then the control has not yet been in operation for hour since the first switching on or the hardware is faulty Output variable Data type Description PLCGetHoursCounter UDINT R...

Page 540: ... option e g CustVar customer version CustAppl customer application In Out Variable Data type Description optVal UDINT Value of the license option Output variable Data type Description PLCGetLicenceOption BOOL Return value TRUE Function successfully executed FALSE Function was not successfully completed PLCGetSerialNo This function returns the serial number of the control Output variable Data type ...

Page 541: ...he control and cannot be changed by the application Output variable Data type Description PLCGetVendorName STRING 80 Return value Vendor name e g Festo PLCReboot This function triggers a restart of the control Input variable Data type Description xForce BOOL TRUE Reboot is triggered immediately FALSE orderly reboot is triggered after approx 100 ms after time for task completion etc Output variable...

Page 542: ...The library PLCService lib CECX VII 6 ...

Page 543: ...The library SysLibComEx lib The library SysLibComEx lib ...

Page 544: ...The library SysLibComEx lib Table of contents The library SysLibComEx lib 1 Global constants for the port addressing 1 Functions 2 SysComSetMode 2 CECX VIII ii ...

Page 545: ...t numbers COM_PORT_ONBOARD UINT 1 COM_PORT_SLOT UINT 2 COM port numbers for extension modules add 3 parts 1 module type COM_PORT_EXT_RS232 UINT 21000 COM_PORT_EXT_CURRENTLOOP UINT 22000 COM_PORT_EXT_RS4XX UINT 23000 2 module address COM_PORT_EXT_ADDR0 UINT 0 COM_PORT_EXT_ADDR1 UINT 10 COM_PORT_EXT_ADDR2 UINT 20 COM_PORT_EXT_ADDR3 UINT 30 3 interface COM_PORT_EXT_UPPER UINT 0 COM_PORT_EXT_LOWER UIN...

Page 546: ...pen See functions of the library SysLibCom lib dwMode DWORD Option for COM port COM_MODE_xxx Global constant for the switching On Off of the RS 485 operation RS4xx module operating mode RS422 RS485 COM_MODE_RS485_ENABLE DWORD 1 COM_MODE_RS485_DISABLE DWORD 2 Output variable Data type Description SysComSetMode BOOL Return value TRUE Function successfully executed FALSE Function was not successfully...

Page 547: ...The Festo_Motion lib library ...

Page 548: ...tor controllers 6 1 7 1 Documentation on Festo motor controllers 6 1 8 Festo Handling and Positioning Profile FHPP 7 1 8 1 Operating modes 7 1 9 Function blocks for Festo motor controllers 8 1 9 1 Control function blocks 8 1 9 2 Organisation function blocks 19 1 9 3 Parameterisation function blocks 20 1 10 Examples 28 1 10 1 Example for controlling a Festo motor controller 28 1 10 2 Example for pa...

Page 549: ...directly to control a motor controller require the first address of the output data and the first address of the input data as an input output variable All function blocks that access I O data directly to parameterise a motor controller require the first address of the Festo Parameter Channel FPC output data and the first FPC address of the input data as an input output variable For each motor con...

Page 550: ... LACI SFC_LACI_CTRL FB SFC_LACI_PRM_INIT FB SFC_LACI_PRM_SINGLE FB The following screenshots show how the input and output data is transferred from the fieldbus to the function blocks Figure Control configuration Figure Link between drive controller and function block The Festo Parameter Channel input and output data is offset by 8 bytes behind the FHPP Standard data ...

Page 551: ...B Festo SFC LACI SFC00BCE gsd During the installation of CoDeSys provided by Festo the accompanying configuration files are installed automatically and stored in the following directory CoDeSys V2 3 Targets Festo IOCONFIG Configuration files that are not supplied with CoDeSys provided by Festo can be installed via the standard CoDeSys dialog Add configuration file In order to use the function bloc...

Page 552: ...s and called there cyclically using a separate instance Simultaneous use of other function blocks for controlling the same device is not permitted Read the Safety instructions and instructions on the designated use of the relevant devices components and modules If additional commercially available components such as sensors and actuators are connected the specified limits for pressures temperature...

Page 553: ...e measures such as barriers and warning signs Warning Electrical axes can move with high force and at high speed Collisions can lead to serious injury to people and damage to components Make sure that nobody can place their hand in the positioning range of the axes or other connected actuators and that there are no objects in the positioning path while the system is still connected to a power supp...

Page 554: ...iminary information Manuals Contents as described below Manuals P BE Installation commissioning and diagnosis of electric axes with the relevant Festo motor controller Operating instructions for accessories Assembly and commissioning of the electric mini slide SLTE as an actuator Help system for the Festo Configuration Tool contained in FCT software Functional descriptions for the Festo Configurat...

Page 555: ...ter channel The control system can access all controller parameter values via the parameter channel A further 8 bytes of I O data are used for this purpose 1 8 1 Operating modes Record selection Saved positioning records can be executed in record selection mode Positioning records are parameterised using the Festo Configuration Tool or taught in via the control panel for this purpose during commis...

Page 556: ...cation objects Notes The function blocks can vary depending on the drive The blocks belonging to the CMMS AS can be used for the motor controller CMMD AS 1 9 1 Control function blocks Control function blocks 1 Inputs and outputs The following table contains all the inputs and outputs that a FHPP function block can potentially provide for controlling a motor controller The actual number depends on ...

Page 557: ...e to change parameters or control inputs OPM INT FHPP operating mode control mode 0 Record selection 1 Direct mode position control 5 Direct mode force control 9 Direct mode velocity control 13 Reserved 17 Track mode Halt BOOL Halt 1 Halt is not active 0 Halt activated do not discard braking ramp positioning task The axis stops with a defined braking ramp the positioning task remains active the re...

Page 558: ...with force control only 0 Force monitoring active 1 Force monitoring not active RecordNo SINT Record number Preselection of record number for record selection SetFuncNumber USINT Cam disc function 0 Reserved 1 Synchronisation to external input 2 Synchronisation to external input with cam disc function i e slave with physical master 3 Synchronisation to virtual master with cam disc function SetFunc...

Page 559: ...n control Directmode Positioncontrol active Direct mode force control Directmode Forcecontrol active Direct mode velocity control Directmode Velocitycontrol active Operating mode and control mode invalid not specified DriveEnabled BOOL Controller enabled 0 Drive blocked controller not active 1 Drive controller enabled Ready BOOL Operation enabled 0 Stop active 1 Operation enabled positioning possi...

Page 560: ...eft tolerance window after MC DriveIsReferenced BOOL Drive homed 0 Homing must be carried out 1 Homing information exists homing must not be carried out RC1 BOOL 1st record continuation carried out 0 A continuation condition has not been configured or not achieved 1 The first continuation condition has been achieved RCC BOOL Record continuation complete valid as soon as MC is available 0 Record li...

Page 561: ... the maximum ramp ActualRotSpeed DINT Speed Acknowledgement of speed in speed unit 2 Limited selection of inputs and outputs with CoDeSys function blocks _CTRL The following table contains a list of the inputs and outputs that are only supported by certain Festo motor controllers and if applicable only for specific operating modes Input output Type Motor controller Operating mode Pos_Factor_numera...

Page 562: ...control AckTeach BOOL All Record selection DriveIsReferenced BOOL All Record selection Direct mode position control RC1 BOOL CMMD_AS CMMP_AS CMMS_AS CMMS_ST SFC_LAC SFC_LACI Record selection RCC BOOL CMMD_AS CMMP_AS CMMS_AS CMMS_ST SFC_LAC SFC_LACI Record selection ActualFuncActive BOOL CMMP_AS_CAM Direct mode position control VelocityLimitReached BOOL MTR_DCI SFC_DC SFC_LAC SFC_LACI Direct mode f...

Page 563: ... control ActualRotSpeed DINT CMMD_AS CMMP_AS CMMS_AS CMMS_ST Direct mode velocity control Linking function blocks To control a Festo motor controller the respective fieldbus data must be transferred to the function block The following screenshot shows an example of a control configuration with a CMMP AS CANopen slave Figure Control configuration example ...

Page 564: ...element in the array has to be transferred to the block Figure Linking addresses To parameterise a motor controller a further eight bytes the Festo Parameter Channel data FPC data are transferred to a special function block This transfer function block supplies all parameterisation function blocks needed in the project with data ...

Page 565: ...on object Refer to the general CoDeSys Help in the chapter CoDeSys visualisation for information on how to create a visualisation object Proceed as follows 1 Open the editing window of the visualisation object by double clicking the name of the object in the Visualizations tab 2 Click the Insert menu item and select the Visualizations command You can also click the Visualizations icon in the funct...

Page 566: ... window and configure the element Here you can modify different settings for displaying and connecting the visualisation element Figure Linking the visualisation 6 Select the Visualization category in the Visualization dialog window 7 Click the Placeholder button to open the Replace placeholders dialog window 8 Connect the visualisation element with the associated instance axis name To do this com...

Page 567: ...r output from the CoDeSys function block _PRM_INIT Type Data type expected by the relevant input or issued at an output Description Name and brief description of the CoDeSys function block 0 FALSE 1 TRUE Input output Type Description FB_CFG WORD FB configuration Bit 0 FALSE Low byte first Bit 0 TRUE High byte first Bit 1 Reserved etc Bit 31 Reserved DATA_REF VAR_IN_OUT FPC data structure of data t...

Page 568: ...value 1 Read upper limit value Prerequisite Write 0 LowerLimit 0 LowerLimit BOOL Read lower limit value 1 Read lower limit value Prerequisite Write 0 UpperLimit 0 PNU WORD Number of the corresponding parameter Subindex SINT Subindex of the corresponding parameter DatatypeWR USINT Data type of the parameter to be written 1 Byte 2 Word 4 Double word ParamValueWR DINT Parameter value when writing a p...

Page 569: ...mited selection of function blocks The following inputs and outputs are only supported by certain Festo motor controllers All other inputs and outputs are present in all CoDeSys function blocks _PRM_SINGLE depending on the type of the motor controller Input output Type Motor controller UpperLimit BOOL CMMD_AS CMMP_AS CMMS_AS CMMS_ST LowerLimit BOOL DatatypeWR USINT MTR_DCI SFC_DC SFC_LAC SFC_LACI ...

Page 570: ...TRING 80 Outputs an error message as a string RETVAL UINT Current status of the FB instance When using several instances of the FB the current internal status of the relevant FB is output Example of a parameter field array MultiParam ARRAY 1 5 OF FHPP_PRM_DESCRIPTION PNU 404 SUBINDEX 2 ACCESS 1 LENGTH 4 VALUE 100 PNU 404 SUBINDEX 3 ACCESS 1 LENGTH 4 VALUE 200 PNU 404 SUBINDEX 4 ACCESS 0 LENGTH 4 V...

Page 571: ...ATA_REF VAR_IN_OUT FPC data structure Data structure provided by FB _PRM_INIT Done BOOL Transfer status 0 Transfer has not been initiated 1 Transfer has been initiated ParamNr USINT Parameter number of the error memory Number of the parameter currently being transferred ReadLatest ParamNr 1 ReadAll ParamNr of the error memory currently being processed Err BOOL Error 0 No error during parameter tra...

Page 572: ...stic message END_STRUCT ENT_TYPE Since the structure FHPP_PRM_DIAGMESSAGE is universally valid entries such as DiagEvent and DiagTimeStamp are not supported by all drives The size of the diagnostic buffer is also dependent on the relevant motor controller Function block xxx_PRM_DIRMP The xxx_PRM_DIRMP block writes or reads the dynamic values for direct mode position control Figure Example of funct...

Page 573: ...nt acceleration PNU 541 ActDeceleration DINT Current deceleration PNU 542 ActJerkLimit Pos Neg DINT SFC_LACx Current jerk limit PNU 543 CMMx_xxx Current jerk limit PNU 546 ActDampingTime DINT Current filter time PNU 1023 ActLoad DINT Current additional load PNU 544 RETVAL UINT Current status of the FB instance When using several instances of the FB the current internal status of the relevant FB is...

Page 574: ...ct Prequisite UpperLimit 0 LowerLimit 0 Further information on communication objects can be obtained from your local Festo service centre KO DINT Communication object Further information on communication objects can be obtained from your local Festo service centre ParamValueWR DINT Parameter value when writing a communication object DATA_REF VAR_IN_OUT FPC data structure Data structure provided by...

Page 575: ...as to parameterise a motor controller Input output Type Description Execute BOOL Start transfer 0 1 A rising edge starts transfer of a parameter Write BOOL Read write 0 Read PNU 700 Subindex 1 1 Write PNU 700 Subindex 1 CamNumber DINT Preselection of the cam disc number DATA_REF VAR_IN_OUT FPC data structure Data structure provided by FB _PRM_INIT Done BOOL Transfer status 0 Transfer has not been ...

Page 576: ...ol Direct mode velocity control The preset operating and control mode is only adopted and displayed when a movement is initiated i e a rising edge at the StartTask input Prerequisites for operational readiness Additional input signals may be required depending on the motor controller e g at DIN_4 DIN_5 DIN_13 etc Refer to the manual for the motor controller being used for more detailed information...

Page 577: ...cted StateOPMString Record Mode active StateOPM 0 AckStart 1 MC 0 DriveIsMoving 1 ActualRecordNo 1 ActualPosition positioning complete DriveIsMoving 0 MC 1 Setting and Direct mode position control mode Action by the user Feedback OPM 1 OPMString Directmode Positioncontrol selected StateOPMString Directmode Positioncontrol active StateOPM 1 SetValueVelocity SetValuePosition StartTask 1 OPMString Di...

Page 578: ...1 MC 0 DriveIsMoving 1 ActualForce ActualPosition force specification reached DriveIsMoving 0 MC 1 Setting and Direct mode velocity control mode Action by the user Feedback OPM 9 OPMString Directmode Velocitycontrol selected StateOPMString previous operating and control mode as a STRING StateOPM previous operating and control mode as an INT SetValueRotRamp SetValueRotSpeed StartTask 1 OPMString Di...

Page 579: ...e found in the relevant product documentation Prerequisites for operational readiness Additional input signals may be required depending on the motor controller e g at DIN_4 DIN_5 DIN_13 etc Refer to the manual for the motor controller being used for more detailed information Motor controller is switched on Load voltage is present PLC has control priority Achieving ready status Action by the user ...

Page 580: ...M_SINGLE function block are stored in a volatile memory and only remain valid until the control voltage of 24 V on the motor controller is interrupted The values can be permanently transferred to a non volatile memory by writing the value 1 to the PNU 127 subindex 2 The following steps must be taken to permanently adopt written parameters Action by the user Feedback Write 1 No feedback PNU 127 No ...

Page 581: ...ific parameter channel version FHPP Uniform fieldbus data profile for positioning controllers from Festo Festo Handling and Positioning Profile FPC FHPP specific parameter channel version Festo Parameter Channel G GSD file Device master data file in which all specific features of the slave are saved e g number of I Os number of diagnostic bytes etc H Homing Homing defines the reference position an...

Page 582: ...on set table or with direct control via the control interface or diagnostic interface The basis point for the project zero point is the axis zero point With the MTR DCI the project zero point PZ and the axis zero point AZ are identical R Reference point REF Basis point for the incremental measuring system The reference point defines a known orientation or position within the positioning path of th...

Page 583: ...35 3 Index D Direct mode 7 F FHPP 7 P Parameter channel 7 R Record selection 7 S Safety instructions for Festo_Motion lib 5 ...

Page 584: ......

Page 585: ...The Festo_PartDetector lib library ...

Page 586: ...ctions 4 1 4 Visualisations 5 1 4 1 General 5 1 4 2 Single blocks 5 1 4 3 Entire module 6 1 4 4 Visualisation of the conveyor 6 1 5 Preparations 7 1 5 1 Compact Vision System SBO Q 7 1 5 2 CheckOpti project 8 1 6 Interfaces Inputs 10 1 6 1 Settings for the detection of parts detected multiple times 10 1 6 2 Settings for the Telnet connection 11 1 6 3 Settings for the encoder card 11 1 6 4 Paramete...

Page 587: ... Compact Vision System SBO Q is activated by precisely one instance Each instance must be accessed cyclically A cycle time of 8 ms is recommended The PartDetector uses the Festo_CameraControl lib library for communication with SBO Q via Telnet The module uses the IncEnc lib library to read encoder values from the latch of the encoder card The downstream PartManager is an application specific CoDeS...

Page 588: ...al Clear the internal buffer The module can then be started Step by step procedure The following sequence of steps is carried out when the module is started 1 Taking of a picture 2 Loading of the characteristics of all found parts X Y coordinates or angles in the global coordinate system 3 Loading of the encoder value from the latch when the picture is taken 4 Synchronisation of the newly detected...

Page 589: ...ti software packages 1 2 3 Designated use The functional modules described here are used for the control and parameterisation of Compact Vision Systems SBO Q The modules allow you to conveniently incorporate the various functions of the respective device into the program Read the Safety instructions and instructions on the designated use of the relevant devices components and modules If additional...

Page 590: ...able measures such as barriers and warning signs Warning Electrical axes can move with high force and at high speed Collisions can lead to serious injury to people and damage to components Make sure that nobody can place their hand in the positioning range of the axes or other connected actuators and that there are no objects in the positioning path while the system is still connected to a power s...

Page 591: ...alisations begin with VISU_PD_xxx Figure Linking the visualisation 1 4 2 Single blocks The module visualisation is split into a number of single blocks This means that you have the option of using only the block that is of interest to you in your own project The single blocks are located in the SingleBlocks visualisation folder of the library Figure Selecting the visualisation ...

Page 592: ... modules This visualisation is called VISU_PD_ALL Figure VISU_PD_ALL visualisation 1 4 4 Visualisation of the conveyor The conveyor can be visualised using the visualisations VISU_PD_Conveyor_Full and VISU_PD_Conveyor_Opt Figure Conveyor visualisation All parts that were found in the last picture are shown as circles New parts are shown in blue Parts that were previously detected are shown in grey...

Page 593: ...prepared in order to use the PartDetector Establish a connection to the Compact Vision System SBO Q using the CheckKon program Set the following parameters in the System parameter window 1 Activate Telnet Server Figure Setting the system parameters 2 Use output O2 for External lighting signal Figure Setting the system parameters ...

Page 594: ...by the Compact Vision System in the camera coordinate system These characteristics must then be converted to the global coordinate system e g unit mm for use in the PartDetector module These characteristics are converted automatically if the project property Project with automatic transformation of features is activated or the Coordinate transformation tool was added to the check program Configuri...

Page 595: ...pe Telnet SBOx Q Part Detector Figure Data output Data tab Note Data transmission via the Telnet Streaming Server of the device is not supported Configuring the encoder card The encoder card must be parameterised in CoDeSys in such a way that it matches the encoder and the latch mechanism works with the flash signal of the camera rising edge Figure Data output Data tab ...

Page 596: ...ist array DuplicateDetectionEnabled If the DuplicateDetectionEnabled parameter is TRUE parts are only output as new parts if they were not already detected at the same position on the conveyor Previously detected parts are saved in the allPartsList array If the DuplicateDetectionEnabled is FALSE all detected parts are output as new parts for each picture Furthermore they are not saved in the allPa...

Page 597: ...is 9999 For CECX X Port number 15000 Username STRING Username set for the Telnet connection The default name is root Password STRING Password set for the Telnet connection The default password is Festo 1 6 3 Settings for the encoder card Input Type Description EncoderPort UINT Selection of the encoder card port used The port number is made up of the address set on the module and the encoder input ...

Page 598: ...is is important in order to synchronise all system components that work with the encoder card signal EncoderResetValue DINT ResetEncoder 1 6 4 Parameters for the graphical display of the conveyor Note These values are required solely for visualisation of the conveyor The easiest way to determine them is using the CheckOpti program All values use the unit of the Compact Vision System e g mm Input T...

Page 599: ... between the taking of the last and the penultimate picture unit ms PictureDistance LREAL Movement of the conveyor between the last and the penultimate picture in the unit of the Compact Vision System If this value is greater than x camera field of vision the module no longer operates reliably Increase the frame rate or reduce the speed of the conveyor Error BOOL Displays an internal error This er...

Page 600: ...r PD_Y Error list Value Constant Note 1000 PD_ENCODER_NOT_READY No value was saved in the encoder latch Check the connection between the flash output of the camera and the input on the encoder card Check the settings of the encoder card 1010 PD_IMPLAUSIBLE_PART A part with implausible values was received only one of the two scales X and Y has a valid value Check the camera program 1020 PD_WRONG_CA...

Page 601: ...FED VipWin interface ...

Page 602: ...iguration and Tag Editor 1 1 2 3 Configuring the communication connection FED Designer 5 1 2 4 Importing PLC variables in FED Designer 10 1 3 Exchanging data with VipWin via OPC 15 1 3 1 Basic information on exchanging data with VipWin via OPC 15 1 3 2 Installing the OPC and the gateway server 19 1 3 3 Configuring the OPC server 20 1 3 4 Configuring drivers and importing variables with VipWin 23 2...

Page 603: ...gner offers the following drivers for the Festo CoDeSys controller Driver name Connection type Description CoDeSys ETH Ethernet connection Driver for communicating via TCP IP using TCP Port 1200 CoDeSys Serial connection Driver for serial communication with CoDeSys compatible controllers 1 2 2 Exporting PLC variables symbol configuration and Tag Editor Before communication between the Festo CoDeSy...

Page 604: ...ion is selected in the Symbol configuration category The symbol file is then generated automatically every time the project is compiled 3 Click on the Configure symbol file button The Set object attributes dialog box then opens displaying a tree structure of the variables used in the project ...

Page 605: ...d in the project have been selected Otherwise symbol entries will be generated for all variables included in the project 5 Now select the variables for which you would like to generate symbol entries You can mark higher level objects here whereby all associated variables are also selected automatically Alternatively you can select individual variable entries In this case select Export variables of...

Page 606: ...es with other options 7 Click OK to close the Set object attributes dialog box All modified configurations are then applied 8 When you want to generate the symbol file simply compile the project The symbol file is created and stored in the project directory You can now use the Tag Editor from FED Designer to import the symbol file ...

Page 607: ...ntroller as follows 1 Open an existing FED project from the menu File Open or create a new project with File New 2 Select the command Project Configure Controller in FED Designer The Configure Controllers dialog box then appears Fig Configure Controllers dialog box 3 Select the correct controller mode for the controller type Festo CoDeSys controller Controller mode FED CEC Internal controller CPX ...

Page 608: ...to CoDeSys controller 8 Use port number 1200 9 Select other settings specified in the following table according to the Festo CoDeSys controller used Festo CoDeSys Controller Byte order PLC Model CPX CEC CPX CEC Intel low byte high byte Disable the option Use Motorola byte order TCP IP Level 2 Route CECX Motorola low byte high byte Enable the option Use Motorola byte order TCP IP Level 2 Route 10 C...

Page 609: ...et in FED configuration mode command menu The description of the FED contains help for activating configuration mode Configuring the serial connection CoDeSys driver To configure a serial connection select the correct communication driver in FED Designer first of all and then configure the parameters of the serial interface Configure the serial connection to FED Designer as follows 1 Open an exist...

Page 610: ...button The Select Controller dialog box then appears Fig Select Controller dialog box 4 Select the communication driver for the CoDeSys serial interface 5 Click on the Controller Setup button The CoDeSys Controller Setup dialog box then appears Fig CoDeSys Controller Setup dialog box example ...

Page 611: ...e option Use Motorola byte order 3 7 Click on the PLC Comm button The Communication Parameters Setup dialog box then appears Fig Communication Parameters Setup dialog box 8 Configure appropriate serial interface communication parameters for the Festo CoDeSys controller you intend to use Refer to the relevant online help for information on available settings Parameter Default Baud Rate 19200 Parity...

Page 612: ...nd Tools Tag Editor 2 Select the menu command File New to create a new tag database Fig Tag Editor dialog box The tag dictionary FED Designer A tag dictionary is linked to each FED project The tag dictionary defines the model and the properties of the controller in use The tags correspond to the PLC variables of the controller in use The symbol file generated using CoDeSys can now be imported as a...

Page 613: ... file from the CoDeSys project directory as a Native Driver Tags format file 7 Click on the Next button 8 Click on the Finish button to create the dictionary with tag groups and import the tags 9 Then select the appropriate byte order for the controller type Fig Tag import choice dialog box Festo CoDeSys Controller Byte order FED CEC Intel low byte high byte Disable the option Use Motorola byte or...

Page 614: ...efer to the online help for FED Designer for detailed information on importing tags Activating TAGs FED Designer 1 Select the menu command Project Configure tag dictionary Fig Select Tag Dictionary dialog box 2 Set the Enable Tags option by clicking with the mouse 3 Open the created database file mdb as a Tag database file 4 Click on the OK button ...

Page 615: ...ject 1 Select the menu command INSERT Data field e g numerical ASCII Fig Numeric Field Properties dialog box example 2 Drag open the field in the workspace in FED Designer The Field Properties dialog box appears 3 Select PLC as a reference 4 The Data Field Properties dialog box appears ...

Page 616: ...ple 5 Assign a tag variable to the variable 6 Click on the OK button 7 Click on OK to close the Data Field Properties dialog box 8 Connect the panel to the controller Ethernet or serial 9 Load the finished project into the FED using the menu command Transfer Download ...

Page 617: ...be established between the client and controller The controller variables are activated based on the symbol file generated using CoDeSys which specifies which variables are available in the controller The OPC server requests the contents of the symbol file from the gateway In order that the gateway can provide the correct symbol files for the connected controllers the symbol files must be stored i...

Page 618: ...d as a text file project_name sym or a binary file project_name sdb in the project directory 1 Select the command Project Options in CoDeSys provided by Festo The Options dialog box then appears Fig Options dialog box 2 Make sure that the Dump symbol entries option is selected in the Symbol configuration category The symbol file is then generated automatically every time the project is compiled 3 ...

Page 619: ...included in the project have been selected Otherwise symbol entries will be generated for all variables included in the project 5 Now select the variables for which you would like to generate symbol entries You can mark higher level objects here whereby all associated variables are also selected automatically Alternatively you can select individual variable entries In this case select Export varia...

Page 620: ... if you would like to add more variables with other options 7 Click OK to close the Set object attributes dialog box All modified configurations are then applied 8 When you want to generate the symbol file simply compile the project The symbol file is created and stored in the project directory ...

Page 621: ...ll the OPC and gateway server on the visualisation PC as follows 1 Start the CoDeSys installation program setup exe and follow the instructions Select the CoDeSys OPC server V2 0 as a component see illustration below Fig Select Components dialog box 2 Then click the Next button and follow the instructions of the installation program until installation is complete ...

Page 622: ...t settings 2 If you would like to configure a connection with several controllers disable the option Single PLC in the File menu remove checkmark You can then add other controllers to the tree structure using the commands in the Edit menu The settings described below must be configured for each controller added 3 Adapt the project name and the Motorola byte order selection in the PLC settings PLC ...

Page 623: ...s Fig Communication Parameters dialog box 5 Select New to set up a new communication connection The Communication Parameters New Channel dialog box then appears 6 Enter the name of the Festo CoDeSys controller you are using in the Name field and select the entry TCP IP Level 2 in the Device field The Communication Parameters dialog box then appears again ...

Page 624: ... according to your controller CECX Motorola CPX CEC Intel Fig Communication Parameters Set IP Address dialog box example 8 For connections with several controllers Multi PLC If required add another controller to the tree structure using the command Edit Add PLC and repeat points 3 to 7 for this controller 9 Save the OPC configuration using the command File Save This concludes the configuration of ...

Page 625: ... to exchange data You can then import the required variables and link them with graphic objects Configure the driver and import the variables with VipWin as follows 1 Start VipWin and select the command Driver new from the context menu in the right half of the Project Manager window Fig Driver installation under VipWin The Definition of driver window then appears 2 Open the FESTO folder and select...

Page 626: ...electing the OPT client driver 3 Confirm your selection with OK The OPC Client window then opens 4 Open the local computer folder in the OPC Server tab All OPC servers installed on the PC are displayed Fig Selecting the OPC server ...

Page 627: ...line The OPC server becomes active after this selection is made The OPC symbol in the right half of the taskbar indicates that the OPC server is active Fig OPC symbol in the taskbar The Import OPC variable window opens 7 Select the entry FestoCoDeSys OPC 02 in the Resources field in the bottom half of the left window The Tag list field in the bottom half of the right window displays all variables ...

Page 628: ...Fig Import OPC Variables dialog box 8 Mark the variables you wish to visualise in the Tag List field and click on the Add Selected button The relevant variables then appear in the VipWin Address Space field top half of window ...

Page 629: ...Variables dialog box 9 Click on the Import button The variables then become available in the visualisation project of the project manager so that they can be linked with graphic objects Fig Imported OPC variable in the VipWin project manager ...

Page 630: ......

Page 631: ...iver 5 Configuring drivers and importing variables 23 Configuring the OPC server 20 D Downloading the symbol file 15 G Generating the symbol file 1 15 I Importing the symbol file using the Tag Editor 1 Installing the OPC and the gateway server 19 ...

Reviews: