beautypg.com

Rockwell Automation RSView32 Runtime Users Guide User Manual

Page 77

background image

A–46

RSView32 Runtime User’s Guide

Set

[&]Set [/V]

Writes a value to a tag.

[&]

Forces the command to be executed
asynchronously, which makes the command faster.

[/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 a tag.

<value>

One of the following:

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.

If a node has been disabled, the Set command changes the value in
the value table but not in the programmable controller.

IMPORTANT