Changes for page 01 Program execution
Last modified by Leo Wei on 2024/12/24 22:42
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -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 ... ... @@ -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 ... ... @@ -704,75 +704,78 @@ 704 704 705 705 == Positioning instructions == 706 706 707 -(% class="wikigeneratedid" %) 708 -**Event** 707 + ~1. Event 709 709 710 -(% class="wikigeneratedid" %) 711 -ON event 709 + 1.ON event 712 712 713 - *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 +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. 714 714 715 715 (% class="table-bordered" %) 716 -| =(% scope="row" %)**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7717 -| =**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319714 +|**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 715 +|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 718 718 719 -* 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. 720 -* 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. 717 +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. 721 721 722 - TIMEevent719 +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. 723 723 724 - *Ifthehigh-speedpulseinstructionisturned on in theTIME 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 + 2. TIME event 725 725 723 +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. 724 + 726 726 (% class="table-bordered" %) 727 -| =(% scope="row" %)**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7728 -| =**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319726 +|**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 727 +|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 729 729 730 -* 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. 731 -* 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. 729 +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. 732 732 733 - **Subroutine**731 +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. 734 734 733 + 2. Subroutine 734 + 735 735 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. 736 736 737 737 (% class="table-bordered" %) 738 -| =(% scope="row" %)**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7739 -| =**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319738 +|**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 739 +|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 740 740 741 741 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. 742 742 743 743 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. 744 744 745 - **Interrupt**745 + 3. Interrupt 746 746 747 -External interrupt 747 +1. External interrupt 748 748 749 - *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.749 +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. 750 750 751 751 (% class="table-bordered" %) 752 -| =(% scope="row" %)**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7753 -| =**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319752 +|**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 753 +|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 754 754 755 -* When the flag bit is 0 (continue to send pulse), continue to send high-speed pulses until it stops. 756 -* When the flag bit is 1 (stop sending pulse), the high-speed pulse decelerates and stops. 755 +When the flag bit is 0 (continue to send pulse), continue to send high-speed pulses until it stops. 757 757 758 - Timerinterrupt757 +When the flag bit is 1 (stop sending pulse), the high-speed pulse decelerates and stops. 759 759 760 - *Ifthehigh-speedpulseinstructionisturnedonin 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 + 2. Timer interrupt 761 761 761 +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. 762 + 762 762 (% class="table-bordered" %) 763 -| =(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7764 -| =**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319764 +|**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 765 +|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 765 765 766 -* 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. 767 -* 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 +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. 768 768 769 - High-speedcomparison interrupt769 +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. 770 770 771 - *Ifthehigh-speedpulseinstructionisenabledin 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 + 3.High-speed comparison interrupt 772 772 773 +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. 774 + 773 773 (% class="table-bordered" %) 774 -| =(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7775 -| =**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319776 +|**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 777 +|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 776 776 777 -* When the flag bit is 0 (continue to send pulse), continue to send high-speed pulses until it stops. 778 -* When the flag bit is 1 (stop sending pulse), the high-speed pulse decelerates and stops. 779 +When the flag bit is 0 (continue to send pulse), continue to send high-speed pulses until it stops. 780 + 781 +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