PLC_R_STOP_CAUSE: from RUN State to Other State Transition Cause Codes

Enumerated Type Description

The PLC_R_STOP_CAUSE enumeration data type contains the following values:

Enumerator

Value

Comment

PLC_R_STOP_REASON_UNKNOWN

00 hex

Initial value or stop cause is undefined.

PLC_R_STOP_REASON_HW_WATCHDOG

01 hex

Stopped after hardware (system hardware or software task) watchdog timeout.

PLC_R_STOP_REASON_RESET

02 hex

Stopped after reset.

PLC_R_STOP_REASON_EXCEPTION

03 hex

Stopped after exception.

PLC_R_STOP_REASON_USER

04 hex

Stopped after a user request.

PLC_R_STOP_REASON_IECPROGRAM 

05 hex

Stopped after a program command request.

PLC_R_STOP_REASON_DELETE

06 hex

Stopped after a remove application command.

PLC_R_STOP_REASON_DEBUGGING

07 hex

Stopped after entering debug mode.

PLC_R_STOP_FROM_NETWORK_REQUEST

0A hex

Stopped after a request from the network  (PLC_W.q_wPLCControl:=PLC_W_COMMAND.PLC_W_STOP;).

PLC_R_STOP_FROM_INPUT

0B hex

Stop required by a controller input.

For more information for reasons the controller has stopped, refer to the Controller State Description.