IFM CompactModule Metal CR2031 Device Manual

IFM CompactModule Metal CR2031 Device Manual

Output module

Advertisement

Quick Links

Device manual
Output module
UK
CompactModule Metal
CR2031

Advertisement

Table of Contents
loading

Summary of Contents for IFM CompactModule Metal CR2031

  • Page 1 Device manual Output module CompactModule Metal CR2031...
  • Page 2: Table Of Contents

    CompactModule Metall CR2031 Contents 1 Preliminary note � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 3 2 Safety instructions �...
  • Page 3: Preliminary Note

    SELV voltage of which is not grounded� The terminals may only be supplied with the signals indicated in the technical data or on the unit label and only the approved accessories of ifm electronic may be connected�...
  • Page 4: Function And Features

    CompactModule Metall CR2031 In case of malfunctions or uncertainties please contact the manufacturer� Tamper- ing with the unit can lead to considerable risks for the safety of persons and plant� It is not permitted and leads to the exclusion of any liability and warranty claims� 3 Function and features The CR2031 I/O module enables decentralised triggering of actuators and propor- tional valves�...
  • Page 5: Mounting

    CompactModule Metall CR2031 5 Mounting To protect the module against mechanical stress it must be mounted so that it lies completely flat on an even mounting surface� To do so, three cylinder screws with hexagon socket (M5 x L) to DIN 912 or DIN 7984 must be used� preferred Mounting variants wrong...
  • Page 6: Electrical Connection

    CompactModule Metall CR2031 6 Electrical connection To guarantee the electrical interference protection of the module, the hous- ing must be connected to GND (e�g� to the ground of the vehicle)� Due to the maximum operating temperature of 85 °C and the internal heat- ing of the unit, the respective minimum rated temperature of the con-nection cable must be taken into account�...
  • Page 7: 6�5 Cage Clamp ® Connection Technology

    CompactModule Metall CR2031 6.5 CAGE CLAMP ® connection technology 1: Screwdriver 2: Wire ► Insert screw driver and tilt slightly� > Spring opens� ► Insert wire� ► Remove screw driver� > Spring closes� 6.6 Types of connection and fuses To protect the whole system (wiring and module) the individual electric circuits are to be protected using fuses according to the type of connection and jumper set- tings�...
  • Page 8: 6�7 Examples Types Of Connection

    CompactModule Metall CR2031 6.7 Examples types of connection Example 1 Example 2 Example 3 Example 4 = jumper inserted...
  • Page 9: Set-Up

    CompactModule Metall CR2031 7 Set-up 7.1 PLC configuration in CODESYS 2.3 Parameter setting of the device functions and of the CAN interface is directly done from the application programmed with CODESYS 2�3� To do so, the "Electronic Data Sheet" (EDS) is integrated via the CODESYS PLC configuration� CODESYS dialogue "PLC configuration"...
  • Page 10: 7�2 Plc Configuration In Codesys 3�5

    CompactModule Metall CR2031 7.2 PLC configuration in CODESYS 3.5 The "Electronic Data Sheet“ (EDS) is installed in the [Device Repository]� Proceed as follows in the main menu: ► Click on [Tools] / [Device Repository]� ► Select [Fieldbuses] / [CiA CANopen] / [CiA Remote Device] and click on [In- stall]�...
  • Page 11: 7�2�2 Syncmonitoring

    7.3 Electronic Data Sheet The EDS contains the description of all parameters and I/O data of the device in a format defined by CANopen� The EDS files are provided for all CANopen slaves by ifm electronic� The EDS files are available at www�ifm�com�...
  • Page 12: Parameter Setting

    CompactModule Metall CR2031 8 Parameter setting Automatic saving of the communication and unit parameters can be activated or deactivated by means of the "save all parameters" entry (→ 12 Object directory, index 1010)� When the value 0x02 is entered into SIdx 01, all parameters are auto- matically saved if changes were made�...
  • Page 13 CompactModule Metall CR2031 Parameter Index in ob- Default (factory preset) Change Change ject directory automatically effective saved COB ID Rec PDO 1 1400 01 0x200 + Node ID adjustable after a reset Trans Type Rec PDO 1 1400 02 0x01 (synchronous) adjustable immediately COB ID Rec PDO 2...
  • Page 14: Programming

    CompactModule Metall CR2031 9 Programming 9.1 General The I/O module must be initialised as CANopen slave with the CANopen start functions "COP_MSTR_BOOTUP" and "COP_MSTR_MAIN" by the R 360 master and set to the state "OPERATIONAL" (LED "PWR"flashes, 2 Hz)� 9.2 Programming function If the function "CR2031"...
  • Page 15: 9�3 Data Structures

    For configuration data the declaration part can already contain an assignment of values� In the program access to a structure component can be represented as follows: Screen shot of the CODESYS programming platform More programming examples of the I/O module can be obtained from ifm electronic upon request�...
  • Page 16: 9�3�1 Function Cr2031

    CompactModule Metall CR2031 9.3.1 Function CR2031 Function: CR2031 CR2031 – ENABLE CGF_RESULT – Library: CR2031_x�lib – INIT IO_RCV – Purpose: Sets parameters and reads – NODE_ID the configuration and I/O data of – CFG_READ the input/output module CR2031 – CFG_WRITE –...
  • Page 17: 9�3�2 Data Structure Cr2031 Configstruct

    CompactModule Metall CR2031 9.3.2 Data structure CR2031 ConfigStruct Data CR2031 ConfigStruct TYPE CR2031 ConfigStruct STRUCT structure: GUARDTIME: TIME; LIFETIME: BYTE; Purpose: Parameter and configuration Ch1: BYTE; (*2000/1*) (*0,2,4,5*) Ch2: BYTE; (*2000/2*) (*0,2,4,5*) data can be written or read� The Ch3: BYTE; (*2000/3*) (*0,2,4,5*) data structure is assigned to the...
  • Page 18: 9�3�3 Data Structure: Cr2031 Inoutstruct

    CompactModule Metall CR2031 Name Data type Description I_Value1_2 BYTE I value of the current control function channel pair 1/2 value in % referred to the preset-actual value difference (default 20) Max_ Current1_2 WORD max� possible load current in mA channel pair 1/2 current at 1000‰ PWM (default 4000 mA) P_Value3_4 BYTE...
  • Page 19 CompactModule Metall CR2031 Structure components: Name Data type Description BinOut1 BOOL Output status channel 1 (if Ch1 configuration = 2) BinOut2 BOOL Output status channel 2 (if Ch2 configuration = 2) BinOut3 BOOL Output status channel 3 (if Ch3 configuration = 2) BinOut4 BOOL Output status channel 4 (if Ch4 configuration = 2)
  • Page 20: Technical Data

    1 LED green (PWR) 1 LED red (diagnosis, DIA) 8 LEDs yellow (status of the outputs) ifm electronic gmbh • Friedrichstraße 1 • 45128 Essen We reserve the right to make technical alterations without prior notice. CR2031 / page 1...
  • Page 21 (ON) analogue output: PWM preset value ≠ 0 current preset value > 20 ifm electronic gmbh • Friedrichstraße 1 • 45128 Essen We reserve the right to make technical alterations without prior notice. CR2031 / page 2...
  • Page 22 EN 50155 clause 12.2 mechanical/climatic tests EN 50121-3-2 EMC noise emission and noise immunity additional information on request ifm electronic gmbh • Friedrichstraße 1 • 45128 Essen We reserve the right to make technical alterations without prior notice. CR2031 / page 3 14.08.2014...
  • Page 23 = operating voltage (via CANin/CANout plug) = ground (output) = operating voltage (output) = ground (module) = operating voltage (module) ifm electronic gmbh • Friedrichstraße 1 • 45128 Essen We reserve the right to make technical alterations without prior notice. CR2031 / page 4 14.08.2014...
  • Page 24: Fault Correction

    CompactModule Metall CR2031 11 Fault correction 11.1 EMCY Object The following error codes to DSP-401 and DSP-301 are supported: EMC Code Error Reg Additional Description Code 0x3300 0x05 0x00 "Output Voltage" Supply voltage VBBO of the outputs is missing 0x6100 0x11 0x00 "Internal Software“...
  • Page 25: Object Directory

    CompactModule Metall CR2031 12 Object directory 12.1 Manufacturer Specific Profile Area; index 2000 to 5FFF Index S-Idx Designation Type Default Description 2000 I/O Konfiguration u8, ro 0x08 Number of the entries (= number of the output channels) 2000 Configuration u8, rw 0x02 0 = OFF channel 1...
  • Page 26 CompactModule Metall CR2031 Index S-Idx Designation Type Default Description 2002 Current values u8, ro – Actual current value in mA channel 5, 6 2002 Current values u8, ro – Actual current value in mA channel 7, 8 2004 Control parame- u8, ro 0x03 Number of the entries...
  • Page 27: 12�2 Communication Profile Area; Index 1000 To 1Fff

    CompactModule Metall CR2031 Index S-Idx Designation Type Default Description 20F0 Setting of the u8, rw 0x20 The node ID used to access the module in the 20F1 Node ID *) (= 0d32) CANopen network� 20F2 Setting of the u8, rw 0x04 Baud rate of the CAN network 0 = 1000 kBaud 20F3...
  • Page 28 CompactModule Metall CR2031 Index S-Idx Designation Type Default Description 100A SW Version str, ro x�x Software version 100C Guard time u16, rw 0x0000 Time in ms Within this time the output module expects a "node guarding" of the network master� If the value 0 is entered here, this function is not supported�...
  • Page 29 CompactModule Metall CR2031 Index S-Idx Designation Type Default Description 1018 Vendor ID u32, ro 0x0069666D Vendor ID to CiA specification 1400 Receive u8, ro 0x02 Number of the entries Rec PDO 1 PDO 1 Binary outputs 1400 COB ID u32, rw 0x200 + - PDO is valid (bit 31 = 0) PDO 1 Node ID...
  • Page 30: Maintenance, Repair And Disposal

    CompactModule Metall CR2031 Index S-Idx Designation Type Default Description 1601 Index in u32, ro 0x6411 03 6411 Sldx 03 contains the preset value of the the object analogue output channel 5 or 6� The value is in- directory terpreted as pulse/break ratio in ‰ or as preset current value (depending on the configuration)�...
  • Page 31: Declaration Of Conformity

    14 Declaration of conformity For test standards and regulations → 10 Technical data� The CE Declaration of Conformity and the E1-approval are available at www�ifm�com� 15 Terms and abbreviations 0b ��� binary value (for bit coding), e�g� 0b0001 0000 0d ���...
  • Page 32 CompactModule Metall CR2031 Error Reg Error Register (entry with an error code) Guarding Error Node or network participant could or can no longer be found Guard Master: one or several slaves no longer reply Guard Slave: no polling of the slave Guard Time During this time the network participant expects a "Node Guarding"...
  • Page 33 CompactModule Metall CR2031 Sync Error missing Sync OBJ in the adjustable communication cycle Sync OBJ synchronisation object for simultaneous update in the complete network or for accepting process data of the respective parameterised PDOs� Sync Windows time during which the synchronous PDOs have to be transferred Time Stamp time stamp to align existing clocks in network participants Trans Type...

Table of Contents