Tags

 
The Tags section collects all the functions relating to the management of the Tags and their values
 
Function
Parameter
Description
Add
Tag Name
Value to be added
Add the specified value to the Tag
And
Tag Name
Bit mask
The AND operation is executed between the Tag value and the bit mask
BitReset
Tag Name
Bit Number
The specified bit is forced to 0
BitSet
Tag Name
Bit Number
The specified bit is set to 1
BitToggle
Tag Name
Bit number
EThe XOR function is executed between the Tag value and the bit mask
Divide
Tag Name
Divisor value
Divides the Tag value per the divisor value.
FlushPersistentTags
-
Save the retentive Tags into the retentive area
Multiply
Tag Name
Value
Multiply the Tag value per the multiply
Not
Tag Name
The Tag value is bit per bit inverted
Or
Tag Name
Bit mask
Run the OR operation between the Tag value and the mask
Power
Tag Name
Power factor
Power up the value of the Tag indicated by the defined factor
Set
Tag Name
Set value
Set the Tag value to the one defined as the Set value
Shift
Tag Name
Bit shift number
The Tag value is shifted
Substract
Tag Name
Subtracted value
Subtracts the indicated value from the Tag value
XOR
Tag Name
Bit Mask
Performs an XOR operation between the Tag value and the indicated bit mask