Chapter 3 Creating and Editing Screens
The display format of the variables must be floating point.
The input variable must be a signed decimal value without the decimal point.
Example
Perform the function of TAN30o and store the result in $0 (this is a floating point
operation of signed 32-bit data).
Perform the tangent function of $2 and store the result in $4 (this is a floating point
operation of signed 32-bit data).
Equation
Var1 = COT (Var2)
Explanation
Perform the cotangent function of the value within Var2, and store the result in Var1.
Remark
The definition of Var2 is an angle, not radius.
This is the operation of signed 32-bit data.
The calculation result can be stored as signed DWORD. When the data exceeds
the length of designated unit, the data out of range will be discarded.
Revision May, 2010 3-317