beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 441

background image

Publication GMLC-5.2 - November 1999

404

Calculation Blocks

TCAM Master Point – Enter a value or expression for the TCam master
point, from: 0 to 12,999 for iCODE version 3.0 or later. Enter a value
from 0 to 1,999 for iCODE versions earlier than 3.0.

= (value) –Enter a value or expression to assign to the TCam Master
point.

Indirect Variable

Select Indirect Variable to assign a value to an Indirect variable. Make
your entries in the following fields.

Variable Address – Enter a value or expression for the variable’s address
(or number). For Indirect_Variable, the value can range from: 0 to 1,999
for iCODE version 3.0 or later. Values range from 0 to 999 for iCODE
versions earlier than 3.0.

= (value) – Enter the value or expression to assign to the variable.

Inhibiting Resampling

If the value to be assigned is an expression, select Inhibit resample
System Variables to prevent re-sampling of the system variables.

When you select inhibit resample system variables, system variables are
not re-sampled when the expression is evaluated. If the value in
the = field is not an expression, this selection has no effect.

When an expression is evaluated, all system variables are sampled
simultaneously to provide a snapshot of the state of the controller at a
specific instant in time. This ensures that consistent values are used in
expressions that contain more than one system variable. In some cases,
however, it is necessary to defeat this re-sampling and use the old (last
sampled value) of a system variable in an equation. This is useful, for
instance if an axis position must be used in multiple calculations—
inhibiting the re-sampling ensures that the same position value is used for
all calculations.