EasyManua.ls Logo

Panasonic FP-E - Page 943

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 − 679
Outline Triangle functions, This instruction calculates arctangent [TAN
−1
( )].
Program example
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
S
Trigger
D
F305 BATAN, DT20, DT1010
R0
10
11
ST R 0
F305 (BA TAN)
DT 20
DT 10
S Starting 16-bit area where angle data is stored or angle data (3 words)
D Area where calculated result 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
S A A A A A A A A A A N/A N/A N/A A N/A
D N/A A A A A A A A A A N/A N/A N/A A N/A
Explanation of example
H60
H0
Calculates the arc TAN of the value 1.7321.
H0
H7321
DT10:
DT20:
DT21:
DT22:
Calculates the arc TAN of the value −1.
H315
H1
H1
H0
DT10:
DT20:
DT21:
DT22:
F305
P305
(PBATAN)
(BATAN)
BCD type Arctangent operation
A
:
A
vailable
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com