Delta AS Series Programming Manual page 593

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
1101
Device
X
S
D
n
1
n
2
Data
type
S
D
n
1
n
2
Symbol
_6
Explanation
1.
This instruction divides the states of the n
these groups to the left. This instruction then shifts the states of the n
starting from D to fill the vacancy.
2.
In general, the SFTLP pulse instruction is used.
3.
The operand n
Example 1
1.
When X0.0 switches from OFF to ON, the instruction divides the states of the sixteen bit devices starting from M0
to M15 into groups (four bits in a group), and shifts these groups to the left.
2.
The shift of the states of the bit devices to the left during a scan is shown below.
6 - 3 1 4
SFTL
P
Y
M
S
T
C
must be between 1–1024. The operand n
1
Operand
S, D, n
, n
1
2
HC
D
FR
SM
Pulse instruction
AS
S : First device where the value is shifted
D : First device where the value is shifted
: Length of the data to be shifted
n
1
: Number of bits in a group
n
2
bit devices starting from D into groups (n
1
2
must be between 1–n
2
Function
Shifting the states of devices to the left
SR
E
K
16#
16-bit instruction
32-bit instruction
AS
bits in a group), and shifts
2
bit devices starting from S to the devices
.
1
"$"
F
-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents