Mitsubishi Electric MELDAS 60 Series Programming Manual page 160

Plc programming
Hide thumbs Also See for MELDAS 60 Series:
Table of Contents

Advertisement

DRCR ... Right rotation of 32-bit data
Bit device
X
Y
M
L SM F
D
n
DRCR
Function
The 32-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 DRCR.
Carry flag
( SM12 )
Execution conditions
The execution conditions for the DRCR command are as shown below.
Right rotation command OFF
DRCR
Usable device
Word device
T
C
D
R
Z
Right rotation command
D+1
B31B30B29
n-bit rotation
ON
Executed per scan
- 152 -
Con-
Pointer
Level
stant
K
H
P
N
DRCR
D
Setting data
Head No. of device where
D
right rotation data is stored.
n
Times (0 to 31)
D
B16
B15
B2 B1 B0
Executed per scan
DRCR
Digit
No. of
desig-
steps Index
nation
3
n

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents