Function blocks
173
1SVC 440 795 M1100
Parameters of BT01 function block:
Source range:
>I1 MB10
Destination range: >I2 MB20
Number of bytes: >NO 10
After a rising edge from 0 to 1 at coil BT01T_ the content of
MB10 to MB19 is copied to the marker bytes MB20 to
MB29.
Example:
Copying of marker blocks, definition of a marker range with
offset
The content of marker bytes MB15 to MB18 is to be copied
to marker bytes MB65 to MB68.
Parameters of BT01 function block:
Source range:
>I1 MB15
Destination range:>I2 64
Number of bytes: >NO 4
Marker MB01: 1
Source range Value of
source marker
range
(decimal)
Target range Value of
destination
marker range
(decimal)
MB10 42 MB20 42
MB11 27 MB21 27
MB12 179 MB22 179
MB13 205 MB23 205
MB14 253 MB24 253
MB15 17 MB25 17
MB16
4MB264
MB17 47 MB27 47
MB18 11 MB28 11
MB19 193 MB29 193
h
Destination range: Constant 64:
Marker MB01 plus offset: 1 + 64 = 65 r MB65.