Skip to main content

OpMode

Short Summary

This enumeration defines the mandatory and non mandatory operation modes.

Underlying type: UDINT

Components

NameValueComment
NO_OPERATION0mandatory modes
HOMEimplicitmandatory modes
AUTOMATICimplicit-
MANUALimplicitnon mandatory modes
GHOSTimplicitnon mandatory modes
REFERENCINGimplicit-
CLEAN_UPimplicit-
SERVICEimplicit-
SIMULATEDimplicit-

Code

Declaration

{attribute 'qualified_only'}
{attribute 'to_string'}
TYPE OpMode :
(
NO_OPERATION := 0,
(* mandatory modes *)
HOME ,
AUTOMATIC,
MANUAL,
(* non mandatory modes *)
GHOST,
REFERENCING,
CLEAN_UP,
SERVICE,
SIMULATED
) UDINT;
END_TYPE