Delta C2000 Series User Manual page 556

Vector control drive
Hide thumbs Also See for C2000 Series:
Table of Contents

Advertisement

API
ROL
31
D
P
Bit device
X
Y
M
K
D
n
Notes on operand usage:
Only K4 (16-bit) will be valid if the operand D is designated as KnY
or KnM.
n operand n=1 to 16 (16-bit)
D
Rotates the device designated by
This command is ordinarily used as a pulse execution type command (ROLP).
When X0=Off On, 4 of the 16 bits in D10 specify a left rotation; the content of the
bit indicated with * (see figure below) will be sent to the carry flag signal M1022.
Carry
flag
Carry
flag
D
n
Word device
H
KnX KnY KnM
T
: Device to be rotated.
X0
upper bit
1 1 1
upper bit
1
1
1 1
Chapter 16 PLC Function Applications
Left rotation
16-bit command (5 STEP)
ROL
Continuous
C
D
execution type
32-bit command (9 STEP)
DROL
Continuous
execution type
Flag signal: M1022
n
: Number of bits for one rotation.
D
to the left
D10
K4
Rotate to the left
1
1 1
1
1 0 0
0 0
16 bits
After one rotation
to the left
1 0 0 0
0
0 0
0
0
16-65
C2000 Series
ROLP
Pulse
execution type
DROLP
Pulse
execution type
Carry flag
n
bits.
lower bit
D10
0
0
0 0
lower bit
D10
1 1
1
1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

690v

Table of Contents