Mitsubishi Electric MELDAS C6 Programming Manual page 261

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents