Panasonic FP7 Series Command Reference Manual page 421

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].
DT10
DT11
DT12
DT13
DT14
DT15
DT16
DT17
DT20
Processing
1. The write data are transferred to the buffer start. (The starting data are overwritten.)
2. The data are compressed in the range from buffer start to buffer end.
Example) Operation unit: 16 bits (US, SS) (executed twice)
[i]...US,SS
[S]...DT10
[D1]...DT0 [D2]...DT7
First execution
DT10
9
① Write data move
DT0
1
DT1
0
DT2
3
DT3
0
DT4
5
DT5
0
DT6
7
DT7
0
DT8
9
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.16 CMPW (Data Table Shift-In and Compress)
1
DT10
0
DT11
DT12
3
0
DT13
5
DT14
0
DT15
7
DT16
0
DT17
9
DT0
DT1
DT2
DT3
DT4
DT5
DT6
DT7
Compression
DT8
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
0
0
0
9
3
5
7
Second execution
DT10
① Write data move
0
DT0
0
DT1
0
DT2
0
DT3
9
DT4
3
DT5
5
DT6
7
DT7
9
DT8
16
0
DT0
DT1
0
0
DT2
0
DT3
Compression
9
DT4
3
DT5
5
DT6
7
DT7
9
DT8
0
0
0
16
9
3
5
7
9
8-33

Advertisement

Table of Contents
loading

Table of Contents