beautypg.com

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

Page 163

background image

Publication 1760-UM002B-EN-P - March 2005

Wiring with Pico GFX-70 4-53

The error message “Number of comparison elements exceeds one of the
comparison ranges” is output.

BC01E1 is 1.

Example
Comparison of marker blocks, range overlap error.

Two marker blocks are to be compared. Block 1 starts at MW60, Block 2 at
MW64. Each block is 12 bytes long.

Parameters of BC01 function block:
Comparison range 1:

>I1 MW60

Comparison range 2:

>I2 MW64

Number of bytes:

>NO 12

The error message “Comparison ranges overlap” is output.

BC01E2 is 1.

Example:
Comparison of marker blocks, invalid offset error.

Two marker blocks are to be compared. Block 1 starts at MW40, Block 2 at
MW54. The block length is specified by the value of the counter C 01QV.

Parameters of BC01 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 comparison ranges is outside of the
permissible range" is output.

BC01E3 is 1.

IMPORTANT

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

IMPORTANT

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

>NO

can be between 1 and +383.