Technical data, approvals, accessories and further information at www�ifm�com�
►Instructions
→Cross-reference
Important note
Non-compliance may result in malfunction or interference�
Information
Supplementary note�
2 Safety instructions
This description is part of the unit� It contains texts and drawings concerning the
correct handling of the module and must be read before installation or use�
UK
Observe the information of the description� Non-observance of the notes, operation which is not in accordance with use as prescribed below, wrong installation or
handling can result in serious harm concerning the safety of persons and plant�
The instructions are for authorised persons according to the EMC and low voltage guidelines� The unit must be installed and commissioned by a skilled electrician (programmer or service technician)� The device may only be installed, connected and commissioned by qualified personnel�
Disconnect the device externally before doing any work on it� If necessary, also
disconnect separately supplied output load circuits�
If the unit is not supplied by the mobile on-board system (12/24 V battery operation) it must be ensured that the external voltage is generated and supplied according to the criteria for safety extra-low voltage (SELV) as this is supplied without
further measures to the connected controller, the sensors, and the actuators�
The wiring of all signals in connection with the SELV circuit of the unit must also
comply with the SELV criteria (safe extra-low voltage, safe electrical separation
from other electric circuits)�
If the supplied SELV voltage has an external connection to ground (SELV becomes PELV) the responsibility lies with the user and the respective national
regulations for installation must be complied with� All statements in these operating
instructions refer to the unit the 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�
The unit can be operated within a wide temperature range according to the technical specification indicated below� Due to the additional self-heating the housing
walls can have high perceptible temperatures when touched in hot environments�
3
Page 4
CompactModule Metall CR2031
In case of malfunctions or uncertainties please contact the manufacturer� Tampering 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 proportional valves� The coil current can be monitored and controlled via the integrated
current measurement�
4 Function
●The module supports binary/analogue outputs and is therefore classified in the
device profile "I/O module" to CiA DS 401�
●As regards the output functions, the module can be configured and it supports
the following functions:
– binary outputs with/without current detection; up to 4 A
– PWM outputs with/without current detection; up to 4 A
– current-controlled PWM outputs, up to 4 A
– selectable current measuring range 0���1 A or 0���4 A�
●There are 1 server SDO and the 3 default PDOs to CiA DS 401� The PDO
mapping cannot be changed (static PDO mapping)� The default identifiers are
assigned according to the "predefined connection set"�
●The COB IDs of the PDOs as well as the transmission type (synch / asynch) of
the individual PDOs can be configured�
●The module expects a synch object� The CAN identifier of the synch object can
be configured�
●The module supports "node guarding" and "heartbeat"� The "guard time",the
"life time factor" and the "heartbeat time"can be configured� When there are no
heartbeat or node guarding signals, the outputs are automatically switched off
by the operating system�
●The module generates an emergency object� The COB ID of the EMCY object
can be configured�
●The module stores the last error�
The error code of the corresponding emergency object is stored�
●The module supports a reset function, i�e� assignment of the parameters to the
factory default values* upon request�
●The CR2031 I/O module ist not approved for safety-relevant tasks in the field of
safety of persons�
*) factory default values → 8.1 Parameter list�
4
Page 5
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�
preferredMounting variants wrong
UK
To avoid contact corrosion between the mounting screws and the module
housing, do not use any stainless steel screws or nickel-plated screws!
In very corrosive environments such as extremely salty air, we recommend
to use screws with surface finishing on a zinc/nickel basis with thick-film
passivation and sealing� For normal corrosive requirements zinc-plated
screws are sufficient�
5
Page 6
CompactModule Metall CR2031
6 Electrical connection
To guarantee the electrical interference protection of the module, the housing 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 heating of the unit, the respective minimum rated temperature of the con-nection
cable must be taken into account�
6.1 M12 sockets
► Use sockets with gold-plated contacts�
► Use protective caps (supplied) for unconnected connectors of the I/O module�
6.2 Tightening torque of the cover screws (terminal chamber)
To close the terminal chamber the cover screws are tightened with a tightening
torque of 1�2 Nm�
6.3 M16 cable gland
Use a suitable cable to ensure ingress resistance of the M16 cable gland�
If the M12 connectors are used for the device supply and CAN connection, close
the terminal chamber with the supplied M16 cover plug (remove the cable gland
and insert the M16 cover plug)�
6.4 Definition of short-circuit and overload protection
●Short-circuit test:
All outputs must withstand a short-circuit current limited to 60 A flowing bet ween output and ground (GND) or supply voltage (+VBB)�
Test duration: 3 minutes
●Overload test:
Outputs must not be destroyed by a 100 % overload�
(e.g. nominal switching current IN = 4 A → 100 % overload = 8 A)
Test duration: 5 minutes
6
Page 7
6.5 CAGE CLAMP ® connection technology
1
CompactModule Metall CR2031
2
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 settings� The M12 plugs are designed for max� 4 A, the clamps for max� 16 A�
ExampleConnection (→ 6.7)Jumpers Fuse
1Supply via M12 CANin/CANout plug3+4 / 5+6+7 4 A
2
3Separate supply via clamps and M12 CANin/CANout plug6+7
Supply via clamps 3+4 / 5+6 16 A
(not via M12 CANin/CANout plug)
3+4 / 5+616 A
16 A
4 A
UK
4
Supply via clamps
(via M12 CANin/CANout plug)
6+7
Note: Do not use examples 3 and 4 with the I/O modules CR2032 and
CR2033 in one supply line�
16 A
4 A
7
Page 8
CompactModule Metall CR2031
6.7 Examples types of connection
Example 1
Example 2
Example 3
Example 4
= jumper inserted
8
Page 9
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�
UK
CODESYS dialogue "PLC configuration" (example)
For a description of the setting and application of the "PLC configuration“ dialogue
see the CODESY manual and the CODESYS online help�
9
Page 10
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]�
► Select EDS file and click on [Open]�
>In CODESYS 3�5 the devices are integrated as CiA remote devices in the de-
vice tree under a [CANopen_Manager] element�
The CANopen communication is configured via the CODESYS configuration
editor�
7.2.1 Heartbeat conguration
The function [Reset Node] must be activated on the tab [General] so that the
device applies the parameters set for heartbeat monitoring of the CANopen
Manager�
10
Page 11
CompactModule Metall CR2031
7.2.2 SyncMonitoring
To activate the device-internal monitoring of the Sync cycle, the monitoring time
has to be written into the object directory entry 0x1006� This is possible by
supplementing the SDO list in the CANopen configurator or during the operating
time via the function block COP_SDOwrite�
The monitoring time is indicated in microseconds [μs].
UK
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�
11
Page 12
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 automatically saved if changes were made�
With the value 0x00 there is no automatic saving, i�e� changed parameters will only
be valid until the unit is switched off or until the next reset is made�
With the function "restore" (→ 12 Object directory, index 1011) the parameters
(except the baud rate and the node ID) can be assigned to the factory default values� With the next power on they become valid�
Control characteristics (index 2004���7)
The current control behaviour can be parameterised separately for each channel
pair in the P and I values� For each of the 4 output pairs the max� load current [mA]
has to be indicated� By means of this value the respective measuring range (1 A or
4 A) is automatically selected�
8.1 Parameter list
ParameterIndex in ob-
ject directory
Manufacturer Specific Profile Area; index 2000 to 5FFF
COB ID Rec PDO 11400 010x200 + Node IDadjustableafter a reset
Trans Type Rec PDO 11400 020x01 (synchronous)adjustableimmediately
COB ID Rec PDO 21401 010x300 + Node IDadjustableafter a reset
Trans Type Rec PDO 21401 020x01 (synchronous)adjustableimmediately
COB ID Trans PDO 11800 010x180 + Node IDadjustableafter a reset
Trans Type Trans PDO 11800 020x01 (synchronous)adjustableimmediately
Event Timer Trans PDO11800 050x00adjustableimmediately
The life time factor 0 is interpreted as 1�
The first guard protocol is assessed as "start guarding" even if guarding is not active at this time
(guard time = 0)�
*) Observe the position of the hex-code switch!
Entries in the object directory are only valid if the hex-code switches for baud rate (S1) and/or node ID (S2,
S3) are in the position "F"� (For position and coding of the hex-code switches see connecting and operating
elements → 10 Technical data)
Default (factory preset)Change
automatically
saved
Change
effective
UK
Explanation of the abbreviations:
0x��� = hexadecimal number
0b��� = binary value
0d��� = decimal numerical value
str = string
rw = read-write
ro = read only
u8 = unsigned 8 bit
u16 = unsigned 16 bit
13
Page 14
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" is integrated into the program, this automatically
ensures a continuous updating of the I/O data in the controller� The function
"CR2031" is in the library "CR2031_x�lib" of the programming software
CODESYS�
If no configuration data are transferred to the I/O module, the device operates
with the default values set at the factory�
Before commissioning change the node ID of the I/O module set at the factory,
if necessary� Check whether the baud rate of the master and that of the module
are identical or set accordingly (also see notes on hex-code switch → 8.1)�
Default values:Switch position
baud rate = 0x04 (= 125 Kbits/s)S1 = "F“
node ID = 0x20 (= 0d32)S2, S3 ="F“
Screen shot of the CODESYS programming platform
14
Page 15
CompactModule Metall CR2031
9.3 Data structures
The CR2031 configuration and I/O data are transferred via data structures� The
structure as well as other variable types must be declared in the declaration part�
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:
UK
Screen shot of the CODESYS programming platform
More programming examples of the I/O module can be obtained from ifm
electronic upon request�
15
Page 16
CompactModule Metall CR2031
9.3.1 Function CR2031
Function:CR2031
Library:CR2031_x�lib
Purpose:Sets parameters and reads
the configuration and I/O data of
the input/output module CR2031
–
–
–
–
–
–
–
–
–
–
Parameter:
NameData typeDescription
Inputs
ENABLEBOOLTRUE: function processing
INITBOOLTRUE: function initialisation
FALSE: cyclical function call
CR2031
ENABLE
INIT
NODE_ID
CFG_READ
CFG_WRITE
CFG_DATA
RX_TYPE
TX_TYPE
SYNC
IO_DATA
CGF_RESULT
IO_RCV––
NODE_IDBYTENode identifier
CFG_READBOOLTRUE: read the current configuration of the I/O module
CFG_WRITEBOOLTRUE: write the current configuration of the I/O module
CFG_DATADWORDAddress of the configuration data (data structure)
RX_TYPEBYTEReceive transmission type (default = 0; synch acyclic)
TX_TYPEBYTETransmit Transmission Type (default = 1; synch cyclic)
BinOut1BOOLOutput status channel 1 (if Ch1 configuration = 2)
BinOut2BOOLOutput status channel 2 (if Ch2 configuration = 2)
BinOut3BOOLOutput status channel 3 (if Ch3 configuration = 2)
BinOut4BOOLOutput status channel 4 (if Ch4 configuration = 2)
BinOut5BOOLOutput status channel 5 (if Ch5 configuration = 2)
BinOut6BOOLOutput status channel 6 (if Ch6 configuration = 2)
BinOut7BOOLOutput status channel 7 (if Ch7 configuration = 2)
BinOut8BOOLOutput status channel 8 (if Ch8 configuration = 2)
AnaOut1_2 INTAnalogue output value
(if Ch1_2 config� = 4 or 5) channel 1 or 2
AnaOut3_4 INTAnalogue output value
(if Ch3_4 config� = 4 or 5) channel 3 or 4
AnaOut5_6INTAnalogue output value
(if Ch5_6 config� = 4 or 5) channel 5 or 6
AnaOut7_8INTAnalogue output value
(if Ch7_8 config� = 4 or 5) channel 7 or 8
ActCurrent1_2WORDActual current value [mA], channel 1 or 2
ActCurrent3_4WORDActual current value [mA], channel 3 or 4
ActCurrent5_6WORDActual current value [mA], channel 5 or 6
ActCurrent7_8WORDActual current value [mA], channel 7 or 8
*) The odd-numbered channels 1, 3, 5, 7 are active if the variable contains a positive value�
The even-numbered channels 2, 4, 6, 8 are active if the variable contains a negative value�
**) The actual current value can only be read if connection is made via the outputs with current monitoring
(see also wiring → 10 Technical data)�
UK
19
Page 20
CompactModule Metall CR2031
69
23
39
LED M12 x1
9
52
6
227
205
5
5
77
PWR DIA
1
3
5
7
2
4
6
8
CAN inCAN out
Control systems
CR2031
CompactModule Metal
Output module
digital and analogue
for R360 system
CANopen interface
Surface electrostatically
coated (cathodic immersion)
10...32 V DC
Technical data8 digital / PWM outputs
with integrated current measurement
HousingDie-cast zinc housing with 8 outputs and terminal chamber
surface electrostatically coated (cathodic immersion), black
Dimensions (l x w x h)227 x 77 x 39 mm (without cable gland)
InstallationScrew connection by means of 3 M5 x l screws to DIN 912 or DIN 7984
Connections
Operating voltage and CAN bus7-pole terminal strip with CAGE CLAMP
®
connection technology
(2 x 2-pole / 1 x 3-pole) 0.08...4 mm
2
(AWG 28...AWG 12), nominal current 20 A
Identical potentials can be linked using a jumper header
(GND and U
B
potentials linked upon delivery)
Cable entry via M16 cable gland
Outputs8 x M12 connector (socket), 5-pole
CANin/CANout2 x M12 connector (plug/socket), 5-pole
Weight1.2 kg
Outputs8
can be configured asdigital, positive-switching (high side)
PWM channel,
or current-controlled channel
switching current per outputmax. 4 A
total currentmax. 16 A
Operating voltage U
B
10...32 V DC
Current consumption≤ 50 mA (without external load at 24 V DC)
8...Enot defined
Fadjustment via object directory (default)
S20...7high nibble, e.g. 2
0 hex (= 32 dec)
Node ID
H
Fadjustment via object directory (default)
S30...Elow nibble, e.g. 20
hex (= 32 dec)
Node ID
L
Fadjustment via object directory (default)
0
•
2
•
4
•
6
•
8
•
A
•
C
•
E
•
12 34 567
12
PWR DIA
CAN inCAN out
S1S2 S3
3
12
4
5
4
21
3
5
CAN GND+VBB
Hex-coded
rotary switch
CAGE CLAMP
®
connection clamps
Jumper headers
upon delivery:
3+4 / 5+6+7
CompactModule Metall CR2031
UK
21
Page 22
CompactModule Metall CR2031
CR2031Characteristics of the outputs
Digital outputs8 semiconductor outputs; short-circuit and overload protected
Switching voltage10...32 V DC
Switching currentmax. 4 A
Total currentmax. 16 A
The current measurement of 2 channels each can be selected by means of the wire
connections. The following channels are combined: 1+2, 3+4, 5+6, 7+8
PWM outputsWith the configuration as "PWM output" two outputs each are combined
(1+2, 3+4, 5+6, 7+8).
PWM frequency20...250 Hz
Pulse duty factor50...1000 ‰
Resolution1 ‰
Switching currentmax. 4 A
Total currentmax. 16 A
Current outputsWith the configuration as "current-controlled output" two outputs each are combined
(1+2, 3+4, 5+6, 7+8).
PWM frequency20...250 Hz
Control range20...1000 mA / 80...4000 mA
Control resolution1 mA / 4 mA (see control parameters)
Setting resolution1 mA
Control characteristics can be set via the object directory (see control parameters)
Accuracy± 2% FS
Switching currentmax. 4 A
Load resistancemin. 12 / 3 Ω (at U
B
= 12 V DC)
min. 24 / 6 Ω (at U
B
= 24 V DC)
Control parametersBy indicating the max. load current [mA] for each output pair the respective control
or value range (1000 or 4000 mA) is automatically selected.
In addition the P/I behaviour of the current controller can be parameterised for each
output pair.
Free-wheel diode is integrated!To avoid errors in the measuring result, no external free-wheel diode must be
connected in parallel with the load in the "current-controlled output" operating mode.
Test standards and regulations
Climatic testDamp heat to EN 60068-2-30, test Db
(≤ 95% rel. humidity, non-condensing)
Salt mist test to EN 60068-2-52, test Kb, severity level 3
Protection test to EN 60529
Mechanical resistanceVibration to EN 60068-2-6, test Fc
Shock to EN 60068-2-27, test Ea
Bump to EN 60068-2-29, test Eb
Immunityto ISO 7637-2, pulses 2, 3a, 3b, 4, severity level 4, function state A
to conducted interferenceto ISO 7637-2, pulse 5, severity level 1, function state A
to ISO 7637-2, pulse 1, severity level 4, function state C
Immunityaccording to UN/ECE-R10 at 100 V/m (E1 type approval)
to interfering fieldsand DIN EN 61000-6-2 (CE)
Interference emissionaccording to UN/ECE-R10 (E1 type approval)
and DIN EN 61000-6-3 (CE)
Control systems
Tests for railway applicationsEN 50155 clause 12.2 mechanical/climatic tests
EN 50121-3-2EMC noise emission and noise immunity
additional information on request
22
Page 23
Control systems
Outputs
05
04
03
02
01
CAN IN
05
04
03
02
01
CAN OUT
05
04
03
02
01
CAN Interface / Supply
02
01
04
03
06
05
07
Outputs
05
04
03
02
01
05
04
03
02
01
05
04
03
02
01
05
04
03
02
01
05
04
03
02
01
05
04
03
02
01
05
04
03
02
01
Abbreviations
CANH= CAN interface (high)
CANL= CAN interface (low)
GNDO= ground (output)
GNDS= ground (module)
PWM = output for pulse-width modulated signals
VBBC= operating voltage (via CANin/CANout plug)
VBBO= operating voltage (output)
VBBS= operating voltage (module)
CR2031Wiring
CompactModule Metall CR2031
UK
23
Page 24
CompactModule Metall CR2031
11 Fault correction
11.1 EMCY Object
The following error codes to DSP-401 and DSP-301 are supported:
EMC CodeError RegAdditional
Code
0x33000x050x00"Output Voltage"
0x61000x110x00"Internal Software“ Overflow of a Tx queue,
0x61010x110x00"Internal Software"
0x62000x81bit coded "User Software"
0x80000x110x00"Monitoring" (Synch Error)
Description
Supply voltage VBBO of the outputs is missing
e�g� frequency of the RxPDOs is too high� Only external reset
via an entry in 1003 00
Overflow of a Tx queue, e�g� device does not communicate with
the bus� Only external reset via an entry in 1003 00
I/O configuration is not permissible�
EMCY object contains faulty channel pair, each bit represents a
channel pair�
0000 0010 channel pair 1, 2
0000 1000 channel pair 3, 4
0010 0000 channel pair 5, 6
1000 0000 channel pair 7, 8
For "communication cycle" no synch object is received (only in
OPERATIONAL)�
Reset with the next synch OBJ or PREOP�
For "guard time" x "life time factor" no guard object is received
or heartbeat object outside the expected time�
Reset after node is active again�
0xFF000x81bit-codiert"Device Specific"
The output current could not be achieved because the load
resistor is too high/small�
0000 0001 channel 1
0000 0010 channel 2
0000 0100 channel 3
0000 1000 channel 4
0001 0000 channel 5
0010 0000 channel 6
0100 0000 channel 7
1000 0000 channel 8
Only the first error of an error group is indicated�
If there is for example an error "load resistor is too high/small" on channel 1
and then on channel 2, only the error which occured first is signalled�
CANopen does not allow to send two identical EMCY objects one after the
other�
24
Page 25
CompactModule Metall CR2031
12 Object directory
12.1 Manufacturer Specific Profile Area; index 2000 to 5FFF
IndexS-IdxDesignationTypeDefaultDescription
20000I/O Konfigurationu8, ro0x08Number of the entries
Setting in Hz (20���250 Hz)
If an invalid value is entered, the previous value
remains valid�
(= number of the current measuring channels)
25
Page 26
CompactModule Metall CR2031
IndexS-IdxDesignationTypeDefaultDescription
20023Current values
channel 5, 6
20024Current values
channel 7, 8
20040Control parame-
ters channel 1, 2
20041P value channel
1, 2
20042I value channel
1, 2
20043max� current
channel 1, 2
20050Control parame-
ters channel 3, 4
20051P value channel
3, 4
u8, ro–Actual current value in mA
u8, ro–Actual current value in mA
u8, ro0x03Number of the entries
(= number of the control parameters)
u8, rw0x32P value of the current control function channel
1, 2 (= value in % referred to the preset- actual
value difference)
u8, rw0x14I value of the current control function channel
1, 2 (= value in % referred to the preset- actual
value difference)
u16, rw0xFA0max� possible load current in mA (= current at
1000‰ PWM)
u8, ro0x03Number of the entries
(= number of the control parameters)
u8, rw0x32P value of the current control function channel
3, 4 (= value in % referred to the preset- actual
value difference)
20052I value channel
3, 4
20053max� current
channel 3, 4
20060Control parame-
ters channel 5, 6
20061P value channel
5, 6
20062I value channel
5, 6
20063max� current
channel 5, 6
20070Control parame-
ters channel 7, 8
20071P value channel
7, 8
u8, rw0x14I value of the current control function channel
3, 4 (= value in % referred to the preset- actual
value difference)
u16, rw0xFA0max� possible load current in mA (= current at
1000‰ PWM)
u8, ro0x03Number of the entries
(= number of the control parameters)
u8, rw0x32P value of the current control function channel
5, 6 (= value in % referred to the preset- actual
value difference)
u8, rw0x14I value of the current control function channel
5, 6 (= value in % referred to the preset- actual
value difference)
u16, rw0xFA0max� possible load current in mA (= current at
1000‰ PWM)
u8, ro0x03Number of the entries
(= number of the control parameters)
u8, rw0x32P value of the current control function channel
7, 8 (= value in % referred to the preset- actual
value difference)
20072I value channel
7, 8
20073max� current
channel 7, 8
26
u8, rw0x14I value of the current control function channel
7, 8 (= value in % referred to the preset- actual
value difference)
u16, rw0xFA0max� possible load current in mA (= current at
1000‰ PWM)
Page 27
IndexS-IdxDesignationTypeDefaultDescription
CompactModule Metall CR2031
20F0
20F1
**)
20F2
20F3
**)
*) Observe hex-code switch position!
Entries under 20F0/20F1 and 20F2/20F3 are only valid if the hex-code switches for baud rate (S1) and/or
node ID (S2, S3) are in the position "F"� (For position and coding of the hex-code switches see connecting and
operating elements → 10 Technical data)
**) The entries 20F0/20F1 and 20F2/20F3 must always contain identical values� The new entries are valid
after a reset (switching the module off/on)�
Values outside the permissible ranges will be rejected�
Explanation of the abbreviations:
0x��� = hexadecimal number
0b��� = binary value
0d��� = decimal numerical value
0Setting of the
Node ID *)
0Setting of the
Baud rate *)
u8, rw0x20
(= 0d32)
u8, rw0x04Baud rate of the CAN network 0 = 1000 kBaud
The node ID used to access the module in the
CANopen network�
str = string
rw = read-write
ro = read only
u8 = unsigned 8 bit
u16 = unsigned 16 bit
UK
12.2 Communication Profile Area; index 1000 to 1FFF
IndexS-IdxDesignationTypeDefaultDescription
10000Device typeu32, ro0x00030191Profile 401;
Inputs and outputs, binary and analogue
10010Error registeru8, ro0x00Bit-coded to profile 301, the following is sup-
ported: 0b 0000 0000 no error
0b 0000 0001 generic error
0b 0001 0000 communication error
0b 1000 0000 manufacturer specific
10030Pre-defined
errorfield
10031Error historyu64, ro0x00Error occured, coded according to the EMCY
10050COB ID
synch objekt
10060Communic�
Cycle
u8, ro0x00An error list with 4 entries is supported�
list, the last error is in the sub- index 1�
u32, rw0x00000080Module generates no synch message (bit 30
= 0)
11-bit identifier system (bit 29 = 0)
Identifier of the synch message
u32, rw0x00000000Max� time between 2 synch objects in µs Useful
resolution = 1ms
10080Device namestr, roCR2031Device name
10090HW Versionstr, rox�xHardware version
27
Page 28
CompactModule Metall CR2031
IndexS-IdxDesignationTypeDefaultDescription
100A0SW Versionstr, rox�xSoftware version
100C0Guard timeu16, rw0x0000Time 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� Note:
Node monitoring with "node guarding" or "heartbeat" can only to be used as an alternative�
100D0Life time
factor
10100Number of
save options
10101"Save all
parameters”
10110Number
of restore
options
10111"Reset for all
parameters”
10140COB ID
Emergency
u8, rw0x00If no "node guarding" is received for "guard
time" x "life time", the module switches the
outputs off�
The module changes the CANopen status to
PREOP�
The result from "guard time" x "life time" must
be between 0 and 65535�
u8, ro0x01Number of the "save" options
u32, rw0x02Automatic saving of all changed parameters
OFF/ON�
0 = AutoSave OFF 2 = AutoSave ON
u8, ro0x01Number of the "restore" options
u32, rw0x01If the string "load" is entered here, the parame-
ters are assigned to the factory default values
and are valid after the next reset�
u32, rw0x00000080
+ Node ID
- EMCY is valid (Bit 31 = 0)
- EMCY is not valid (Bit 31 = 1)
- 11 Bit ID (Bit 29 = 0)
- ID = 0x80 + Node ID
CAN identifier can be changed by the user
10160Number
of options
Consumer
heartbeat
time
10161Consumer
heartbeat
time
10170Producer
heartbeat
time
10180Number
of identity
objects
28
u8, ro0x01Number of the monitored units
u32, rw0x00Heartbeat monitoring time for node n� Monitor-
ing of only one node is supported�
0x0nntttt = monitoring time [ms]
0x0nntttt = node number
(If nn or tttt = 0, no monitoring is carried out)
Note:
Node monitoring with "node guarding" or "heartbeat" is only to be used as an alternative�
u16, rw0x00Time interval [ms] where the inclination sensor
generates a producer heartbeat�
u8, ro0x01Device identification
Page 29
CompactModule Metall CR2031
IndexS-IdxDesignationTypeDefaultDescription
10181Vendor IDu32, ro0x0069666DVendor ID to CiA specification
Outputs are only updated after "n" synch
objects�
n = 0x01 (1) ��� 0xF0 (240)
0xFC/0xFD not implemented
0xFE = asynch manuf� specific event, outputs
are updated immediately 0xFF = asynch device
profile event, outputs are updated immediately
Analogue outputs
- PDO is valid (Bit 31 = 0)
- CAN ID of the 2nd Rec PDOs
Outputs are only updated after "n" synch
objects�
n = 0x01 (1) ��� 0xF0 (240)
0xFC/0xFD not implemented
0xFE = asynch manuf� specific event, outputs
are updated immediately 0xFF = asynch device
profile event, outputs are updated immediately
UK
16000Mapping Rec
PDO 1
16001Index in
the object
directory
16010Mapping Rec
PDO 2
16011Index in
the object
directory
16012Index in
the object
directory
u32, ro0x01Number of the application objects linked with
u32, ro0x04Number of the application objects linked with
the analogue output PDO
u32, ro0x6411 016411 Sldx 01 contains the preset value of the
analogue output channel 1 or 2� The value is interpreted as pulse/break ratio in ‰ or as preset
current value (depending on the configuration of
the index 2000, → 12 Object directory)�
u32, ro0x6411 026411 Sldx 02 contains the preset value of the
analogue output channel 3 or 4� The value is interpreted as pulse/break ratio in ‰ or as preset
current value (depending on the configuration)�
29
Page 30
CompactModule Metall CR2031
IndexS-IdxDesignationTypeDefaultDescription
16013Index in
the object
directory
16014Index in
the object
directory
18000Trans PDO 1u8, ro0x05Number of the entries Trans PDO 1
18001COB ID
PDO 1
18002Trans Type
PDO 1
u32, ro0x6411 036411 Sldx 03 contains the preset value of the
analogue output channel 5 or 6� The value is interpreted as pulse/break ratio in ‰ or as preset
current value (depending on the configuration)�
u32, ro0x6411 046411 Sldx 04 contains the preset value of the
analogue output channel 7 or 8� The value is interpreted as pulse/break ratio in ‰ or as preset
current value (depending on the configuration)�
(Actual current value)
u32, rw0x180 +
Node ID
u8, rw0x010x00 = synch acyclic
- PDO is valid (Bit 31 = 0)
- CAN ID of the 1st Trans PDOs
0x01���0xF0 = synch cyclic;
Current values are only transferred after "n"
synch objects�
n = 0x01 (1) ��� 0xF0 (240)
0xFC/0xFD not implemented
0xFE = asynch man� spec� event;
Current values are immediately transferred�
0xFF = asynch device profile event;
Current values are immediately transferred�
18005Event timer
Trans PDO 1
1A000Mapping
Trans PDO 1
1A001Index in
the object
directory
1A002Index in
the object
directory
1A003Index in
the object
directory
1A004Index in
the object
directory
u16,rw0x00Max� transfer break
in trans type "asynch" (0���65535 ms), when this
time has elapsed the PDO is transferred even if
the appl� event has not occurred�
u32, ro0x04Number of the linked application objects (actual
current values)
u32, ro0x2002 01Idx 2002, SIdx 01 contains the actual current
value channel 1/2
u32, ro0x2002 02Idx 2002, SIdx 02 contains the actual current
value channel 3/4
u32, ro0x2002 03Idx 2002, SIdx 03 contains the actual current
value channel 5/6
u32, ro0x2002 04Idx 2002, SIdx 04 contains the actual current
value channel 7/8
13 Maintenance, repair and disposal
As the module does not contain any components which must be maintained by the
user, the housing must not be opened�The maintenance of the module may only
be carried out by the manufacturer�
30
Page 31
CompactModule Metall CR2031
The disposal must be carried out according to the corresponding national environmental regulations�
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�
CAN-based network protocol on application level
CANController Area Network (bus system for use in mobile applications)
CAN_HCAN-High; CAN connection /cable with high voltage level
CAN_LCAN-Low; CAN connection /cable with low voltage level
CANopen CAN-based network protocol on application level with an open configuration interface
(object directory)
CiA"CAN in Automation e�V�" (user and manufacturer organisation in Germany/Erlangen)
Definition and control body for CAN and CAN-based network protocols
CiA DSDraft Standard (published CiA specification which usually has not been modified or supple-
mented for one year)
CiA DSPDraft Standard Proposal (published CiA specification draft)
UK
CiA WDWork Draft (work draft accepted for discussion within CiA)
CiA DS 301Specification for CANopen communication profile;
describes the basic communication between network participants, such as the transfer of
process data in real time, the exchange of data between units or the configuration stage�
Depending on the application this is completed by the following CiA specifications:
CiA DS 401Device profile for digital and analogue I/O modules
CiA DS 402Device profile for drives
CiA DS 403Device profile for HMI
CiA DS 404Device profile for measurement and control technology
CiA DS 405Specification for interfaces to programmable systems (IEC 61131-3)
CiA DS 406Device profile for encoders
CiA DS 407Application profile for local public transport
COBCANopen Communication Object (PDO, SDO EMCY, ���)
COB IDCANopen Identifier of a Communication Object
Communication
cycle
EMCY ObjectEmergency Object (alarm message, device indicates an error)
the synchronisation time to be monitored, max� time between 2 Sync objects
31
Page 32
CompactModule Metall CR2031
Error RegError Register (entry with an error code)
Guarding ErrorNode 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 TimeDuring this time the network participant expects a "Node Guarding" of the network master
HeartbeatCyclic monitoring with parameter setting among network participants� In contrast to "node
guarding" no superior NMT master is required�
ID
(Identifier)
identifies a CAN message� The numerical value of the ID also contains a priority for the
access to the bus system� ID 0 = top priority
Idx index; together with the S index it forms the address of an entry in the object directory
Life Time Factornumber of attempts in case of a missing Guarding reply
Monitoringis used to describe the error class (guarding monitoring, synch etc�)
NMTnetwork management
NMT-Master/-
The NMT master controls the operating states of the NMT slaves
Slaves
Node Guardingadjustable cyclic monitoring of slave network participants by a higher master node as well
as the monitoring of this polling process by the slave participants
Node IDnode identifier (identification of a participant in the CANopen network)
Object (OBJ)term for data/messages which can be exchanged in the CANopen network
Object directorycontains all CANopen communication parameters of a device as well as device-specific
parameters and data� Access to the individual entries is possible via the index and S index�
OperationalOperating state of a CANopen participant�
In this mode SDOs, NMT commands and PDOs can be transferred�
PDOProcess Data Object; in the CANopen network for transfer of process data in real time;
such as the speed of a motor� PDOs have a higher priority than SDOs; in contrast to the
SDOs they are transferred without confirmation� PDOs consist of a CAN message with
identifier and up to 8 bytes of user data�
PDO Mappingdescribes the application data transferred with a PDO�
Pre-OpPreoperational; operating state of a CANopen participant�
After application of the supply voltage each participant automatically goes into this state�
In the CANopen network only SDOs and NMT commands can be transferred in this mode
but no process data�
Prepared(also stopped) operating state of a CANopen participant In this mode only NMT commands
are transferred�
Rec PDO
Receive Process Data Object
(Rx PDO)
ro read only (unidirectional)
rw read-write (bidirectional)
Rx-Queuereception buffer
s16data type signed 16 bit
SDOService Data Object� With this object direct access to the object directory of a network
participant is possible (read/write)� An SDO can consist of several CAN messages� The
transfer of the individual messages is confirmed by the addressed participant�
With the SDOs devices can be configured and parameters can be set�
Server SDOprocess and parameter set to make the object directory of a network participant available to
other participants (clients)�
S-Idx
Subindex within the object directory of a CANopen device
(SIdx)
Start Guardingstart node guarding
strdata type string (variable for strings such as text "load")
32
Page 33
CompactModule Metall CR2031
Sync Errormissing Sync OBJ in the adjustable communication cycle
Sync OBJsynchronisation object for simultaneous update in the complete network or for accepting
process data of the respective parameterised PDOs�
Sync Windowstime during which the synchronous PDOs have to be transferred
Time Stamptime stamp to align existing clocks in network participants
Trans Typetype of process data transmission; synchronous, asynchronous
Trans PDO
(Tx PDO)
Trans SDO
(Tx SDO)
Tx-Queue(transmit) transmission buffer
u8 (16, 32)data type unsigned 8 (16, 32) bits
wowrite only
transmit process data object
transmit service data object
UK
33
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.