CANopen Master Documentation
Version 6.06.04
Loading...
Searching...
No Matches
COB-ID flags

Macros

#define ID_FLAG_EXTENDED   ((uint32_t) 0x20000000)
 
#define ID_FLAG_NO_RTR   ((uint32_t) 0x40000000)
 
#define ID_FLAG_DISABLED   ((uint32_t) 0x80000000)
 
#define ID_MASK_VALUE   ((uint32_t) 0x1FFFFFFF)
 

Detailed Description

The COB-ID for various CANopen services (PDO, TIME, SYNC) can be changed via the object dictionary. The ID_FLAG definitions specify the bit positions for controlling the COB-ID value.

Macro Definition Documentation

◆ ID_FLAG_DISABLED

#define ID_FLAG_DISABLED   ((uint32_t) 0x80000000)

Disable service.

The identifier for the CANopen service is disabled in case the bit is set within the COB-ID object, i.e. it is not possible to receive or transmit data.

◆ ID_FLAG_EXTENDED

#define ID_FLAG_EXTENDED   ((uint32_t) 0x20000000)

Extended frame format.

The identifier for the CANopen service uses the Extended Frame Format (EFF, 29-Bit CAN-ID) in case the bit is set within the COB-ID object. Otherwise the the Base Frame Format (BFF, 11-Bit CAN-ID) is used

◆ ID_FLAG_NO_RTR

#define ID_FLAG_NO_RTR   ((uint32_t) 0x40000000)

No RTR allowed on this PDO.

This flag is only valid for TPDO COB-ID configuration. No RTR allowed on this PDO in case the bit is set within the COB-ID object.

◆ ID_MASK_VALUE

#define ID_MASK_VALUE   ((uint32_t) 0x1FFFFFFF)

Mask the valid 29-bit identifier value.