171
4-9-13.ATAN [ATAN]
1. Summary
Normally ON/OFF,
rising/falling edge
Soft element address need to do arctan
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.
Calculate the arctan value ( radian), save the result in the target address
Note: Before the instruction is executed, the data in parameter S must be floating number;
otherwise, the execution result will be wrong.
(D51,D50) ATAN → (D61,D60) RAD
Binary Floating Binary Floating
ATAN value
Binary Floating
RAD value (angle× π/180)
Assign the binary floating
value