
356
7 APPLICATION INSTRUCTION
7.5 Data table operation instruction
Processing details
• The contents of (s) are written to "(n)-1" devices from (d)+1, and "1" is added to the number of data stored in (d). For
example, for (d)=0, the contents are written to (d)+1, and for (d)=1, to (d)+2.
• At the first execution, the contents of (s) are stored in (d)+1.
• When the contents of (s) are changed and then the instruction is executed again, the new contents of (s) are stored to
(d)+2. So the contents of +2 become equivalent to (s). (When the continuous operation type SFWR instruction is used, the
contents are stored in each operation cycle. Use the pulse operation type SFWRP instruction in programming.) Data is
stored from the right end in the same way, and the number of stored data is specified by the contents of the pointer (d).
Precautions
• In the case of the continuous operation type instruction (SFWR), note that data is stored (overwritten) in every scan time
(operation cycle).
Operation error
Error code
(SD0/SD8067)
Description
2820
The number of device points (n) from (d) exceeds the device range.
3405
The value set in (n) is other than the following.
2
(n)
32768
In (d), a negative value is specified.
(s)
(d)
(d)+1
(d)+2
(d)+3
(d)+4
(d)+5
(d)+6
(d)+7
(d)+8
(d)+9
(d)+10
(d)+(n)-1
(n)
((d) = 0)
(s)
(d)
(s)
(d)+2
(d)+3
(d)+4
(d)+5
(d)+6
(d)+7
(d)+8
(d)+9
(d)+10
(d)+(n)-1
(s)
(d)
(s)
(s)
(d)+3
(d)+4
(d)+5
(d)+6
(d)+7
(d)+8
(d)+9
(d)+10
(d)+(n)-1
(d)+1
(d)
(K1) (K2)
Pointer
Executed at the 2nd time
Pointer
(d)+1
(d)
(K0) (K1)
Pointer
Executed at
the 1st time
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: ......