
however, be changed at any time in the CANopen® network via a DBT master.
If necessary, the changed parameters can be saved in the EEPROM and loaded
automatically the next time the device is switched on and configured.
Once the configuration process is finished, the encoder is switched from pre-
operational to operational mode using a Start_Remote_Node command. While in
this mode, user data can be transmitted (via PDOs). The transmission of the PDOs
can occur in one of two ways:
Either the encoder sends its data cyclically, or data transmission is triggered by
the receipt of a SYNC object.
To initiate the sending of position messages by the encoder, it is necessary to first
send a node start message:
Node start message
Data source COB-ID Data Destination
Controller 000h 01; 001; 00; 00; 00; 00; 00;
00 Sensor
1NODE ID "00" Sets all nodes to pre-operational status
6.3.10 CANopen® - configuring the operating parameters
At system startup (power-on reset), the device loads the operating parameters
stored in the EEPROM. These are either the factor-set values, or previously
changed and saved values.
Changes are made, for example, via SDOs while in pre-operational mode. The
identifiers are automatically set to suitable default values and saved when pro‐
gramming the node ID. They can subsequently be changed.
These operating parameters are stored in the object directory of the device, which
provides the means for implementing the internal characteristics and functions
of the device, as well as external communication. For this purpose, the object
directory is divided into two parts: a Communication Profile, and a Device Profile.
Communication Profile:
•The Communication Profile contains the parameters relevant to communi‐
cation, e.g., identifier settings and PDO configuration settings. The device
is equipped with the encoder communication protocol (Device Profile for
Encoder – DS406 Vers. 3.1). This enables devices from different manufac‐
turers to be easily linked to one another and replaced.
PDO transmission type:
•By default, the PDO transmission type is set to asynchronous, i.e. the
encoder transmits its process data independently according to the config‐
ured cycle time. The PDO transmission type can also be set in such a way
that process data is only sent after a SYNC message is received.
PDO object mapping:
•The device does not support dynamic mapping or changing of the mapping
parameters. PDO1 and PDO2 transmit the position and speed.
Error messages:
•The device automatically sends an emergency object when an error arises.
Device profile:
•The parameters important to the operation of the encoder, such as position
resolution, speed resolution, and cycle time, are stored in the Device Profile.
Two important operating parameters are:
Resolution:
°The resolution of the linear encoder is type-dependent according to
the configuration. The resolution for motion speed is set to 1mm/s
by default. You can find more information in the “Technical Information
(80xxxxx)” document.
Cycle time:
°This setting is the cycle time for transmission of PDOs. The value can
be in the range of 1 ... 65,535ms. Programming the cycle time (object
6200) only affects the PDO1 event timer (see DS406 V3.0).
°The cycle time setting must match the setting configured for the CAN
bus network. If the cycle time is too short, and the baud rate is high
and there are many subscribers, the bus can become overloaded due
to the increased volume of data. The cycle time is set using the follow‐
ing commands (e.g., 10, Node ID =127*):
Setting the cycle time
Data source COB-ID Data Destination
Controller 67fh* 22; 00; 62; 00; 0A; 00; 00; 00 Sensor
Sensor 5ffh* 60; 00; 62; 00; 00; 00; 00; 00 Controller
Saving the cycle time
Data source COB-ID Data Destination
Controller 67fh* 22; 10; 10; 01; 73; 61; 76; 65 Sensor
Sensor 7ffh* 60; 10; 10; 01; 00; 00; 00; 00 Controller
6.3.11 CANopen® - encoder data during operation
Data is output by means of a Process Data Object (PDO). The PDO contains the
position and speed data.
Data format
The resolution of the position data depends on the type (according to the configu‐
ration of the respective linear encoder) and the resolution of the speed data is
1mm/s. The currently set values can be read under index 6005 of the object
directory. All position data are stored as 32-bit integer values, and speed data as
16-bit integer values.
PDO allocation when using the default settings
Identifier DLC D0 D1 D2 D3 D4 D5
180h + Node ID 6 Position magnet 1 Speed magnet 1
Calculation of position and speed:
Position [μm] = position value [digits] * resolution in µm (type-dependent)
Speed [mm/s] = speed value [digits] * 1mm/s
6.3.12 CANopen® - error message
An emergency object is sent whenever there is a change to the internal error
status register (even if the error has since been rectified). The object comprises 8
data bytes and is structured as follows:
Emergency object
Identifier DLC D0 D1 D2 D3 D4 D5
0x80 + Node ID 8 Error code Error register Manufacturer-specific
The following errors are reported in the emergency object:
Error codes
Error codes Meaning
0000h Device is operating without errors
5000h Device hardware error
6300h Data set error
There are other error registers in addition to the table of error codes.
Emergency Object message
COB-ID Rx/Tx DLC Data
D0 D1 D2 D3 D4 D5 D6 D7
80h + Node ID Tx 8 Emergency
Error Code Error
Regis‐
ter
Object
1001
h
Status reg 1002h 00h
Error codes
Error Code (hex) Meaning
0000h Error Reset or No Error
3110h Supply voltage exceeded
4000h Temperature range exceeded
5000h Device hardware
6000h Device software
8100h Communication error
8130h Node guarding error
FF00h Device profile error
Error register
Error Register (hex) Meaning
00h Not an error
01h Data set error
04h Supply voltage error
08h Temperature error
10h Communication error
20h Device profile
80h Error with the manufacturer/device hardware
6.4 Using a 2nd position magnet with CANopen®
When using CANopen®, up to 2 position magnets can be used on one linear
encoder. It should be noted that the 1st position magnet communicates the
process data in PDO1, and the 2nd position magnet transmits the process data in
PDO2.
The following communication settings are the default according to CIA:
PDO1: Asynchronous mode (TXPDO-1 transmission type = FFh)
PDO2: Synchronous mode (TXPDO-2 transmission type = 01h)
If the two PDOs are to behave in the same way, the transmission type in objects
1800.2h and 1801.2h must be set to the same value.
E.g., both PDOs communicate within a 10ms cycle depending on the event timer:
PDO1: Object 1800.2h = FFh and object 1800.5h = 0Ah
PDO2: Object 1801.2h = FFh and object 1801.5h = 0Ah
Saving the configuration: Object 1010.1h = 73 61 76 65h
6.5 Power-up and output signal in the event of a fault
During power-up, the signal output for analog devices is ≥ F.S.O = Full Scale
Output. After that the device is ready for use. The signal output is only available to
CANopen® devices after the boot-up time.
Operational statuses and output signal
Output signal
Output variant During the power-up If an error occurs
8028139/1LXF/2023/12/01/de, en DAX® | SICK 15