
Drive PLC Developer Studio
IEC 61131-3 Standard functions
14-6
l
DDS EN 2.3
14.2.6 SIN
Returns the sine of a number in radians
Examples
IL ST FBD
LD 0.5
SIN
ST q (* q=0.4794255 *)
q:=SIN(0.5);
14.2.7 COS
Returns the cosine of a number in radians
Examples
IL ST FBD
LD 0.5
COS
ST q (* q=0.8775826 *)
q:=COS(0.5);
14.2.8 TAN
Returns the tangent of a number in radians
Examples
IL ST FBD
LD 0.5
TAN
ST q (* q=0.5463024 *)
q:=TAN(0.5);
14.2.9 ASIN
Returns the arc sine (inversion of sine) of a number in radians
Examples
IL ST FBD
LD 0.5
ASIN
ST q (* q=0.5235988 *)
q:=ASIN(0.5);
14.2.10 ACOS
Returns the arc cosine (inversion of cosine) of a number in radians
Examples
IL ST FBD
LD 0.5
ACOS
ST q (* q=1.047198 *)
q:=ACOS(0.5);
Comentarios a estos manuales