Changes for page 6.14 Data Table Operation instructions
Last modified by Iris on 2025/10/21 14:06
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 11 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -36,7 +36,7 @@ 36 36 The content of (s)+1 is transferred (read) to (d). At the same time, the content of the pointer (s) decreases, and the data is shifted up by 1 word each. (In the continuous execution instruction SFRD, each operation cycle will shift, so the pulse execution instruction SFRDP should be used for programming). 37 37 38 38 (% style="text-align:center" %) 39 -[[image:1761018188037-771.png]] 39 +[[image:1761018188037-771.png||height="579" width="984"]] 40 40 41 41 42 42 **Related device ** ... ... @@ -139,10 +139,8 @@ 139 139 |(S)+(n)-2 140 140 |(S)+(n)-1 141 141 142 - 143 - 144 144 (% style="text-align:center" %) 145 -[[image:1761018592821-392.png]] 143 +[[image:1761018592821-392.png||height="454" width="932"]] 146 146 147 147 **✎Note: ** 148 148 ... ... @@ -181,7 +181,7 @@ 181 181 182 182 183 183 (% style="text-align:center" %) 184 -[[image:1761018751619-514.png]] 182 +[[image:1761018751619-514.png||height="262" width="620"]] 185 185 186 186 === **SFWR/Shift Write** === 187 187 ... ... @@ -242,32 +242,34 @@ 242 242 243 243 The following examples illustrate the use of shift write (SFWR) and shift read (SFRD) instructions. 244 244 245 - 7.14.4(1) Action content243 + (1) Action content 246 246 247 -1. While registering the product number, in order to realize the first-in-first-out principle, the following introduces an example of a ladder ladder diagram that outputs the current product number. 248 -1. The product number is a hexadecimal number with 4 digits or less, and the maximum inventory is below 99 points. 245 + 1) While registering the product number, in order to realize the first-in-first-out principle, the following introduces an example of a ladder ladder diagram that outputs the current product number. 249 249 247 + 2) The product number is a hexadecimal number with 4 digits or less, and the maximum inventory is below 99 points. 248 + 250 250 (2) Program 251 251 252 -1 .Program 1251 + 1) Program 1 253 253 254 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps17.png]][[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps18.png]][[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps19.png]][[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps20.png]] [[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps21.jpg]] 253 +(% style="text-align:center" %) 254 +[[image:1761025772517-240.png]] 255 255 256 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps22.jpg]] 256 +(% style="text-align:center" %) 257 +[[image:1761025809106-559.png||height="382" width="528"]] 257 257 258 - 1.Program 2259 + 2) Program 2 259 259 260 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps23.jpg]] First-in-first-out data read instruction 261 +(% style="text-align:center" %) 262 +[[image:1761025894776-671.png||height="130" width="570"]] 261 261 262 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps24.jpg]] 263 263 264 264 When X0=1, the content of D0 is stored in D2, and the content of D1 becomes 1. When X0 changes from OFF to ON again, the content of D0 is stored in D3, the content of D1 becomes 2, and so on. If the content of D1 exceeds n-1, the instruction is not processed, and the carry flag M8022 will be set to 1. 265 265 267 +=== **FINS/Data Table Data Insertion** === 266 266 267 - === **6.14.4FINS/Data Table Data Insertion** ===269 +FINS(P) 268 268 269 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps25.png]]FINS(P) 270 - 271 271 Insert the BIN 16-bit data specified in (s) into the number (n) of the data table specified in (d). After the instruction is executed, the data starting with number (n) in the data table will be postponed downward one by one. 272 272 273 273 -[FINS (s) (d) (n)] ... ... @@ -295,7 +295,8 @@ 295 295 296 296 Insert the BIN 16-bit data specified in (s) into the number (n) of the data table specified in (d). After the instruction is executed, the data starting with number (n) in the data table will be postponed downward one by one. 297 297 298 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps26.jpg]] 298 +(% style="text-align:center" %) 299 +[[image:1761025985201-177.png||height="245" width="556"]] 299 299 300 300 * N: the number of data storage; 301 301 * DTr: data table range; ... ... @@ -319,19 +319,17 @@ 319 319 320 320 **Example** 321 321 322 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps27.jpg]] 323 +(% style="text-align:center" %) 324 +[[image:1761026072396-253.png||height="80" width="604"]] 323 323 324 324 When X10=ON, insert the data of D100 into No. 3 of the data table of D0 to D4. 325 325 326 326 However, when the number of saved data exceeds 7, the FINS(P) instruction is not executed (the device range used in the data table is D0 to D7). 327 327 328 - [[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps28.png]]330 +=== **FDEL/Data Deletion of Data Sheet** === 329 329 332 +FDEL(P) 330 330 331 -=== **6.14.5 FDEL/Data Deletion of Data Sheet** === 332 - 333 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps29.png]]FDEL(P) 334 - 335 335 Delete the (n)th data of the data table specified in (d) and store it in the device specified in (s). After the instruction is executed, the data after (n)+1 in the data table will be postponed forward one by one. 336 336 337 337 -[FDEL (s) (d) (n)] ... ... @@ -359,8 +359,10 @@ 359 359 360 360 Delete the (n)th data of the data table specified in (d) and store it in the device specified in (s). After the instruction is executed, the data after (n)+1 in the data table will be postponed forward one by one. 361 361 362 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps30.jpg]] 361 +(% style="text-align:center" %) 362 +[[image:1761026280809-833.png||height="271" width="659"]] 363 363 364 + 364 364 **✎Note:** 365 365 366 366 **✎**The user is responsible for the management of the device range used in the data sheet. ... ... @@ -377,14 +377,11 @@ 377 377 |4085H|When the device specified in the read application instruction (d) and (n) exceeds the corresponding device range. 378 378 |4086H|When the device specified in the write application instruction (s) and (d) exceeds the corresponding device range. 379 379 380 - 381 - 382 382 **Example** 383 383 384 -[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps31.jpg]]383 +[[image:1761026311306-866.png]] 385 385 386 -When X10 is ON, delete the second data in the data table of D100 to D105, and save the deleted data in D0. However, when the number of data saved is 0, do not execute the FDEL instruction. (The device range used in the data table is D100 to D107 .)385 +When X10 is ON, delete the second data in the data table of D100 to D105, and save the deleted data in D0. However, when the number of data saved is 0, do not execute the FDEL instruction. (The device range used in the data table is D100 to D107) 387 387 388 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps32.png]] 389 - 390 - 387 +(% style="text-align:center" %) 388 +[[image:1761026454338-354.png||height="319" width="835"]]
- 1761025772517-240.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +60.7 KB - Content
- 1761025809106-559.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +123.8 KB - Content
- 1761025894776-671.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +27.4 KB - Content
- 1761025985201-177.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +39.3 KB - Content
- 1761026072396-253.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +18.0 KB - Content
- 1761026188118-328.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +75.8 KB - Content
- 1761026280809-833.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +52.8 KB - Content
- 1761026311306-866.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.5 KB - Content
- 1761026366795-447.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.5 KB - Content
- 1761026442060-245.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +77.6 KB - Content
- 1761026454338-354.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +77.6 KB - Content