EasyManua.ls Logo

Panasonic FP-E - Page 949

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 − 685
Outline Subtracts real nuumber data from the minuend and stores the result in
the specified area.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
“P311 (PF−)” is not available.
Program example
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
S1
Trigger
S2 D
F311 F−, DT10, DT20, DT3010
R0
10
11
ST R 0
F311 (F−)
DT 10
DT 20
DT 30
S1 Real number data (2 words) or lower 16-bit area of 32-bit data (for minuend)
S2 Real number data (2 words) or lower 16-bit area of 32-bit data (for subtrahend)
D Lower 16-bit area of 32-bit data (for result)
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 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
Subtracts the real number data (2 words) specified by S2 from the real number data (32-bit) specified by S1
when the trigger turns on. The subtracted 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.
F311 F−, % DT 0, % DT 2, DT 4
R0
F311
P311
(PF−)
(F−)
Floating point data subtraction
A
:
A
vailable
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com