5 Function blocks
5.4 BT, Data block Transformer
158
Control Relay easy800
11/11 MN04902001Z-EN
www.eaton.com
Example 5:
Comparison of marker blocks, range overlap error
12 bytes are to be copied starting from MW60. MW64 is specified as
destination address.
•
Parameters of function block BT01:
The error message “Both ranges overlap” is output.
BT01E2 is 1.
Example 6:
Copying of marker bytes, invalid offset error
The value of marker word MW40 is to be copied to MW54 and subsequent
marker words. The block length is specified by the value of the counter
C 01QV.
•
Parameters of function block BT01:
The message “The specified offset of the destination range is outside of the
permissible range” is output.
BT01E3 is 1.
•
Source range:
I1
MW60
•
Target range:
I2
MW64
•
Number of bytes:
NO
12
→
The copy operation is in byte format. MW60 to MW64 is
8 bytes. The number of bytes is 12 bytes.
•
Source range:
I1
MM40
•
Target range:
I2
MW54
•
Number of bytes:
NO
C 01QV
→
The value of C 01QV is 10042. This value is too big.
The value at >NO can be between 1 and +383.