EasyManua.ls Logo

Delta VFD9A0MS43ANSHA

Delta VFD9A0MS43ANSHA
445 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 ApplicationsMS300 (High Speed Model)
16-61
API
ROL
D n
Left rotation
31
D P
Bit device Word device
16-bit command (5 STEP)
ROL Continuous
execution type
ROLP Pulse
execution type
32-bit command (9 STEP)
DROL Continuous
execution type
DROLP 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:
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
: Device to be rotated.
n
: Number of bits for one rotation.
Rotates the device designated by
D
to the left
n
bits.
This command is ordinarily used as a pulse execution type command (ROLP).
When X0=OffOn, 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.
X0
D10 K4
11111100 00011 000
11000001100110111
16 bits
Rotate to the left
A
fter one rotation
to the left
Carry
flag
Carry
flag
D10
D10
upper bit
upper bit
lower bit
lower bit

Table of Contents

Related product manuals