
68
(3) Precautions
(a) Execution interval of a fixed scan execution type program
Execution interval of a fixed scan execution type program may increase from the preset interval depending on
the time set for disabling interrupts by the DI instruction (interrupt disabled time). If the interrupt disabled time
by the DI instruction becomes too long, use an interrupt program by fixed scan interrupt (I28 to I31) instead of a
fixed scan execution type program.
*1
This is the highest common factor of execution interval set to multiple fixed scan execution type programs.
When the condition 1) is satisfied, the actual execution interval of a fixed scan execution type program may
increase from the preset interval by the time shown in the expression below.
The following shows an example of the increase in execution time of a fixed scan execution type program.
With the settings above, the condition 1) will be 0.5ms < 5ms.
The execution time of a fixed scan execution type program whose execution interval is set to 10ms increases
100ms (5/0.5 × 10 = 100) at the most.
Highest common factor of fixed scan execution interval
*1
< Interrupt disabled time ••• Condition 1)
• Fixed scan execution interval•••10ms, 5ms, 1ms, 0.5ms
• Highest common factor of fixed scan execution interval•••0.5ms
• Interrupt disabled time (DI)•••5ms (Interrupt enabled time (EI)•••less than 0.5ms)
Interrupt disabled time
Highest common factor of fixed
scan execution interval
Fixed scan execution interval set to
the corresponding program
Ex.
Ex.
Program execution
operation
Interrupt
enabled status
Disabled
Disabled
Disabled
Enabled
Enabled
Interrupt disabled time = 5ms
Interrupt disabled time = 5ms
nth scan(s)
n + 1 th scans
EI
EI
END
END
DI
DI
Less than 0.5ms
Less than 0.5ms
Содержание L02CPU
Страница 1: ......
Страница 2: ......
Страница 13: ...11 Memo ...
Страница 78: ...76 Memo ...
Страница 226: ...224 Memo ...
Страница 317: ...315 APPENDICES APPEN DIX Appendix 4 Character Codes Available in the Display Unit To the next page ...
Страница 318: ...316 To the next page ...
Страница 319: ...317 APPENDICES APPEN DIX Appendix 4 Character Codes Available in the Display Unit To the next page ...
Страница 320: ...318 To the next page ...
Страница 321: ...319 APPENDICES APPEN DIX Appendix 4 Character Codes Available in the Display Unit To the next page ...
Страница 322: ...320 To the next page ...
Страница 323: ...321 APPENDICES APPEN DIX Appendix 4 Character Codes Available in the Display Unit To the next page ...
Страница 324: ...322 To the next page ...
Страница 325: ...323 APPENDICES APPEN DIX Appendix 4 Character Codes Available in the Display Unit To the next page ...
Страница 326: ...324 To the next page ...
Страница 335: ...333 Memo ...
Страница 339: ......