5 Function blocks
5.3 BC, data block comparator
148
Control Relay easy800
11/11 MN04902001Z-EN
www.eaton.com
Example 5:
Comparison of marker blocks, range overlap error
Two marker blocks are to be compared. Block 1 starts at MW60,
Block 2 starts at MW64. Each block is 12 bytes.
•
Parameters of function block BC01:
The error message “Comparison ranges overlap” is output.
BC01E2 is 1.
Example 6:
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 determined by the value of counter C 01QV.
•
Parameters of function block BC01:
The error message “The specified offset of the comparison ranges is outside
of the permissible range” is output.
BC01E3 is 1.
•
Comparison range 1:
I1
MW60
•
Comparison range 2:
I2
MW64
•
Number of bytes:
NO
12
→
The comparison is in byte format. MW60 to MW64 is 8 bytes.
The number of bytes is 12 bytes.
•
Comparison range 1:
I1
MW40
•
Comparison range 2:
I2
MW54
•
Number of bytes:
NO
C 01QV
→
The value of C 01QV is 1024. This value is too big.
The value at >NO can be between 1 and +383.