Changes for page 11 PID

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

From version 8.1
edited by Leo Wei
on 2023/08/24 14:37
Change comment: There is no comment for this version
To version 1.1
edited by Leo Wei
on 2022/06/08 12:57
Change comment: Imported from XAR

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -11 PID
1 +11 Special instructions
Parent
... ... @@ -1,1 +1,1 @@
1 -PLC Editor2.WebHome
1 +PLC Editor2.1 User manual.2\.1 LX5V user manual.WebHome
Content
... ... @@ -103,12 +103,12 @@
103 103  |4085H|When the device specified in the read application instructions (s1), (s2), (s3), (d) exceeds the range of the corresponding device.
104 104  |4086H|When the device specified in the write application instruction (s3) and (d) exceeds the range of the corresponding device.
105 105  |4D80H|The sampling time is out of range.[[image:11_html_ba06296a94a7278d.gif]]
106 -|4D81H|Input filter constant ([[image:/bin/download/PLC%20Editor2/11%20Special%20instructions/WebHome/11_html_b81ea5473531b171.gif?rev=1.1||alt="11_html_b81ea5473531b171.gif"]],,[[image:11_html_b81ea5473531b171.gif]] ,,) is out of range (.[[image:/bin/download/PLC%20Editor2/11%20Special%20instructions/WebHome/11_html_f00d00cbbb545887.gif?rev=1.1||alt="11_html_f00d00cbbb545887.gif"]],,[[image:11_html_f00d00cbbb545887.gif]] ,,)
107 -|4D82H|The maximum ascent rate ([[image:11_html_b83270b056cb8a08.gif]] ) is out of range.[[image:/bin/download/PLC%20Editor2/11%20Special%20instructions/WebHome/11_html_61c6eece10272380.gif?rev=1.1||alt="11_html_61c6eece10272380.gif"]],,[[image:11_html_61c6eece10272380.gif]],,
108 -|4D83H|The proportional gain (Kp) is out of range.[[image:/bin/download/PLC%20Editor2/11%20Special%20instructions/WebHome/11_html_23f8e4bf2ee8d30.gif?rev=1.1||alt="11_html_23f8e4bf2ee8d30.gif"]],,[[image:11_html_23f8e4bf2ee8d30.gif]],,
106 +|4D81H|Input filter constant (,,[[image:11_html_b81ea5473531b171.gif]] ,,) is out of range (.,,[[image:11_html_f00d00cbbb545887.gif]] ,,)
107 +|4D82H|The maximum ascent rate ([[image:11_html_b83270b056cb8a08.gif]] ) is out of range.,,[[image:11_html_61c6eece10272380.gif]],,
108 +|4D83H|The proportional gain (Kp) is out of range.,,[[image:11_html_23f8e4bf2ee8d30.gif]],,
109 109  |4D84H|The integral gain (Ki) is out of range.[[image:11_html_f3c81825ddb8fe86.gif]]
110 110  |4D85H|The differential gain (Kd) is out of range.[[image:11_html_3da2409ae3fe18b8.gif]]
111 -|4D86H|The sampling time (Ts) is less than the operation cycle.[[image:/bin/download/PLC%20Editor2/11%20Special%20instructions/WebHome/11_html_70d03c16f47cdb8a.gif?rev=1.1||alt="11_html_70d03c16f47cdb8a.gif"]],,[[image:11_html_70d03c16f47cdb8a.gif]],,
111 +|4D86H|The sampling time (Ts) is less than the operation cycle.,,[[image:11_html_70d03c16f47cdb8a.gif]],,
112 112  
113 113  **Example**
114 114  
... ... @@ -164,12 +164,12 @@
164 164  |4085H|When the device specified in the read application instructions (s1), (s2), (s3), (d) exceeds the range of the corresponding device.
165 165  |4086H|When the device specified in the write application instruction (s3) and (d) exceeds the range of the corresponding device.
166 166  |4D80H|The sampling time is out of range.[[image:11_html_e20ffef8be00c7de.gif||class="img-thumbnail"]]
167 -|4D81H|Input filter constant ([[image:11_html_89233377f23913d1.gif||height="19" width="24" class="img-thumbnail"]] ) is out of range ([[image:/bin/download/PLC%20Editor2/11%20Special%20instructions/WebHome/11_html_fc04053cc1766938.gif?rev=1.1||alt="11_html_fc04053cc1766938.gif" class="img-thumbnail"]],,[[image:11_html_fc04053cc1766938.gif]] ,,)
168 -|4D82H|The maximum ascent rate ([[image:11_html_b83270b056cb8a08.gif||class="img-thumbnail"]] ) is out of range.[[image:/bin/download/PLC%20Editor2/11%20Special%20instructions/WebHome/11_html_6ec55fb8a0806a8a.gif?rev=1.1||alt="11_html_6ec55fb8a0806a8a.gif" class="img-thumbnail"]],,[[image:11_html_6ec55fb8a0806a8a.gif]],,
169 -|4D86H|The sampling time (Ts) is less than the operation cycle.[[image:/bin/download/PLC%20Editor2/11%20Special%20instructions/WebHome/11_html_5760e7f0e774413a.gif?rev=1.1||alt="11_html_5760e7f0e774413a.gif" class="img-thumbnail"]],,[[image:11_html_5760e7f0e774413a.gif]],,
170 -|4D87H|The proportional gain (Kp) is out of range.[[image:/bin/download/PLC%20Editor2/11%20Special%20instructions/WebHome/11_html_7ce2946bf919a62d.gif?rev=1.1||alt="11_html_7ce2946bf919a62d.gif" class="img-thumbnail"]],,[[image:11_html_7ce2946bf919a62d.gif]],,
171 -|4D88H|The integral time constant (Ti) is out of range.[[image:/bin/download/PLC%20Editor2/11%20Special%20instructions/WebHome/11_html_667c81877b8381e.gif?rev=1.1||alt="11_html_667c81877b8381e.gif" class="img-thumbnail"]],,[[image:11_html_667c81877b8381e.gif]],,
172 -|4D89H|The differential time constant (Td) is out of range.[[image:/bin/download/PLC%20Editor2/11%20Special%20instructions/WebHome/11_html_b1f11c46b396094.gif?rev=1.1||alt="11_html_b1f11c46b396094.gif" class="img-thumbnail"]],,[[image:11_html_b1f11c46b396094.gif]],,
167 +|4D81H|Input filter constant ([[image:11_html_89233377f23913d1.gif||class="img-thumbnail" height="19" width="24"]] ) is out of range (,,[[image:11_html_fc04053cc1766938.gif||class="img-thumbnail"]] ,,)
168 +|4D82H|The maximum ascent rate ([[image:11_html_b83270b056cb8a08.gif||class="img-thumbnail"]] ) is out of range.,,[[image:11_html_6ec55fb8a0806a8a.gif||class="img-thumbnail"]],,
169 +|4D86H|The sampling time (Ts) is less than the operation cycle.,,[[image:11_html_5760e7f0e774413a.gif||class="img-thumbnail"]],,
170 +|4D87H|The proportional gain (Kp) is out of range.,,[[image:11_html_7ce2946bf919a62d.gif||class="img-thumbnail"]],,
171 +|4D88H|The integral time constant (Ti) is out of range.,,[[image:11_html_667c81877b8381e.gif||class="img-thumbnail"]],,
172 +|4D89H|The differential time constant (Td) is out of range.,,[[image:11_html_b1f11c46b396094.gif||class="img-thumbnail"]],,
173 173  |4D90H|The upper limit of CCPID output is less than the lower limit.
174 174  
175 175  **Example**
... ... @@ -311,6 +311,152 @@
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 +
314 314  == **CCPID instruction introduction manual** ==
315 315  
316 316  **Background and purpose**