Delta C2000 series User Manual page 485

Classical field oriented. control ac motor drive
Hide thumbs Also See for C2000 series:
Table of Contents

Advertisement

API
ROR
30
P
Bit Devices
X
Y
M
K
D
n
Operands:
D: if in KnY and KnM, only K4 (16-bit) is valid
n: n=K1~K16 (16-bit)
1.
E xplanation
2.
3.
When X0 goes from Off to On, the 16-bit (4 bits as a group) in D10 will rotate to
Example
the right, as shown in the figure below. The bit marked with
flag M1022.
D10
D10
D
n
Word Devices
H KnX KnY KnM T
D: Device to be rotated
This instruction rotates the device content designated by D to the right for
n bits.
This instruction adopts pulse execution instructions (RORP).
X0
RORP D10
Rotate to the right
upper bit
0 1 1
1
1 0
1
1 0 1
16 bits
After one rotation
to the right
upper bit
0
1
0
1 0 1 1
1
*
Chapter 16 PLC Function |C2000 Series
Rotate to the Right
16 bit command (5 STEPS)
ROR
C
D
32-bit command
Flag signal: M1022 Carry flag
n: Number of bits to be rotated in 1 rotation
K4
lower bit
0 0
0
1
0 1
lower bit
1 0
1
1
0 1
0
0
16-62
RORP
will be sent to carry
Carry
flag
0
Carry
flag

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents