![background image](http://html1.mh-extra.com/html/eaton/easy800/easy800_manual_3950236150.webp)
5 Function blocks
5.3 BC, data block comparator
146
Control Relay easy800
11/11 MN04902001Z-EN
www.eaton.com
Example 2:
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
starts at MB65. Each block is 4 bytes long.
•
Parameters of function block BC01:
The comparison result of the function block BC01 is: BC01EQ = 0, the data
block ranges do not have the same content. MB18 and MB68 are not
identical.
Example 3:
Comparison of marker blocks, definition of a marker range in a different
format
Two marker blocks are to be compared. Block 1 starts at MB60,
Block 2 starts at MD80. Each block is 6 bytes long.
•
Parameters of function block BC01:
•
Comparison range 1:
I1
MB15
•
Comparison range 2:
I2
64
•
Number of bytes:
NO
4
•
Marker MB01:
1
→
Comparison range 2: Constant 64:
MB01 plus offset: 1 + 64 = 65 MB65.
Comparison range 1
Value of marker range
1 (decimal)
Comparison range 2
Value of marker range
2 (decimal)
MB15
45
MB65
45
MB16
62
MB66
62
MB17
102
MB67
102
MB18
65
MB68
57
•
Comparison range 1:
I1
MB60
•
Comparison range 2:
I2
MD80
•
Number of bytes:
NO
6
→
The comparison is in byte format. MD80 has 4 bytes.
Therefore the first two bytes of MD81 are also compared.
Содержание easy800
Страница 1: ...11 11 MN04902001Z EN replaces AWB2528 1423GB Manual Control Relay 800 4 patpks nycmyn...
Страница 4: ...2...
Страница 16: ...0 About This Manual 0 5 Writing conventions 12 Control Relay easy800 11 11 MN04902001Z EN www eaton com...
Страница 138: ...4 Wiring with 800 4 7 Working with function blocks 134 Control Relay easy800 11 11 MN04902001Z EN www eaton com...
Страница 300: ...7 SmartWire DT 7 4 Errors on the SWD line 296 Control Relay easy800 11 11 MN04902001Z EN www eaton com...
Страница 336: ...10 Diagnostics possibilities 10 4 Transistor output 332 Control Relay easy800 11 11 MN04902001Z EN www eaton com...