EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC Q Series

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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 #409 background imageLoading...
Page #409 background image
7-35
ROR(P),RCR(P)
1
2
3
4
6
6
7
8
7.2 Rotation instruction
7.2.1 Right rotation of 16-bit data (ROR(P),RCR(P))
7.2 Rotation instruction
7.2.1 Right rotation of 16-bit data (ROR(P),RCR(P))
ROR(P),RCR(P)
Function
ROR
(1)
Rotates 16-bit data of the device designated by , not including the carry flag, n-bits to the right
.
The carry flag is ON or OFF depending on the status prior to the execution of the ROR
instruction.
: Head number of the devices to rotate (BIN 16 bits)
n : Number of rotations (0 to 15) (BIN 16 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– ––
n ––
Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
P
D n
D
n
ROR, RCR
RORP, RCRP
indicates an instruction symbol of ROR/RCR.
D
D
D
b8
b15 b14 b13 b12 b11 b10 b9 b7
b6
b5 b4 b3 b2
b1 b0
b8
b15 b14 b13 b12 b11 b10 b9 b7
b6
b5 b4 b3 b2
b1 b0
b8
b15 b14 b13 b12 b11 b10 b9 b7
b6
b5 b4 b3 b2
b1 b0
b8
b15 b14 b13 b12 b11 b10 b9 b7
b6
b5 b4 b3 b2
b1 b0
000000000 00001 1
0
Carry flag
(SM700)
D
D
D
0010000000 00000
1
D
Value of b0
Value of b0
0
Carry flag
(SM700)
Right rotation (1 bit)
Right rotation (1 bit)
1
Value of b0
0
00100000 0
0
000
0
1
Value of b0
Carry flag
(SM700)
0
Value of b(n-1)
Carry flag
(SM700)
Right rotation (n bits)
Value of b(n-1)

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

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

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals