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, 24 added, 0 removed)
- 1761018177599-850.png
- 1761018188037-771.png
- 1761018361678-654.png
- 1761018410107-778.png
- 1761018480645-416.png
- 1761018592821-392.png
- 1761018612253-455.png
- 1761018665534-268.png
- 1761018751619-514.png
- 1761018913263-720.png
- 1761025772517-240.png
- 1761025809106-559.png
- 1761025894776-671.png
- 1761025985201-177.png
- 1761026072396-253.png
- 1761026188118-328.png
- 1761026280809-833.png
- 1761026311306-866.png
- 1761026366795-447.png
- 1761026442060-245.png
- 1761026454338-354.png
- 1761026499270-138.png
- 1761026706482-870.png
- 1761026760721-571.png
Details
- Page properties
-
- Content
-
... ... @@ -35,8 +35,10 @@ 35 35 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 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps2.jpg]] 38 +(% style="text-align:center" %) 39 +[[image:1761018188037-771.png||height="579" width="984"]] 39 39 41 + 40 40 **Related device ** 41 41 42 42 |**Devices**|**Name**|**Content** ... ... @@ -62,22 +62,25 @@ 62 62 63 63 (1) Action content 64 64 65 -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. 66 -1. The product number is a hexadecimal number with 4 digits or less, and the maximum inventory is below 99 points. 67 + 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. 67 67 69 + 2) The product number is a hexadecimal number with 4 digits or less, and the maximum inventory is below 99 points. 70 + 68 68 (2) Program 69 69 70 -1 .Program 173 + 1) Program 1 71 71 72 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps3.png]][[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps4.png]][[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps5.png]][[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps6.png]] [[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps7.jpg]] 75 +(% style="text-align:center" %) 76 +[[image:1761018361678-654.png]] 73 73 74 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps8.jpg]] 78 +(% style="text-align:center" %) 79 +[[image:1761018410107-778.png||height="437" width="593"]] 75 75 76 - 1.Program 281 + 2) Program 2 77 77 78 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps9.jpg]] First-in-first-out data read instruction 83 +(% style="text-align:center" %) 84 +[[image:1761018480645-416.png]] 79 79 80 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps10.jpg]] 81 81 82 82 Turn X0 from OFF to ON, and this instruction acts according to the following numbers 1 to 3. (The content of D10 remains unchanged), 83 83 ... ... @@ -85,10 +85,8 @@ 85 85 * D10 to D3 all shift one register to the right. 86 86 * The contents of pointer D1 are reduced by 1. 87 87 93 +=== **POP/Read From the Back of the Data Table** === 88 88 89 - 90 -=== [[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps11.png]]**6.14.2 POP/Read From the Back of the Data Table** === 91 - 92 92 **POP(P)** 93 93 94 94 Read the last data written by the shift write instruction (SFWR) for first in first out/first in last out control. ... ... @@ -136,7 +136,8 @@ 136 136 |(S)+(n)-2 137 137 |(S)+(n)-1 138 138 139 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps12.jpg]] 142 +(% style="text-align:center" %) 143 +[[image:1761018592821-392.png||height="454" width="932"]] 140 140 141 141 **✎Note: ** 142 142 ... ... @@ -157,7 +157,8 @@ 157 157 158 158 **Example** 159 159 160 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps13.jpg]] 164 +(% style="text-align:center" %) 165 +[[image:1761018612253-455.png]] 161 161 162 162 Each time M1 is ON, for the values of D20 input first in D101 to D106, the last saved value would be saved in D10, and then the data saved number (pointer D100) will be reduced by 1. 163 163 ... ... @@ -171,13 +171,15 @@ 171 171 |D105|H0000 172 172 |D106|H0000 173 173 174 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps14.png]] 175 175 176 176 177 -=== **6.14.3 SFWR/Shift Write** === 181 +(% style="text-align:center" %) 182 +[[image:1761018751619-514.png||height="262" width="620"]] 178 178 179 - [[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps15.png]]**SFWR(P)**184 +=== **SFWR/Shift Write** === 180 180 186 +**SFWR(P)** 187 + 181 181 Data writing instructions for first-in-first-out and control. 182 182 183 183 -[SFWR (s) ( d) (n)] ... ... @@ -209,7 +209,8 @@ 209 209 210 210 If the content of (s) is changed and executed for the second time, the content of (s) is stored to (d)+2, and the content of (d)+2 becomes (s) (in the continuous execution instruction SFWR, each operation cycle will be stored sequentially, so the pulse execution instruction SFWRP should be used for programming). After that, the data will be filled in sequentially from the right, and the number of data storage points is displayed by the content of the pointer (d). 211 211 212 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps16.jpg]] 219 +(% style="text-align:center" %) 220 +[[image:1761026706482-870.png]] 213 213 214 214 **Related device** 215 215 ... ... @@ -232,32 +232,34 @@ 232 232 233 233 The following examples illustrate the use of shift write (SFWR) and shift read (SFRD) instructions. 234 234 235 - 7.14.4(1) Action content243 + (1) Action content 236 236 237 -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. 238 -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. 239 239 247 + 2) The product number is a hexadecimal number with 4 digits or less, and the maximum inventory is below 99 points. 248 + 240 240 (2) Program 241 241 242 -1 .Program 1251 + 1) Program 1 243 243 244 -[[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]] 245 245 246 -[[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"]] 247 247 248 - 1.Program 2259 + 2) Program 2 249 249 250 -[[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"]] 251 251 252 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps24.jpg]] 253 253 254 254 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. 255 255 267 +=== **FINS/Data Table Data Insertion** === 256 256 257 - === **6.14.4FINS/Data Table Data Insertion** ===269 +FINS(P) 258 258 259 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps25.png]]FINS(P) 260 - 261 261 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. 262 262 263 263 -[FINS (s) (d) (n)] ... ... @@ -285,7 +285,8 @@ 285 285 286 286 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. 287 287 288 -[[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"]] 289 289 290 290 * N: the number of data storage; 291 291 * DTr: data table range; ... ... @@ -309,19 +309,20 @@ 309 309 310 310 **Example** 311 311 312 -[[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"]] 313 313 314 314 When X10=ON, insert the data of D100 into No. 3 of the data table of D0 to D4. 315 315 316 316 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). 317 317 318 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps28.png]] 330 +(% style="text-align:center" %) 331 +[[image:1761026760721-571.png]] 319 319 333 +=== **FDEL/Data Deletion of Data Sheet** === 320 320 321 - === **6.14.5FDEL/Data Deletion of Data Sheet** ===335 +FDEL(P) 322 322 323 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps29.png]]FDEL(P) 324 - 325 325 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. 326 326 327 327 -[FDEL (s) (d) (n)] ... ... @@ -349,8 +349,10 @@ 349 349 350 350 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. 351 351 352 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps30.jpg]] 364 +(% style="text-align:center" %) 365 +[[image:1761026280809-833.png||height="271" width="659"]] 353 353 367 + 354 354 **✎Note:** 355 355 356 356 **✎**The user is responsible for the management of the device range used in the data sheet. ... ... @@ -367,14 +367,12 @@ 367 367 |4085H|When the device specified in the read application instruction (d) and (n) exceeds the corresponding device range. 368 368 |4086H|When the device specified in the write application instruction (s) and (d) exceeds the corresponding device range. 369 369 370 - 371 - 372 372 **Example** 373 373 374 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps31.jpg]] 386 +(% style="text-align:center" %) 387 +[[image:1761026499270-138.png||height="60" width="670"]] 375 375 376 -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 .)389 +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) 377 377 378 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml7696\wps32.png]] 379 - 380 - 391 +(% style="text-align:center" %) 392 +[[image:1761026454338-354.png||height="306" width="801"]]
- 1761018177599-850.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +75.7 KB - Content
- 1761018188037-771.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +75.7 KB - Content
- 1761018361678-654.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +36.0 KB - Content
- 1761018410107-778.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +107.0 KB - Content
- 1761018480645-416.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +31.0 KB - Content
- 1761018592821-392.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +60.7 KB - Content
- 1761018612253-455.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +13.3 KB - Content
- 1761018665534-268.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +13.3 KB - Content
- 1761018751619-514.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +63.8 KB - Content
- 1761018913263-720.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +68.0 KB - Content
- 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
- 1761026499270-138.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.4 KB - Content
- 1761026706482-870.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +58.5 KB - Content
- 1761026760721-571.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +76.0 KB - Content