AlarmItem.Status



Status() As Long
ED
not used
RT
read only

Remarks

This property returns the status of the value, that executed the alarm, e.g. the variable Heating_1 has a maximum limit of 10. The value is set to 15 on error. In this case the property contains the status of the value 15.

The returned value contains the status in bit code.

The following stati are possible in the control system:
· Invalid (I-Bit)
· Not actualized
· Alternate value (EWERT)
· General request (GA)
· Spontan
· Summer/Winter time
· Switched off (N_AKT)
· Realtime external
· Realtime internal
· Wintertime
· Hand value
· User flag 1 .. 8 (ST_M1 .. ST_M8)
· Select (SELEC)
· Revision (REV)
· Run contact (LAUF)
· Runtime overflow (LZÜ)
· Fail Trafo (SM_TR)
· NS
· INFO
· Set direction

Sample:


'Activate a Status:
thisProject.Variables.Item("VariableName").StatusString = "REV=1" 'Revision

'DeActivate a Status:
thisProject.Variables.Item("VariableName").StatusString = "REV=0" 'Revision


See Also

AlarmItem