EasyManua.ls Logo

Delta MH300 Series - Page 930

Delta MH300 Series
1030 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...
Chapter 16 PLC Function ApplicationsMH300
16-67
API
ROR
D
n
Right rotation
30
D
P
bit device
Word device
16-bit command (5 STEP)
ROR
Continuous
execution type
RORP
Pulse
execution type
32-bit command (9 STEP)
DROR
Continuous
execution type
DRORP
Pulse
execution type
Flag signal: M1022 Carry flag
X
Y
M
K
H
KnX
KnY
KnM
T
C
D
D
n
Notes on operand usage:
K4 (16-bit) is only valid if the operand D is designated as KnY or
KnM.
n operand n=K1-K16 (16-bit)
D: Device to be rotated. n: Number of bits for one rotation.
Rotates the device designated by D to the right n bits.
Generally use this command as a pulse execution type command (RORP).
When X0 switches OFF to ON, 4 of the 16 bits in D10 specify a right rotation; the
content of the bit indicated with * (see figure below) is sent to the carry flag signal
M1022.
0 1 1 1 0 1 0 1 0 0 11 1 0 0 1
0 1 0 1 1 1 0 0 111 1 00 1 0
0
upper bit lower bit
upper bit lower bit
*
X0
RORP
D10 K4
Rotate to the right
16 bits
Carry
flag
Carry
flag
After one rotation
to the right
D10
D10

Table of Contents

Related product manuals