High−level Instructions
3 − 669
Outline Triangle functions, calculates trigonometric functions and the sine
[SIN( )] of BCD code angular data, and stores it as BCD.
Program example
Boolean
Ladder Diagram
Address Instruction
S
Trigger
D
F300 BSIN, DT10, DT2010
R0
10
11
ST R 0
F300 (BSIN)
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
H45
H0
Calculates the SIN ( ) of the angle 45 degrees.
H0
H7071
DT10:
DT20:
DT21:
DT22:
Calculates the SIN ( ) of the angle 270 degrees.
H270
H1
H1
H0
DT10:
DT20:
DT21:
DT22:
F300
P300
(PBSIN)
(BSIN)
BCD type Sine operation
vailable
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com