PROGRAM_STOP_CAUSE

This enumeration specifies the reason a program was terminated in the robot controller, and is defined as follows.

Value

Constant Name

Description

0

PROGRAM_STOP_CAUSE_NORMAL

Normal Program Termination

1

PROGRAM_STOP_CAUSE_FORCE

Forced Program Termination

2

PROGRAM_STOP_CAUSE_ERROR

Program Termination Caused by Internal/External Errors

3

PROGRAM_STOP_CAUSE_LAST

Internal end marker of the PROGRAM_STOP_CAUSE enumeration.
Used to define the total number of valid stop cause states.

Defined in: DRFC.h

typedef enum {
    PROGRAM_STOP_CAUSE_NORMAL,
    PROGRAM_STOP_CAUSE_FORCE,
    PROGRAM_STOP_CAUSE_ERROR,
    PROGRAM_STOP_CAUSE_LAST
} PROGRAM_STOP_CAUSE;