Panasonic FP-E Programming Manual page 294

Fp series
Table of Contents

Advertisement

High−level Instructions
Explanation of example
The data of data register "DT0 to DT3" is copied to the data registers "DT10 to DT13" when trigger R0 turns on.
K
10
[S1] DT0
K
11
DT1
DT2
K
12
[S2] DT3
K
13
K
14
DT4
R0: on
K
10
[S1] DT0
K
11
DT1
K
12
DT2
K
13
[S2] DT3
K
14
DT4
Precautions if the same type of memory area is specified for S1, S2, and D
The instruction is not executed if the address and type of memory area is the same for S1 and D.
If the block being transferred overlaps the transfer destination, the transfer results will be overwritten.
If S1 < D, the source data is copied starting from the higher address to the lower address in order (DT4 → DT3
→ DT2 → DT1).
K
10
[S1] DT0
K
11
DT1
K
12
DT2
K
13
[S2] DT3
K
14
DT4
If S1 > D, the source data is copied starting from the lower address to the higher address in order (DT0 → DT1
→ DT2).
K
10
DT0
K
11
DT1
[S1] DT2
K
12
DT3
K
13
K
14
[S2] DT4
Flag conditions
・Error flag (R9007):
・Error flag (R9008):
3 − 30
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
DT9
K
DT10
K
Source
DT11
K
DT12
K
DT13
K
"F10 (BKMV)" execution
K
DT9
DT10
K
DT11
K
DT12
K
DT13
K
K
DT0
DT1
K
DT2
K
DT3
K
DT4
K
DT0
K
DT1
K
DT2
K
DT3
K
DT4
K
Turns on and stays on when:
Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− S1 > S2
− The data block to be copied exceeds the limit of the destination area.
0
0
0
0
0
0
10
[D]
11
12
13
10
10
[D]
11
12
13
[D]
12
13
14
13
14

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents