Mitsubishi MELSEC QCPU Programming Manual page 73

Programmable logic controller
Table of Contents

Advertisement

3 CONFIGURATION OF INSTRUCTIONS
XF
(b) In cases where digit designation has been made at the source
shown in Table 3.1 are those which can be dealt with as source data.
Table 3.1 List of Numeric Values that Can Be Dealt with as Digit Designation
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.
With 16-bit instruction
X010
(c) In cases where digit designation is made at the destination
designated are used as the destination. Bit devices below the number of points designated
as digits do not change.
When source
X010
When source
X10
3 - 4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
XC XB
to
to
K4 designation range
Fig 3.1 Digit Designation Setting Range for 16-Bit Instruction
Number of Digits Designated
K1 (4 points)
K2 (8 points)
K3 (12 points)
K4 (16 points)
Ladder Example
MOV K1X0
D0
Source
S
data
Fig 3.2 Ladder Example and Processing Conducted
Ladder Example
S
data is a numerical value
MOV H1234
K2M0
Destination
S
data is a word device
MOV D0
K2M100
Destination
Fig 3.3 Ladder Example and Processing Conducted
X8 X7
X4 X3
to
K1 designation
range
(4 points)
K2 designation range
(8 points)
K3 designation range
(12 points)
(16 points)
With 16-Bit Instruction
0 to 15
0 to 255
0 to 4095
-32768 to 32767
b15
D0
0 0
0 0 0 0 0 0 0 0 0 0
1
H1234 0
0
0
1
M15
K2M0
D
Do not change
b15
D0 1
1
1
M115
K2M100
D
Do not change
MELSEC-Q/QnA
X0
to
, the numeric values
S
Processing
K1X0
X3 X2 X1 X0
Become 0
b4
b3
b2
b1
b0
X3
X2 X1 X0
, the number of points
D
Processing
2
3
4
0
0
1
0
0 0 1 1 0 1 0 0
M8
M7
M0
0 0 1 1 0 1 0 0
3
4
b8
b7
b0
0
1
0
1
0
1 0 0 1 1 1 0 1
M108
M107
M100
1
0 0 1 1 1 0 1
3 - 4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents