High−level Instructions
3 − 671
Outline Triangle functions, calculates trigonometric functions and the cosine
[COS ( )] of BCD code angular data, and stores it as BCD.
Program example
Boolean
Ladder Diagram
Address Instruction
S
Trigger
D
F301 BCOS, DT10, DT20
10
R0
10
11
ST R 0
F301 (BCOS)
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
H30
H0
Calculates the COS ( ) of the angle 30 degrees.
H0
H8660
DT10:
DT20:
DT21:
DT22:
Calculates the COS ( ) of the angle 135 degrees.
H135
H1
H1
H7071
DT10:
DT20:
DT21:
DT22:
F301
P301
(PBCOS)
(BCOS)
BCD type Cosine operation
vailable
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com