Toggle

Reads the tag's value and writes back a 0 or 1 as follows:
  • if the value is 0, Toggle changes it to 1
  • if the value is 1, Toggle changes it to 0
Syntax
Toggle [/V] <
tag_name
>
where
[/V]
performs a read immediately after the write to verify that the value was altered in the programmable controller or server.
  • This parameter is useful if the network is in poor condition or susceptible to noise interference.
  • If the verification fails, the error message is sent to the Factory Diagnostics system.
<tag_name>
is a relative or absolute reference to an analog or digital HMI tag.
Remarks
This command is run locally on the HMI server,
FactoryTalk View SE
Client, or
FactoryTalk View Studio
that issued it.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal