You're reading the documentation for an older, but still supported version (GL013300).
For information on the latest version, please have a look at GL013301.

PROGRAM_STOP_CAUSE

This is an enumeration type constant that refers to the termination reason when the program is terminated in the robot controller, and is defined as follows.

Rank

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 Inside/Outside 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;