8 APPLICATION INSTRUCTION
8.5 Data Table Operation Instruction
411
8
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
2820H
The number of device points (n) from (d) exceeds the device range.
3405H
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
Содержание MELSEC iQ-F FX5
Страница 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 17: ...15 CONTENTS ...
Страница 24: ...22 MEMO ...
Страница 25: ...23 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW 2 PRECAUTIONS ON PROGRAMMING ...
Страница 126: ...124 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 132: ...130 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 140: ...138 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 191: ...7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions 189 7 Operation error There is no operation error ...
Страница 202: ...200 7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions Operation error There is no operation error ...
Страница 278: ...276 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 280: ...278 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 915: ...18 TYPE CONVERSION FUNCTIONS 18 13 Converting DWORD to WORD 913 18 Operation error There is no operation error ...
Страница 917: ...18 TYPE CONVERSION FUNCTIONS 18 14 Converting DWORD to INT 915 18 Operation error There is no operation error ...
Страница 932: ...930 18 TYPE CONVERSION FUNCTIONS 18 26 Converting DINT to WORD Operation error There is no operation error ...
Страница 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Страница 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Страница 1107: ...I 1105 MEMO ...
Страница 1111: ......