Changes for page 01 Execution of the Program
Last modified by Iris on 2026/04/06 18:55
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -82,7 +82,7 @@ 82 82 When the CPU module changes to the RUN state, the programs are executed in sequence according to the program execution type and execution sequence settings. 83 83 84 84 (% style="text-align:center" %) 85 -[[image: 1775460314418-471.png||height="333" width="482"]]85 +[[image:3.png]] 86 86 87 87 **Key points** 88 88 ... ... @@ -112,7 +112,7 @@ 112 112 113 113 **Creation of multiple scanners** 114 114 115 -"Project Management"→ "Program"→ "Scan"→ "Right click to create"115 +"Project Management"→ "Program"→ "Scan"→ Right click to create 116 116 117 117 (% style="text-align:center" %) 118 118 [[image:6.png]] ... ... @@ -132,7 +132,7 @@ 132 132 (% style="text-align:center" %) 133 133 [[image:8.png]] 134 134 135 -**T rigger type**135 +**Tigger type** 136 136 137 137 The trigger of event execution type program is as follows. 138 138 ... ... @@ -153,7 +153,7 @@ 153 153 154 154 (% style="margin-left:auto; margin-right:auto" %) 155 155 |=(% colspan="2" %)**Project**|=**Content** 156 -|(% rowspan="2" %)Device *1|Bit device|X, Y, M, SM156 +|(% rowspan="2" %)Device *1|Bit Device|X, Y, M, SM 157 157 |Bit specification of word device|D.b 158 158 159 159 *1 The indexed device cannot be specified. ... ... @@ -160,10 +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 -[[image:1775461360680-630.png]] 166 - 167 167 After the specified time has elapsed, when it comes to the first execution sequence, the event execution type program C is executed. 168 168 169 169 **Key points** ... ... @@ -208,13 +208,13 @@ 208 208 209 209 |(% colspan="2" %)**Project**|**Content**|**Setting range**|**Default** 210 210 |(% colspan="2" %)Execution type|Select event type|Not set/ON event/TIME event|Not set 211 -|(% rowspan="2" %)ON event|Contact|The event type can be set when ON event is selected. Set the bit device as the trigger condition.|X/Y/M/SM/D.b| 209 +|(% rowspan="2" %)ON event|Contact|The event type can be set when ON event is selected. Set the bit device as the trigger condition.|X/Y/M/SM/D.b| 212 212 |Whether to clear|When the bit device of the trigger condition set by the ON event is turned OFF, whether to clear the current value of the output (Y) and timer (T) used in the execution program of the ON event in the next cycle.|((( 213 213 True 214 214 215 215 False 216 216 )))|False 217 -|(% rowspan="2" %)TIME event|Time|Set how long to execute the event program once.|1 to 2147483647 (100us unit)| 215 +|(% rowspan="2" %)TIME event|Time|Set how long to execute the event program once.|1 to 2147483647 (100us unit)| 218 218 |Whether to clear|When the TIME event is executed, if the event is not executed in the next scan cycle, select whether to clear the output (Y) used in the TIME event execution program and the current value of the timer (T).|((( 219 219 True 220 220 ... ... @@ -236,11 +236,11 @@ 236 236 237 237 * An interrupt name corresponds to an interrupt program, and the interrupt name cannot be repeated. Each interrupt has its own trigger condition and execution program, and each interrupt program ends with END. 238 238 * Interrupt has the characteristic of interrupting the original execution program and executing the interrupt first, but it cannot interrupt the interrupt program being executed. 239 -* The interrupt program has the concept of priority. The smaller the priority value, thehigher the responsepriority.The priority setting range is 0 to 2.237 +* The interrupt program has the concept of priority. The smaller the priority value, the more priority the response. The priority setting range is 0 to 2. 240 240 241 241 The actions when an interruption cause occurs are as follows: 242 242 243 -1) Interrupt prohibition (DI) When an interrupt cause occurs. 241 +1) Interrupt prohibition (DI) When an interruption cause occurs. 244 244 245 245 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. 246 246 ... ... @@ -263,14 +263,14 @@ 263 263 264 264 5) During the execution of the interrupt program, when an interrupt cause with a low priority or the same priority occurs. 265 265 266 -The interrupt cause that occurred is stored, and after the interrupt program in execution ends, the interrupt program corresponding to the stored interruption cause is executed. Even if the same interruption cause occurs multiple times, the interruption cause is stored only once. 264 +The interruption cause that occurred is stored, and after the interrupt program in execution ends, the interrupt program corresponding to the stored interruption cause is executed. Even if the same interruption cause occurs multiple times, the interruption cause is stored only once. 267 267 268 268 (% style="text-align:center" %) 269 269 [[image:16.png]] 270 270 271 -6) When the same interrupt cause occurs during the execution of the interrupt program; 269 +6) When the same interruption cause occurs during the execution of the interrupt program; 272 272 273 -The interrupt cause that occurred is stored, and after the interrupt program in execution ends, the interrupt program corresponding to the stored interruption cause is executed. Even if the same interrupt cause occurs multiple times, the interruption cause is stored only once. 271 +The interruption cause that occurred is stored, and after the interrupt program in execution ends, the interrupt program corresponding to the stored interruption cause is executed. Even if the same interruption cause occurs multiple times, the interruption cause is stored only once. 274 274 275 275 **Interrupt trigger condition classification** 276 276 ... ... @@ -302,11 +302,11 @@ 302 302 (% style="margin-left:auto; margin-right:auto" %) 303 303 |=(% colspan="2" %)**Project**|=**Content**|=**Setting range**|=**Default** 304 304 |(% colspan="2" %)Execution type|Select the type of interrupt|Not set, External input interrupt, Timer event, high-speed counter interrupt|Not set 305 -|(% rowspan="4" %)External input interrupt|channel|Select the channel for external input interrupt|X0 to X7|X0 303 +|(% rowspan="4" %)External input interrupt|channel|Select the channel for external input interrupt|X0 to X7|X0 306 306 |Trigger edge type|Choose to trigger on rising edge or falling edge|Rising edge; Falling edge|Rising edge 307 307 |priority|When multiple interrupts arrive at the same time, the order of priority execution, the smallest value is executed first|0 to 2|0 308 -|Filter time (0.01 μs)|(((309 -Set the filter time of X point, the unit is 0.01 μs.306 +|Filter time (0.01us)|((( 307 +Set the filter time of X point, the unit is 0.01us. 310 310 311 311 Note: X rising edge interrupt and X falling edge interrupt use the same X filter, so after the filter setting is changed in the X rising edge configuration, the X falling edge will also change. If the filter time is set to 1000, you must ensure that the high level and low level of the input signal are maintained for more than 10 us before the interrupt can be triggered. 312 312 )))|0 to 1700|1 ... ... @@ -325,7 +325,7 @@ 325 325 326 326 1) Timer interrupt description 327 327 328 -* Timer interrupt is based on the set time, execute the interrupt program every time, the minimum time interval can reach 100 μs.326 +* Timer interrupt is based on the set time, execute the interrupt program every time, the minimum time interval can reach 100us. 329 329 * Up to 100 timer interrupt execution programs can be created. 330 330 * Each timer interrupt program is independent of each other and does not affect each other. 331 331 * Each timer interrupt program should be configured with priority. When triggered at the same time, it is executed in the order of priority, but when the priority is the same, it is executed in the order of the established program. ... ... @@ -333,7 +333,7 @@ 333 333 334 334 2) Timer interrupt step 335 335 336 -Project Manager → [Program] → [Interrupt] → [Right-click to create]. Click Configure and select Timer Interrupt as the execution type, as shown in the figure below (it can also be configured in "program parameters" in "parameters" in project management).334 +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 and select Timer Interrupt as the execution type, as shown in the figure below (it can also be configured in "program parameters" in "parameters" in project management). 337 337 338 338 (% style="text-align:center" %) 339 339 [[image:21.png]] ... ... @@ -341,8 +341,8 @@ 341 341 (% style="margin-left:auto; margin-right:auto" %) 342 342 |=(% colspan="2" %)**Project**|=**Content**|=**Setting range**|=**Default** 343 343 |(% colspan="2" %)Execution type|Select the type of interrupt|Not set/External input interrupt/Timer event/high-speed counter interrupt|Not set 344 -|(% rowspan="2" %)Timer interrupt|Time|Set the interval time for interrupt triggering|1 to 2147483647 (100 μs unit)|345 -|Priority|When multiple interrupts occursimultaneously,theyare executedinpriorityorder,the smallest value is executed first|0 to 2|0342 +|(% 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|0 346 346 347 347 3) Write interrupt execution program 348 348 ... ... @@ -354,6 +354,120 @@ 354 354 (% style="text-align:center" %) 355 355 [[image:23.png||height="190" width="558"]] 356 356 355 +**(3)High-speed counter interrupt** 356 + 357 +1) Description of high-speed counter interrupt 358 + 359 +* The high-speed counter interrupt triggers an interrupt condition after the set value of the high-speed counter HSC0 to HSC7 provided by the PLC and executes the interrupt program. 360 +* It can support up to 100 high-speed counter interrupt programs, but the number that can be supported by each channel does not need to be fixed. 361 +* When using the high-speed counter interrupt, project must configure the high-speed counter and use the OUT HSC instruction to enable the corresponding counting channel to count before it can be used (see the high-speed counter description section for the specific configuration method). 362 +* Each high-speed counter interrupt program should be configured with priority. When triggered at the same time, it will be executed in the order of priority. When the priority is the same, it will be executed in the order of channels HSC0-HSC7. When the channel is also the same, it is executed in order according to the creation promise. 363 +* Project must use EI in the scan program to allow interrupts before the interrupt execution program will be executed. 364 + 365 +{{info}} 366 +**✎Note: **Both the HSC channel and the external input interrupt channel must use the PLC input point X. It should be noted that it cannot be reused during configuration. For details, please refer to the configuration chapter of the high-speed counter. 367 +{{/info}} 368 + 369 +2) high-speed counter interrupt steps 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). 372 + 373 +(% style="text-align:center" %) 374 +[[image:24.png]] 375 + 376 +|=(% colspan="2" %)**Project**|=**Content**|=**Setting range**|=**Default** 377 +|(% colspan="2" %)Execution type|Select the type of interrupt|Not set, External input interrupt, Timer event, high-speed counter interrupt|Not set 378 +|(% rowspan="5" %)High count interrupt|Mode|((( 379 +Select the type of high-speed counter interrupt: 380 + 381 +(1) High-speed comparison interrupt: The interrupt program is executed after the trigger condition is reached. 382 + 383 +(2) High-speed comparison setting: After reaching the trigger condition, the set contact is set. 384 + 385 +(3) High-speed comparison reset: reset the set contact after reaching the trigger condition. 386 +)))|((( 387 +High-speed compare interrupt 388 + 389 +High-speed comparison set 390 + 391 +High-speed comparison reset 392 + 393 +Not set 394 +)))|High-speed compare interrupt 395 +|Channel|Select the high-speed counter channel used|HSC0 to HSC7|HSC0 396 +|Comparison value|Set the comparison value of the high-speed counter. When the high-speed counter value of the set channel passes this value, the trigger condition is reached.|-2147483648 to 2147483647| 397 +|Priority|When multiple interrupts arrive at the same time, the order of priority execution, the smallest value is executed first|0 to 2|0 398 +|Contact|It is available when selecting high-speed comparison set and high-speed comparison reset. The contact is set or reset immediately after the trigger condition is reached.|Y/M/D.b| 399 + 400 +3) Description of triggering rules 401 + 402 +|=**Mode**|=**Configuration**|=**The current value**|=**Action** 403 +|(% rowspan="2" %)High-speed compare interrupt (INT0)|(% rowspan="2" %)Comparison value: 10000|9999 → 10000|Execute all programs in interrupt INT0 404 +|10001 → 10000|Execute all programs in interrupt INT0 405 +|(% rowspan="2" %)High-speed comparison set (INT1)|(% rowspan="2" %)((( 406 +Comparison value: -50,000 407 + 408 +Contact: Y10 409 +)))|-50001 → -50000|((( 410 +Y10 is immediately set and mapped to the actual output (not affected by the scan period) 411 + 412 +The program in INT1 will not be executed 413 +))) 414 +|-49999 → -50000|((( 415 +Y10 is immediately set and mapped to the actual output (not affected by the scan period) 416 + 417 +The program in INT1 will not be executed 418 +))) 419 +|(% rowspan="2" %)High-speed comparison reset (INT2)|(% rowspan="2" %)((( 420 +Comparison value: 400000 421 + 422 +Contact: Y10 423 +)))|399999 → 400000|((( 424 +Y10 is reset immediately and mapped to the actual output (not affected by the scan period) 425 + 426 +The program in INT2 will not be executed 427 +))) 428 +|400001 → 400000|((( 429 +Y10 is reset immediately and mapped to the actual output (not affected by the scan period) 430 + 431 +The program in INT2 will not be executed 432 +))) 433 + 434 +{{info}} 435 +**✎Note: **Both HSC channel and external input interrupt channel need to use the INPUT point X, so it should be noted that it cannot be reused in configuration. For details, please refer to the configuration section of high-speed counter. 436 +{{/info}} 437 + 438 +4) Write interrupt execution program 439 + 440 +① New interrupt program 441 + 442 +Create three new interrupt programs under the interrupt of project management, namely HSC0_20000, HSC0_30000, HSC0_40000. Configure the interrupt program in the "program parameters", as shown in the figure below. 443 + 444 +(% style="text-align:center" %) 445 +[[image:25.png]] 446 + 447 +② High-speed counter configuration 448 + 449 +Configure HSC0 for use in the high-speed counter configuration. After selecting the working mode, click the "Check” button. After the correct configuration box pops up, click Enter. 450 + 451 +(% style="text-align:center" %) 452 +[[image:26.png]] 453 + 454 +Call the high-speed counter in the main program and enable interrupts: 455 + 456 +(% style="text-align:center" %) 457 +[[image:27.png]] 458 + 459 +Program operation: 460 + 461 +Assuming that the High-speed counter channel 0 has been receiving pulses: 462 + 463 +When the count value of HSC0 accumulates from 0 to 20000, all procedures of HSC0_20000 are executed. 464 + 465 +When the count value of HSC0 is accumulated from 20000 to 30000, all procedures of HSC0_30000 are executed. 466 + 467 +When the count value of HSC0 is accumulated from 30000 to 40000, all procedures of HSC0_40000 are executed. 468 + 357 357 **Mask interrupt** 358 358 359 359 **(1) Mask through application instructions** ... ... @@ -369,22 +369,22 @@ 369 369 (% style="margin-left:auto; margin-right:auto" %) 370 370 |=(% colspan="4" %)**External input interrupt mask register** 371 371 |**Special register number**|**Type of interrupt**|**Instruction**|**Defaults** 372 -|SM352|X0 rising edge interrupt|ON: Shield interrupts; OFF:Interrupt allowed|OFF373 -|SM353|X0 falling edge interrupt|ON: Shield interrupts; OFF:Interrupt allowed|OFF374 -|SM354|X1 rising edge interrupt|ON: Shield interrupts; OFF:Interrupt allowed|OFF375 -|SM355|X1 falling edge interrupt|ON: Shield interrupts; OFF:Interrupt allowed|OFF376 -|SM356|X2 rising edge interrupt|ON: Shield interrupts; OFF:Interrupt allowed|OFF377 -|SM357|X2 falling edge interrupt|ON: Shield interrupts; OFF:Interrupt allowed|OFF378 -|SM358|X3 rising edge interrupt|ON: Shield interrupts; OFF:Interrupt allowed|OFF379 -|SM359|X3 falling edge interrupt|ON: Shield interrupts; OFF:Interrupt allowed|OFF380 -|SM360|X4 rising edge interrupt|ON: Shield interrupts; OFF:Interrupt allowed|OFF381 -|SM361|X4 falling edge interrupt|ON: Shield interrupts; OFF:Interrupt allowed|OFF382 -|SM362|X5 rising edge interrupt|ON: Shield interrupts; OFF:Interrupt allowed|OFF383 -|SM363|X5 falling edge interrupt|ON: Shield interrupts; OFF:Interrupt allowed|OFF384 -|SM364|X6 rising edge interrupt|ON: Shield interrupts; OFF:Interrupt allowed|OFF385 -|SM365|X6 falling edge interrupt|ON: Shield interrupts; OFF:Interrupt allowed|OFF386 -|SM366|X7 rising edge interrupt|ON: Shield interrupts; OFF:Interrupt allowed|OFF387 -|SM367|X7 falling edge interrupt|ON: Shield interrupts; OFF:Interrupt allowed|OFF484 +|SM352|X0 rising edge interrupt|ON: shield interrupts; OFF: interrupt allowed|OFF 485 +|SM353|X0 falling edge interrupt|ON: shield interrupts; OFF: interrupt allowed|OFF 486 +|SM354|X1 rising edge interrupt|ON: shield interrupts; OFF: interrupt allowed|OFF 487 +|SM355|X1 falling edge interrupt|ON: shield interrupts; OFF: interrupt allowed|OFF 488 +|SM356|X2 rising edge interrupt|ON: shield interrupts; OFF: interrupt allowed|OFF 489 +|SM357|X2 falling edge interrupt|ON: shield interrupts; OFF: interrupt allowed|OFF 490 +|SM358|X3 rising edge interrupt|ON: shield interrupts; OFF: interrupt allowed|OFF 491 +|SM359|X3 falling edge interrupt|ON: shield interrupts; OFF: interrupt allowed|OFF 492 +|SM360|X4 rising edge interrupt|ON: shield interrupts; OFF: interrupt allowed|OFF 493 +|SM361|X4 falling edge interrupt|ON: shield interrupts; OFF: interrupt allowed|OFF 494 +|SM362|X5 rising edge interrupt|ON: shield interrupts; OFF: interrupt allowed|OFF 495 +|SM363|X5 falling edge interrupt|ON: shield interrupts; OFF: interrupt allowed|OFF 496 +|SM364|X6 rising edge interrupt|ON: shield interrupts; OFF: interrupt allowed|OFF 497 +|SM365|X6 falling edge interrupt|ON: shield interrupts; OFF: interrupt allowed|OFF 498 +|SM366|X7 rising edge interrupt|ON: shield interrupts; OFF: interrupt allowed|OFF 499 +|SM367|X7 falling edge interrupt|ON: shield interrupts; OFF: interrupt allowed|OFF 388 388 389 389 2) Timer interrupt mask register 390 390 ... ... @@ -394,37 +394,37 @@ 394 394 |SD350|1st to 16th timer interrupt|((( 395 395 Each bit can control the mask of an interrupt. 396 396 397 -ON: Shield interrupts; OFF:Interrupt allowed509 +ON: shield interrupts; OFF: interrupt allowed 398 398 )))|0 399 399 |SD351|17th to 32th timer interrupt|((( 400 400 Each bit can control the mask of an interrupt. 401 401 402 -ON: Shield interrupts; OFF:Interrupt allowed514 +ON: shield interrupts; OFF: interrupt allowed 403 403 )))|0 404 404 |SD352|33th to 48th timer interrupt|((( 405 405 Each bit can control the mask of an interrupt. 406 406 407 -ON: Shield interrupts; OFF:Interrupt allowed519 +ON: shield interrupts; OFF: interrupt allowed 408 408 )))|0 409 409 |SD353|49th to 64th timer interrupt|((( 410 410 Each bit can control the mask of an interrupt. 411 411 412 -ON: Shield interrupts; OFF:Interrupt allowed524 +ON: shield interrupts; OFF: interrupt allowed 413 413 )))|0 414 414 |SD354|65th to 80th timer interrupt|((( 415 415 Each bit can control the mask of an interrupt. 416 416 417 -ON: Shield interrupts; OFF:Interrupt allowed529 +ON: shield interrupts; OFF: interrupt allowed 418 418 )))|0 419 419 |SD355|81st to 96th timer interrupt|((( 420 420 Each bit can control the mask of an interrupt. 421 421 422 -ON: Shield interrupts; OFF:Interrupt allowed534 +ON: shield interrupts; OFF: interrupt allowed 423 423 )))|0 424 424 |SD356|97th to 100th timer interrupt|((( 425 425 Each bit can control the mask of an interrupt. 426 426 427 -ON: Shield interrupts; OFF:Interrupt allowed539 +ON: shield interrupts; OFF: interrupt allowed 428 428 )))|0 429 429 430 430 3) High-speed counter interrupt mask register ... ... @@ -434,37 +434,37 @@ 434 434 |SD382|1st to 16th high-speed counter interrupt|((( 435 435 Each bit can control the mask of an interrupt. 436 436 437 -ON: Shield interrupts; OFF:Interrupt allowed549 +ON: shield interrupts; OFF: interrupt allowed 438 438 )))|0 439 439 |SD383|17th to 32nd high-speed counter interrupt|((( 440 440 Each bit can control the mask of an interrupt. 441 441 442 -ON: Shield interrupts; OFF:Interrupt allowed554 +ON: shield interrupts; OFF: interrupt allowed 443 443 )))|0 444 444 |SD384|33th to 48th high-speed counter interrupt|((( 445 445 Each bit can control the mask of an interrupt. 446 446 447 -ON: Shield interrupts; OFF:Interrupt allowed559 +ON: shield interrupts; OFF: interrupt allowed 448 448 )))|0 449 449 |SD385|49th to 64th high-speed counter interrupt|((( 450 450 Each bit can control the mask of an interrupt. 451 451 452 -ON: Shield interrupts; OFF:Interrupt allowed564 +ON: shield interrupts; OFF: interrupt allowed 453 453 )))|0 454 454 |SD386|65th to 80th high-speed counter interrupt|((( 455 455 Each bit can control the mask of an interrupt. 456 456 457 -ON: Shield interrupts; OFF:Interrupt allowed569 +ON: shield interrupts; OFF: interrupt allowed 458 458 )))|0 459 459 |SD387|81st to 96th high-speed counter interrupt|((( 460 460 Each bit can control the mask of an interrupt. 461 461 462 -ON: Shield interrupts; OFF:Interrupt allowed574 +ON: shield interrupts; OFF: interrupt allowed 463 463 )))|0 464 464 |SD388|97th to 100th high-speed counter interrupt|((( 465 465 Each bit can control the mask of an interrupt. 466 466 467 -ON: Shield interrupts; OFF:Interrupt allowed579 +ON: shield interrupts; OFF: interrupt allowed 468 468 )))|((( 469 469 0 470 470 ))) ... ... @@ -507,39 +507,39 @@ 507 507 508 508 1) ON event 509 509 510 -If the high-speed pulse instruction is enabled 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 non-scanned processing sign bit.622 +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 sign bit. 511 511 512 512 (% style="margin-left:auto; margin-right:auto" %) 513 513 |=(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 514 -|=**Not scanned flagbit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319626 +|=**Not scanned sign bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 515 515 516 -When the flagbit 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.628 +When the sign 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. 517 517 518 -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.630 +When the sign bit is 1 (stop sending pulses), if the trigger event ON contact turns OFF in a certain scan period, it will decelerate and stop. 519 519 520 520 2) TIME event 521 521 522 -If the high-speed pulse instruction is enabled 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 non-scanned sign bit.634 +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 non-scanned sign bit. 523 523 524 524 (% style="margin-left:auto; margin-right:auto" %) 525 525 |=(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 526 -|=**No n-scannedflagbit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319638 +|=**Not scanned sign bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 527 527 528 -When the flagbit 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.640 +When the sign 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. 529 529 530 -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 theflag bit is set to 1 (stop sending pulses), there will be no pulse sending.642 +When the sign 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 sign bit is set to 1 (stop sending pulses), there will be no pulse sending. 531 531 532 532 (2) Subroutine 533 533 534 -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 non-scanned flag bit.646 +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 non-scanned sign bit. 535 535 536 536 (% style="margin-left:auto; margin-right:auto" %) 537 537 |=(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 538 -|=**No n-scannedflag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319650 +|=**Not scanned sign bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 539 539 540 -When the flagbit 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.652 +When the sign 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. 541 541 542 -When the flagbit 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.654 +When the sign 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. 543 543 544 544 **(3) Interrupt** 545 545 ... ... @@ -549,23 +549,23 @@ 549 549 550 550 (% style="margin-left:auto; margin-right:auto" %) 551 551 |=(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 552 -|=**No n-scannedflag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319664 +|=**Not scanned sign bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 553 553 554 -When the flagbit is 0 (continue to send pulse), continue to send high-speed pulses until it stops.666 +When the sign bit is 0 (continue to send pulse), continue to send high-speed pulses until it stops. 555 555 556 -When the flagbit is 1 (stop sending pulse), the high-speed pulse decelerates and stops.668 +When the sign bit is 1 (stop sending pulse), the high-speed pulse decelerates and stops. 557 557 558 558 2) Timer interrupt 559 559 560 -If the high-speed pulse instruction is enabled 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 non-scannedflag bit.672 +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 non-scanned sign bit. 561 561 562 562 (% style="margin-left:auto; margin-right:auto" %) 563 563 |=(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 564 -|=**No n-scanned sign bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319676 +|=**Not scanned sign bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 565 565 566 -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.678 +When the sign 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. 567 567 568 -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 sign bit is set to 1 (stop sending pulses), there will be no pulse sending.680 +When the sign 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 sign bit is set to 1 (stop sending pulses), there will be no pulse sending. 569 569 570 570 3) HIgh-speed comparison interrupt 571 571 ... ... @@ -573,10 +573,17 @@ 573 573 574 574 (% style="margin-left:auto; margin-right:auto" %) 575 575 |=(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 576 -|=**No n-scanned sign bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319688 +|=**Not scanned sign bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 577 577 578 -When the flag bit is 0 (continue to send pulse), continue to send high-speed pulses until it stops.690 +When the sign bit is 0 (continue to send pulse), continue to send high-speed pulses until it stops. 579 579 580 -When the flag bit is 1 (stop sending pulse), the high-speed pulse decelerates and stops.692 +When the sign bit is 1 (stop sending pulse), the high-speed pulse decelerates and stops. 581 581 694 + 695 + 696 + 697 + 698 + 699 + 700 + 582 582