Specifications
7. Application Instructions
© DELTA ELECTRONICS, INC. ALL RIGHTS RESERVED
7-64
D
131
COS S D
COS operation of decimal of
binary system
Bit device Word device
Device
Operand
X Y M S K H KnX KnY KnM KnS T C D E F
S
Ϩ
D
Ϩ
S
: designated RAD.
D
: the result of COS value.
RAD value that
S
designates = angle ØӸ/180. To get COS value
and save in the register that
D
designates.
Program Example
DCOS
X0
D0 D10
D1 D0
D1 D10
RAD 180)YDOXHDQJOH
COS value
decimal of binary system
decimal of binary system
Ϩʳ When X0=On, Get the COS value of RAD value of decimal of binary
system (D1, D0) and save it in (D11, D10). The content is decimal of
binary system.
Please refer to page 7-4 Handling of Decimal for detail.
D
132
TAN S D
TAN operation of decimal of
binary system
Bit device Word device
Device
Operand
XYMS K H
KnX KnY KnM KnS
TCDEF
S
Ϩ
D
Ϩ
S
: designated RAD value.
D
: the result of TAN value.
RAD value that
S
designates = angle ͪӸ/180. Get TAN value and
save the result in the register that
D
designates.
Program Example
DTAN
X0
D0 D10
D1 D0
D11 D10
RAD 180)YDOXHDQJOH
TAN value
decimal of binary system
decimal of binary system
Ϩʳ When X0=On, RAD value of decimal of binary system of (D1, D0) and
convert to TAN value to save in (D11, D10). The content is decimal of
binary system.
Please refer to page 7-4 Handling of Decimal for detail.