PLC_R_STOP_CAUSE: From RUN State to Other State Transition Cause Codes
The PLC_R_STOP_CAUSE enumeration data type contains the following values:
Enumerator |
Value |
Comment |
What to do |
---|---|---|---|
PLC_R_STOP_REASON_ UNKNOWN |
00 hex |
Initial value or stop cause is indeterminable. |
Contact your local Schneider Electric representative. |
PLC_R_STOP_REASON_HW_ WATCHDOG |
01 hex |
Stopped after hardware watchdog timeout. |
Contact your local Schneider Electric representative. |
PLC_R_STOP_REASON_ RESET |
02 hex |
Stopped after reset. |
See reset possibilities in Controller State Diagram. |
PLC_R_STOP_REASON_ EXCEPTION |
03 hex |
Stopped after exception. |
Verify your application, and correct if necessary. See System and Task Watchdogs. A reset is needed to enter Run mode. |
PLC_R_STOP_REASON_ USER |
04 hex |
Stopped after a user request. |
Refer to Stop Command in Commanding State Transitions. |
PLC_R_STOP_REASON_ IECPROGRAM |
05 hex |
Stopped after a program command request (for example: control command with parameter PLC_W.q_wPLCControl:=PLC_W_COMMAND.PLC_W_STOP;). |
– |
PLC_R_STOP_REASON_ DELETE |
06 hex |
Stopped after a remove application command. |
See the Applications tab of the Controller Device Editor. |
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, the controller Web server, or PLC_W command. |
– |
PLC_R_STOP_FROM_INPUT |
0B hex |
Stop required by a controller input. |
– |
PLC_R_STOP_FROM_RUN_ STOP_SWITCH |
0C hex |
Stop required by the controller switch. |
– |
PLC_R_STOP_REASON_ RETAIN_MISMATCH |
0D hex |
Stopped after an unsuccessful check context test during rebooting. |
There are retained variables in non-volatile memory that do not exist in the executing application. Verify your application, correct if necessary, then reestablish the boot application. |
PLC_R_STOP_REASON_ BOOT_APPLI_MISMATCH |
0E hex |
Stopped after an unsuccessful compare between the boot application and the application that was in the memory before rebooting. |
Create a valid boot application. |
PLC_R_STOP_REASON_ POWERFAIL |
0F hex |
Stopped after a power interruption. |
– |
For more information on the reasons why the controller has stopped, refer to the Controller State Description.