Professional Documents
Culture Documents
Can Tech 2006 4 CANopen Safety
Can Tech 2006 4 CANopen Safety
Sensor Actuator
safety shutoff
safety switching 2nd shutoff path
device
Safety Applikation
object dictionary monitoring the
(DS4xx)
2nd shutoff path
/NMI
alternating transmission
CAN- Transceiver
CAN-Bus
Reiner Zitzmann
(CAN in Automation)
www.can-cia.org
© CiA
CAN
Application fields
• Generic control functions in machine building (SIL2 and SIL3)
• Interfaces for extruder downstream devices (SIL2)
• Embedded control system for medical devices (SIL2 and SIL3)
• Control systems for industrial cranes (SIL3)
• Electronic control units for forklifts (SIL3)
• Elevator control systems (SIL2 and SIL3)
• Garbage truck bodies and off-road vehicles (SIL2)
• Control systems for rail vehicles and locomotives (SIL3)
• Embedded control systems for building doors (SIL2)
CANopen
safety easy to use
© CiA
CAN
CANopen safety device
I/O lines
(Process IF)
Multiple device
SRDO
(Safety IF) Object dictionary
Logical Logical
device 1 device 8
Virtual Virtual
PDO/SDO device 1 SDO
device 1
(Control IF) to (Configuration IF)
to
to
Virtual Virtual
device n device n
Emergency/SDO
(Diagnostics IF)
© CiA
CAN
Communication profile area
Index range Description
1000h to 1029h General communication objects
1200h to 12FFh SDO parameter objects
1300h to 13FFh CANopen safety objects
1400h to 1BFFh PDO parameter objects
1F00h to 1F11h SDO manager objects
1F20h to 1F27h Configuration manager objects
1F50h to 1F54h Program control objects
1F80h to 1F89h NMT master objects
© CiA
CAN
Communication protocols
◆ Service Data Object (SDO) protocols
◆ Standard SDO protocols
◆ SDO block protocols
◆ Safety-Related Data Object (SRDO) protocol
◆ Process Data Object (PDO) protocol
◆ Special object protocols:
◆ Synchronization (SYNC) protocol
◆ Time Stamp (TIME) protocol
◆ Emergency (EMCY) protocol
◆ Network Management protocols:
◆ NMT Message protocol
◆ Boot-Up protocol
◆ Error Control protocols
- Heartbeat protocol
- Node guarding protocol
© CiA
CAN CANopen network with safe nodes
PLC
S1 N1 S2 N2 N3 D1 S3
Drive
Controll
Emergency SLM M
Push Button
Sx Safety Node (S3: Saftey controller)
Nx Normal Node
Dx Drive Controll
© CiA
CAN
Safety-relevant Data Object
© CiA
CAN
SRDO Timing
SRDO1 SRDO1 SRDO1
refresh-time refresh-time
SCT expired
time
SCT
SCT
SCT
SRVT
expired
time
SRVT SRVT SRVT
© CiA
CAN
SRDO parameter record
© CiA
CAN
Optionally reserved IDs
© CiA
CAN
SRDO mapping
Object Dictionary
Index Sub Object contents
1381h 01h 2000h 01h 8h
1381h 02h 2003h 03h 10h SRDO_1
1381h 03h 2003h 01h 8h Object A Object G Object E
© CiA
CAN
Variable SRDO mapping
Object Dictionary
Index Sub Object contents
1381h 01h 2000h 01h 8h
1381h 02h 2001
2003h 00
03h 10h SRDO_1
1381h 03h 2003h 01h 8h Object A Object G
C Object E
© CiA
CAN
Object dictionary extension
1
Index Object Name Type Acc. M/O
1300h VAR GFC parameter UNSIGNED8 rw O
SRDO Communication Parameter
st
1301h RECORD 1 SRDO parameter SRDO Parameter (26h) rw M
nd
1302h RECORD 2 SRDO parameter SRDO Parameter (26h) rw M/O*
::::: ::::: ::::: ::::: ::::: :::::
th
1340h RECORD 64 SRDO parameter SRDO Parameter (26h) rw M/O*
1341h reserved
::::: :::::
1380h reserved
SRDO Mapping Parameter
st
1381h ARRAY 1 SRDO mapping UNSIGNED32 rw M
nd
1382h ARRAY 2 SRDO mapping UNSIGNED32 rw M/O*
::::: ::::: ::::: ::::: ::::: :::::
th
13C0h ARRAY 64 SRDO mapping UNSIGNED32 rw M/O*
13C1h reserved
::::: :::::
13FDh reserved
13FEh VAR Configuration valid UNSIGNED 8 rw M
13FFh ARRAY Safety Configuration Checksum UNSIGNED16 ro M
© CiA
CAN
BIA approval
© CiA
CAN
Communication failures
(1) Message repetition
(7) Coupling
© CiA
CAN
Failure-avoiding methods
(1) Running number in safety-relevant messages
(3) Time-out
© CiA
CAN
BIA recommendations
Running number
Different data
Confirmation
Identification
Cross-check
Time mark
Time-out
CRC
Repetition x x - - - - x - 1) application-specific
2) only for producer
Lost x - - x - - x - 3) mandatory
4) low error-rate shall be
Insertion x - - x1 x2 - x - testable
Wrong sequence x x - - - - x -
Corruption - - - x - x x4 -
Delay - x xx3 - - - - -
Methods used by
Coupling - - - x1 x - - x
CANopen Safety
© CiA
CAN
CANopen safety chip
Sensor Actuator
safety shutoff
safety switching 2nd shutoff path
device
Safety Applikation
object dictionary monitoring the
(DS4xx)
2nd shutoff path
/NMI
alternating transmission
CAN- Transceiver
CAN-Bus
© CiA
CAN
Requirements (Consortium)
CANopen Safety
• 2 independent CAN controllers
• 2 TSRDO + 2 RSRDO
• Minimal SRVT: 5 ms
• Minimal refresh-time: 20 ms
CANopen
• 2 TPDO + 2 RPDO
• SRDO/PDO linking
• SRDO/PDO static mapping
• Heartbeat producer
• Emergency producer
© CiA