Changes for page 11 PID

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

From version 2.1
edited by Stone Wu
on 2022/06/14 16:53
Change comment: There is no comment for this version
To version 11.1
edited by Joe
on 2025/02/06 16:18
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -11 Special instructions
1 +11 PID
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.Stone
1 +XWiki.joe
Content
... ... @@ -102,13 +102,13 @@
102 102  |**Error code**|**Content**
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 -|4D80H|The sampling time is out of range.[[image:11_html_ba06296a94a7278d.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 -|4D84H|The integral gain (Ki) is out of range.[[image:11_html_f3c81825ddb8fe86.gif]]
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:11_html_70d03c16f47cdb8a.gif]],,
105 +|4D80H|The sampling time is out of range.​(T,,S,,≤0)
106 +|4D81H|Input filter constant (,, ,,α ) is out of range (α​<0 or α>1023)
107 +|4D82H|The maximum ascent rate (△T) is out of range.(△T​<0 or △T​>1023)
108 +|4D83H|The proportional gain (K//p//) is out of range.​​​​(K//p//<0)
109 +|4D84H|The integral gain (K//i//) is out of range.(K//i​//<0)
110 +|4D85H|The differential gain (K//d//) is out of range.​​​​(K//d//<0)
111 +|4D86H|The sampling time (T//s//) is less than the operation cycle.​​​​(T//s//<Scanning cycle)
112 112  
113 113  **Example**
114 114  
... ... @@ -163,13 +163,13 @@
163 163  |**Error code**|**Content**
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 -|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||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"]],,
166 +|4D80H|The sampling time is out of range.​(T,,S,,≤0)
167 +|4D81H|Input filter constant (​​​​​​​α) is out of range (​​​​​​​α​<0 or α>1023)
168 +|4D82H|The maximum ascent rate (​​​​​​​△//T//) is out of range.(△//T//​<0 or △//T//​>1023)
169 +|4D86H|The sampling time (Ts) is less than the operation cycle.​​​​​​​​​​​(T//s//<Scanning cycle)
170 +|4D87H|The proportional gain (K//p//) is out of range.​​​​(K//p//<1 or K//p//>32000)​​​​​​​
171 +|4D88H|The integral time constant (Ti) is out of range.(K//i​//<0 or K//i//>3600)
172 +|4D89H|The differential time constant (T//d//) is out of range.(K//d//<0 or K//d//>1000)
173 173  |4D90H|The upper limit of CCPID output is less than the lower limit.
174 174  
175 175  **Example**
... ... @@ -311,64 +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 372  == **CCPID instruction introduction manual** ==
373 373  
374 374  **Background and purpose**
... ... @@ -418,7 +418,7 @@
418 418  
419 419  In D9, the target value of PID adjustment is stored, and D10 is the closed-loop feedback value. Note that D9 and D10 must be of the same dimension, such as both 0.01MPa units, or 1℃ units, etc.;
420 420  
421 -A total of 52 units of D200 to D224 are used to store the set value and process value of PID operation. These values must be set item by item before the first PID calculation;
363 +A total of 52 units of D200 to D251 are used to store the set value and process value of PID operation. These values must be set item by item before the first PID calculation;
422 422  
423 423  D130 unit is used to store the calculated control output value to control the execution of the action.
424 424