6. Function blocks6.1 Manufacturer function blocks6.1.5.2 BT - Block transferGeneraleasyE4 base devices provide 32 Block Transfer functionblocks BT01...BT32.The block transfer function copies values from one markerrange to a different, contiguous market range when the CPY(copy) operating mode is enabled.When the INI (initialization) mode is enabled instead, thefunction block copies the content of a marker byte to a dif-ferent, continuous marker range.The transfer is carried out bytewise.Operating principleData is transferred from the source address specified at function block input I1 to thedestination address specified at function block input I2. The NO input is used to specifythe size of the data block in bytes.Transfer with offsetThe 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 addedto 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. Avalue 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 usingmarker operands (direct addressing).Marker byte exampleYou wish to transfer the content of marker bytes MB1-MB4 with the content of markerbytes MB381-MB384 (MD96). A value 0 at input I1 means that the source data blockfor the transfer starts at MB01. A value 380 at I2 means that the destination address forthe transfer starts at MB381.Offset calculation for addressing marker wordsOffset = MW (x-1)*2Offset calculation for addressing marker double wordsOffset = MD (x-1)*4easyE4 11/18 MN050009 EN www.eaton.com 311