Boolean operations -64, Boolean operations – Rockwell Automation 1760-xxxx Pico GFX-70 Controllers User Manual User Manual

Page 174

Advertising
background image

Publication 1760-UM002B-EN-P - March 2005

4-64 Wiring with Pico GFX-70

Comparison range 2:

>I2 MW64

Number of bytes:

>NO 12

The error message “Both ranges overlap” is output.

BC01E2 is 1.

Example:
Copying of marker bytes, invalid offset error.

The value of marker word MW40 is to be copied to MW54 and subsequent
marker words. The block length is specified by the value of the counter C
01QV.

Parameters of BT01 function block:
Comparison range 1:

>I1 MW40

Comparison range 2:

>I2 MW54

Number of bytes:

>NO C 01QV

The message "The specified offset of the destination range is outside of the
permissible range" is output.

BT01E3 is 1.

Boolean Operations

Pico GFX-70 provides 32 function blocks from BV01 to BV32 for Boolean
operations with values.

The following possibilities are provided by the Boolean sequence function
block:

• Masking out of particular bits from values,
• Bit pattern recognition,
• Bit pattern modification.

A Boolean sequence function block is not wired in the circuit diagram.

IMPORTANT

The copy operation is in byte format. MW60 to MW64 is 8
bytes. The number of bytes is 12 bytes.

IMPORTANT

The value of C 01QV is 10042. This value is too big. The
value at

>NO

can be between 1 and +383.

Advertising