Rockwell Automation 1760-xxxx Pico GFX-70 Controllers User Manual User Manual

Page 177

Advertising
background image

Publication 1760-UM002B-EN-P - March 2005

Wiring with Pico GFX-70 4-67

Function of Boolean Sequence Function Block

The function block creates the sequence depending on the operating mode.

AND Boolean Sequence

OR Boolean Sequence

XOR Boolean Sequence

NOT Boolean Sequence

IMPORTANT

If you sequence a negative value, e.g.: -10

dec

, the processor

unit will form the two's complement of the amount.

Example:
-10

dec

= 10000000000000000000000000001010

bin

Two's complement =
11111111111111111111111111110110

bin

=

FFFFFFF6

hex

Bit 32 is the signed bit and remains as 1.

Value

>I1

:

13219

dec

= 0011001110100011

bin

Value

>I2

:

57193

dec

= 1101111101101001

bin

Result

QV>

:

4897

dec

= 0001001100100001

bin

Value

>I1

:

13219

dec

= 0011001110100011

bin

Value

>I2

:

57193

dec

= 1101111101101001

bin

Result

QV>

:

65515

dec

= 1111111111101011

bin

Value

>I1

:

13219

dec

= 0011001110100011

bin

Value

>I2

:

57193

dec

= 1101111101101001

bin

Result

QV>

:

60618

dec

= 1110110011001010

bin

Value

>I1

:

13219

dec

=

00000000000000000011001110100011

bin

Advertising