168
4-9-10.TAN [TAN]
1. Summary
Normally ON/OFF,
rising/falling edge
Soft element address need to do tan
3. Suitable soft components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
This instruction performs the mathematical TAN operation on the floating point value in S.
The result is stored in D.
Note: Before the instruction is executed, the data in parameter S must be floating number;
otherwise, the execution result will be wrong.
(D51,D50) RAD → (D61,D60) TAN
Binary Floating Binary Floating
RAD value (angle× π/180)
Assign the binary floating value
TAN value
Binary Floating