EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-Q/L

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 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 #340 background imageLoading...
Page #340 background image
338
DROL, DROLP, DRCL, DRCLP
Operation Error
(1) There is no operation error in the DROL(P) or DRCL(P) instruction.
Program Example
(1) The following program rotates the contents of D0 and D1, not including the carry flag, 4 bits to the left when XC is ON.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program rotates the contents of D0 and D1, including the carry flag, 4 bits to the left when XC is ON.
[Ladder Mode] [List Mode]
[Operation]
Step Instruction Device
1D0, D1111
000
0
111
1
000
0
111
1
000
0
111
1
0000
0
D0, D1
00
0
111
1
000
0
111
1
000
0
111
1
000
0
1111
b31 b16 b0b15b28b27 b24 b23 b20 b19 b12 b11 b8 b7 b4 b3
Contents of b31 to b28
before execution
Contents of b27 to b0
before execution
0
1
Carry flag
(SM700)
Carry flag
(SM700)
Content of b28
before execution
b31 b16 b0b15b28b27 b24 b23 b20 b19 b12 b11 b8
b7
b4 b3
Step Instruction Device
1
D0, D1
111
000
0
111
1
000
0
111
1
000
0
111
1
0000
0
D0, D1
0
*
*
*
0
0
111
1
000
0
111
1
000
0
111
1
000
0
111
b31 b16 b0b15b28b27 b24b23 b20 b19 b12 b11 b8 b7 b4 b3
Contents of b31 to b29
before execution
Contents of b27 to b0
before execution
1
Carry flag
(SM700)
Carry flag
(SM700)
Content of b28
before execution
Content of carry flag
SM700 before execution
b31 b16 b0b15b28b27 b24b23 b20 b19 b12 b11 b8
b7
b4 b3
: ON/OFF status of the carry flag depends on its status before the execution of DRCL.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals