5 Function blocks
5.4 BT, Data block Transformer
Control Relay easy800
11/11 MN04902001Z-EN
www.eaton.com
153
Example 3:
Initialization of marker blocks, transfer of a range to a different format
The value of marker byte MB60 is to be transferred to MD80 and MD81.
•
Parameters of function block BT01:
After a rising edge from 0 to 1 at coil BT01T_ the value 757935405 is present
in the marker double words MD80 and MD81.
•
Source range:
I1
MB60
•
Target range:
I2
MD80
•
Number of bytes:
NO
8
→
The transfer is in byte format. MD80 has 4 bytes and MD81 has
4 bytes, which means that NO has the value 8.
Comparison range 1 Value marker
range 1
(dec./binary)
Comparison range 2 Value of marker range 2 (decimal/binary)
MB60
45/
00101101
MD80
(Byte 1, LSB)
757935405/
00101101001011010010110100101101
MD80
(Byte 2)
757935405/
00101101001011010010110100101101
MD80
(Byte 3)
757935405/
00101101001011010010110100101101
MD80
(Byte 4, MSB)
757935405/
00101101001011010010110100101101
MD81
(Byte 1, LSB)
757935405/
00101101001011010010110100101101
MD81
(Byte 2)
757935405/
00101101001011010010110100101101
MD81
(Byte 3)
757935405/
00101100010110110010110100101101
MD81
(Byte 4, MSB)
757935405/
00101101001011010010110100101101