For information on the latest version, please have a look at 1.33.5.
LOG_ALARM
This structure holds information for checking functional and operational errors that occur in the robot controller due to internal or external factors, and consists of the following fields.
BYTE# |
Field Name |
Data Type |
Value |
Remarks |
|---|---|---|---|---|
0 |
|
|
1 = info, 2 = warning, 3 = error |
|
1 |
|
|
Classification Number (Classification Code) |
|
2 |
|
|
Log Number (Message Number) |
|
6 |
|
|
Message parameter 1 (string, null-terminated if shorter than 256 bytes) |
|
262 |
|
|
Message parameter 2 (string, null-terminated if shorter than 256 bytes) |
|
518 |
|
|
Message parameter 3 (string, null-terminated if shorter than 256 bytes) |
Total size: 774 bytes
Defined in: DRFS.h
typedef struct _LOG_ALARM
{
unsigned char _iLevel; /* 1 = info, 2 = warning, 3 = error */
unsigned char _iGroup; /* Classification code */
unsigned int _iIndex; /* Message number */
char _szParam[3][MAX_STRING_SIZE]; /* Message parameters */
} LOG_ALARM, *LPLOG_ALARM;
typedef LOG_ALARM MONITORING_ALARM;
Classification and error messages carry predefined content, and related parameters are sent when needed. Refer to the log and alarm definitions for further details.
An alarm index is unique only within its group. Always match the pair (group, index); the same index has different meanings in different groups.
The controller identifies each alarm by its group and index. DART Studio shows the message of each alarm it receives while connected, and the alarm search on the Doosan Robotics service portal describes every alarm code.