Calculation Of Totals For 16-Bit Data (Wsum(P)) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7.5.13

Calculation of totals for 16-bit data (WSUM(P))

WSUM(P)
WSUM
WSUMP
Setting
Data
S
D
n
Function
(1) Adds all 16-bit BIN data for n blocks from the device designated at
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.
• The n-bit range from the
Command
Command
: Head number of the devices where data to be summed are stored (BIN 16 bits)
S
: Head number of the devices where the sum will be stored (BIN 32 bits)
D
n
: Number of data blocks (BIN 16 bits)
Internal Devices
R, ZR
Bit
Word
––
.
D
S
4444 (BIN)
3333 (BIN)
S
+ 1
1234 (BIN)
S
+ 2
n
5426 (BIN)
S
+ 3
329 (BIN)
S
+ 4
10000 (BIN)
S
+ 5
, or device exceeds the range of that device.
S
High
Basic
performance
S
WSUM
S
WSUMP
J
\
U
\G
Bit
Word
––
D
+ 1,
D
13914 (BIN)
WSUM(P)
Process
Redundant Universal
LCPU
n
D
n
D
Constants
Zn
Other
K, H
––
––
––
––
––
, and stores it in the
S
(Error code: 4101)
7-99
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents