Toggle, Undefine – Rockwell Automation RSView32 Runtime Users Guide User Manual

Page 81

Advertising
background image

A–50

RSView32 Runtime User’s Guide

Toggle

Toggle [/V] <tag_name>

Reads the tag’s value and writes back a 1 or 0 as follows:

if the tag value is 0, Toggle changes it to 1

if the value is not 0, Toggle changes it to 0

[/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 logged
to the activity log, activity bar, or printer using the
Tag Write category. Specify where to send Tag
Write errors using the Categories tab of the Activity
Log Setup editor.

<tag_name>

The name of an analog or digital tag.

Undefine

Undefine <symbol>

Deletes a symbol definition that was created using the Define
command.

Example: The Undefine command

Undefine test

Deletes the definition for the symbol “test” that was previously
created with the Define command.

Undefine *

Deletes all symbol definitions.

See also Define.

Advertising