High
−
level Instructions
3
−
689
Outline
Divides real number data by the divisor and stores the divided result in
the specified 32-bit area.
For the FP0R/FP
Σ
/FP
−
X/FP0/FP
−
e, the P type high
−
level instruction
“P313 (PF%)” is not available.
Program example
Ladder Diagram
Boolean
Ladder Diagram
Address
Instruction
S1
Trigger
S2
D
F313 F%, DT10, DT20, DT30
10
R0
10
11
ST
R
0
F313
(F%)
DT
10
DT
20
DT
30
S1
Real number data (2 words) or lower 16-bit area of 32-bit data (for dividend)
S2
Real number data (2 words) or lower 16-bit area of 32-bit data (for divisor)
D
Lower 16-bit area of 32-bit data (for result)
Operands
Operand
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
A
A
A
A
A
A
A
A
A
A
A
A
A
A
*
A
S2
A
A
A
A
A
A
A
A
A
A
A
A
A
A
*
A
D
N/A
A
A
A
A
A
A
A
A
A
N/A N/A N/A
A
A
*
Index modification of a real number is not possible.
Description
The real number data (2 words) specified by S1 is divided by the real number data (2 words) specified by S2
when the trigger turns on. The result is stored in D+1 and D.
[S1+1, S1]
÷
[S2+1, S2]
→
[D+1, D]
Specifying the integer device with [S1] and [S2], the integer data is internally converted to real numbers
before operations continue.
F313 F%, % DT 0, % DT 2, DT4
R0
F313
P313
(PF%)
(F%)
Floating point data division
A: Available
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-X
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...