Skip to main content

StepStopRequestMode

Short summary

StepStopRequestMode is an enumeration to control StopRequest behaviour in cycle managers. Cycle managers should continue with SUCCESS after a stop request is acknowledged by the cycle manager.

enumeration values

Underlying type: DINT

Components

NameValueComment
IGNORE0proceed with stop request after step finishes and would proceed
AFTER_SUCCESSFUL_STEP1proceed with stop request only if the step is still busy
ON_BUSY2immediately proceed with stop request
IMMEDIATE3immediately proceed with stop request

Code

Declaration

{attribute 'qualified_only'}
{attribute 'strict'}
{attribute 'to_string'}
TYPE StepStopRequestMode :
(
(*ignore stop request*)
IGNORE := 0,
(*proceed with stop request after step finishes and would proceed*)
AFTER_SUCCESSFUL_STEP := 1,
(*proceed with stop request only if the step is still busy*)
ON_BUSY := 2,
(*immediately proceed with stop request*)
IMMEDIATE := 3
)DINT;
END_TYPE