27 Applied Instructions (Data Operation 3)
27.3 POP / Shift Last Data Read [FILO Control]
662
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Related instruction
Cautions
1) When this instruction is programmed in the continuous operation type, the instruction is executed in every
operation cycle. As a result, an expected operation may not be achieved.
Usually, program this instruction in the "pulse operation type", or let this instruction be executed by a
"pulsed command contact.
2) When the current value of the pointer specified by is "0", the zero flag M8020 turns ON and the
instruction is not executed.
Check in advance using a comparison instruction whether the current value of the device specified by
satisfies "1 ≤ current value ≤ (n-1)", and then execute this instruction.
3) When the current value of the pointer specified by is "1", "0" is written to the pointer and the zero
flag M8020 turns ON.
Error
1) An operation error is caused in the following cases. The error flag M8067 turns ON, and the error code is
stored in D8067.
a) When the pointer is larger than "n-1". (Error code: K6706)
b) When the pointer is smaller than "0". (Error code: K6706)
Instruction Description
SFWR Shift write [for FIFO/FILO control]
SFRD Shift read [for FIFO control]