Skip to main content

MessageConfirmationState

Short summary

This enumeration encodes the confirmation lifecycle of PLC diagnostic or fault messages.

Underlying type: default

Components

NameValueComment
NotSupported0Message does not require confirmation. State remains passive, no operator action expected.
NotRequired1Message requires acknowledgement. Operator confirmation pending. Downstream logic should treat this as unresolved.
WaitForConfirmation2Operator has acknowledged the message. Confirmation complete, downstream logic may clear dependent interlocks.
Confirmed3Internal reset state used to re-initialize the confirmation cycle after a message transition or system reset.
Reset4Internal reset state used to re-initialize the confirmation cycle after a message transition or system reset.

Code

Declaration

{attribute 'qualified_only'}
{attribute 'strict'}
{attribute 'to_string'}
TYPE MessageConfirmationState :
(
(* System or message type does not implement confirmation logic. No acknowledgement state is tracked. *)
NotSupported:=0,
(* Message does not require confirmation. State remains passive, no operator action expected. *)
NotRequired:=1,
(* Message requires acknowledgement. Operator confirmation pending. Downstream logic should treat this as unresolved. *)
WaitForConfirmation:=2,
(* Operator has acknowledged the message. Confirmation complete, downstream logic may clear dependent interlocks. *)
Confirmed:=3,
(* Internal reset state used to re-initialize the confirmation cycle after a message transition or system reset. *)
Reset:=4
);
END_TYPE