6.7.4 SIN
Input/output Operand
Data type
IN
VD, ID, QD, MD, SMD, SD, LD, AC,constant, *VD, *LD, *AC
Real number
OUT
VD, ID, QD, MD, SMD, SD, LD, AC, *VD, *LD, *AC
Real number
SIN : Perform trigonometric operations on the input
radian value and put the result into OUT.You can use the
angle value multiplied by 1.745329E - 2 to get the value of
the radian.The value of the input “IN” is radian .
SM1.1 is used for indicating overflow errors and illegal
values.
error conditions:
SM1.1
Overflow
Special memory bit:
Zero result
SM1.0
Overflow
SM1.1
Negative result
SM1.2
123
Made with FlippingBook - Online magazine maker