CANopen Slave Documentation
Version 6.16.04
Loading...
Searching...
No Matches
NMT node state

Macros

#define NODE_STATE_BOOTUP   ((uint8_t)(0x00))
 
#define NODE_STATE_STOPPED   ((uint8_t)(0x04))
 
#define NODE_STATE_OPERATIONAL   ((uint8_t)(0x05))
 
#define NODE_STATE_PREOPERATIONAL   ((uint8_t)(0x7F))
 
#define NODE_STATE_BUS_OFF   ((uint8_t)(0xFF))
 

Detailed Description

The function CosNmtGetNodeState() can be used to retrieve the current NMT state.

Macro Definition Documentation

◆ NODE_STATE_BOOTUP

#define NODE_STATE_BOOTUP   ((uint8_t)(0x00))

Node is in boot-up state

◆ NODE_STATE_BUS_OFF

#define NODE_STATE_BUS_OFF   ((uint8_t)(0xFF))

Node is in bus-off state

◆ NODE_STATE_OPERATIONAL

#define NODE_STATE_OPERATIONAL   ((uint8_t)(0x05))

Node is in NMT operational state

◆ NODE_STATE_PREOPERATIONAL

#define NODE_STATE_PREOPERATIONAL   ((uint8_t)(0x7F))

Node is in NMT pre-operational state

◆ NODE_STATE_STOPPED

#define NODE_STATE_STOPPED   ((uint8_t)(0x04))

Node is in NMT stopped state