ROR, RORP ... Right rotation of 16-bit data
Bit device
X
Y M
L
F
B SB T SM V T
D
n
ROR
RORP
Function
The 16-bit data designated with D is rotated n bits to the right excluding the carry flag.
B15B14 B13B12B11 B10B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
Execution conditions
The execution conditions for the ROR, RORP are as shown below.
Right rotation command OFF
ROR
RORP
8. Function Commands
ROR, RORP
Usable device
Word device
C D R W SW Z SD K
Right rotation command
D (16 bits)
n bit rotation
ON
Executed per scan
- 250 -
Get other manuals https://www.bkmanuals.com
Digit
Con-
Pointer
desig-
stant
nation
H
P
n
ROR
D
n
RORP
D
Setting data
No. of device where right
D
rotation data is stored.
n
Times (0 to 15)
Carry flag
(SM12)
Executed per scan
No. of
Index
steps
3