Panasonic FP7 Series Command Reference Manual page 419

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

Example of data table shift-out and compress when DT10, DT17 and DT20 are respectively specified
for [D1], [D2] and [D3].
[D1]
DT10
DT11
DT12
DT13
DT14
DT15
DT16
[D2]
DT17
Processing
1. The buffer end is transferred to read data.
2. The data are compressed, excluding the data containing buffer end.
Example) Operation unit: 16 bits (US, SS) (executed twice)
[i]...US,SS
[D1]...DT1
First execution
DT0
H 1
DT1
H 0
DT2
H 3
DT3
H 0
DT4
H 5
DT5
H 0
DT6
H 7
DT7
H 8
H 8
DT8
Precautions during programming
● In the case of a direct address and index modification address, specify the same device for
[D1] and [D2]. At the same time, specify [D2] to be greater than or equal to [D1].
Flag operations
Name
SR7
SR8
(ER)
WUME-FP7CPUPGR-12
8.15 CMPR (Data Table Shift-Out and Compress)
1
DT10
0
DT11
3
DT12
0
DT13
5
DT14
0
DT15
7
DT16
8
DT17
DT20
[D2]...DT7
[D3]...DT10
DT0
H 0
Compression
DT1
H 0
DT2
H 0
DT3
H 0
DT4
H 1
DT5
H 3
DT6
H 5
DT7
H 7
H 9
DT8
DT10
H 8
① Read data move
Description
To be set in the case of out-of-range in indirect access (index modification).
To be set when [D1] is larger than [D2].
0
[D1]
0
0
0
1
3
5
7
[D2]
8
[D3]
Second execution
DT0
H 0
DT1
H 0
DT2
H 0
DT3
H 0
DT4
H 1
DT5
H 3
DT6
H 5
DT7
H 7
H 9
DT8
DT0
H 0
DT1
H 0
DT2
H 0
Compression
DT3
H 0
DT4
H 0
DT5
H 1
DT6
H 3
DT7
H 5
H 9
DT8
DT10
H 7
① Read data move
8-31

Advertisement

Table of Contents
loading

Table of Contents