EasyManua.ls Logo

Mitsubishi MELSEC-A series

Mitsubishi MELSEC-A series
508 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
Loading...
7. APPLICATION INSTRUCTIONS
7 23
MELSEC-A
7.2.1 16-bit data right rotation
(ROR, RORP, RCR, PCRP)
Available Device
Bit device Word (16-bit) device Constant Pointer
Level
Carry
flag
Error
flag
X Y M L S B F T C D W R A0 A1 Z V K H P I N
Digit specification
Index
M9012 (M9010, M9011)
n O O O O
Functions ROR
Rotates the data of A0 "n" bits to the right, without including the carry flag.
The carry flag is 1 or 0 depending on the status prior to the execution of ROR.
RCR
Rotates the data of A0 "0" bits to the right, including the carry flag.
The carry flag is 1 or 0 depending on the status prior to the execution of RCR.
Execution Conditions
Applicable
CPU
All CPUs
Carry flag
(M9012)
n bit rotation
Carry flag
(M9012)
n bit rotation
ON
OFF
Executed
per scan
Executed
per scan
Executed
only once
Executed
only once
Right rotation
command
P
Right rotation commands
n
n
ROR, RCR
Indicates the instruction symbol.
n Number of times (0 to 15)
Setting data
P

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Related product manuals