Breadcrumbs

GetLastAlarm.srv

Features

This service is used to check the most recent log and alarm codes generated by the robot controller.

Return

Return Name

Data Type

Default Value

Description

log_alarm

LogAlarm.msg

-

refet to LogAlam.msg

success

bool

-

True or False

LogAlarm.msg

Parameter Name

Data Type

Default Value

Description

level

int32

-

refet to enum.LOG _LEVEL

group

int32

-

refet to enum.LOG _GROUP

index

int32

-

error code

param

string[3]

-

param[3]

 enum.LOG_LEVEL

Num

Name

Description

0

LOG_LEVEL_RESERVED

reserved

1

LOG_LEVEL_SYSINFO

Informational messages about basic functions and operational errors

2

LOG_LEVEL_SYSWARN

Robot is stopped due to basic function and operation error

3

LOG_LEVEL_SYSERROR

Robot is stopped due to safety issue or device error

 enum.LOG_GROUP

Num

Name

Description

0

LOG_GROUP_RESERVED

reserved

1

LOG_GROUP_SYSTEMFMK

framework

2

eLOG_GROUP_MOTIONLIB,

Motion algorithm

3

LOG_GROUP_SMARTTP

TP program (GUI)

4

LOG_GROUP_INVERTER

Robot Inverter Board

5

LOG_GROUP_SAFETYCONTROLLER

Safety Controller

 

The log and alarm messages are passed through the predefined contents through the number, and the relevant parameters are sent together if necessary.

Please refer to log and alarm definition section for details.