Changes for page 01 Program execution

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

From version 34.1
edited by Mora Zhou
on 2024/12/05 16:23
Change comment: There is no comment for this version
To version 16.1
edited by Stone Wu
on 2022/09/23 16:31
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,24 +1,27 @@
1 1  = **Summary** =
2 2  
3 -This manual provides a comprehensive introduction to the basic functions and actual use of WECON PLC Editor. It is completely aimed at zero-based readers and is an essential reference book for entry-level readers who want to quickly and fully grasp WECON PLC and WECON PLC Editor. 
4 -This book starts with the basic product of WECON PLC and the basic concept and operation of WECON PLC Editor. It then uses a large number of cases and graphic analysis to comprehensively and deeply explain the use of WECON PLC Editor Software and the PLC program.
5 -WECON Technology Co., Ltd. All rights reserved.
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.
6 6  
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 +
7 +WECON technology Co., Ltd. All rights reserved.
8 +
7 7  = Precautions =
8 8  
9 -Before the installation, operation, maintenance and repair of the micro programmable control, please read this manual and other related manuals to ensure correct use. Please use it after you have mastered the operation method, and safety information.
11 +Before the installation, operation, maintenance and repair of the micro programmable control, please read this manual and other related manuals to ensure correct use. Please use it after you have mastered the operation method, safety information and all
10 10  
11 11  == Design ==
12 12  
15 +In the event of an abnormality in the external power supply or failure of the programmable controller, to ensure the safe operation of the entire system, be sure to install a safety circuit outside the programmable controller.
13 13  
14 14  1. Be sure to install an emergency brake circuit, a protection circuit, an interlock circuit for reverse operation, such as an emergency brake circuit, a protection circuit, a forward and reverse circuit, and an interlock circuit for the upper and lower positioning limits to prevent machine damage, in the external circuit of the programmable controller.
15 -1. When the programmable controller CPU detects abnormal conditions such as WDT errors through self-diagnosis, all outputs are shut off. In addition, when the programmable controller CPU cannot detect abnormalities in the input/output control part, etc., it cannot control the output. At this time, please design the external circuit and mechanism so that the machine can operate safely.
16 -1. Due to the failure of the relay and transistor of the output unit, it is impossible to control the state of the output to ON or OFF. To ensure the safe operation of the machine, please design external circuits and mechanisms for output signals related to major accidents.
18 +1. When the programmable controller CPU detects abnormal conditions such as WDT errors through self-diagnosis, all outputs are shut off. In addition, when the programmable controller CPU cannot detect abnormalities in the input/output control part, etc., it cannot control the output. At this time, in order to make the machine operate safely, please design the external circuit and mechanism.
19 +1. Due to the failure of the relay and transistor of the output unit, it is impossible to control the state of the output to ON or OFF. In order to ensure the safe operation of the machine, please design external circuits and mechanisms for output signals related to major accidents.
17 17  
18 18  == Installation ==
19 19  
20 20  * Please use it in the general specification environment described in the manual.
21 -** Do not use in the following places: places with dust, oily smoke, conductive dust, corrosive gas, or flammable gas; places exposed to high temperature, condensation, wind, and rain; places with vibration or impact. Electric shock, fire, and misoperation can also cause product damage.
24 +** Do not use in the following places: places with dust, oily smoke, conductive dust, corrosive gas, flammable gas; places  exposed to high temperature, condensation, wind and rain; places with vibration or impact. Electric shock, fire, and misoperation can also cause product damage.
22 22  * When processing screw holes and wiring, do not let iron filings or wire ends fall into the ventilation window of the programmable controller. It may cause fire, malfunction, or misoperation.
23 23  * Please insert the connecting cable and display module accurately into the specified sockets. Poor contact may cause misoperation.
24 24  
... ... @@ -26,8 +26,8 @@
26 26  (((
27 27  **✎Note:**
28 28  
29 -* 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.
30 -* 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.
31 31  )))
32 32  
33 33  == Wiring ==
... ... @@ -71,7 +71,7 @@
71 71  
72 72  * Please connect the AC power supply to the dedicated terminal according to the content in the manual.
73 73  * If the AC power supply is connected to the DC input/output terminal or the DC power supply terminal, the programmable controller will be burnt out.
74 -* Please do not supply power to the 24+ terminal of the basic unit from the external power supply and to the empty terminal. Do not wire from the outside, otherwise the product will be damaged.
77 +* Please do not supply power to the 24+ terminal of the basic unit from the external power supply, and to the empty terminal    . Do not wire from the outside, otherwise the product will be damaged.
75 75  * Please ground the ground terminal of the basic unit according to the third method. But please do not share the ground with the strong current system.
76 76  
77 77  **Attached**
... ... @@ -108,12 +108,12 @@
108 108  
109 109  Regular inspection: Whether the programmable controller is equipped with consumables with a shorter life.
110 110  
111 -For the relay output type, if the output relay works abnormally at a high frequency or drives a large-capacity load, you must pay attention to its impact on the service life.
114 +For relay output type, if the output relay works abnormally at a high frequency or drives a large-capacity load, you must pay attention to its impact on the service life.
112 112  
113 113  Check with other equipment, please pay attention to the following points:
114 114  
115 115  * Whether there is an abnormal increase in the temperature inside the machine due to other heating elements or direct sunlight.
116 -* Whether dust or conductive dust has penetrated the machine.
119 +* Whether dust or conductive dust has penetrated into the machine.
117 117  * Whether there are loose wiring and terminals or other abnormalities
118 118  
119 119  = Scan structure =
... ... @@ -128,7 +128,7 @@
128 128  The initialization based on the status of the CPU module is as follows.
129 129  
130 130  * **√**: execute
131 -* **×**: not execute
134 +* **×**: not execute
132 132  
133 133  (% class="table-bordered" %)
134 134  |=(% rowspan="2" %)**Processing item**|=(% colspan="3" %)**Status of the CPU module**
... ... @@ -244,7 +244,7 @@
244 244  *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.
245 245  
246 246  (% style="text-align:center" %)
247 -[[image:image-20220926104203-1.jpeg||class="img-thumbnail"]]
250 +[[image:1652247397997-492.png||class="img-thumbnail"]]
248 248  
249 249  When it is the turn of the execution sequence of event execution type program C and Y50 is ON, the program is executed.
250 250  
... ... @@ -431,7 +431,7 @@
431 431  [[image:1-20.png||class="img-thumbnail"]]
432 432  
433 433  (% class="table-bordered" %)
434 -|=(% colspan="2" %)**Project**|=**Content**|=**Setting range**|=**Default**
437 +|(% colspan="2" %)**Project**|**Content**|**Setting range**|**Default**
435 435  |(% colspan="2" %)Execution type|Select the type of interrupt|Not set/External input interrupt/Timer event/high-speed counter interrupt|Not set
436 436  |(% rowspan="2" %)Timer interrupt|Time|Set the interval time for interrupt triggering|1 to 2147483647 (100us unit)|
437 437  |priority|When multiple interrupts arrive at the same time, the order of priority execution, the smallest value is executed first|0 to 2|0
... ... @@ -469,7 +469,7 @@
469 469  [[image:1-23.png||class="img-thumbnail"]]
470 470  
471 471  (% class="table-bordered" %)
472 -|=(% colspan="2" %)**Project**|=**Content**|=**Setting range**|=**Default**
475 +|(% colspan="2" %)**Project**|**Content**|**Setting range**|**Default**
473 473  |(% colspan="2" %)Execution type|Select the type of interrupt|Not set, External input interrupt, Timer event, high-speed counter interrupt|Not set
474 474  |(% rowspan="5" %)High count interrupt|Mode|(((
475 475  Select the type of high-speed counter interrupt:
... ... @@ -500,7 +500,7 @@
500 500   Description of triggering rules
501 501  
502 502  (% class="table-bordered" %)
503 -|=(% 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**
504 504  |(% 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
505 505  |(% style="width:128px" %)10001 → 10000|(% style="width:324px" %)Execute all programs in interrupt INT0
506 506  |(% rowspan="2" style="width:135px" %)High-speed comparison set (INT1)|(% rowspan="2" style="width:187px" %)(((
... ... @@ -593,38 +593,38 @@
593 593  
594 594  (% class="table-bordered" %)
595 595  |=(% colspan="4" %)**Timer interrupt mask register**
596 -|=(% style="width: 262px;" %)**Special register number**|=(% style="width: 309px;" %)**Type of interrupt**|=(% style="width: 394px;" %)**Instruction**|=(% style="width: 110px;" %)**Default**
597 -|(% 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" %)(((
598 598  Each bit can control the mask of an interrupt.
599 599  
600 600  ON: shield interrupts; OFF: interrupt allowed
601 601  )))|(% style="width:110px" %)0
602 -|(% 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" %)(((
603 603  Each bit can control the mask of an interrupt.
604 604  
605 605  ON: shield interrupts; OFF: interrupt allowed
606 606  )))|(% style="width:110px" %)0
607 -|(% 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" %)(((
608 608  Each bit can control the mask of an interrupt.
609 609  
610 610  ON: shield interrupts; OFF: interrupt allowed
611 611  )))|(% style="width:110px" %)0
612 -|(% 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" %)(((
613 613  Each bit can control the mask of an interrupt.
614 614  
615 615  ON: shield interrupts; OFF: interrupt allowed
616 616  )))|(% style="width:110px" %)0
617 -|(% 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" %)(((
618 618  Each bit can control the mask of an interrupt.
619 619  
620 620  ON: shield interrupts; OFF: interrupt allowed
621 621  )))|(% style="width:110px" %)0
622 -|(% 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" %)(((
623 623  Each bit can control the mask of an interrupt.
624 624  
625 625  ON: shield interrupts; OFF: interrupt allowed
626 626  )))|(% style="width:110px" %)0
627 -|(% 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" %)(((
628 628  Each bit can control the mask of an interrupt.
629 629  
630 630  ON: shield interrupts; OFF: interrupt allowed
... ... @@ -673,7 +673,7 @@
673 673  
674 674  == Subroutine ==
675 675  
676 -During the execution of the scan program, the executed program can be called by the CALL instruction. You can create up to 100 new subprograms.
679 +During the execution of the scan program, the executed program can be called by the CALL instruction.
677 677  
678 678  A subroutine is to split a certain module in the main program for the main program to call, which is conducive to the modularization of the program. Such as other high-level language functions, but this function has no parameters and no return value.
679 679  
... ... @@ -680,7 +680,7 @@
680 680  (% style="text-align:center" %)
681 681  [[image:1652250926997-587.png||class="img-thumbnail"]]
682 682  
683 -**Instructions for calling subroutines**
686 +1. Instructions for calling subroutines
684 684  
685 685  After a new subroutine is created, the content of the program is not executed. It is executed only when the CALL(P) instruction is used to call the subroutine in the scan, event, and interrupt programs, and the call is executed once. Three new subroutines SUB0, SUB1, SUB2 are created as shown in the figure below. In the main program MAIN, the subprogram can be called by using the CALL(P) subprogram program name.
686 686  
... ... @@ -689,87 +689,87 @@
689 689  (% style="text-align:center" %)
690 690  [[image:1-28.png||class="img-thumbnail"]]
691 691  
692 -(% class="box infomessage" %)
693 -(((
694 -**✎Note:**
695 +**~ 1.✎Note:**
695 695  
696 696  1. When using the timer (OUT T), note that the output will not be reset when the subroutine is not called, and a specific subroutine register must be used.
697 697  1. It is not allowed to call recursively between subprograms, that is, call SUB1 in SUB0, and then call SUB0 in SUB1. This is not allowed.
698 698  1. The subroutine can be nested up to 32 levels. If the level exceeds 32 levels, a serious error will be reported and the Circuit program operation will be forcibly stopped.
699 699  1. Unlike the LX3V series mainframe, the subroutine in the LX5V series mainframe ends with the END instruction instead of SRET.
700 -)))
701 701  
702 702  == Positioning instructions ==
703 703  
704 -(% class="wikigeneratedid" %)
705 -**Event**
704 + ~1. Event
706 706  
707 -(% class="wikigeneratedid" %)
708 -ON event
706 + 1.ON event
709 709  
710 -* If the high-speed pulse instruction is turned on during the ON event, the high-speed pulse instruction will be sent as normal. If the ON contact of the trigger event in the scan period is turned OFF during the pulse sending, select whether to continue sending the pulse or stop the pulse according to the unscanned processing flag bit.
708 +If the high-speed pulse instruction is turned on during the ON event, the high-speed pulse instruction will be sent as normal. If the ON contact of the trigger event in the scan period is turned OFF during the pulse sending, select whether to continue sending the pulse or stop the pulse according to the unscanned processing flag bit.
711 711  
712 712  (% class="table-bordered" %)
713 -|=(% scope="row" %)**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7
714 -|=**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319
711 +|**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7
712 +|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319
715 715  
716 -* When the flag bit is 0 (continue to send pulse), if the instruction is not scanned in the current scan cycle, continue to send pulses until it stops. At this time, it should be noted that if the trigger event OFF contact turns ON after the pulse is sent, the pulse will be sent again.
717 -* When the flag bit is 1 (stop sending pulses), if the trigger event ON contact turns OFF in a certain scan period, it will decelerate and stop.
714 +When the flag bit is 0 (continue to send pulse), if the instruction is not scanned in the current scan cycle, continue to send pulses until it stops. At this time, it should be noted that if the trigger event OFF contact turns ON after the pulse is sent, the pulse will be sent again.
718 718  
719 - TIME event
716 +When the flag bit is 1 (stop sending pulses), if the trigger event ON contact turns OFF in a certain scan period, it will decelerate and stop.
720 720  
721 -* If the high-speed pulse instruction is turned on in the TIME event, the high-speed pulse instruction will be sent as normal. If the instruction is not scanned in a certain scan period during the pulse transmission, select whether to continue sending the pulse or stop the pulse according to the unscanned processing flag bit.
718 + 2. TIME event
722 722  
720 +If the high-speed pulse instruction is turned on in the TIME event, the high-speed pulse instruction will be sent as normal. If the instruction is not scanned in a certain scan period during the pulse transmission, select whether to continue sending the pulse or stop the pulse according to the unscanned processing flag bit.
721 +
723 723  (% class="table-bordered" %)
724 -|=(% scope="row" %)**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7
725 -|=**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319
723 +|**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7
724 +|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319
726 726  
727 -* When the flag bit is 0 (continue to send pulse), if the instruction is not scanned in the current scan cycle, the pulse will continue to be sent until it stops. In the TIME event, it is impossible to ensure that the instruction is scanned in every scan cycle, so you should avoid using high-speed pulse instructions in the TIME time, otherwise the pulse will be sent again after the pulse is sent.
728 -* When the flag bit is 1 (stop sending pulses), if the instruction is not scanned in the current scan cycle, it will decelerate and stop. In the TIME event, if the flag bit is set to 1 (stop sending pulses), there will be no pulse sending.
726 +When the flag bit is 0 (continue to send pulse), if the instruction is not scanned in the current scan cycle, the pulse will continue to be sent until it stops. In the TIME event, it is impossible to ensure that the instruction is scanned in every scan cycle, so you should avoid using high-speed pulse instructions in the TIME time, otherwise the pulse will be sent again after the pulse is sent.
729 729  
730 -**Subroutine**
728 +When the flag bit is 1 (stop sending pulses), if the instruction is not scanned in the current scan cycle, it will decelerate and stop. In the TIME event, if the flag bit is set to 1 (stop sending pulses), there will be no pulse sending.
731 731  
730 + 2. Subroutine
731 +
732 732  If the high-speed pulse instruction is turned on in the subroutine, the high-speed pulse instruction will be sent as normal. If the scanning period is closed during pulse sending, select whether to continue sending or stop the pulse according to the unscanned processing flag.
733 733  
734 734  (% class="table-bordered" %)
735 -|=(% scope="row" %)**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7
736 -|=**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319
735 +|**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7
736 +|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319
737 737  
738 738  When the flag bit is 0 (continue to send pulse), if the instruction is not scanned in the current scan cycle, the pulse will continue to be sent until it stops. At this time, it should be noted that if the subroutine is called again after the pulse is sent, the pulse will be sent again.
739 739  
740 740  When the flag bit is 1 (stop sending pulses), if the subroutine is closed during high-speed pulse sending, the speed will decelerate and stop. If the subroutine is closed before sending the pulse, then no pulse is sent.
741 741  
742 -**Interrupt**
742 + 3. Interrupt
743 743  
744 -External interrupt
744 +1. External interrupt
745 745  
746 -* If the high-speed pulse instruction is enabled in the external interrupt, the high-speed pulse instruction selects whether the pulse continues to be sent or the pulse stops according to the unscanned processing flag bit.
746 +If the high-speed pulse instruction is enabled in the external interrupt, the high-speed pulse instruction selects whether the pulse continues to be sent or the pulse stops according to the unscanned processing flag bit.
747 747  
748 748  (% class="table-bordered" %)
749 -|=(% scope="row" %)**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7
750 -|=**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319
749 +|**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7
750 +|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319
751 751  
752 -* When the flag bit is 0 (continue to send pulse), continue to send high-speed pulses until it stops.
753 -* When the flag bit is 1 (stop sending pulse), the high-speed pulse decelerates and stops.
752 +When the flag bit is 0 (continue to send pulse), continue to send high-speed pulses until it stops.
754 754  
755 -Timer interrupt
754 +When the flag bit is 1 (stop sending pulse), the high-speed pulse decelerates and stops.
756 756  
757 -* If the high-speed pulse instruction is turned on in the timer interruption, the high-speed pulse instruction is sent as normal. If the instruction is not scanned in a certain scan period in the pulse transmission, the pulse continues to be sent or the pulse stops is selected according to the unscanned processing flag.
756 + 2. Timer interrupt
758 758  
758 +If the high-speed pulse instruction is turned on in the timer interruption, the high-speed pulse instruction is sent as normal. If the instruction is not scanned in a certain scan period in the pulse transmission, the pulse continues to be sent or the pulse stops is selected according to the unscanned processing flag.
759 +
759 759  (% class="table-bordered" %)
760 -|=(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7
761 -|=**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319
761 +|**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7
762 +|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319
762 762  
763 -* When the flag bit is 0 (continue to send pulse), if the instruction is not scanned in the current scan cycle, continue to send pulses until it stops. In the timer interrupt, it is impossible to ensure that the instruction is scanned in every scan cycle, so it is necessary to avoid using high-speed pulse instructions in the T timer interrupt. Otherwise, after the pulse transmission is completed, the pulse will be sent again.
764 -* When the flag bit is 1 (stop sending pulses), if the instruction is not scanned in the current scan cycle, it will decelerate and stop. In the TIME event, if the flag bit is set to 1 (stop sending pulses), there will be no pulse sending.
764 +When the flag bit is 0 (continue to send pulse), if the instruction is not scanned in the current scan cycle, continue to send pulses until it stops. In the timer interrupt, it is impossible to ensure that the instruction is scanned in every scan cycle, so it is necessary to avoid using high-speed pulse instructions in the T timer interrupt. Otherwise, after the pulse transmission is completed, the pulse will be sent again.
765 765  
766 -High-speed comparison interrupt
766 +When the flag bit is 1 (stop sending pulses), if the instruction is not scanned in the current scan cycle, it will decelerate and stop. In the TIME event, if the flag bit is set to 1 (stop sending pulses), there will be no pulse sending.
767 767  
768 -* If the high-speed pulse instruction is enabled in the high-speed comparison interrupt, the high-speed pulse instruction selects whether the pulse continues to be sent or the pulse stops according to the unscanned processing flag.
768 + 3.High-speed comparison interrupt
769 769  
770 +If the high-speed pulse instruction is enabled in the high-speed comparison interrupt, the high-speed pulse instruction selects whether the pulse continues to be sent or the pulse stops according to the unscanned processing flag.
771 +
770 770  (% class="table-bordered" %)
771 -|=(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7
772 -|=**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319
773 +|**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7
774 +|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319
773 773  
774 -* When the flag bit is 0 (continue to send pulse), continue to send high-speed pulses until it stops.
775 -* When the flag bit is 1 (stop sending pulse), the high-speed pulse decelerates and stops.
776 +When the flag bit is 0 (continue to send pulse), continue to send high-speed pulses until it stops.
777 +
778 +When the flag bit is 1 (stop sending pulse), the high-speed pulse decelerates and stops.
image-20220926104203-1.jpeg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Stone
Size
... ... @@ -1,1 +1,0 @@
1 -105.7 KB
Content