Attention
IronPLC implements many parts of the IEC 61131-3 standard and is working toward full Structured Text support. Key features still missing include arrays and structures. Try it out in the IronPLC Playground.
COS¶
Returns the cosine of an angle in radians.
IEC 61131-3 |
Section 2.5.1.5.2 |
Support |
Supported |
Signatures¶
# |
Input (IN) |
Return Type |
Support |
|---|---|---|---|
1 |
|
|
Supported |
2 |
|
|
Supported |
Description¶
Returns the cosine of IN, where IN is an angle expressed in radians. The result is in the range [-1.0, 1.0].