User's Manual

Chapter 3 Creating and Editing Screens
3-308 Revision May, 2010
Multiply the value of $8 by $10 and store the value in $12 (this is an operation of
signed 32-bit data).
Repeated Addition)
Var1 = ADDSUMW (Var2, Var3)
ive registers starting at register Var2 and store
the repeated addition result in Var1.
n the
s the length of designated unit, the data out of range will be
ar2 can be internal memory only. Var3 can be internal memory or
constant.
rand total is stored in the address $5 (this is an operation of unsigned
16-bit data).
ADDSUMW (
Equation
Explanation
Perform the addition on Var3 consecut
Remark
This is the operation of unsigned data.
The calculation result can be stored as unsigned WORD and DWORD. Whe
data exceed
discarded.
Var1 and V
Example
Add up the values contained within the internal memory address $0, $1, $2, $3 and
$4, and the g