beautypg.com

0 - logical instructions, 0 logical instructions – Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 133

background image

6Ć1

6.0 Logical Instructions

Use logical instructions to perform logic operations on input parameters.
Choose from these logical instructions:
D Logical AND (AND)
D Logical NOT (NOT)
D Logical OR (OR)
D Logical Exclusive OR (XOR)
The supported parameters are:
D simple integers and double integers
D integer and double integer constants
D elements of integer and double integer arrays
D Timer variables (name.TPreset and name.Elapsed)
D Counter variables (name.CPreset and name.Current)
See each input and output parameter description for each instruction for specific

information.
With the logical instructions, you can mix the data types for the inputs and outputs.

When mixing integers and double integers within an instruction, the values are first

converted to unsigned double integers. The result is then converted to the unsigned

data type specified by the output.