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)
Details
- Page properties
-
- Content
-
... ... @@ -596,38 +596,38 @@ 596 596 597 597 (% class="table-bordered" %) 598 598 |=(% colspan="4" %)**Timer interrupt mask register** 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" %)(((599 +|=(% style="width: 386px;" %)**Special register number**|=(% style="width: 247px;" %)**Type of interrupt**|=(% style="width: 332px;" %)**Instruction**|=(% style="width: 110px;" %)**Default** 600 +|(% style="width:386px" %)SD350|(% style="width:247px" %)1st to 16th timer interrupt|(% style="width:332px" %)((( 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 -|SD351|(% style="width: 311px" %)17th to 32th timer interrupt|(% style="width:391px" %)(((605 +|(% style="width:386px" %)SD351|(% style="width:247px" %)17th to 32th timer interrupt|(% style="width:332px" %)((( 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 -|SD352|(% style="width: 311px" %)33th to 48th timer interrupt|(% style="width:391px" %)(((610 +|(% style="width:386px" %)SD352|(% style="width:247px" %)33th to 48th timer interrupt|(% style="width:332px" %)((( 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 -|SD353|(% style="width: 311px" %)49th to 64th timer interrupt|(% style="width:391px" %)(((615 +|(% style="width:386px" %)SD353|(% style="width:247px" %)49th to 64th timer interrupt|(% style="width:332px" %)((( 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 -|SD354|(% style="width: 311px" %)65th to 80th timer interrupt|(% style="width:391px" %)(((620 +|(% style="width:386px" %)SD354|(% style="width:247px" %)65th to 80th timer interrupt|(% style="width:332px" %)((( 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 -|SD355|(% style="width: 311px" %)81st to 96th timer interrupt|(% style="width:391px" %)(((625 +|(% style="width:386px" %)SD355|(% style="width:247px" %)81st to 96th timer interrupt|(% style="width:332px" %)((( 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 -|SD356|(% style="width: 311px" %)97th to 100th timer interrupt|(% style="width:391px" %)(((630 +|(% style="width:386px" %)SD356|(% style="width:247px" %)97th to 100th timer interrupt|(% style="width:332px" %)((( 631 631 Each bit can control the mask of an interrupt. 632 632 633 633 ON: shield interrupts; OFF: interrupt allowed ... ... @@ -704,78 +704,75 @@ 704 704 705 705 == Positioning instructions == 706 706 707 - ~1. Event 707 +(% class="wikigeneratedid" %) 708 +**Event** 708 708 709 - 1.ON event 710 +(% class="wikigeneratedid" %) 711 +ON event 710 710 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. 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. 712 712 713 713 (% class="table-bordered" %) 714 -|**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 715 -|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 716 +|=(% scope="row" %)**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 717 +|=**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 716 716 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. 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. 718 718 719 - Whentheflag bit is 1 (stop sending pulses), if the trigger eventON contact turns OFF in a certain scan period, it will decelerate and stop.722 + TIME event 720 720 721 - 2.TIME event724 +* 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. 722 722 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 - 725 725 (% class="table-bordered" %) 726 -|**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 727 -|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 727 +|=(% scope="row" %)**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 728 +|=**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 728 728 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. 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. 730 730 731 - When the flag bit is 1 (stop sending pulses), if the instruction is not scanned in the currentscan cycle,it will decelerate and stop. In theTIME event, if the flag bit is set to 1 (stop sending pulses), there will be no pulse sending.733 +**Subroutine** 732 732 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 -|**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 739 -|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 738 +|=(% scope="row" %)**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 - 3.Interrupt745 +**Interrupt** 746 746 747 - 1.External interrupt747 +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 -|**Output shaft**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 753 -|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 752 +|=(% scope="row" %)**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. 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. 756 756 757 - Whenthe flag bit is 1 (stop sending pulse),thehigh-speed pulse decelerates and stops.758 +Timer interrupt 758 758 759 - 2.Timer interrupt760 +* 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. 760 760 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 - 763 763 (% class="table-bordered" %) 764 -|**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 765 -|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 763 +|=(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 764 +|=**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 766 766 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. 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. 768 768 769 - When the flag bit is1 (stopsendingpulses), if the instruction is not scanned in the current scan cycle,it will decelerate andstop. Inthe TIME event,if the flag bit is set to 1 (stop sending pulses),there will be no pulse sending.769 +High-speed comparison interrupt 770 770 771 - 3.High-speed comparison interrupt771 +* 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. 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 - 775 775 (% class="table-bordered" %) 776 -|**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 777 -|**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 774 +|=(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 775 +|=**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 778 778 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. 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.