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

Page 160

Advertising
background image

Publication 1760-UM002B-EN-P - March 2005

4-50 Wiring with Pico GFX-70

The comparison result of the function block BC01 is: BC01EQ = 1, the data
block ranges have the same content.

Example:
Comparison of marker blocks, definition of a marker range with offset

Two marker blocks are to be compared. Block 1 starts at MB15, Block 2 at
MB65. Each block is 4 bytes long.

Parameters of BC01 function block:
Comparison range 1:

>I1 MB15

Comparison range 2:

>I2 64

Number of bytes:

>NO

4

Marker MB01:1

Comparison range
1

Value of marker
range 1 (decimal)

Comparison range
2

Value of marker
range 2 (decimal)

MB10

39

MB40

39

MB11

56

MB41

56

MB12

88

MB42

88

MB13

57

MB43

57

MB14

123

MB44

123

MB15

55

MB45

55

MB16

134

MB46

134

MB17

49

MB47

49

MB18

194

MB48

194

MB19

213

MB49

213

IMPORTANT

Comparison range 2: Constant 64:
MB01 plus Offset: 1 + 64 = 65

→ MB65.

Advertising