Mitsubishi MELSEC Q Series Programming Manual page 48

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

Advertisement

Category
BK+
BIN 16-bit
data block
BK+P
addition
and
BK-
subtraction
operations
BK-P
DBK+
BIN 32-bit
DBK+P
data block
addition
and
subtraction
DBK-
operations
DBK-P
$+
Character
$+P
string data
$+
Connection
$+P
INC
INCP
DINC
DINCP
BIN data
increment
DEC
DECP
DDEC
DDECP
2-20
Table 2.11 Arithmetic Operation Instructions (Continued)
Symbol
BK+
S1 S2
D
n
BK+P
S1 S2
D
n
BK
S1 S2
D
n
BK
P
S1 S2
D
n
DBK+
S1 S2
D
n
DBK+P
S1 S2
D
n
DBK
S1 S2
D
n
DBK
P
S1 S2
D
n
$+
S D
$+P
S D
$+
S1 S2 D
$+P
S1 S2 D
INC
D
INCP
D
DINC
D
DINCP
D
DEC
D
DECP
D
DDEC
D
DDECP
D
Processing Details
• This instruction adds BIN 16-bit data
stored in n-point devices starting from the
device specified by (S1) to the n-point data
stored in the devices starting from the
device specified by (S2) in batch.
• This instruction substracts BIN 16-bit data
stored in the n-point devices starting from
the devices specified by (S2) from BIN 16-
bit data stored in n-point devices starting
from the device specified by (S1) in batch.
• Adds BIN 32-bit data stored in the n-
point devices starting from the device
specified by (S1) and a constant to BIN
32-bit data stored in the n-point devices
starting from the device specified by
(S2) and stores the result into the nth
device specified by (D) and up.
• Subtracts BIN 32-bit data stored in the
n-point devices starting from the device
specified by (S2) or a constant from BIN
32-bit data stored in n-point devices
starting from the device specified by
(S1) and stores the operation result into
the nth device specified by (D) and up.
• Links character string designated with (S)
to character string designated with (D),
and stores the result from (D) onward.
• Links character string designated with (S2)
to character string designated with (S1),
and stores the result from (D) onward.
• (D)+1
(D)
• (D+1, D)+1
(D+1, D)
• (D)
1
(D)
• (D+1, D)
1
(D+1, D)
Execution
Condition
5
-
6-59
5
-
5
-
6-62
5
-
3
-
6-66
4
-
6-68
2
6-70
6-72
*7
2
6-70
6-72
*7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents