Tag command functions allow an Operator Action (written as IEC 61131-3 Structured Text) to send commands to tags. For example:
You can use these IEC 61131-3 functions in operator action scripts to send commands to tags:
Function | Returns | Description |
---|---|---|
TagAcknowledgeAlarms | Acknowledges the alarms associated with a tag. Uses the AcknowledgeAlarms Tag Command. | |
TagDirectWriteBit | Writes a bit value to an address in a data source. Uses the DirectWriteBit Tag Command. | |
TagDirectWriteByte | Writes an array of bytes to an address in a data source. Uses the DirectWriteByte Tag Command. | |
TagDirectWriteString | Writes a string value to an address in a data source. Uses the DirectWriteString Tag Command. | |
TagDirectWriteWord | Writes an array of words to an address in a data source. Uses the DirectWriteWord Tag Command. | |
TagDisableAlarms | Disables the alarms associated with a tag. Uses the DisableAlarms Tag Command. | |
TagEnableAlarms | Enables the alarms associated with a tag. Uses the EnableAlarms Tag Command. | |
TagForceValue | Forces the value of a tag to a fixed constant value. Uses the ForceValue Tag Command. | |
TagSendMessageTo | Sends a message to a user. Uses the SendMessageTo Tag Command. | |
TagWriteValue | Writes a new value to a tag. Uses the WriteValue Tag Command. | |
TagWriteValueQuality | Writes a new value and quality to a tag. Uses the WriteValueQuality Tag Command. | |
TagRefresh | Requests and immediate refresh of data associated with a tag. Uses the Refresh Tag Command. | |
TagResetStatistics | Resets the statistics counters of a tag. Uses the ResetStatistics Tag Command. | |
TagRemoveForce | Removes any forcing applied to a tag. Uses the RemoveForce Tag Command. | |
TagRun | Requests and immediate run of a text report, calculation or program. Uses the Run Tag Command. |
These functions can be called using a Structured Text Function Call.
To learn about where you can configure operator actions.
For more information about tag commands.
For the meaning of terms used in Fernhill SCADA.