Panasonic FP-E Programming Manual page 997

Fp series
Table of Contents

Advertisement

F335
(F+/−)
P335
(PF+/−)
Outline
This instruction changes the sign of real number data.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
"P335 (PF+/−)" is not available.
Program example
Trigger
R0
10
F335 F+/−, DT10, DT20
S
D
Operands
Relay
Operand
Operand
WX WY WR WL
S
A
A
D
N/A
A
Explanation of example
When the real number data "−60000.00" is in DT10 and DT11, as shown below.
DT10:
(f−60000.00)
DT11:
DT20:
(f60000.00)
DT21:
When the real number data "−30000.00" is in DT10 and DT11, as shown below.
DT10:
(f−30000.00)
DT11:
DT20:
(f30000.00)
DT21:
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Floating point real number data sign changes
(negative/positive conversion)
Ladder Diagram
Ladder Diagram
S
Real number data (2 words) or lower 16-bit area of 32-bit data (source)
Lower 16-bit area of 32-bit data for storing converted data (destination)
Timer/Counter
SV
EV
A
A
A
A
A
A
A
A
D
Index
Register
register
DT
LD
FL
I
A
A
A
A
A
A
A
A
* Index modification of a real number is not possible.
High−level Instructions
Boolean
Address
Instruction
10
ST
R
11
F335
DT
DT
Constant
Index
modifier device
modifier
K
H
f
A
A
A
A*
N/A N/A N/A
A
A:
Available
N/A: Not Available
0
(F+/−)
10
20
Integer
device
A
N/A
3 − 733

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents