ROBOT_LED_CONFIG
This structure defines the LED behavior configuration for the robot controller. It determines the LED color rules and mappings according to different safety states.
BYTE# |
Field Name |
Data Type |
Value |
Remarks |
|---|---|---|---|---|
0 |
|
|
LED control rule indicator (used to define LED operation mode) |
|
1 |
|
|
LED color mapping table for each safety state. |
|
39 |
|
|
LED color setting used for command or override state |
Total size: 40 bytes
Defined in: DRFS.h
typedef struct _ROBOT_LED_CONFIG
{
unsigned char _szLedRule; /* LED control rule */
unsigned char _szStateColor[SAFETY_STATE_LAST][2]; /* [state][0]: color1, [state][1]: color2 */
unsigned char _szCommandColor; /* LED color for command state */
} ROBOT_LED_CONFIG, *LPROBOT_LED_CONFIG;