8 APPLICATION INSTRUCTION
8.5 Data Table Operation Instruction
407
8
Processing details
• These instructions transfer (read) (s)+1, which was sequentially written by the SFWR instruction, to (d), and shift the word
data of (n)-1 points starting from (s)+1 upward by 1 word. Then, these instructions decrease the number of data points
stored in (s) by 1.
• The data of (s)+1 is transferred (read) to (d). Accompanied by this transfer, the contents of the pointer (s) decrease, and the
data is shifted upward by 1 word. (When the continuous operation type SFRD instruction is used, the contents are stored in
turn in each operation cycle. Use the pulse operation type SFRDP instruction in programming.)
Precautions
• The contents of (s)+(n) do not change by reading.
• When the continuous operation type (SFRD) instruction is used, data is read in turn in each scan time (operation cycle), but
the contents of (s)+(n) do not change.
• When 0 is set in the pointer (s), no processing is executed and the contents of (d) do not change.
Operation error
Error code
(SD0/SD8067)
Description
2820H
The number of device points (n) from (s) exceed the device range.
3405H
The value set in (n) is other than the following.
2
(n)
32768
In (s), a negative value is specified.
(d)
(s)
(s)+1
(s)+2
(s)+3
(s)+4
(s)+5
(s)+6
(s)+7
(s)+8
(s)+9
(s)+10
(s)+(n)
(n)
(s) = (n)
(d)
(s)
(s)+2
(s)+3
(s)+4
(s)+5
(s)+6
(s)+7
(s)+8
(s)+9
(s)+10
(s)+(n)
(s)+(n)
(s)+1
(s)-1
(s)
(d)
(s)
(s)+3
(s)+4
(s)+5
(s)+6
(s)+7
(s)+8
(s)+9
(s)+10
(s)+(n)
(s)+(n)
(s)+(n)
(s)+2
(s)-1
→
(s)
Pointer
Pointer
Executed at the 2nd time
Pointer
Word data is
shifted.
Word data is
shifted.
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: ......