Professional Documents
Culture Documents
Data Disignation Method
Data Disignation Method
Explanation of Instructions
6.2 Instruction Tables
Description
Instruction steps
Execution
Condition
Ext. inst.
See for
Class
sign
Execution
Symbol Process details
Storage
Bit test (A contact operation start
LDBIT <= S1 n 3 2 177
handling) (Note 1)
Bit test (A contact series connection
ANDBIT <= S1 n 3 2 177
handling) (Note 1)
Bit test (A contact parallel connection
ORBIT <= S1 n 3 2 177
handling) (Note 1)
1-bit
BIT
Description
steps
Instruction
Execution
Condition
Ext. inst.
See for
Class
sign
Execution
Symbol Process details
Storage
K1: Tool No. search 191
K2: Tool No. AND operation search 192
K3: Tool change 193
K4: Arbitrary position tool change 194
K5: Forward run of pointer 195
ATC
― S.ROT S.ROT Kn Rn Rm Mn 8 5
K3: Ring counter 207
II - 51
6. Explanation of Instructions
6.3 Data Designation Method
b15 ~ b0
Word device 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0
II - 52
6. Explanation of Instructions
6.3 Data Designation Method
XF to XC XB to X8 X7 to X4 X3 to X0
K1 designation
range
(4 points)
K2 designation
range
(8 points)
K3 designation
range
(12 points)
K4 designation
range
(16 points)
List of Numeric Values that Can Be Dealt with as Source Data for Digit Designation at Source (S) Side
Number of Digits Designated With 16-Bit Instruction
K1 (4 points) 0 to 15
K2 (8 points) 0 to 255
K3 (12 points) 0 to 4095
K4 (16 points) -32768 to 32767
If the source side is a digit-designated bit device, and the destination is a word device, the word device
on the destination side will be 0 after the digit-designated bits on the source side.
II - 53
6. Explanation of Instructions
6.3 Data Designation Method
When a digit is designated on the destination (D) side, the No. of points designated by the digit will be the
target of the destination side.
H1234 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0
MOV H1234 K2M0
M15・・・・・・・・・・・・・M8M7・・・・・・・・・・・・・・M0
Destination (D) K2M0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0
Do not change 3 4
(Note)
MOV D0 K2M100
M115・・・・・・・・・・・・・M108M107・・M104M103・・M100
K2M100 1 0 0 1 1 1 0 1
Destination (D)
Do not change
M0
MOV K100 D0
II - 54
6. Explanation of Instructions
6.3 Data Designation Method
K1 designation range
(8 points)
K2 designation range
(8 points)
K3 designation range
(12points)
K4 designation range
(16 points)
K5 designation range
(20 points)
K6 designation range
(24 points)
K7 designation range
(28 points)
K8 designation range
(32 points)
List of Numeric Values that Can Be Dealt with as Source Data for Digit Designation at Source (S) Side
Number of Digits With 32-bit Number of
Digits With 32-bit Instructions
Designated Instructions
K1 (4 points) 0 to 15 K5 (20 points) 0 to 1048575
K2 (8 points) 0 to 255 K6 (24 points) 0 to 16772165
K3 (12 points) 0 to 4095 K7 (28 points) 0 to 268435455
K4 (16 points) 0 to 65535 K8 (32 points) -2147483648 to 2147483647
In cases where the source is a bit device designated by digit designation, and the destination is a word
device, the word device for the destination becomes 0 following the bit designated by digit designation at
the source.
II - 55
6. Explanation of Instructions
6.3 Data Designation Method
Become 0
M0
DMOV K100 D0
II - 56