User's Manual

Chapter 3 Creating and Editing Screens
3-306 Revision May, 2010
inder)
Var3
he division of Var2 and Var3, and store the remainder in Var1.
result can be stored as signed or unsigned WORD and DWORD.
ll
rnal memory or
constant.
e contained within Var3 cannot be equal to 0 (zero).
Divide $0 by the value of 2 and store the remainder value in $1 (this is an operation
of unsigned 16-bit data).
% (Get Rema
Equation
Var1 = Var2 %
Explanation
Perform t
Remark
The calculation
When the data exceeds the length of designated unit, the data out of range wi
be discarded.
Var1 can be internal memory only. Var2 and Var3 can be inte
The valu
Example
Divide $2 by $3 and store the remainder value in $4 (this is an operation of signed
16-bit data).