beautypg.com

Calculation blocks, Chapter – Rockwell Automation GMLC Reference Manual User Manual

Page 438

background image

Publication GMLC-5.2 - November 1999

Chapter

20

Calculation Blocks

Calculation blocks perform mathematical and logical calculations to
define variable values, evaluate expressions, etc. Blocks for writing
equations, evaluating mathematical or logical expressions, and building
tables of values are included in this section.

The following table presents the icons for each block in this category
along with a brief description. More detailed descriptions of the blocks
are contained on the pages following this table.

Use this block:

To:

Assign a value to:
• a user variable
• an indirect variable
• certain system variables
• a discrete output
• an output group
• a CNET local variable
• a DH-485 local or remote variable
• a cam profile point
• an SLC variable
• an SLC indirect variable.

• Evaluate a mathematical expression and make a logical decision

based on the expression’s value.

• Pause execution of a task or program until the value of a

mathematical expression meets a specified criteria.

Use the Build Table block to build time and position cam profiles, and
arrays of user variables.