Rockwell Automation RSView32 Runtime Users Guide User Manual

Page 72

Advertising
background image

RSView32 commands

A–41

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 tag.

<value>

The amount to add or subtract from the current
programmable controller value, as follows:

plus (+) or minus (-) a numeric value

plus (+) or minus (-) a percentage of a numeric

value in the form: +value%

plus (+) or minus (-) a tag

If Ramp calculates a value that is outside of the tag’s minimum and
maximum range, it will write the highest or lowest allowable value to
the programmable controller or server.

Examples: The Ramp command

Ramp Hopper1\Level +50%

If the value of Hopper1\Level is 100, Min = –100 and Max = 900, the
command writes the value 600 to the programmable controller.

Ramp Hopper1\Level +75%

If Hopper1\Level is 900, Min = 0 and Max = 1000, the command
writes 1000 to the programmable controller because this is the highest
allowable value.

If you use the Ramp command in a macro, you must use two percent
signs (%%) instead of one. A single percent sign is used in a macro
to indicate a parameter. For example, to create a macro that
increases the value of tag1 by 75%, you would type: Ramp tag1 +
75%%

IMPORTANT

Advertising