
6. Function blocks
6.1 Manufacturer function blocks
6.1.5.2 BT - Block transfer
General
easyE4 base devices provide 32 Block Transfer function
blocks BT01...BT32.
The block transfer function copies values from one marker
range to a different, contiguous market range when the CPY
(copy) operating mode is enabled.
When the INI (initialization) mode is enabled instead, the
function block copies the content of a marker byte to a dif-
ferent, continuous marker range.
The transfer is carried out bytewise.
Operating principle
Data is transferred from the source address specified at function block input I1 to the
destination address specified at function block input I2. The NO input is used to specify
the size of the data block in bytes.
Transfer with offset
The source address for the copy or initialization is specified at function block input I1,
while the destination address is specified at function block input I2. Within this context,
the numeric value of the operand at runtime will be interpreted as the offset to be added
to marker byte MB01.
Example with a value of "0"
A value 0 at input I1 means that the source data block for the transfer starts at MB01. A
value 10 at I2 means that the destination data block for the transfer starts at MB11.
With the offset information you can address marker ranges
(for example MB380), which you can not address when using
marker operands (direct addressing).
Marker byte example
You wish to transfer the content of marker bytes MB1-MB4 with the content of marker
bytes MB381-MB384 (MD96). A value 0 at input I1 means that the source data block
for the transfer starts at MB01. A value 380 at I2 means that the destination address for
the transfer starts at MB381.
Offset calculation for addressing marker words
Offset = MW (x-1)*2
Offset calculation for addressing marker double words
Offset = MD (x-1)*4
easyE4
11/18 MN050009 EN www.eaton.com
311
Summary of Contents for easyE4 series
Page 1: ...Manual 11 18 MN050009 EN easyE4 Manual...
Page 4: ......
Page 16: ...12 easyE4 11 18 MN050009 EN www eaton com...
Page 22: ...0 1 About this manual 18 easyE4 11 18 MN050009 EN www eaton com...
Page 169: ...easyE4 11 18 MN050009 EN www eaton com 165...
Page 490: ...7 System settings 7 16 Time and Date setting 486 easyE4 11 18 MN050009 EN www eaton com...
Page 520: ...9 easyE4 inside 9 7 NET network 516 easyE4 11 18 MN050009 EN www eaton com...
Page 570: ...11 Connection to other devices 11 6 E mail function 566 easyE4 11 18 MN050009 EN www eaton com...
Page 578: ...12 Faults 12 4 Functionality of the NET faulty 574 easyE4 11 18 MN050009 EN www eaton com...
Page 582: ...13 Maintenance 13 3 Storage transport and disposal 578 easyE4 11 18 MN050009 EN www eaton com...
Page 594: ...590 easyE4 11 18 MN050009 EN www eaton com...