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 #380 background imageLoading...
Page #380 background image
378
WSUM, WSUMP
[Operation]
: Head number of the devices where data to be summed are stored (BIN 16 bits)
: Head number of the devices where the sum will be stored (BIN 32 bits)
n : Number of data blocks (BIN 16 bits)
Function
(1) Adds all 16-bit BIN data for n blocks from the device designated at , and stores it in the device designated at .
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
7.5.13 WSUM, WSUMP Calculation of totals for 16-bit data
7.5.13
WSUM, WSUMP
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– –– –– ––
–– ––
n ––
Error
code
Error details
Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4101
The points specified in n exceed those of the corresponding device
specified in .
Data before sort
-1
-99999
-1111
5000
456789
D3, D2
D5, D4
D7, D6
D9, D8
D1, D0
Data after sort
5000
456789
-1111
1
-99999
D3, D2
D5, D4
D7, D6
D9, D8
D1, D0
-1111
-99999
5000
1
456789
D3, D2
D5, D4
D7, D6
D9, D8
D1, D0
X0 ON
X0 OFF
Basic
Process
High
performance
Redundant
Universal
LCPU
n
n
WSUM
WSUMP
D
D
Command
Command
WSUMP
WSUM
S
S
S
D
S
D
S
D
4444 (BIN)
+ 1
+ 2
3333 (BIN)
1234 (BIN)
5426 (BIN)
329 (BIN)
+ 3
+ 4
13914 (BIN)
10000 (BIN)
+ 5
S
S
D
S
S
S
n
D
S
+ 1
,
S

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