
354
7 APPLICATION INSTRUCTION
7.5 Data table operation instruction
Processing details
• Every time the instruction is executed for the word devices (s) to (s)+(n)-1, a device "(s) + Pointer data (s)" is read to (d).
(The last data entry written by the shift write (SFWR) instruction for first-in first-out control is read to (d).) Specify any value
between 2 and 32767 for (n).
• Subtract "1" from the value of the pointer data (s).
Precautions
• If programed in the continuous operation type, the POP(P) instructions are executed in every operation cycle. As a result,
expected operation may not be achieved. Usually, program the POP(P) instructions in the "pulse operation type", or let
them be executed by a "pulsed command contact".
• When the current value of the pointer (s) is "0", the zero flag SM8020 turns ON and the POP(P) instructions are not
executed.
• When the current value of the pointer (s) is "1", "0" is written to (s) and the zero flag SM8020 turns ON.
Operation error
Data for FILO control
Description
(s)
Pointer data (amount of data stored)
(s)+1
Data area
(First-in data written by shift write (SFWR) instruction)
(s)+2
(s)+3
(s)+(n)-3
(s)+(n)-2
(s)+(n)-1
Error code
(SD0/SD8067)
Description
2820
The device range (s)+(n)-1 exceeds the device.
3405
(s) is larger than (n)-1.
(s) is smaller than 0.
The value set in (n) is other than the following.
2
(n)
32768
(s)
(s)+1
(s)+2
(s)+3
(s)+4
(s)+5
(s)+6
(s)+(n)-2
(s)+(n)-1
(s)
(s)+1
(s)+2
(s)+3
(s)+4
(s)+5
(s)+6
(s)+(n)-2
(s)+(n)-1
K4
K3
(d)
Data area
Pointer
K4
Pointer
No data area
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......