Delta AS Series Programming Manual page 539

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

A S S er i es Pr og r am m ing M an u a l
API
Instruction code
0902
D
Device
X
D
n
Data
type
D
n
Symbol
_6
Explanation
1.
This instruction divides the bits in the device specified by D into groups (n bits in a group), and then rotates these
groups to the left.
2.
Only the DROL instruction can use the 32-bit counter, but not the device E.
3.
For 16-bit instructions, the value of n must be between 1–16. For 32-bit instructions, the value of n must be
between 1–32. When n is less than 0, the instruction is not executed. When n exceeds the range, the instruction is
executed with n at the maximum value (32) of the range.
4.
In general, the ROLP and DROLP pulse instructions are used.
6 - 2 6 0
ROL
P
Y
M
S
T
C
Operand
D, n
HC
D
FR
SM
Pulse instruction
16-bit instruction
AS
D : Device to rotate
: Number of bits in a group
n
Function
Rotating bits in a group to the left
SR
E
K
16#
"$"
32-bit instruction
AS
AS
F

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents