beautypg.com

Rockwell Automation 9301 Series RSView32 Users Guide User Manual

Page 676

background image

A–56

RSView32 User’s Guide

<value> is one of the following, depending on the tag type:

For analog tags:

Numeric value within the range specified by the tag’s minimum

and maximum values.

Percentage of the total min/max range. The formula is:

value = min + percentage/100 * (max – min)

Tag name of another analog or digital tag.

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.