GetTagAlarmInfo
(VTScada-Layer function. Must be called with a leading backslash.)
| TagObj |
| Required. Tag object or name from which to get info. |
| Comments: |
This function will return alarm information from the built-in alarms of the IO tag or IO-contributed external alarms from a PLC alarm tag (but not from an alarmpoint tag). \GetTagAlarmInfo(TagObj)["Key"].Pointer Returns a dictionary with the keys "HH", "H, "L", "LL" and "D" (Highhigh, High, Low, LowLow, and Digital) whose structure contains pointers pActive, pUnacked, pDisabled, pSetpoint and pPriority. |
Example:
To get the HighHigh setpoint of an IO tag:
HHSP = *(\GetTagAlarmInfo(TagObj)["HH"].pSetpoint)
