Structures used to represent the properties of OCA objects

ST_OcaProperty

All structures listed below inherit from this structure.

TYPE ST_OcaProperty :
STRUCT
   eState: E_OcaStatus := E_OcaStatus.Undefined;
   sPropString: STRING(5) := '00p00';
END_STRUCT
END_TYPE

See also: E_OcaStatus

ST_BooleanProperty

TYPE ST_BooleanProperty EXTENDS ST_OcaProperty :
STRUCT
   bVal: BOOL := FALSE;
END_STRUCT
END_TYPE

ST_ClassIdProperty

TYPE ST_ClassIdProperty EXTENDS ST_OcaProperty :
STRUCT
   nVal: ST_OcaClassId;
END_STRUCT
END_TYPE

ST_FLOAT32Property

TYPE ST_FLOAT32Property EXTENDS ST_OcaProperty:
STRUCT
   fVal: REAL;
END_STRUCT
END_TYPE

ST_INT16Property

TYPE ST_INT16Property EXTENDS ST_OcaProperty :
STRUCT
   nVal: INT;
END_STRUCT
END_TYPE

ST_INT32Property

TYPE ST_INT32Property EXTENDS ST_OcaProperty :
STRUCT
   nVal: DINT;
END_STRUCT
END_TYPE

ST_INT8Property

TYPE ST_INT8Property EXTENDS ST_OcaProperty :
STRUCT
   nVal: BYTE;
END_STRUCT
END_TYPE

ST_MuteStateProperty

TYPE ST_MuteStateProperty EXTENDS ST_OcaProperty :
STRUCT
   eVal: E_OcaMuteState := E_OcaMuteState.Unmuted ;
END_STRUCT
END_TYPE

See also: E_OcaMuteState

ST_PolarityStateProperty

TYPE ST_PolarityStateProperty EXTENDS ST_OcaProperty :
STRUCT
   eVal: E_OcaPolarityState := E_OcaPolarityState.NonInverted;
END_STRUCT
END_TYPE

ST_PositionEnabledProperty

TYPE ST_PositionEnabledProperty EXTENDS ST_BooleanProperty:
STRUCT
   nIndex: UINT;
END_STRUCT
END_TYPE

ST_PositionNameProperty

TYPE ST_PositionNameProperty EXTENDS ST_StringProperty :
STRUCT
   nIndex: UINT;
END_STRUCT
END_TYPE

ST_SensorReadingState

TYPE ST_SensorReadingState EXTENDS ST_OcaProperty :
STRUCT
   eVal: E_OcaSensorReadingState := E_OcaSensorReadingState.eUnknown;
END_STRUCT
END_TYPE

ST_StringProperty

TYPE ST_StringProperty EXTENDS ST_OcaProperty :
STRUCT
   stVal: ST_OcaString;
END_STRUCT
END_TYPE

ST_SubscriptionManagerState

TYPE ST_SubscriptionManagerState EXTENDS ST_OcaProperty :
STRUCT
   eVal: E_OcaSubscriptionManagerState;
END_STRUCT
END_TYPE

ST_TemperatureProperty

TYPE ST_TemperatureProperty EXTENDS ST_OcaProperty:STRUCT
   stVal: ST_OcaTemperature;
END_STRUCT
END_TYPE

See also: ST_OcaTemperature

ST_UINT16Property

TYPE ST_UINT16Property EXTENDS ST_OcaProperty :
STRUCT
   nVal: UINT;
END_STRUCT
END_TYPE

ST_UDINT32Property

TYPE ST_UDINT32Property EXTENDS ST_OcaProperty :
STRUCT
   nVal: UDINT;
END_STRUCT
END_TYPE

ST_UINT8Property

TYPE ST_UINT8Property EXTENDS ST_OcaProperty :
STRUCT
   nVal: SINT;
END_STRUCT
END_TYPE