5 SEQUENCE INSTRUCTIONS FOR MOTION CPU
For 16-bit
instruction
For 32-bit
instruction
(3) When a digit is designated on the source (S) side
The values that can be handled as source data will be as shown below.
Table 5.1 Table of digit designations and values that can be handled
K1 (4 points)
K2 (8 points)
K3 (12 points)
K4 (16 points)
K5 (20 points)
K6 (24 points)
K7 (28 points)
K8 (32 points)
Program example
MOV K1X0 D2000
Source(S)data
DMOV K1X0 D2000
Source(S)data
For 16-bit instruction
0 to 15
0 to 255
0 to 4095
-32768 to 32767
―
―
―
―
b15
D2000
0
0
b15
D2000
0
0
D2001
0
0
b31
5 - 14
For 32-bit instruction
0 to 15
0 to 255
0 to 4095
0 to 65535
0 to 1048575
0 to 167772165
0 to 268435455
-2147483648 to 2147483647
Process
K1X0
Becomes 0
b4
0
0
0
0
0
0
0
0
0
K1X0
Becomes 0
b4
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Becomes 0
X3
X2
X1
X0
b3
b2
b1
b0
0
X3
X2
X1
X0
X3
X2
X1
X0
b3
b2
b1
b0
X3
X2
X1
X0
0
0
0
0
b16