5 SEQUENCE INSTRUCTIONS FOR MOTION CPU
5.2 Configuration of Instructions
5.2.1 How to read the instruction table
Instructions overview
Section number
5.4.4 BIN 32-bit addition and subtraction operations: D+, D-
Setting
Bit device
data
X
Y
M
(S1)
(S2)
(D)
The devices that can be used with the D+, D- instruction are circled.
[Setting data]
Setting data
The section describes configuration for sequence program instruction to be executed
in the Motion CPU. For a list of available instructions, refer to Section 3.5.2.
The basic instruction and function instruction explanations are shown below.
Example of BIN 32-bit addition and subtraction instruction
SM
F
T
C
D
[Instruction]
Command
D+
Command
D-
(S1)
Number of the devices where the data to be added to/subtracted from is stored (BIN 32 bits)
Data for additing/subtracting or number of the devices where the data for
(S2)
additing/subtracting is stored (BIN 32 bits)
(D)
Number of the devices where the addition/subtraction operation result will be stored (BIN 32 bits)
The instructions that can use an index
(Z) are circled. The only instructions in
this manual that use index (Z) are the
Instruction code
MOV, DMOV instructions.
A circle is indicated if digit designation
of the bit device is possible.
Usable device
Word device
W
T
C
SD
Z
(Note-1): Cannot specify the same device in (S1) and (D), or (S2) and (D).
D+
(S1)
D-
(S1)
The D+,D- instruction circuit display format is indicated.
Description
Indicates the data set for each instruction and the data type.
5 - 10
Constant Pointer
Level
K
H
P
N
(S2)
(D)
(S2)
(D)
Digit
desig-
Index
nation
: Usable