Panasonic FP Series Programming Manual page 842

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

F18_BXCH
The function exchanges one 16-bit data block for another. The beginning of the first data block is
Description
specified at output d1_Start and its end at output d2_End. Output d3_Start specifies the beginning
of the second data block.
0
1
10
2
data_field_1[2]
3
11
4
12
data_field_1[5]
5
13
6
14
7
start: ON
0
1
2
2
data_field_1[2]
3
3
4
4
data_field_1[5]
5
5
6
14
7
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.
Availability of F18_BXCH (see page 1322)
PLC types
Data types
Variable
Data type
d1_Start
d2_End
ANY16
d3_Start
Operands
For
d1_Start,
d2_End,
d3_Start
Error flags
No.
IEC address
%MX0.900.7
R9007
%MX0.900.8
R9008
16-bit blocked data exchange
0
1
1
data_field_2[3]
2
2
3
3
4
4
5
5
6
6
7
0
1
1
data_field_2[3]
2
10
3
11
4
12
5
13
6
6
7
Function
starting 16-bit area of block data 1
ending 16-bit area of block data 1
starting 16-bit area of block data 2
Relay
-
WY
WR
WL
SV
Set
permanently
for an instant
T/C
Register
EV
DT
LD
FL
If
 the address of the variables at outputs
d1_Start > d2_End
 the data block to be exchanged is larger
than the target area.
Data transfer within the PLC
Constant
-
841

Advertisement

Table of Contents
loading

Table of Contents