CANopenNode
Safety Related Data Objects (SRDO)

Specified in standard EN 50325-5 (CiA 304) More...

Macros

#define CO_CONFIG_GFC   (0)
 Configuration of GFC. More...
 
#define CO_CONFIG_SRDO   (0)
 Configuration of SRDO. More...
 
#define CO_CONFIG_SRDO_MINIMUM_DELAY   0
 SRDO Tx time delay. More...
 

Detailed Description

Specified in standard EN 50325-5 (CiA 304)

Macro Definition Documentation

◆ CO_CONFIG_GFC

#define CO_CONFIG_GFC   (0)

Configuration of GFC.

Possible flags, can be ORed:

  • CO_CONFIG_GFC_ENABLE - Enable the GFC object
  • CO_CONFIG_GFC_CONSUMER - Enable the GFC consumer
  • CO_CONFIG_GFC_PRODUCER - Enable the GFC producer

◆ CO_CONFIG_SRDO

#define CO_CONFIG_SRDO   (0)

Configuration of SRDO.

Possible flags, can be ORed:

  • CO_CONFIG_SRDO_ENABLE - Enable the SRDO object.
  • CO_CONFIG_SRDO_CHECK_TX - Enable checking data before sending.
  • CO_CONFIG_RSRDO_CALLS_EXTENSION - Enable calling configured extension callbacks when received RSRDO CAN message modifies OD entries.
  • CO_CONFIG_TRSRDO_CALLS_EXTENSION - Enable calling configured extension callbacks before TSRDO CAN message is sent.
  • CO_CONFIG_FLAG_CALLBACK_PRE - Enable custom callback after preprocessing received RSRDO CAN message. Callback is configured by CO_SRDO_initCallbackPre().
  • CO_CONFIG_FLAG_TIMERNEXT - Enable calculation of timerNext_us variable inside CO_SRDO_process() (Tx SRDO only).

◆ CO_CONFIG_SRDO_MINIMUM_DELAY

#define CO_CONFIG_SRDO_MINIMUM_DELAY   0

SRDO Tx time delay.

minimum time between the first and second SRDO (Tx) message in us