Wiring with the display system
164
1SVC 440 795 M1100
The comparison result of the function block BC01 is:
BC01EQ = 0, the data block ranges do not have the same
content.
MB65 and MD81 (Byte 2) are not identical.
Example:
Comparison of marker blocks, range violation error.
Two marker blocks are to be compared. Block 1 starts at
MD60, Block 2 starts at MD90. Each block is 30 bytes long.
Parameters of BC01 function block:
Comparison range 1:
>I1 MD60
Comparison range 2:>I2 MD90
Number of bytes: >NO 30
Comparison
range 1
Value of marker
range 1
(decimal/binary)
Comparison
range 2
Value of marker range 2
(decimal/binary)
MB60 45/
00101101
MD80 (Byte 1,
LSB)
1097219629/
01000001011001100011111000
101101
MB61 62/
00111110
MD80 (Byte 2) 1097219629/
01000001011001100011111000
101101
MB62
102/
01100110
MD80 (Byte 3) 1097219629/
01000001011001100011111000
101101
MB63 65/
01000001
MD80 (Byte 4,
MSB)
1097219629/
01000001011001100011111000
101101
MB64
173/
10101101
MD81 (Byte 1,
LSB)
15277/
0011101110101101
MB65 59/
00111011
MD81 (Byte 2) 15277/
0000100010101101
h
The comparison is in byte format. MD90 to MD96 is
28 bytes. The number of bytes is 30 bytes.