EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC QCPU

Mitsubishi MELSEC QCPU User Manual

Mitsubishi MELSEC QCPU
285 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #239 background imageLoading...
Page #239 background image
6 - 88 6 - 88
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
(4) If bit device has been designated for
S
and
D
, then
S
and
D
should always have the same
number of digits.
(5) Only either of
S
or
D
can be designated for the MELSECNET/10(H) direct device and
intelligent function module/special function module device.
[Operation Errors]
(1) In the following cases an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored at SD0.
• The device range n-points from
S
or
D
exceeds the relevant device. (Error code: 4101)
• The number of transfers exceeds 6144 when a special direct device is used. (QnACPU)
(Error code: 4101)
[Program Example]
(1) The following program outputs the lower 4 bits of data at D66 to D69 to Y30 to Y3F in 4-point
units.
[Ladder Mode] [List Mode]
Steps
Instruction
Device
1 Y33 to Y30101
0000
0011
1101
Y37 to Y34
Y3B to Y38
Y3F to Y3C
11011D66
Ignored
b0b3b15 b4
00000D67
00111
11010
D68
D69
After execution
(transfer destination)
Before execution
(transfer destination)
(2) The following program outputs the data at X20 to X2F to D100 to D103 in 4-point units.
[Ladder Mode] [List Mode]
Steps
Instruction
Device
0111 01000 001
X20X23X2B X28X2F X2C
0110
X27 X24
0000 0
1
000 000 0000
Before execution
D100
After execution (transfer destination)
0000 01100 000 0000 D101
0000 0
1
000 000 0000 D102
0000 10000 000 0000 D103
4 points
Becomes 0
b0b3b15 b4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC QCPU and is the answer not in the manual?

Mitsubishi MELSEC QCPU Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC QCPU
CategoryController
LanguageEnglish

Related product manuals