Changes for page 11 PID

Last modified by Joe on 2025/02/06 16:18

From version 6.8
edited by Joey123
on 2022/08/01 15:32
Change comment: Update document after refactoring.
To version 2.1
edited by Stone Wu
on 2022/06/14 16:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -PLC Editor2.WebHome
1 +PLC Editor2.1 User manual.2\.1 LX5V user manual.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Joey123
1 +XWiki.Stone
Content
... ... @@ -311,6 +311,64 @@
311 311  (% style="text-align:center" %)
312 312  [[image:11_html_599ccfa817c379fd.png||class="img-thumbnail"]]
313 313  
314 +== **{{id name="_Toc30590"/}}{{id name="_Toc20656"/}}{{id name="_Toc13618"/}}PRUN/8 digit transmission (16-bit data)** ==
315 +
316 +**PRUN(P)**
317 +
318 +After processing the device numbers of (s) and (d) with designated digits as octal numbers, transfer the data.
319 +
320 +-[PRUN (s) (d)]
321 +
322 +**Content, range and data type**
323 +
324 +(% class="table-bordered" %)
325 +|**Parameter**|**Content**|**Range**|**data**|**Data type (label)**
326 +|(s)|Digit designation*1|-|BIN16 bit|ANY16
327 +|(d)|Transfer destination device number*1|-|BIN16 bit|ANY16
328 +
329 +**Device used**
330 +
331 +(% class="table-bordered" %)
332 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="3" %)**Devices**|(((
333 +**Offset modification**
334 +)))|(((
335 +**Pulse extension**
336 +)))
337 +|**KnX**|**KnY**|**KnM**|**[D]**|**XXP**
338 +|(% rowspan="2" %)PRUN|Parameter 1|●| |●|●|●
339 +|Parameter 2| |●|●|●|●
340 +
341 +**Features**
342 +
343 +• 8-digit device → decimal device
344 +
345 +(% style="text-align:center" %)
346 +[[image:11_html_3c0c842b3d3c7a4.png||class="img-thumbnail"]]
347 +
348 +• Decimal digit device → octal digit device
349 +
350 +(% style="text-align:center" %)
351 +[[image:11_html_437032b41f24ad69.png||class="img-thumbnail"]]
352 +
353 +**Error code**
354 +
355 +(% class="table-bordered" %)
356 +|**Error code**|**Content**
357 +|4085H|When reading the specified device range exceeds the corresponding device range
358 +|4086H|When the specified device range for writing exceeds the range of the corresponding device
359 +
360 +**Example**
361 +
362 +(% style="text-align:center" %)
363 +[[image:11_html_e5ea991cf7b84dc0.png||class="img-thumbnail"]]
364 +
365 +As shown in the above Circuit program:
366 +
367 +X0 to X17 take the value of octal digits and pass it to the Devices corresponding to M.
368 +
369 +(% style="text-align:center" %)
370 +[[image:11_html_4d9c97b634dc29b1.png||class="img-thumbnail"]]
371 +
314 314  == **CCPID instruction introduction manual** ==
315 315  
316 316  **Background and purpose**