EasyManua.ls Logo

Panasonic FP-E - Page 489

Panasonic FP-E
1334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
High−level Instructions
3 − 225
Explanation of example
If the execution condition (trigger) R0 is on, the contents of data register DT5 are sent to data register DT10.
Also, in the range from DT0 to DT5, non −zero contents are stored in sequential order, starting from DT5. The
“0 (zero)” is set in the other areas of the data table.
DT4
555
[D1]
444
0
11
0
10
DT0
DT1
[D2]
DT2
DT3
DT5
0
0
0
555
444
11
DT0
DT5
10
DT10
F98 (CMPR) execution
[D3]
Specified
data range
Description
The data in the table specified by D1 and D2 is rearranged as follows:
− Contents of D2 (highest address) is shifted out to the area specified by D3.
− Non−zero data is shifted (compressed) in sequential order, in the direction of the higher address in
the specified range.
D1
K3
0
K2
0
K1
D2
D1
0
0
0
K3
K2
D2
K1
D3
Starting area D1 and ending area D2 should be the same type of operand.
Be sure to specify D1 and D2 with “D1
D2”.
If all data in the data table specified by D1 and D2 is 0, 0 is set in D3.
Flag conditions
・Error flag (R9007): Turns on and stays on when:
・Error flag (R9008): Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− D1 > D2
− D1 and D2 are not in the same memory area.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com