Changes for page 11 PID

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

From version 1.1
edited by Leo Wei
on 2022/06/08 12:57
Change comment: Imported from XAR
To version 6.4
edited by Joey123
on 2022/07/28 16:22
Change comment: Update document after refactoring.

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -PLC Editor2.1 User manual.2\.1 LX5V user manual.WebHome
1 +PLC Editor2.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.admin
1 +XWiki.Joey123
Content
... ... @@ -311,152 +311,6 @@
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 -
372 -== **{{id name="_Toc18093"/}}{{id name="_Toc173"/}}{{id name="_Toc26928"/}}TRH/Conversion of wet and dry bulb temperature and humidity** ==
373 -
374 -**TRH**
375 -
376 -This instruction completes the conversion of dry bulb temperature, wet bulb temperature and corresponding humidity.
377 -
378 --[TRH (d1) (s) (d2) (N)]
379 -
380 -**Content, range and data type**
381 -
382 -(% class="table-bordered" %)
383 -|**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)**
384 -|(d1)|humidity|0 to 100|Single precision floating point|ANYREAL_32
385 -|(s)|Dry bulb temperature|-|Single precision floating point|ANYREAL_32
386 -|(d2)|Wet bulb temperature|-|Single precision floating point|ANYREAL_32
387 -|(N)|mode|0 to 1|Signed BIN 32 bit|ANY32
388 -
389 -**Device used**
390 -
391 -(% class="table-bordered" %)
392 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="11" %)**Devices**|(((
393 -**Offset**
394 -
395 -**modification**
396 -)))|(((
397 -**Pulse**
398 -
399 -**extension**
400 -)))
401 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP**
402 -|(% rowspan="4" %)TRH|Parameter 1| | | | |●|●|●|●|●| | |●|
403 -|Parameter 2| | | | |●|●|●|●|●| | |●|
404 -|Parameter 3| | | | |●|●|●|●|●| | |●|
405 -|Parameter 4|●|●|●|●|●|●|●|●|●|●|●|●|
406 -
407 -**Features**
408 -
409 -(N)There are two modes to choose from:
410 -
411 -Mode 0: Calculate the corresponding humidity by wet bulb temperature and dry bulb temperature.
412 -
413 -Mode 1: Calculate the corresponding wet bulb temperature by dry bulb temperature and humidity.
414 -
415 -The conversion process formula is as follows:
416 -
417 -Assuming that the wet bulb temperature is A, the dry bulb temperature is B, and the corresponding current humidity is C, the three meet the following conditions:
418 -
419 -(% style="text-align:center" %)
420 -[[image:11_html_f9763504e639b084.gif||class="img-thumbnail"]]
421 -
422 -(% style="text-align:center" %)
423 -[[image:11_html_9eb43b8fba5e28f3.gif||class="img-thumbnail"]]
424 -
425 -(% style="text-align:center" %)
426 -[[image:11_html_f8a8e1f6b18e6e61.gif||class="img-thumbnail"]]
427 -
428 -(% style="text-align:center" %)
429 -[[image:11_html_c128b23414b3cae9.gif||class="img-thumbnail"]]
430 -
431 -**✎Note:**
432 -
433 -● The wet bulb temperature is not greater than the dry bulb temperature. When the two are the same, the humidity reaches the maximum 100%.
434 -
435 -● The unit of dry and wet bulb temperature is (℃).
436 -
437 -● The general value range of dry bulb is between 0 to 100℃, the command does not judge its range, so pay special attention when using this command.
438 -
439 -**Error code**
440 -
441 -(% class="table-bordered" %)
442 -|**Error code**|**Content**
443 -|(% rowspan="4" %)4084H|The value specified in (N) is out of the following range. 0 to 1
444 -|The value specified in (d1) is out of the following range. 0 to 100
445 -|A negative value is specified in (s).
446 -|A negative value is specified in (d2).
447 -|4085H|The output result of (d1)(s)(d2)(N) in the read application instruction exceeds the device range
448 -|4086H|The output result of (d1)(d2) in the writing application instruction exceeds the device range
449 -
450 -Dry and wet bulb humidity comparison table
451 -
452 -(% style="text-align:center" %)
453 -[[image:11_html_6cf6e76e6b1a3e12.png||class="img-thumbnail"]]
454 -
455 -**Example**
456 -
457 -(% style="text-align:center" %)
458 -[[image:11_html_4acab72ee19939e5.png||class="img-thumbnail"]]
459 -
460 460  == **CCPID instruction introduction manual** ==
461 461  
462 462  **Background and purpose**