4-36 Series 90-30/20/Micro Programmable Controllers Reference Manual September 1998 GFK-0467K
4
Parameters:
Parameter Description
enable When the function is enabled, the operation is performed.
IN IN contains the constant or reference real value to be operated on.
ok The ok output is energized when the function is performed without overflow,
unless an invalid operation occurs and/or IN is NaN.
QOutput Q contains the trigonometric value of IN.
Valid Memory Types:
Parameter flow %I %Q %M %T %S %G %R %AI %AQ const none
enable
IN • • •
ok • •
Q• • •
Valid reference or place where power may flow through the function.
Example:
In the following example, the COS of the value in %R0001 is placed in %R0033.
| _____
|ALW_ON | |
|——] [—————————| COS_|—
| | |
| | REAL|
| | |
| %R0001—|IN Q|—%R0033
| | |
| +3.141500|_____| -1.000000
|