Chapter 3 Creating and Editing Screens
Example
Divide $0 by the value of 2.0 and store the remainder value in $2 (this is a floating
point operation of signed 32-bit data).
Divide $4 by $6 and store the remainder value in $8 (this is a floating point operation
of signed 32-bit data).
Equation
Var1 = SIN (Var2)
Explanation
Perform the sine 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.
Var1 can be internal memory only. Var2 can be internal memory or constant.
The display format of the variables must be floating point.
The input variable must be a signed decimal value without the decimal point.
3-314 Revision May, 2010