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
-
... ... @@ -13,7 +13,7 @@ 13 13 14 14 The initialization based on the status of the CPU module is as follows. 15 15 16 -**√**: execute. **×**:not execute16 +**√**: Execute. **×**: Not execute 17 17 18 18 |(% rowspan="2" %)**Processing item**|(% colspan="3" %)**Status of the CPU module** 19 19 |**When the power is ON**|**STOP**|**When STOP RUN** ... ... @@ -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:3.png]] 85 +[[image:1775460314418-471.png||height="333" width="482"]] 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 -**Tigger type** 135 +**Trigger 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,8 +160,10 @@ 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 +[[image:1775461360680-630.png]] 166 + 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** ... ... @@ -206,13 +206,13 @@ 206 206 207 207 |(% colspan="2" %)**Project**|**Content**|**Setting range**|**Default** 208 208 |(% colspan="2" %)Execution type|Select event type|Not set/ON event/TIME event|Not set 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| 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| 210 210 |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.|((( 211 211 True 212 212 213 213 False 214 214 )))|False 215 -|(% rowspan="2" %)TIME event|Time|Set how long to execute the event program once.|1 to 2147483647 (100us unit)| 217 +|(% rowspan="2" %)TIME event|Time|Set how long to execute the event program once.|1 to 2147483647 (100us unit)| 216 216 |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).|((( 217 217 True 218 218 ... ... @@ -234,11 +234,11 @@ 234 234 235 235 * 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. 236 236 * Interrupt has the characteristic of interrupting the original execution program and executing the interrupt first, but it cannot interrupt the interrupt program being executed. 237 -* The interrupt program has the concept of priority. The smaller the priority value, the moreprioritythe response.The priority setting range is 0 to 2.239 +* The interrupt program has the concept of priority. The smaller the priority value, the higher the response priority. The priority setting range is 0 to 2. 238 238 239 239 The actions when an interruption cause occurs are as follows: 240 240 241 -1) Interrupt prohibition (DI) When an interrupt ioncause occurs.243 +1) Interrupt prohibition (DI) When an interrupt 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 ... ... @@ -261,14 +261,14 @@ 261 261 262 262 5) During the execution of the interrupt program, when an interrupt cause with a low priority or the same priority occurs. 263 263 264 -The interrupt ioncause 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.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. 265 265 266 266 (% style="text-align:center" %) 267 267 [[image:16.png]] 268 268 269 -6) When the same interrupt ioncause occurs during the execution of the interrupt program;271 +6) When the same interrupt cause occurs during the execution of the interrupt program; 270 270 271 -The interrupt ioncause 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 interruptioncause occurs multiple times, the interruption cause is stored only once.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. 272 272 273 273 **Interrupt trigger condition classification** 274 274 ... ... @@ -300,11 +300,11 @@ 300 300 (% style="margin-left:auto; margin-right:auto" %) 301 301 |=(% colspan="2" %)**Project**|=**Content**|=**Setting range**|=**Default** 302 302 |(% colspan="2" %)Execution type|Select the type of interrupt|Not set, External input interrupt, Timer event, high-speed counter interrupt|Not set 303 -|(% rowspan="4" %)External input interrupt|channel|Select the channel for external input interrupt|X0 to X7|X0 305 +|(% rowspan="4" %)External input interrupt|channel|Select the channel for external input interrupt|X0 to X7|X0 304 304 |Trigger edge type|Choose to trigger on rising edge or falling edge|Rising edge; Falling edge|Rising edge 305 305 |priority|When multiple interrupts arrive at the same time, the order of priority execution, the smallest value is executed first|0 to 2|0 306 -|Filter time (0.01 us)|(((307 -Set the filter time of X point, the unit is 0.01 us.308 +|Filter time (0.01μs)|((( 309 +Set the filter time of X point, the unit is 0.01μs. 308 308 309 309 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. 310 310 )))|0 to 1700|1 ... ... @@ -323,7 +323,7 @@ 323 323 324 324 1) Timer interrupt description 325 325 326 -* Timer interrupt is based on the set time, execute the interrupt program every time, the minimum time interval can reach 100 us.328 +* Timer interrupt is based on the set time, execute the interrupt program every time, the minimum time interval can reach 100μs. 327 327 * Up to 100 timer interrupt execution programs can be created. 328 328 * Each timer interrupt program is independent of each other and does not affect each other. 329 329 * 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. ... ... @@ -331,7 +331,7 @@ 331 331 332 332 2) Timer interrupt step 333 333 334 -Project managementðProgramðInterruptðRightclick 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).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). 335 335 336 336 (% style="text-align:center" %) 337 337 [[image:21.png]] ... ... @@ -339,8 +339,8 @@ 339 339 (% style="margin-left:auto; margin-right:auto" %) 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 -|(% rowspan="2" %)Timer interrupt|Time|Set the interval time for interrupt triggering|1 to 2147483647 (100 us unit)|343 -|Priority|When multiple interrupts arriveatthesametime,theorderofpriorityexecution, the smallest value is executed first|0 to 2|0344 +|(% rowspan="2" %)Timer interrupt|Time|Set the interval time for interrupt triggering|1 to 2147483647 (100μs unit)| 345 +|Priority|When multiple interrupts occur simultaneously, they are executed in priority order, the smallest value is executed first|0 to 2|0 344 344 345 345 3) Write interrupt execution program 346 346 ... ... @@ -352,120 +352,6 @@ 352 352 (% style="text-align:center" %) 353 353 [[image:23.png||height="190" width="558"]] 354 354 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 - 469 469 **Mask interrupt** 470 470 471 471 **(1) Mask through application instructions** ... ... @@ -481,22 +481,22 @@ 481 481 (% style="margin-left:auto; margin-right:auto" %) 482 482 |=(% colspan="4" %)**External input interrupt mask register** 483 483 |**Special register number**|**Type of interrupt**|**Instruction**|**Defaults** 484 -|SM352|X0 rising edge interrupt|ON: shield interrupts; OFF:interrupt allowed|OFF485 -|SM353|X0 falling edge interrupt|ON: shield interrupts; OFF:interrupt allowed|OFF486 -|SM354|X1 rising edge interrupt|ON: shield interrupts; OFF:interrupt allowed|OFF487 -|SM355|X1 falling edge interrupt|ON: shield interrupts; OFF:interrupt allowed|OFF488 -|SM356|X2 rising edge interrupt|ON: shield interrupts; OFF:interrupt allowed|OFF489 -|SM357|X2 falling edge interrupt|ON: shield interrupts; OFF:interrupt allowed|OFF490 -|SM358|X3 rising edge interrupt|ON: shield interrupts; OFF:interrupt allowed|OFF491 -|SM359|X3 falling edge interrupt|ON: shield interrupts; OFF:interrupt allowed|OFF492 -|SM360|X4 rising edge interrupt|ON: shield interrupts; OFF:interrupt allowed|OFF493 -|SM361|X4 falling edge interrupt|ON: shield interrupts; OFF:interrupt allowed|OFF494 -|SM362|X5 rising edge interrupt|ON: shield interrupts; OFF:interrupt allowed|OFF495 -|SM363|X5 falling edge interrupt|ON: shield interrupts; OFF:interrupt allowed|OFF496 -|SM364|X6 rising edge interrupt|ON: shield interrupts; OFF:interrupt allowed|OFF497 -|SM365|X6 falling edge interrupt|ON: shield interrupts; OFF:interrupt allowed|OFF498 -|SM366|X7 rising edge interrupt|ON: shield interrupts; OFF:interrupt allowed|OFF499 -|SM367|X7 falling edge interrupt|ON: shield interrupts; OFF:interrupt allowed|OFF372 +|SM352|X0 rising edge interrupt|ON: Shield interrupts; OFF: Interrupt allowed|OFF 373 +|SM353|X0 falling edge interrupt|ON: Shield interrupts; OFF: Interrupt allowed|OFF 374 +|SM354|X1 rising edge interrupt|ON: Shield interrupts; OFF: Interrupt allowed|OFF 375 +|SM355|X1 falling edge interrupt|ON: Shield interrupts; OFF: Interrupt allowed|OFF 376 +|SM356|X2 rising edge interrupt|ON: Shield interrupts; OFF: Interrupt allowed|OFF 377 +|SM357|X2 falling edge interrupt|ON: Shield interrupts; OFF: Interrupt allowed|OFF 378 +|SM358|X3 rising edge interrupt|ON: Shield interrupts; OFF: Interrupt allowed|OFF 379 +|SM359|X3 falling edge interrupt|ON: Shield interrupts; OFF: Interrupt allowed|OFF 380 +|SM360|X4 rising edge interrupt|ON: Shield interrupts; OFF: Interrupt allowed|OFF 381 +|SM361|X4 falling edge interrupt|ON: Shield interrupts; OFF: Interrupt allowed|OFF 382 +|SM362|X5 rising edge interrupt|ON: Shield interrupts; OFF: Interrupt allowed|OFF 383 +|SM363|X5 falling edge interrupt|ON: Shield interrupts; OFF: Interrupt allowed|OFF 384 +|SM364|X6 rising edge interrupt|ON: Shield interrupts; OFF: Interrupt allowed|OFF 385 +|SM365|X6 falling edge interrupt|ON: Shield interrupts; OFF: Interrupt allowed|OFF 386 +|SM366|X7 rising edge interrupt|ON: Shield interrupts; OFF: Interrupt allowed|OFF 387 +|SM367|X7 falling edge interrupt|ON: Shield interrupts; OFF: Interrupt allowed|OFF 500 500 501 501 2) Timer interrupt mask register 502 502 ... ... @@ -506,37 +506,37 @@ 506 506 |SD350|1st to 16th timer interrupt|((( 507 507 Each bit can control the mask of an interrupt. 508 508 509 -ON: shield interrupts; OFF:interrupt allowed397 +ON: Shield interrupts; OFF: Interrupt allowed 510 510 )))|0 511 511 |SD351|17th to 32th timer interrupt|((( 512 512 Each bit can control the mask of an interrupt. 513 513 514 -ON: shield interrupts; OFF:interrupt allowed402 +ON: Shield interrupts; OFF: Interrupt allowed 515 515 )))|0 516 516 |SD352|33th to 48th timer interrupt|((( 517 517 Each bit can control the mask of an interrupt. 518 518 519 -ON: shield interrupts; OFF:interrupt allowed407 +ON: Shield interrupts; OFF: Interrupt allowed 520 520 )))|0 521 521 |SD353|49th to 64th timer interrupt|((( 522 522 Each bit can control the mask of an interrupt. 523 523 524 -ON: shield interrupts; OFF:interrupt allowed412 +ON: Shield interrupts; OFF: Interrupt allowed 525 525 )))|0 526 526 |SD354|65th to 80th timer interrupt|((( 527 527 Each bit can control the mask of an interrupt. 528 528 529 -ON: shield interrupts; OFF:interrupt allowed417 +ON: Shield interrupts; OFF: Interrupt allowed 530 530 )))|0 531 531 |SD355|81st to 96th timer interrupt|((( 532 532 Each bit can control the mask of an interrupt. 533 533 534 -ON: shield interrupts; OFF:interrupt allowed422 +ON: Shield interrupts; OFF: Interrupt allowed 535 535 )))|0 536 536 |SD356|97th to 100th timer interrupt|((( 537 537 Each bit can control the mask of an interrupt. 538 538 539 -ON: shield interrupts; OFF:interrupt allowed427 +ON: Shield interrupts; OFF: Interrupt allowed 540 540 )))|0 541 541 542 542 3) High-speed counter interrupt mask register ... ... @@ -546,37 +546,37 @@ 546 546 |SD382|1st to 16th high-speed counter interrupt|((( 547 547 Each bit can control the mask of an interrupt. 548 548 549 -ON: shield interrupts; OFF:interrupt allowed437 +ON: Shield interrupts; OFF: Interrupt allowed 550 550 )))|0 551 551 |SD383|17th to 32nd high-speed counter interrupt|((( 552 552 Each bit can control the mask of an interrupt. 553 553 554 -ON: shield interrupts; OFF:interrupt allowed442 +ON: Shield interrupts; OFF: Interrupt allowed 555 555 )))|0 556 556 |SD384|33th to 48th high-speed counter interrupt|((( 557 557 Each bit can control the mask of an interrupt. 558 558 559 -ON: shield interrupts; OFF:interrupt allowed447 +ON: Shield interrupts; OFF: Interrupt allowed 560 560 )))|0 561 561 |SD385|49th to 64th high-speed counter interrupt|((( 562 562 Each bit can control the mask of an interrupt. 563 563 564 -ON: shield interrupts; OFF:interrupt allowed452 +ON: Shield interrupts; OFF: Interrupt allowed 565 565 )))|0 566 566 |SD386|65th to 80th high-speed counter interrupt|((( 567 567 Each bit can control the mask of an interrupt. 568 568 569 -ON: shield interrupts; OFF:interrupt allowed457 +ON: Shield interrupts; OFF: Interrupt allowed 570 570 )))|0 571 571 |SD387|81st to 96th high-speed counter interrupt|((( 572 572 Each bit can control the mask of an interrupt. 573 573 574 -ON: shield interrupts; OFF:interrupt allowed462 +ON: Shield interrupts; OFF: Interrupt allowed 575 575 )))|0 576 576 |SD388|97th to 100th high-speed counter interrupt|((( 577 577 Each bit can control the mask of an interrupt. 578 578 579 -ON: shield interrupts; OFF:interrupt allowed467 +ON: Shield interrupts; OFF: Interrupt allowed 580 580 )))|((( 581 581 0 582 582 ))) ... ... @@ -619,39 +619,39 @@ 619 619 620 620 1) ON event 621 621 622 -If the high-speed pulse instruction is turnedonduring 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 theunscanned processing sign bit.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. 623 623 624 624 (% style="margin-left:auto; margin-right:auto" %) 625 625 |=(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 626 -|=**Not scanned signbit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319514 +|=**Not scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 627 627 628 -When the signbit 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.516 +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. 629 629 630 -When the signbit is 1 (stop sending pulses), if the trigger event ON contact turns OFF in a certain scan period, it will decelerate and stop.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. 631 631 632 632 2) TIME event 633 633 634 -If the high-speed pulse instruction is turnedonin 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.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. 635 635 636 636 (% style="margin-left:auto; margin-right:auto" %) 637 637 |=(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 638 -|=**No tscannedsignbit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319526 +|=**Non-scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 639 639 640 -When the signbit 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.528 +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. 641 641 642 -When the signbit 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 thesignbit is set to 1 (stop sending pulses), there will be no pulse sending.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 the flag bit is set to 1 (stop sending pulses), there will be no pulse sending. 643 643 644 644 (2) Subroutine 645 645 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 signbit.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. 647 647 648 648 (% style="margin-left:auto; margin-right:auto" %) 649 649 |=(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 650 -|=**No tscannedsignbit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319538 +|=**Non-scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 651 651 652 -When the signbit 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.540 +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. 653 653 654 -When the signbit 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.542 +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. 655 655 656 656 **(3) Interrupt** 657 657 ... ... @@ -661,23 +661,23 @@ 661 661 662 662 (% style="margin-left:auto; margin-right:auto" %) 663 663 |=(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 664 -|=**No tscannedsignbit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319552 +|=**Non-scanned flag bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 665 665 666 -When the signbit is 0 (continue to send pulse), continue to send high-speed pulses until it stops.554 +When the flag bit is 0 (continue to send pulse), continue to send high-speed pulses until it stops. 667 667 668 -When the signbit is 1 (stop sending pulse), the high-speed pulse decelerates and stops.556 +When the flag bit is 1 (stop sending pulse), the high-speed pulse decelerates and stops. 669 669 670 670 2) Timer interrupt 671 671 672 -If the high-speed pulse instruction is turnedonin 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-scannedsignbit.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-scanned flag bit. 673 673 674 674 (% style="margin-left:auto; margin-right:auto" %) 675 675 |=(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 676 -|=**No tscanned sign bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319564 +|=**Non-scanned sign bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 677 677 678 -When the signbit 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.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. 679 679 680 -When the signbit 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.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. 681 681 682 682 3) HIgh-speed comparison interrupt 683 683 ... ... @@ -685,17 +685,10 @@ 685 685 686 686 (% style="margin-left:auto; margin-right:auto" %) 687 687 |=(% scope="row" %)**Output axis**|Y0|Y1|Y2|Y3|Y4|Y5|Y6|Y7 688 -|=**No tscanned sign bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319576 +|=**Non-scanned sign bit**|SM899|SM959|SM1019|SM1079|SM1139|SM1199|SM1259|SM1319 689 689 690 -When the signbit is 0 (continue to send pulse), continue to send high-speed pulses until it stops.578 +When the flag bit is 0 (continue to send pulse), continue to send high-speed pulses until it stops. 691 691 692 -When the signbit is 1 (stop sending pulse), the high-speed pulse decelerates and stops.580 +When the flag bit is 1 (stop sending pulse), the high-speed pulse decelerates and stops. 693 693 694 - 695 - 696 - 697 - 698 - 699 - 700 - 701 701