GetLastStopCause: Returns the Cause Last Stop
This function returns the cause of the last transition from RUN to another state.
NOTE: The similar information value is also available through the System Variable PLC_R.i_wLastStopCause.
To see the general representation in IL or ST language, refer to the chapter Function and Function Block Representation.
The following table describes the output variable:
Output |
Type |
Comment |
---|---|---|
GetLastStopCause |
Cause of the last transition from RUN to another state. |