EasyManua.ls Logo

Mitsubishi MELSEC iQ-F FX5 series

Mitsubishi MELSEC iQ-F FX5 series
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals