Chapter 6 Applied Instructions 
6-259 
API 
Instruction code  Operand  Function 
1115    NSFL  P 
D, n  Shifting n registers to the left 
Device
X  Y  M  S  T  C  HC  D  L  SM  SR  E  PR  K  16#
“$”  DF 
Pulse instruction
16-bit instruction (5 steps)  32-bit instruction
Symbol: 
D
:
Initial device involve in the shift  Word 
n
:
Data length  Word 
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. 
 
After the shift
Being cleared to 0
D0D1D2D3D4D5
D0D1D2D3D4D5
1142328754
9578
2235
30
D6
D6
1142328754
9578
2235
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.