Baumer GNAMG Series Handmatig - Pagina 7

Blader online of download pdf Handmatig voor {categorie_naam} Baumer GNAMG Series. Baumer GNAMG Series 41 pagina's. Inclination sensor with canopen interface

Baumer GNAMG Series Handmatig

3.3. CANopen communication

3.3.1. Communication profile

Communication between network users and master (PC / control) is effected by object directories and objects.
Adressing the objects is by help of a 16bit index. The individual communication objects are standardized by
CANopen communication profile DS 301. They are subdivided into several groups:
• Process DataOobjects PDO for process data transmission in realtime
• Service Data Objects SDO for write and read access to the object directory
• objects for synchronisation and error warnings of CAN users:
SYNC-object (synchronisation object) for synchronisation of network users
EMCY-object (emergency object) for error warnings of a single device or its periphery
• Network Management NMT (network management) for initialization and network control
• Layer Setting Services LSS for configuration by serial number, revision number etc within the existing
network

3.3.2. CANopen message structure

First part of the message is the COB-ID (identifier).
Structure of the 11-Bit COB-ID :
Function Code
4 Bit Function code
The function code is defining the kind of message and priority. The lower the COB-ID, the higher the priority of
the message.
Broadcast messages:
Function code
NMT
SYNC
Peer to Peer messages:
Function code
COB-ID
Emergency
1)
PDO1 (tx)
180h + Node-ID
1)
PDO2 (tx)
280h + Node-ID
1)
SDO (tx)
580h + Node-ID
1)
SDO (rx)
600h + Node-ID
Heartbeat
700h + Node-ID
1)
LSS (tx)
7E4h
1)
LSS (rx)
7E5h
The Node-ID is optionally set anywhere between 1 and 127 via the CANopen bus (if rotary switch = 0). Default
setting of the inclination sensor is Node ID 1.
Changing the Node-ID is effected by using service data object 2101h or by LSS.
A CAN telegram consists of the COB-ID and a data packet of max. 8 bytes:
COB-ID DLC
Byte 1
Xxx
x
xx
More detailed information on the telegram structure in later chapters.
Manual_GNAMG_CANopen_EN.doc
21.11.12
Node-ID
7 Bit Node-ID
COB-ID
0
80h
80h + Node-ID
1): (tx) and (rx) from the inclination sensor's point of
view
Byte 2
Byte 3
xx
xx
Byte 4
Byte 5
Byte 6
xx
xx
xx
7/41
Byte 7
Byte 8
xx
xx
Baumer IVO GmbH & Co. KG
Villingen-Schwenningen, Germany