Examples: = (Equal command)

Tag1=Tag1+1
Increases the value of Tag1.
String1="Hello world"
Writes the string, Hello world, to the tag named String1.
Tag1=Tag2
Sets the value of Tag1 to be the same as Tag2.
Tag1=Tag2+Tag3
Adds the values of Tag2 and Tag3, and stores the result in Tag1.
1Pump={Industry-2}+{2Pump}
Adds the values of Industry-2 and 2Pump, and stores the result in 1Pump. Curly brackets are required around Industry-2 because of the dash in the name. They are required around 2Pump because the name begins with a number. No brackets are needed around 1Pump because it is on left of the equal sign.
Tag1=if (Tag1<Tag2) then 3 else 4
If Tag1 is less than Tag2, Tag1 is set to 3, but if Tag1 is equal to or greater than Tag2, Tag1 is set to 4.
Tank1\Message = "Tank1 Overflow"
Writes the string, Tank1 Overflow, to the tag Tank1\Message
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal