Last modified by Iris on 2025/09/17 20:56

From version 4.3
edited by Iris
on 2025/09/17 20:44
Change comment: There is no comment for this version
To version 4.5
edited by Iris
on 2025/09/17 20:56
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -614,9 +614,9 @@
614 614  (% style="text-align:center" %)
615 615  [[image:11_html_74a7527eace55103.gif||class="img-thumbnail"]]
616 616  
617 -=== ** CCPIN_SHT operation** ===
617 +== ** CCPIN_SHT operation** ==
618 618  
619 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps294.png]]**CCPIN_SHT**
619 +**CCPIN_SHT**
620 620  
621 621  This instruction is used to perform PID control that changes the output value according to the variation of the input.
622 622  
... ... @@ -632,7 +632,7 @@
632 632  
633 633  **Device used**
634 634  
635 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="8" %)**Devices**|(((
635 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="3" %)**Devices**|(((
636 636  **Offset**
637 637  
638 638  **modification**
... ... @@ -641,30 +641,31 @@
641 641  
642 642  **extension**
643 643  )))
644 -|**D**|**R**|**SD**|**LC**|**HSC**|**K**|**H**|**E**|**[D]**|**XXP**
645 -|(% rowspan="4" %)CCPID_SHT|Parameter 1|●|●|●| | | | | | |
646 -|Parameter 2|●|●|●| | | | | | |
647 -|Parameter 3|●|●|●| | | | | | |
648 -|Parameter 4|●|●|●| | | | | | |
644 +|**D**|**R**|**SD**|**[D]**|**XXP**
645 +|(% rowspan="4" %)CCPID_SHT|Parameter 1|●|●|●| |
646 +|Parameter 2|●|●|●| |
647 +|Parameter 3|●|●|●| |
648 +|Parameter 4|●|●|●| |
649 649  
650 650  **Features**
651 651  
652 652  This instruction is to complete the temperature control operation, used to control the parameters of the closed-loop control system.
653 653  
654 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps295.png]] is the target value of CCPID SHT control (SV).
654 +[[image:1758113204827-229.png]] is the target value of CCPID SHT control (SV).
655 655  
656 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps296.png]] is the measured feedback value (PV).
656 +[[image:1758113217569-229.png]] is the measured feedback value (PV).
657 657  
658 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps297.png]] is the start address of the cache where the parameters required by CCPID_SHT operation and intermediate results are saved,
658 +[[image:1758113227549-844.png]] is the start address of the cache where the parameters required by CCPID_SHT operation and intermediate results are saved,
659 659  
660 660  occupying a total of 36 variable units of subsequent addresses. The value range is from D0 to D7946 or from R0 to R29964. 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.
661 661  
662 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps298.png]] is the storage unit of the CCPID_SHT 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.
662 +[[image:1758113243743-809.png]] is the storage unit of the CCPID_SHT 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 663  
664 664  **Programming example**
665 665  
666 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps299.png]]
666 +[[image:1758113269397-376.png]]
667 667  
668 +
668 668  The parameter description is as follows:
669 669  
670 670  The target value of CCPID_SHT adjustment is stored in D1, and D0 is the closed-loop feedback value. Note that D0 and D9 must be of the same dimension, such as both 0.01MPa units, or 1℃ units, etc..
... ... @@ -673,18 +673,18 @@
673 673  
674 674  D100 unit is used to store the calculated control output value to control the execution of the action.
675 675  
676 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps300.png]]The functions and setting methods of the parameter values of each unit at the beginning are described in the table below:
677 +[[image:1758113227549-844.png]]The functions and setting methods of the parameter values of each unit at the beginning are described in the table below:
677 677  
678 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps301.png]] to [[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps302.png]]+15 is the parameter range that can be set (parameters set when CCPID_SHT is executed).
679 + [[image:1758113227549-844.png]]to[[image:1758113227549-844.png]] +15 is the parameter range that can be set (parameters set when CCPID_SHT is executed).
679 679  
680 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps303.png]]+2 to [[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps304.png]]+31 is the parameter space used in the self-tuning process. (This space is multiplexed with the parameter space during control)
681 +[[image:1758113227549-844.png]]+2 to [[image:1758113227549-844.png]]+31 is the parameter space used in the self-tuning process. (This space is multiplexed with the parameter space during control)
681 681  
682 682  
683 -The functions and setting methods of the parameter values of each unit started by [[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps305.png]] are described in the following table:
684 +The functions and setting methods of the parameter values of each unit started by are described in the following table:
684 684  
685 -|**Unit**|**Function**|**Description**
686 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps306.png]]|Sampling time (TS)|Range: 1 to 32767 (ms). It must be longer than PLC program scan cycle.
687 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps307.png]]+1|Control flag bit|(((
686 +|(% style="width:106px" %)**Unit**|(% style="width:146px" %)**Function**|**Description**
687 +|(% style="width:106px" %)[[image:1758113227549-844.png]]|(% style="width:146px" %)Sampling time (TS)|Range: 1 to 32767 (ms). It must be longer than PLC program scan cycle.
688 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+1|(% style="width:146px" %)Control flag bit|(((
688 688  bit0: 0=Forward action; 1=Reverse action
689 689  
690 690  bit3: 0=one-way; 1=two-way
... ... @@ -697,22 +697,22 @@
697 697  
698 698  Bit15: The instruction initialization flag bit. When initialization is complete, it is set to 1.
699 699  )))
700 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps308.png]]+2|Maximum rate of increase (DeltaT)|Range: 0 to 32000. Threshold of integral increment
701 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps309.png]]+3|Proportional gain (Kp)|Range: 0 to 32767. This value is magnified 256 times and the actual value is Kp/256.
702 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps310.png]]+4|Integral gain (Ki)|Range: 0 to 32767, Ki=16384Ts/Ti,Ti is integral time
703 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps311.png]]+5|Differential gain (Kd)|Range: 0 to 32767, Kd≈Td/Ts, Td is differential time
704 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps312.png]]+6|Filter constant (Co)|Range: 0 to 1023, Integral partial filtering.
705 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps313.png]]+7|Output lower limit|Recommended setting range: -2000 to 2000
706 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps314.png]]+8|Output upper limit|Recommended setting value: 2000. When the upper and lower limits are both 0, the upper limit becomes 2000 and the lower limit becomes 0.
707 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps315.png]]+9|Reserved|Reserved for internal use
708 -|┇|┇|┇
709 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps316.png]]+35|Reserved|Reserved for internal use
701 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+2|(% style="width:146px" %)Maximum rate of increase (DeltaT)|Range: 0 to 32000. Threshold of integral increment
702 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+3|(% style="width:146px" %)Proportional gain (Kp)|Range: 0 to 32767. This value is magnified 256 times and the actual value is Kp/256.
703 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+4|(% style="width:146px" %)Integral gain (Ki)|Range: 0 to 32767, Ki=16384Ts/Ti,Ti is integral time
704 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+5|(% style="width:146px" %)Differential gain (Kd)|Range: 0 to 32767, Kd≈Td/Ts, Td is differential time
705 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+6|(% style="width:146px" %)Filter constant (Co)|Range: 0 to 1023, Integral partial filtering.
706 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+7|(% style="width:146px" %)Output lower limit|Recommended setting range: -2000 to 2000
707 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+8|(% style="width:146px" %)Output upper limit|Recommended setting value: 2000. When the upper and lower limits are both 0, the upper limit becomes 2000 and the lower limit becomes 0.
708 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+9|(% style="width:146px" %)Reserved|Reserved for internal use
709 +|(% style="width:106px" %)┇|(% style="width:146px" %)┇|┇
710 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+35|(% style="width:146px" %)Reserved|Reserved for internal use
710 710  
711 711  Parameter space corresponding to the self-tuning time
712 712  
713 -|**Unit**|**Function**|**Description**
714 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps317.png]]|Sampling time (TS)|Range: 1 to 32767 (ms). It must be longer than PLC program scan cycle.
715 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps318.png]]+1|Control flag bit|(((
714 +|(% style="width:106px" %)**Unit**|(% style="width:141px" %)**Function**|**Description**
715 +|(% style="width:106px" %)[[image:1758113227549-844.png]]|(% style="width:141px" %)Sampling time (TS)|Range: 1 to 32767 (ms). It must be longer than PLC program scan cycle.
716 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+1|(% style="width:141px" %)Control flag bit|(((
716 716  bit0: 0=Forward action; 1=Reverse action
717 717  
718 718  bit3: 0=one-way; 1=two-way
... ... @@ -725,16 +725,16 @@
725 725  
726 726  Bit15: This instruction initializes the flag bit. When initialization is complete, the position is set to 1.
727 727  )))
728 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps319.png]]+2|Sampling time of PID running after self-tuning|Setting range: 1 to 32767 ms(). When Ts≦0, Ts=3000
729 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps320.png]]+3|Coefficient ukp for PID parameter calculation|Setting range: 0 to 500. When ukp≦0, ukp=100; When ukp≧500, ukp=500.
730 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps321.png]]+4|Coefficient uki for PID parameter calculation|Setting range: 0 to 32767. When uki≦0, uki=50.
731 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps322.png]]+5|Coefficient ukd for PID parameter calculation|Setting range: 0 to 32767. When ukd≦0, ukd=50.
732 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps323.png]]+6|Reserved|Reserved
733 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps324.png]]+7|Output lower limit|Recommended setting range: -2000 to 2000
734 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps325.png]]+8|Output upper limit|Recommended setting value: 2000. When the upper and lower limits are both 0, the upper limit becomes 2000 and the lower limit becomes 0.
735 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps326.png]]+9|Reserved|Reserved for internal use
736 -|┇|┇|┇
737 -|[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps327.png]]+35|Reserved|Reserved for internal use
729 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+2|(% style="width:141px" %)Sampling time of PID running after self-tuning|Setting range: 1 to 32767 ms(). When Ts≦0, Ts=3000
730 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+3|(% style="width:141px" %)Coefficient ukp for PID parameter calculation|Setting range: 0 to 500. When ukp≦0, ukp=100; When ukp≧500, ukp=500.
731 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+4|(% style="width:141px" %)Coefficient uki for PID parameter calculation|Setting range: 0 to 32767. When uki≦0, uki=50.
732 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+5|(% style="width:141px" %)Coefficient ukd for PID parameter calculation|Setting range: 0 to 32767. When ukd≦0, ukd=50.
733 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+6|(% style="width:141px" %)Reserved|Reserved
734 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+7|(% style="width:141px" %)Output lower limit|Recommended setting range: -2000 to 2000
735 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+8|(% style="width:141px" %)Output upper limit|Recommended setting value: 2000. When the upper and lower limits are both 0, the upper limit becomes 2000 and the lower limit becomes 0.
736 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+9|(% style="width:141px" %)Reserved|Reserved for internal use
737 +|(% style="width:106px" %)┇|(% style="width:141px" %)┇|┇
738 +|(% style="width:106px" %)[[image:1758113227549-844.png]]+35|(% style="width:141px" %)Reserved|Reserved for internal use
738 738  
739 739  **Error code**
740 740  
... ... @@ -751,11 +751,14 @@
751 751  
752 752  **Example**
753 753  
754 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps328.png]]
755 755  
756 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml11524\wps329.png]]
757 757  
757 +(% style="text-align:center" %)
758 +[[image:企业微信截图_17581134583885.png]]
758 758  
760 +(% style="text-align:center" %)
761 +[[image:企业微信截图_17581134696804.png]]
762 +
759 759  == **LAGCDL Large time-delay temperature control instruction** ==
760 760  
761 761  **LAGCDL**
1758113204827-229.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +1.8 KB
Content
1758113217569-229.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +1.7 KB
Content
1758113227549-844.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +1.9 KB
Content
1758113243743-809.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +1.7 KB
Content
1758113269397-376.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +31.9 KB
Content
企业微信截图_17581134583885.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +28.1 KB
Content
企业微信截图_17581134696804.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +23.9 KB
Content