COS
The IEC operator returns the cosine value for a number.
Permitted data types for the input variable, which specifies the angle in radians: any numeric basic data type
Permitted data types for output variables: REAL and LREAL
The allowed range for the input value is from -263 to +263. |
Samples:
ST:
fVar := COS(0.5);
FBD:
Result: fVar is 0.877583.