EasyManua.ls Logo

Panasonic FP-E - Page 937

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 − 673
Outline Triangle functions, calculates trigonometric functions and the tangent
[TAN ( )] of BCD code angular data, and stores it as BCD.
Program example
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
S
Trigger
D
F302 BTAN, DT10, DT2010
R0
10
11
ST R 0
F302 (BTAN)
DT 10
DT 20
S Area where angle data is stored or angle data
D Starting 16-bit area where calculated result is stored (3 words)
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 A 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
Calculates the TAN ( ) of the angle 60 degrees.
H60
H0
H1
H7321
DT10:
DT20:
DT21:
DT22:
Calculates the TAN ( ) of the angle 135 degrees.
H135
H1
H1
H0
DT10:
DT20:
DT21:
DT22:
F302
P302
(PBTAN)
(BTAN)
BCD type Tangent operation
A
:
A
vailable
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com