Chapter 6 Applied Instructions 
6-247 
API 
Instruction code  Operand  Function 
1106    SFPO  P 
S, D 
Reading the latest data from the 
data list 
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: 
S
:
Initial device  Word 
D
:
Device in which the data is stored  Word 
Explanation: 
1.  The device specified by S is taken as a pointer. When the instruction is executed, the data in 
the device specified by the value of the pointer is written into the device specified by D and 
cleared to 0, and the value in the device specified by S decreases by one. When the value in 
the device specified by S is equal to 0, the instruction does not process the reading of the data, 
and the zero flag SM600 is ON. 
2.  Generally, the pulse instruction SFPOP is used. 
Example: 
When X0.0 is ON, the data in the device specified by the value in D0 is written into D10. After the 
data is shifted, the data in the device specified by the value in D0 is cleared to 0, and the value in D0 
increases by one. 
 
D10 D9 D8 D7 D6 D5 D4 D3 D2
D1
D0
Pointer
1000 7
SD
The data is read.
D10 D9 D8 D7 D6 D5 D4 D3 D2
D1
D0
1000
6
Pointer
0
 
Additional remark: 
1.  If the value in S is less than 0, the instruction is not executed, SM0 is ON, and the error code in 
SR0 is 16#2003. 
2.  If S+(The value in S) exceeds the device range, the instruction is not executed, SM0 is ON, 
and the error code in SR0 is 16#2003.