EasyManua.ls Logo

Panasonic FP-E - Page 911

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 − 647
Outline Sorts a string of data words.
For the FP0R/FPΣ/FP−X, the P type high−level instruction “P277
(PSORT)” is not available.
Program example
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
S1
Trigger
S3
F277 SORT, DT10, DT19, K0
10
R0
S2
10
11
ST R 0
F277 (SORT)
DT 10
DT 19
K0
S1 Starting 16-bit area of sort data
S2 Ending 16-bit area of sort data
S3 Constant or area where sort condition is stored.
Operands
O
p
erand
Relay Timer/Counter Register
Index
register
Constant
Index
modifier
Integer
device
Operand
WX WY WR WL SV EV DT LD FL I K H f
modifier device
S1 N/A A A A A A A A A A N/A N/A N/A A N/A
S2 N/A A A A A A A A A A N/A N/A N/A A N/A
S3 A A A A A A A A A A A A N/A A N/A
Explanation of example
When the S3 is “K0 (ascending order)”
DT10
11
12
13
14
15
16
17
18
19
K300
K10
K3
K−1
K1000
K−30
K100
K30
K1
K−3
DT10
11
12
13
14
15
16
17
18
19
K−30
K−3
K−1
K1
K3
K10
K30
K100
K300
K1000
When the S3 is “K1 (descending order)”
DT10
11
12
13
14
15
16
17
18
19
K300
K10
K3
K−1
K1000
K−30
K100
K30
K1
K−3
DT10
11
12
13
14
15
16
17
18
19
K1000
K300
K100
K30
K10
K3
K1
K−1
K−3
K−30
F277
P277
(PSORT)
(SORT)
Sort data in 16-bit data table
(in smaller or larger number order)
A
:
A
vailable
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com