beautypg.com

Rockwell Automation 9301 Series RSView32 Users Guide User Manual

Page 670

background image

A–50

RSView32 User’s Guide

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

Ramp Hopper1\Level delta

If Hopper1\Level is 1000 and delta is –200, the command writes 800
to the programmable controller.

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