Data transfer within the PLC
841
Part III FP Instructions
F18_BXCH
16-bit blocked data exchange
0
1
3
2
11
10
4
12
5
13
6
7
14
0
1
3
2
3
2
1
44
55
6
7
6
0
1
3
2
11
10
1
412
513
6
7
6
0
1
3
2
3
2
4
4
5
5
6
7
14
data_field_1[5]
data_field_1[2]
data_field_1[2]
data_field_2[3]
data_field_2[3]
start: ON
data_field_1[5]
This instruction also exists as a P instruction (for FP2/2SH, FP3/5, FP10/10SH PLC types), which
is only executed at the rising edge of the EN trigger. Select [Insert P instruction] from the
"Instructions" pane if you require a P instruction. To facilitate reuse, the instruction then appears
under "Recently used" in the pop-up menu. Press <Ctrl>+<Shift>+<v> within the programming
area to open the list of recently used elements.
PLC types
Availability of F18_BXCH (see page 1322)
Variable Data type Function
d1_Start starting 16-bit area of block data 1
d2_End ending 16-bit area of block data 1
d3_Start
ANY16
starting 16-bit area of block data 2
For Relay T/C Register Constant
d1_Start,
d2_End,
d3_Start
- WY WR WL SV EV DT LD FL -
No. IEC address Set If
R9007 %MX0.900.7 permanently
R9008 %MX0.900.8 for an instant
the address of the variables at outputs
d1_Start > d2_End
the data block to be exchanged is larger
than the target area.
Description
The function exchanges one 16-bit data block for another. The beginning of the first data block is
specified at output d1_Start and its end at output d2_End. Output d3_Start specifies the beginning
of the second data block.
Data types
Operands
Error flags