5 Function blocks
5.3 BC, data block comparator
Control Relay easy800
11/11 MN04902001Z-EN
www.eaton.com
145
Function of the function block
The data block comparator function block compares two contiguous data
blocks.
The comparator is active if coil BC..EN (enable) is triggered.
The error outputs E1, E2 and E3 are evaluated regardless of the status of the
enable.
Example 1:
Comparison of marker blocks, direct definition of marker ranges
Two marker blocks are to be compared. Block 1 starts at MB10, Block 2
starts at MB40. Each block is 5 bytes long.
•
Parameters of function block BC01:
The comparison result of the function block BC01 is: BC01EQ = 1, the data
block ranges have the same content.
→
No data blocks are compared if an error is present.
Memory
48 + per
4 Byte/Constant at function block input
Cycle time [
μ
s]
easy800 standard
easy800-SWD
1 Byte
52
18
10 Bytes
60
26
100 Bytes
138
48
•
Comparison range 1:
I1
MB10
•
Comparison range 2:
I2
MB40
•
Number of bytes:
NO
5
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
Содержание 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...