1 unary array instruction (ar1) – Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 207

Advertising
background image

10Ć5

10.1

Unary Array Instruction (AR1)

Use this instruction to perform one of these opĆ

erations on a single operand:
D calculate the absolute value (ABS)
D perform a logical NOT (NOT)
D calculate the square root (SQRT)
D perform a negate operation (NEG)
D move from a source location to a destinaĆ

tion location (MOVE)

Use this instruction to perform arithmetic or

move operations on:
D simple variables
D a single element of an array
D multiple elements of an array

The In input can be an array variable or a simple variable/constant. You can place the

result in a simple or array variable.
When EN transitions from false to true, the instruction prepares to carry out the function

specified in Operation by latching (buffering) all the parameters. If you have

programmed the array instruction to operate on the array elements over multiple

program scans, the first scan sets up the operation. Then, the operation is performed

over a series of scans until done.

Advertising