Changes for page 11 PID Control Instruction
Last modified by Iris on 2025/09/17 20:56
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 9 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -107,10 +107,8 @@ 107 107 108 108 **Example** 109 109 110 - Seemanual.110 +== **CCPID/CCPID calculation** == 111 111 112 -== {{id name="_Toc32463"/}}{{id name="_Toc21837"/}}{{id name="_Toc31152"/}}**CCPID/CCPID calculation** == 113 - 114 114 **CCPID** 115 115 116 116 This instruction is used to perform PID control that changes the output value according to the amount of input change. ... ... @@ -152,30 +152,24 @@ 152 152 153 153 **Error code** 154 154 153 + 155 155 |**Error code**|**Content** 156 156 |4085H|When the device specified in the read application instructions (s1), (s2), (s3), (d) exceeds the range of the corresponding device. 157 157 |4086H|When the device specified in the write application instruction (s3) and (d) exceeds the range of the corresponding device. 158 158 |4D80H|The sampling time is out of range.(T,,S,,≤0) 159 -|4D81H|Input filter constant (Co) is out of range (Co<0 or Co≥1023) 160 -|4D82H|The maximum ascent rate (△//T//) is out of range.(△//T//<0 or △//T//>32000) 161 -|4D83H|((( 162 -The proportional gain (Kp) is out of range. Kp<0[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps287.png]] 163 -))) 164 -|((( 165 -4D84H 166 -)))|((( 167 -The integral gain (Ki) is out of range. Ki<0[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps288.png]] 168 -))) 169 -|4D85H|((( 170 -The differential gain (Kd) is out of range. Kd<0[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps289.png]] 171 -))) 172 -|4D86H|The sampling time (Ts) is less than the operation cycle.(T//s//<Scan cycle) 158 +|4D81H|Input filter constant (α) is out of range (α<0 or α>1023) 159 +|4D82H|The maximum ascent rate (△//T//) is out of range.(△//T//<0 or △//T//>1023) 160 +|4D86H|The sampling time (Ts) is less than the operation cycle.(T//s//<Scanning cycle) 161 +|4D87H|The proportional gain (K//p//) is out of range.(K//p//<1 or K//p//>32000) 162 +|4D88H|The integral time constant (Ti) is out of range.(K//i//<0 or K//i//>3600) 163 +|4D89H|The differential time constant (T//d//) is out of range.(K//d//<0 or K//d//>1000) 164 +|4D90H|The upper limit of CCPID output is less than the lower limit. 173 173 174 174 **Example** 175 175 176 -See " __CCPID Instruction Manual__".168 +See "CCPID Instruction Manual". 177 177 178 -== ** {{id name="_Toc8661"/}}{{id name="_Toc13227"/}}{{id name="_Toc18478"/}}{{id name="_Toc29418"/}}{{id name="_Toc5268"/}}{{id name="_Toc5168"/}}{{id name="_Toc307"/}}**FPID/FPID calculation ==170 +== **FPID/FPID calculation** == 179 179 180 180 **FPID** 181 181 ... ... @@ -457,7 +457,7 @@ 457 457 3) +6 work range: Twork(example: 170 represents 17℃) 458 458 459 459 (% style="text-align:center" %) 460 -[[image: 11_html_7ab814bb49fffa5a.gif||class="img-thumbnail"]]452 +[[image:企业微信截图_17581105436817.png||height="197" width="652"]] 461 461 462 462 4) +9 working mode: 463 463 ... ... @@ -465,7 +465,7 @@ 465 465 466 466 1: Slight overshoot or no overshoot working mode 467 467 468 -2: Custom settings; to achieve by setting +10, +11, +12 three coefficients. 460 +2: Custom settings; to achieve by setting [[image:1758111151287-920.png||height="15" width="28"]]+10, [[image:1758111151287-920.png||height="15" width="28"]]+11, [[image:1758111151287-920.png||height="15" width="28"]]+12 three coefficients. 469 469 470 470 5) +1 bit2 self-tuning transition zone switch: (upper limit 1℃, low limit 0.5℃) 471 471 ... ... @@ -553,7 +553,7 @@ 553 553 |D101|Control detail settings 554 554 |D102|First-order inertial filter coefficient 555 555 |D106|Working interval 556 -|D109| Operating mode548 +|D109|Working mode 557 557 558 558 **(4) Parameter control effect description** 559 559 ... ... @@ -623,9 +623,9 @@ 623 623 [[image:11_html_74a7527eace55103.gif||class="img-thumbnail"]] 624 624 625 625 626 -** 11.6LAGCDL Large time-delay temperature control instruction**618 +== **LAGCDL Large time-delay temperature control instruction** == 627 627 628 - [[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps243.png]]**LAGCDL**620 +**LAGCDL** 629 629 630 630 This instruction is used to perform large time-delay system temperature control that changes the output value according to changes in the input. 631 631 ... ... @@ -641,7 +641,7 @@ 641 641 642 642 **Device used** 643 643 644 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan=" 24" %)**Devices**|(((636 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="8" %)**Devices**|((( 645 645 **Offset** 646 646 647 647 **modification** ... ... @@ -650,29 +650,29 @@ 650 650 651 651 **extension** 652 652 ))) 653 -|** X**|**Y**|**M**|**S**|**SM**|**T(bit)**|**C(bit)**|**LC(bit)**|**HSC(bit)**|**D.b**|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**654 -|(% rowspan="4" %)LAGCDL|Parameter 1| | | | | | | | | | | | | | | | |●|●|●| | | | | | |655 -|Parameter 2| | | | | | | | | | | | | | | | |●|●|●| | | | | | |656 -|Parameter 3| | | | | | | | | | | | | | | | |●|●|●| | | | | | |657 -|Parameter 4| | | | | | | | | | | | | | | | |●|●|●| | | | | | |645 +|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP** 646 +|(% rowspan="4" %)LAGCDL|Parameter 1|●|●|●| | | | | | | 647 +|Parameter 2|●|●|●| | | | | | | 648 +|Parameter 3|●|●|●| | | | | | | 649 +|Parameter 4|●|●|●| | | | | | | 658 658 659 659 **Features** 660 660 661 661 This instruction is to complete large time-delay system control operation, and used to control the parameters of the closed-loop control system. 662 662 663 -[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps244.png]]655 +[[image:1758111592778-873.png]]is the target value of CCPID SHT control (SV). 664 664 665 -[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps245.png]]657 +[[image:1758111614838-309.png]]is the measured feedback value (PV). 666 666 667 -[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps246.png]]659 + [[image:1758111642557-547.png]]is the start address of the cache where the parameters required by LAGCDL operation and intermediate results are saved, 668 668 669 669 occupying a total of 634 variable units of subsequent addresses. The value range is from D0 to D7974 or from R0 to R35000. It is better to specify power failure retention, and the setting value remains after power supply is off. Otherwise, the cache needs to be assigned value before starting the calculation for the first time. The function and parameter description of each unit are described in this section. 670 670 671 -[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps247.png]] is the storage unit of the LAGCDL calculation result. Please specify it as a non-battery retentive area, otherwise it needs to be initialized and cleared before the first start of calculation.663 +[[image:1758111693192-390.png]] is the storage unit of the LAGCDL calculation result. Please specify it as a non-battery retentive area, otherwise it needs to be initialized and cleared before the first start of calculation. 672 672 673 673 **Programming example** 674 674 675 -[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps248.jpg]]667 +[[image:1758111738993-165.png||height="64" width="430"]] 676 676 677 677 The parameter description is as follows: 678 678 ... ... @@ -682,15 +682,15 @@ 682 682 683 683 D100 unit is used to store the calculated control output value to control the execution of the action. 684 684 685 -[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps249.png]] to [[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps250.png]]+15 is the parameter range that can be set (parameters set when LAGCDL is executed). [[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps251.png]]+28 to [[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps252.png]]+631 is the historical data space for LAGCDL control internal use. [[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps253.png]]+4 to [[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps254.png]]+27 is the parameter space used in the self-tuning process. (This space is multiplexed with the parameter space during control)677 +[[image:1758111862269-781.png]] to [[image:1758111862269-781.png]]+15 is the parameter range that can be set (parameters set when LAGCDL is executed). [[image:1758111862269-781.png]]+28 to [[image:1758111862269-781.png]]+631 is the historical data space for LAGCDL control internal use. [[image:1758111862269-781.png]]+4 to [[image:1758111862269-781.png]]+27 is the parameter space used in the self-tuning process. (This space is multiplexed with the parameter space during control) 686 686 687 -The functions and setting methods of the parameter values of each unit started by [[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps255.png]] are described in the following table:679 +The functions and setting methods of the parameter values of each unit started by [[image:1758111862269-781.png]] are described in the following table: 688 688 689 689 690 690 691 -|**Unit**|**Function**|**Description** 692 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps256.png]]|Sampling time (TS)|Range: 1 to 32767 (ms). It must be longer than PLC program scan cycle.693 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps257.png]]+1|Control flag bit|(((683 +|(% style="width:108px" %)**Unit**|(% style="width:230px" %)**Function**|**Description** 684 +|(% style="width:108px" %)[[image:1758111862269-781.png]]|(% style="width:230px" %)Sampling time (TS)|Range: 1 to 32767 (ms). It must be longer than PLC program scan cycle. 685 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+1|(% style="width:230px" %)Control flag bit|((( 694 694 bit0: 0=Forward action; 1=Reverse action 695 695 696 696 bit1: Overshoot power limit output enable bit. 0=no limit; 1=limited ... ... @@ -703,32 +703,32 @@ 703 703 704 704 Bit15: The instruction initializes the flag bit. When initialization is complete, it is set to 1. 705 705 ))) 706 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps258.png]]+2|Output lower limit|Range: -32000 to 32000. Recommended setting range: -2000 or 0.707 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps259.png]]+3|Output upper limit|Range: 0 to 32000. Recommended setting value is 2000. When the upper and lower limits are both 0, the upper limit becomes 2000 and the lower limit becomes 0.708 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps260.png]]+4|Full power output boundary|The suggested value can be obtained by self-tuning, and can also be adjusted according to the actual situation.709 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps261.png]]+5|Half-power output boundary|The suggested value can be obtained by self-tuning, and can also be adjusted according to the actual situation.710 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps262.png]]+6|Stop output boundary|The suggested value can be obtained by self-tuning, and can also be adjusted according to the actual situation.711 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps263.png]]+7|The maximum rate of increase of the controlled system|Given by self-tuning712 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps264.png]]+8|The lagged time of the controlled system|Given by self-tuning. Unit: s713 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps265.png]]+9|The time constant of the controlled system|Given by self-tuning. Unit: s714 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps266.png]]+10|Ideal closed-loop time constant|Given by self-tuning. Unit: s715 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps267.png]]+11|Ideal closed-loop sampling time|Given by self-tuning. This parameter can be adjusted during the control process. Unit: s716 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps268.png]]+12|Maximum temperature difference during setting|Given by self-tuning. (for your reference)717 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps269.png]]+13|The temperature difference between the residual heat and temperature rise|Given by self-tuning. (for your reference)718 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps270.png]]+14|Heating time|Given by self-tuning. (for your reference)719 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps271.png]]+15|Setting time|Given by self-tuning. (for your reference)720 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps272.png]]+16|(% rowspan="3" %)Self-tuning use space|(% rowspan="3" %)Reserved for internal use721 -|┇ 722 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps273.png]]+27723 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps274.png]]+28|Current temperature difference|Used during control724 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps275.png]]+29|Previous temperature difference|Used during control725 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps276.png]]+30|The 1st operation flag bit|Used during control726 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps277.png]]+31|Number of valid history outputs|Used during control727 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps278.png]]+32|(% rowspan="3" %)Historical output data|(% rowspan="3" %)Used during control728 -|┇ 729 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps279.png]]+631730 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps280.png]]+632|(% rowspan="2" %)Previous sampling time stamp|(% rowspan="2" %)Reserved for internal use731 -|[[image: file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps281.png]]+633698 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+2|(% style="width:230px" %)Output lower limit|Range: -32000 to 32000. Recommended setting range: -2000 or 0. 699 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+3|(% style="width:230px" %)Output upper limit|Range: 0 to 32000. Recommended setting value is 2000. When the upper and lower limits are both 0, the upper limit becomes 2000 and the lower limit becomes 0. 700 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+4|(% style="width:230px" %)Full power output boundary|The suggested value can be obtained by self-tuning, and can also be adjusted according to the actual situation. 701 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+5|(% style="width:230px" %)Half-power output boundary|The suggested value can be obtained by self-tuning, and can also be adjusted according to the actual situation. 702 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+6|(% style="width:230px" %)Stop output boundary|The suggested value can be obtained by self-tuning, and can also be adjusted according to the actual situation. 703 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+7|(% style="width:230px" %)The maximum rate of increase of the controlled system|Given by self-tuning 704 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+8|(% style="width:230px" %)The lagged time of the controlled system|Given by self-tuning. Unit: s 705 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+9|(% style="width:230px" %)The time constant of the controlled system|Given by self-tuning. Unit: s 706 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+10|(% style="width:230px" %)Ideal closed-loop time constant|Given by self-tuning. Unit: s 707 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+11|(% style="width:230px" %)Ideal closed-loop sampling time|Given by self-tuning. This parameter can be adjusted during the control process. Unit: s 708 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+12|(% style="width:230px" %)Maximum temperature difference during setting|Given by self-tuning. (for your reference) 709 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+13|(% style="width:230px" %)The temperature difference between the residual heat and temperature rise|Given by self-tuning. (for your reference) 710 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+14|(% style="width:230px" %)Heating time|Given by self-tuning. (for your reference) 711 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+15|(% style="width:230px" %)Setting time|Given by self-tuning. (for your reference) 712 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+16|(% rowspan="3" style="width:230px" %)Self-tuning use space|(% rowspan="3" %)Reserved for internal use 713 +|(% style="width:108px" %)┇ 714 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+27 715 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+28|(% style="width:230px" %)Current temperature difference|Used during control 716 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+29|(% style="width:230px" %)Previous temperature difference|Used during control 717 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+30|(% style="width:230px" %)The 1st operation flag bit|Used during control 718 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+31|(% style="width:230px" %)Number of valid history outputs|Used during control 719 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+32|(% rowspan="3" style="width:230px" %)Historical output data|(% rowspan="3" %)Used during control 720 +|(% style="width:108px" %)┇ 721 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+631 722 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+632|(% rowspan="2" style="width:230px" %)Previous sampling time stamp|(% rowspan="2" %)Reserved for internal use 723 +|(% style="width:108px" %)[[image:1758111862269-781.png]]+633 732 732 733 733 **Error code** 734 734 ... ... @@ -743,7 +743,6 @@ 743 743 744 744 **Example** 745 745 746 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps282.png]] 747 747 748 748 749 749 == **PRUN/Octal digit transmission (16-bit data)** ==
- 1758111151287-920.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +7.0 KB - Content
- 1758111592778-873.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.3 KB - Content
- 1758111614838-309.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.0 KB - Content
- 1758111642557-547.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.2 KB - Content
- 1758111693192-390.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.0 KB - Content
- 1758111738993-165.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +13.6 KB - Content
- 1758111862269-781.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.3 KB - Content
- wps291.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +42.2 KB - Content
- 企业微信截图_17581105436817.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +9.7 KB - Content