Delta AH500 Programming Manual page 427

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

API
Instruction code
1115
NSFL
Device X
Y
M
D
n
Symbol:
Explanation:
1.
The data in the n registers starting from D is shifted to the left, and the data in D is cleared to 0.
2.
Generally, the pulse instruction NSFLP is used.
3.
The operand n should be within the range between 1 and 512.
Example:
When X0.0 is ON, the data in D0~D5 is shifted to the left, and the data in D0 is cleared to 0.
Additional remark:
1.
If D+n-1 exceeds the device range, the instruction is not executed, SM0 is ON, and the error
code in SR0 is 16#2003.
2.
If n is less than 1, or if n is larger than 512, the instruction is not executed, SM0 is ON, and the
error code in SR0 is 16#200B.
Operand
D, n
P
S
T
C
HC
D
Pulse instruction 16-bit instruction (5 steps) 32-bit instruction
AH500
D : Initial device involve in the shift
n : Data length
D6
D5
D4
D3
D2
30
9578
2235
754
28
After the shift
D6
D5
D4
D3
D2
2235
9578
754
28
423
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
Shifting n registers to the left
L
SM SR
E
PR
AH500
D1
D0
423
11
D1
D0
11
0
Being c leared to 0
Function
K
16# "$"
DF
-
Word
Word
6 - 2 5 9

Advertisement

Table of Contents
loading

Table of Contents