Changes for page 01 Execution of the Program
Last modified by Iris on 2026/04/06 18:55
From version 2.1
edited by Jiahao Lai
on 2026/01/14 09:23
on 2026/01/14 09:23
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Jim2581 +XWiki.Iris - Content
-
... ... @@ -160,11 +160,8 @@ 160 160 161 161 **(2) TIME event** 162 162 163 -After the program is to RUN state and the specified time has elapsed, event is executed one time when it comes to the execution sequence of the first corresponding program. For the second and subsequent executions, the time is re-measured from the start of the last event execution type program. After the specified time has elapsed, the program is executed repeatedly when it comes to the execution sequence of the first corresponding program. In addition, in the next scan after the corresponding program is executed, the current value of the output (Y) and timer (T) used in the corresponding program can be cleared. It can be used for programs that do not need to respond in a fixed period of time. 163 +After the program is to RUN state and the specified time has elapsed, event is executed one time when it comes to the execution sequence of the first corresponding program. For the second and subsequent executions, the time is re-measured from the start of the last event execution type program. After the specified time has elapsed, the program is executed repeatedly when it comes to the execution sequence of the first corresponding program. In addition, in the next scan after the corresponding program is executed, the current value of the output (Y) and timer (T) used in the corresponding program can be cleared. It can be used for programs that do not need to respond in a fixed period of time.[[image:1772422285611-760.png]] 164 164 165 -(% style="text-align:center" %) 166 -[[image:10.png]] 167 - 168 168 After the specified time has elapsed, when it comes to the first execution sequence, the event execution type program C is executed. 169 169 170 170 **Key points** ... ... @@ -241,7 +241,7 @@ 241 241 242 242 The actions when an interruption cause occurs are as follows: 243 243 244 -1) Interrupt prohibition (DI) when an interruption cause occurs.241 +1) Interrupt prohibition (DI) When an interruption cause occurs. 245 245 246 246 If the interrupt execution condition is triggered in a program that is forbidden by DI, the interrupt will not be executed. Even if the subsequent program uses the EI instruction to allow interruption, the previously shielded interrupt program will not be executed. Only the interrupt execution condition is triggered again. The interrupt program will be executed. 247 247 ... ... @@ -295,7 +295,7 @@ 295 295 * The interrupt program name requires to match case, and the program name with the same name as the device cannot be used (the device name does not match case), 296 296 * The interrupt program name does not support the input of /%$@&=~~`^<>?:{}[],;!*.~\~\'" characters, 297 297 * The length of the interrupt program name cannot exceed 64 characters and cannot be typed. The default name is INTx. 298 -* Click Configure, and select external interrupt for execution type, as shown in the figure below (it can also be configured in " program parameters" in "parameters" in project management):295 +* Click Configure, and select external interrupt for execution type, as shown in the figure below (it can also be configured in "Program parameters" in "Parameter" in project management): 299 299 300 300 (% style="text-align:center" %) 301 301 [[image:18.png]] ... ... @@ -343,7 +343,7 @@ 343 343 |=(% colspan="2" %)**Project**|=**Content**|=**Setting range**|=**Default** 344 344 |(% colspan="2" %)Execution type|Select the type of interrupt|Not set/External input interrupt/Timer event/high-speed counter interrupt|Not set 345 345 |(% rowspan="2" %)Timer interrupt|Time|Set the interval time for interrupt triggering|1 to 2147483647 (100us unit)| 346 -| priority|When multiple interrupts arrive at the same time, the order of priority execution, the smallest value is executed first|0 to 2|0343 +|Priority|When multiple interrupts arrive at the same time, the order of priority execution, the smallest value is executed first|0 to 2|0 347 347 348 348 3) Write interrupt execution program 349 349 ... ... @@ -371,7 +371,7 @@ 371 371 372 372 2) high-speed counter interrupt steps 373 373 374 -“Project management”ð“Programð“Interrupt”ðRight click to create. Enter the program name. The program name only supports the combination of English letters, numbers, and underscores, and must start with an English letter. The default is INTx. Click Configure, select high-speed interrupt for execution type, as shown in the figure below (it can also be configured in " program parameters" in "parameters" in project management).371 +“Project management”ð“Programð“Interrupt”ðRight click to create. Enter the program name. The program name only supports the combination of English letters, numbers, and underscores, and must start with an English letter. The default is INTx. Click Configure, select high-speed interrupt for execution type, as shown in the figure below (it can also be configured in "Program parameters" in "Parameters" in project management). 375 375 376 376 (% style="text-align:center" %) 377 377 [[image:24.png]]
- 1772422285611-760.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Iris - Size
-
... ... @@ -1,0 +1,1 @@ 1 +68.7 KB - Content