Delta AS Series Programming Manual page 629

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
1115
D
Device
X
D
n
Data
type
D
n
Symbol
_6
Explanation
1.
This instruction shifts the data in the n registers starting from D to the left, and clears the data in D to 0.
2.
In general, the NSFLP pulse instruction is used.
3.
For 16-bit instruction, the value in the operand n must be between 1–512. For 32-bit instruction, the value in the
operand n must be between 1–256. For the application of 32-bit instruction, you need to use ISPSoft V3.09.07 or
later and AS PLC CPU FW V1.08 or later.
Example
When M0 switches from OFF to ON, the instruction shifts the data in D0–D5 to the left, and clears the data in D0 to 0.
6 - 3 5 0
NSFL
P
Y
M
S
T
C
Operand
D, n
HC
D
FR
SM
Pulse instruction
16-bit instruction
AS
D : First device for the shift
n : Data length
Function
Shifting n registers to the left
SR
E
K
16#
"$"
32-bit instruction
AS
AS
F

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents