Changes for page 01 Execution of the Program
Last modified by Iris on 2026/04/06 18:55
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Iris1 +XWiki.Wecon - Content
-
... ... @@ -160,8 +160,11 @@ 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. [[image:1772422285611-760.png]]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. 164 164 165 +(% style="text-align:center" %) 166 +[[image:10.png]] 167 + 165 165 After the specified time has elapsed, when it comes to the first execution sequence, the event execution type program C is executed. 166 166 167 167 **Key points** ... ... @@ -238,7 +238,7 @@ 238 238 239 239 The actions when an interruption cause occurs are as follows: 240 240 241 -1) Interrupt prohibition (DI) When an interruption cause occurs.244 +1) Interrupt prohibition (DI) when an interruption cause occurs. 242 242 243 243 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. 244 244 ... ... @@ -292,7 +292,7 @@ 292 292 * 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), 293 293 * The interrupt program name does not support the input of /%$@&=~~`^<>?:{}[],;!*.~\~\'" characters, 294 294 * The length of the interrupt program name cannot exceed 64 characters and cannot be typed. The default name is INTx. 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):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): 296 296 297 297 (% style="text-align:center" %) 298 298 [[image:18.png]] ... ... @@ -340,7 +340,7 @@ 340 340 |=(% colspan="2" %)**Project**|=**Content**|=**Setting range**|=**Default** 341 341 |(% colspan="2" %)Execution type|Select the type of interrupt|Not set/External input interrupt/Timer event/high-speed counter interrupt|Not set 342 342 |(% rowspan="2" %)Timer interrupt|Time|Set the interval time for interrupt triggering|1 to 2147483647 (100us unit)| 343 -| Priority|When multiple interrupts arrive at the same time, the order of priority execution, the smallest value is executed first|0 to 2|0346 +|priority|When multiple interrupts arrive at the same time, the order of priority execution, the smallest value is executed first|0 to 2|0 344 344 345 345 3) Write interrupt execution program 346 346 ... ... @@ -368,7 +368,7 @@ 368 368 369 369 2) high-speed counter interrupt steps 370 370 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).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). 372 372 373 373 (% style="text-align:center" %) 374 374 [[image:24.png]]
- 1772422285611-760.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Iris - Size
-
... ... @@ -1,1 +1,0 @@ 1 -68.7 KB - Content