.OffMsg Dotfield
- Last UpdatedNov 07, 2016
- 1 minute read
The .OffMsg dotfield allows you to access the Off message assigned to a discrete tag from the Tagname Dictionary.
Category
Tags
Usage
Tag_name.OffMsg
Parameter
Tag_name
Any discrete tag.
Data Type
Message (read/write). Values written to this dotfield are not retentive.
Valid Values
Any string containing 0 to 15 characters.
Example
The following statement assigns the appropriate string to the StateMessage tag according to the state of the MyDiscrete tag.
StateMessage=Dtext (MyDiscrete, MyDiscrete.OnMsg, MyDiscrete.OffMsg);
See Also
.OnMsg