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
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
erand
Relay Timer/Counter Register
Index
register
Constant
Index
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
vailable
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com