EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-Q/L

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 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 #381 background imageLoading...
Page #381 background image
379
DWSUM, DWSUMP
1
2
3
4
4
6
7
8
7.5 Data processing instructions
7.5.14 DWSUM, DWSUMP
Program Example
(1) The following program adds the 16-bit BIN data from D10 to D14, and stores it in D100 and D101 when X1C is turned
ON.
[Ladder Mode] [List Mode]
[Operation]
: Head number of the devices where data to be summed are stored (BIN 32 bits)
: Head number of the devices where the sum will be stored (BIN 64 bits)
n : Number of data blocks (BIN 16 bits)
Function
(1) Adds all 32-bit BIN data stored in n points of devices starting from the one designated by , and stores the result to 4
points of devices (4 words) starting from the one designated by .
7.5.14 DWSUM, DWSU MP Calculation o f totals for 32-bi t data
7.5.14
DWSUM, DWSUMP
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– –– –– ––
–– –– ––
n ––
Step
Instruction
Device
4500 (BIN)
D10
2500 (BIN)
3276 (BIN)
6780 (BIN)
14948 (BIN)
D11
D12
D13
D101,D100
4444 (BIN)
D14
Basic
Process
High
performance
Redundant
Universal
LCPU
n
n
DWSUM
DWSUMP
D
D
Command
Command
DWSUMP
DWSUM
S
S
S
D
S
D
S
D
11870000 (BIN)
32767000 (BIN)
6000 (BIN)
35392000 (BIN)
12345000 (BIN)
68640000 (BIN)
D
n
+ 3
D
+
2
+ 4
+ 6
+ 8
S
S
S
S
S
+ 1
,
+ 3
,
+ 5
,
+ 7
,
+ 9
,
S
S
S
S
S
to

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals