Summary of user variables and arithmetic – Rockwell Automation 1398-PDM-xxx IQ Master Version 3.2.4 for IA-2000 and IQ-5000 Positioning Drive Modules, IQ-55 User Manual

Page 155

Advertising
background image

User Variables and Arithmetic • Summary of User Variables and Arithmetic

133

Publication 1398-PM601A-EN-P — October 2000

TUTORIAL

Summary of User Variables and Arithmetic

The following table contains a summary of the instructions, flags, and variables that relate to user vari-
ables and arithmetic. Refer to Part 5

Language Reference for more detailed information.

Type

Name

Description

Boolean

AND

Logical AND

NAND

Logical NAND

NOR

Logical NOR

NOT

Logical NOT

OR

Logical OR

XOR

Logical exclusive OR

Conversion

@

Store position value as encoder counts

UTOC1

Convert user units to counts using SCALE

UTOC2

Convert user units to counts using SCALE2

CTOU1

Convert counts to user units using SCALE

CTOU2

Convert counts to user units using SCALE2

Miscellaneous

INT

Returns the integer portion of a variable

Variable

Bn

Nonvolatile flag variable, n = 1, 2,

, 8

Fn

Volatile flag variable, n = 1, 2,

, 64

Gn

Nonvolatile variable, n = 1, 2,

, 64

Vn

Volatile variable, n = 1, 2,

, 64

Advertising