CANopen Slave Documentation
Version 6.16.04
|
The add-on module Safety allows the integration of the SRDO service as specified in EN 50525-5.
CANopen defines communication profiles based on ISO 11898-1. The basic profiles are defined in EN 50325-4. The SRCP (Safety-related communication profile and protocols, i.e. CANopen Safety) is based on the basic profiles in EN 50325-4 and the SCL (Safety Communication Layer, EN 61784–3) specification.
The SRCP is based on the producer/consumer model. The pairing of producers and consumers is an important part of the relationship that provides the high integrity needed for SRLD (Safety-related logical device). The SCL is specified using SR (Safety-related) data objects (SRDOs). These objects are serving as the interface between the SR application objects and the link layer connections. An SRDO ensures the integrity of the safety data transfers.
The module version is defined by COS_SAFETY_VERSION_MAJOR and COS_SAFETY_VERSION_MINOR.
The module is configured by setting of the following symbols inside the cos_conf.h
file:
COS_SRDO_NUMBER | number of supported SRDOs |
The mapping of the SRDOs is accomplished by CosSafetySetMapEntries(), the default mapping of the SRDOs has to be set before the CANopen Slave protocol stack is started.
Please note that SRDOs are only able to receive or send process data after the CRC procedure described inside the EN 50525-5 has been executed.
cos_safety.h | CANopen Safety add-on module |