Panasonic FP-E Programming Manual page 320

Fp series
Table of Contents

Advertisement

High−level Instructions
Explanation of example
The data block from data register DT10 to data register DT13 and the data block (DT31 to DT34) starting from
data register DT31 are exchanged when trigger R0 turns on.
[D1] DT10
K
10
11
K
11
12
K
12
K
13
[D2] DT13
K
14
14
R0: on
WR
[D1] DT10
K
2
11
K
3
12
K
4
K
5
[D2] DT13
K
14
14
Description
The data block specified by D1 and D2 and the block starting from the 16-bit area specified by D3 are
exchanged when the trigger turns on.
Precautions during programming
The starting area D1 and ending area D2 should:
Be the same type of operand.
Satisfy D1
D2. If area D1 > D2, an operation error occurs.
If the areas of blocks to be exchanged overlap, correct exchange will not be possible. Note, however, that an
error will not occur (the error flag will not turn on).
Flag conditions
・Error flag (R9007):
・Error flag (R9008):
3 − 56
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
DT30
K
1
31
K
2
K
3
32
K
4
33
K
5
34
K
6
35
"F18 (BXCH)" execution
DT30
K
1
31
K
10
32
K
11
K
12
33
K
13
34
K
6
35
Turns on and stays on when:
Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− D1 > D2
− The data block to be exchanged exceeds the limit of the destination area.
[D3]
[D3]

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents