EasyManuals Logo
Home>Delta>Controller>DVP-SS2

Delta DVP-SS2 User Manual

Delta DVP-SS2
1006 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #580 background imageLoading...
Page #580 background image
3. Instruction Set
3-459
API
Mnemonic Operands Function
Controllers
ES2/EX2/
EC5
SS2
SA2
SE
SX2
179 D
WSUM P
Sum of multiple
devices
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
WSUM, WSUMP: 7 steps
DWSUM, DWSUMP: 13
steps
S
*
*
*
n
*
*
*
D
*
*
*
PULSE
16-bit
32-bit
ES2/EX2/
EC5
SS2
SA2
SE
SX2
ES2/EX2/
EC5
SS2
SA2
SE
SX2
ES2/EX2/
EC5
SS2
SA2
SE
SX2
Operands:
S: Source device n: Data length to be summed up D: Device for storing the result
Explanations:
1. WSUM instruction sums up n devices starting from S and store the result in D.
2. If the specified source devices S are out of valid range, only the devices in valid range will be
processed.
3. Valid range for n: 1~64. If the specified n value is out of the available range (1~64), PLC will
take the upper (64) or lower (1) bound value as the set value.
4. D used in the 16-bit/32-bit instruction is a 32-bit register.
Program example 1:
When X10 = ON, the 3 consecutive devices (n = 3) from D0 will be summed up and the result will be
stored in (D11, D10)
X10
WSUM D0 D10
K3
D0
D1
D2
(D11,D10)
K338
K100
K113
K125
(D0+D1+D2)
(D11,D10)
Result:
Program example 2:
When X10 = ON, 3 consecutive devices (n = 3) from (D1, D0) will be summed up and the result will
be stored in (D11, D10).
X10
DWSUM D0 D10
K3

Table of Contents

Other manuals for Delta DVP-SS2

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-SS2 and is the answer not in the manual?

Delta DVP-SS2 Specifications

General IconGeneral
BrandDelta
ModelDVP-SS2
CategoryController
LanguageEnglish

Related product manuals