Changes for page 01 Program execution

Last modified by Jiahao Lai on 2025/07/18 17:39

From version 32.1
edited by Mora Zhou
on 2023/11/22 14:09
Change comment: There is no comment for this version
To version 18.1
edited by Stone Wu
on 2022/09/23 16:36
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Mora
1 +XWiki.Stone
Content
... ... @@ -1,6 +1,6 @@
1 1  = **Summary** =
2 2  
3 -This manual has a comprehensive introduction to the basic functions of WECON PLC Editor and the actual use. This book is completely aimed at zero-based readers, which is an essential reference book for entry-level readers to quickly and fully grasp WECON PLC and WECON PLC Editor.
3 +This manual has a comprehensive introduction to the basic functions of WECON PLC Editor and the actual use. This book is completely aimed at zero-based readers, is an essential reference book for entry-level readers to quickly and fully grasp WECON PLC and WECON PLC Editor.
4 4  
5 5  This book starts from the basic product of WECON PLC and the basic concept and operation of WECON PLC Editor. It combines with a large number of cases and graphic analysis to comprehensively and deeply explain the use of WECON PLC Editor Software, as well as PLC program.
6 6  
... ... @@ -29,8 +29,8 @@
29 29  (((
30 30  **✎Note:**
31 31  
32 -* To prevent the temperature from rising, do not install at the bottom, top or vertical direction. Be sure to install it horizontally on the wall as shown on the right.
33 -* Please leave a space of more than 50mm between the host and other equipment or structures. Try to avoid high-voltage lines, high-voltage equipment, and power equipment.
32 +* To prevent the temperature from rising, do not install at the bottom, top or vertical direction.Be sure to install it horizontally on the wall as shown on the right.
33 +* Please leave a space of more than 50mm between the host and other equipment or structures.Try to avoid high-voltage lines, high-voltage equipment, and power equipment.
34 34  )))
35 35  
36 36  == Wiring ==
... ... @@ -131,7 +131,7 @@
131 131  The initialization based on the status of the CPU module is as follows.
132 132  
133 133  * **√**: execute
134 -* **×**: not execute
134 +* **×**: not execute
135 135  
136 136  (% class="table-bordered" %)
137 137  |=(% rowspan="2" %)**Processing item**|=(% colspan="3" %)**Status of the CPU module**
... ... @@ -247,7 +247,7 @@
247 247  *1: Scan program paging: multiple scan programs are established, and each scan program is called a paging. After scan program A is executed, before scan program B is executed, it will be judged whether an event program needs to be executed.
248 248  
249 249  (% style="text-align:center" %)
250 -[[image:image-20220926104203-1.jpeg||class="img-thumbnail"]]
250 +[[image:1652247397997-492.png||class="img-thumbnail"]]
251 251  
252 252  When it is the turn of the execution sequence of event execution type program C and Y50 is ON, the program is executed.
253 253  
... ... @@ -434,7 +434,7 @@
434 434  [[image:1-20.png||class="img-thumbnail"]]
435 435  
436 436  (% class="table-bordered" %)
437 -|=(% colspan="2" %)**Project**|=**Content**|=**Setting range**|=**Default**
437 +|(% colspan="2" %)**Project**|**Content**|**Setting range**|**Default**
438 438  |(% colspan="2" %)Execution type|Select the type of interrupt|Not set/External input interrupt/Timer event/high-speed counter interrupt|Not set
439 439  |(% rowspan="2" %)Timer interrupt|Time|Set the interval time for interrupt triggering|1 to 2147483647 (100us unit)|
440 440  |priority|When multiple interrupts arrive at the same time, the order of priority execution, the smallest value is executed first|0 to 2|0
... ... @@ -472,7 +472,7 @@
472 472  [[image:1-23.png||class="img-thumbnail"]]
473 473  
474 474  (% class="table-bordered" %)
475 -|=(% colspan="2" %)**Project**|=**Content**|=**Setting range**|=**Default**
475 +|(% colspan="2" %)**Project**|**Content**|**Setting range**|**Default**
476 476  |(% colspan="2" %)Execution type|Select the type of interrupt|Not set, External input interrupt, Timer event, high-speed counter interrupt|Not set
477 477  |(% rowspan="5" %)High count interrupt|Mode|(((
478 478  Select the type of high-speed counter interrupt:
... ... @@ -503,7 +503,7 @@
503 503   Description of triggering rules
504 504  
505 505  (% class="table-bordered" %)
506 -|=(% style="width: 135px;" %)**Mode**|=(% style="width: 187px;" %)**Configuration**|=(% style="width: 128px;" %)**The current value**|=(% style="width: 324px;" %)**Action**
506 +|(% style="width:135px" %)**Mode**|(% style="width:187px" %)**Configuration**|(% style="width:128px" %)**The current value**|(% style="width:324px" %)**Action**
507 507  |(% rowspan="2" style="width:135px" %)High-speed compare interrupt (INT0)|(% rowspan="2" style="width:187px" %)Comparison value: 10000|(% style="width:128px" %)9999 → 10000|(% style="width:324px" %)Execute all programs in interrupt INT0
508 508  |(% style="width:128px" %)10001 → 10000|(% style="width:324px" %)Execute all programs in interrupt INT0
509 509  |(% rowspan="2" style="width:135px" %)High-speed comparison set (INT1)|(% rowspan="2" style="width:187px" %)(((
... ... @@ -596,38 +596,38 @@
596 596  
597 597  (% class="table-bordered" %)
598 598  |=(% colspan="4" %)**Timer interrupt mask register**
599 -|=(% style="width: 262px;" %)**Special register number**|=(% style="width: 309px;" %)**Type of interrupt**|=(% style="width: 394px;" %)**Instruction**|=(% style="width: 110px;" %)**Default**
600 -|(% style="width:262px" %)SD350|(% style="width:309px" %)1st to 16th timer interrupt|(% style="width:394px" %)(((
599 +|=**Special register number**|=(% style="width: 311px;" %)**Type of interrupt**|=(% style="width: 391px;" %)**Instruction**|=(% style="width: 110px;" %)**Default**
600 +|SD350|(% style="width:311px" %)1st to 16th timer interrupt|(% style="width:391px" %)(((
601 601  Each bit can control the mask of an interrupt.
602 602  
603 603  ON: shield interrupts; OFF: interrupt allowed
604 604  )))|(% style="width:110px" %)0
605 -|(% style="width:262px" %)SD351|(% style="width:309px" %)17th to 32th timer interrupt|(% style="width:394px" %)(((
605 +|SD351|(% style="width:311px" %)17th to 32th timer interrupt|(% style="width:391px" %)(((
606 606  Each bit can control the mask of an interrupt.
607 607  
608 608  ON: shield interrupts; OFF: interrupt allowed
609 609  )))|(% style="width:110px" %)0
610 -|(% style="width:262px" %)SD352|(% style="width:309px" %)33th to 48th timer interrupt|(% style="width:394px" %)(((
610 +|SD352|(% style="width:311px" %)33th to 48th timer interrupt|(% style="width:391px" %)(((
611 611  Each bit can control the mask of an interrupt.
612 612  
613 613  ON: shield interrupts; OFF: interrupt allowed
614 614  )))|(% style="width:110px" %)0
615 -|(% style="width:262px" %)SD353|(% style="width:309px" %)49th to 64th timer interrupt|(% style="width:394px" %)(((
615 +|SD353|(% style="width:311px" %)49th to 64th timer interrupt|(% style="width:391px" %)(((
616 616  Each bit can control the mask of an interrupt.
617 617  
618 618  ON: shield interrupts; OFF: interrupt allowed
619 619  )))|(% style="width:110px" %)0
620 -|(% style="width:262px" %)SD354|(% style="width:309px" %)65th to 80th timer interrupt|(% style="width:394px" %)(((
620 +|SD354|(% style="width:311px" %)65th to 80th timer interrupt|(% style="width:391px" %)(((
621 621  Each bit can control the mask of an interrupt.
622 622  
623 623  ON: shield interrupts; OFF: interrupt allowed
624 624  )))|(% style="width:110px" %)0
625 -|(% style="width:262px" %)SD355|(% style="width:309px" %)81st to 96th timer interrupt|(% style="width:394px" %)(((
625 +|SD355|(% style="width:311px" %)81st to 96th timer interrupt|(% style="width:391px" %)(((
626 626  Each bit can control the mask of an interrupt.
627 627  
628 628  ON: shield interrupts; OFF: interrupt allowed
629 629  )))|(% style="width:110px" %)0
630 -|(% style="width:262px" %)SD356|(% style="width:309px" %)97th to 100th timer interrupt|(% style="width:394px" %)(((
630 +|SD356|(% style="width:311px" %)97th to 100th timer interrupt|(% style="width:391px" %)(((
631 631  Each bit can control the mask of an interrupt.
632 632  
633 633  ON: shield interrupts; OFF: interrupt allowed
image-20220926104203-1.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -105.7 KB
Content