5 Function blocks
5.4 BT, Data block Transformer
156
Control Relay easy800
11/11 MN04902001Z-EN
www.eaton.com
Example 2:
Copying of marker blocks, definition of a range with offset
The content of marker bytes MB15 to MB18 is to be copied to marker bytes
MB65 to MB68.
•
Parameters of function block BT01:
After a rising edge from 0 to 1 at coil BT01T_ the content of MB15 to MB18
is copied to the marker bytes MB65 to MB68.
Example 3:
Copying of marker blocks, definition of a range in a different format
Marker range MD60 to MD62 is to be copied to MW40 to MW45.
•
Parameters of function block BT01:
•
Source range:
I1
MB15
•
Target range:
I2
64
•
Number of bytes:
NO
4
•
Marker MB01:
1
→
Destination range: Constant 64:
Marker MB01 plus offset: 1 + 64 = 65 MB65
Source
range
Value of
source
marker range
(decimal)
Destination
range
Value of
destination
marker
range
(decimal)
MB15
68
MB65
68
MB16
189
MB66
189
MB17
203
MB67
203
MB18
3
MB68
3
•
Source range:
I1
MD60
•
Target range:
I2
MW40
•
Number of bytes:
NO
12
→
The transfer is in byte format. 12 bytes are to be copied.
The range MD60 to MD62 is 12 bytes. This is copied to the
range MW40 to MW45.