FB_[EnumName]
Benutzerdefinierte, nicht im Standard vorhandene Enumtypen.
Syntax
Definition:
{attribute 'no_explicit_call' := 'Direct call not allowed for type FB_[EnumName]'}
{attribute 'call_after_init'}
FUNCTION_BLOCK FB_[EnumName] EXTENDS FB_AcsiBATypeENUMERATED
VAR
_eValue: E_CustomEnumType;
_eConfig: E_CustomEnumType;
{attribute 'hide'}
ipInit: I_AcsiCommonAttributeClass := THIS^.AddDAValue(eP:=E_AcsiP.Actual, in:=_eValue).AddDAValue(eP:=E_AcsiP.Config, in:=_eConfig).AddDAType(in:=THIS^.T(in:=E_AcsiBasicType.Enum));
END_VAR