Rockwell Automation RSView32 Runtime Users Guide User Manual

Page 78

Advertising
background image

RSView32 commands

A–47

For digital tags:

Numeric value of 0 or 1.

Tag’s on or off label specified in the tag database. Setting a digital

tag to its on label writes the value 1, and setting the tag to its off
label writes the value 0.

Name of another analog or digital tag. If it is an analog tag with a

value that is not 0, the value 1 is written to the digital tag, otherwise
the value 0 is written.

For string tags:

String enclosed in quotation marks. The string can contain any

character and can include spaces.

Name of another string tag.

Examples: The Set command

Set Hopper1\Flow 10

Hopper1\Flow is a tag. This command writes the value ­10” to the
programmable controller or server.

Set Hopper1\Level 50%

Hopper1\Level is a tag with the minimum specified as -100 and the
maximum defined as 900. This command writes the value ­400” to the
programmable controller or server.

Set Valve\23 open

Valve\23 is a digital tag with its on label configured as open. This
command uses the on label for the tag to write the value “1” to the
programmable controller or server.

Set Hopper1\Level Preset

Hopper1\Level is a tag and Preset is a tag with a value of “90.” This
command writes “90” to the programmable controller or server.

Advertising