7.2 Rotation Instructions
7.2.1 Right rotation of 16-bit data
7-27
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
ROR, RCR
ROR, RCR
7.2
Rotation Instructions
7.2.1
Right rotation of 16-bit data
ROR, RCR
ROR(P)
RCR(P)
P: Executing condition
:
indicates any of the following
instructions.
ROR
RORP
RCR
RCRP
Input argument,
EN:
Executing condition
:Bit
n:
Number of rotations (0 to 15)
:ANY16
Output argument,
ENO:
Execution result
:Bit
d:
Start number of the device to be rotated
:ANY16
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K,H
Others
Bit
Word
Bit
Word
n
−
−
−
Universal
UD
High
Performance
Structured ladder
ST
ROR
EN
ENO
n
d
ROR
(EN,
n
, d);
ENO:=
d
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......