
56
(c) When multiple interrupt factors simultaneously occur in the interrupt program
execution enabled status
The interrupt programs are executed in the order of priority of the interrupt pointers (I ) (
Section 5.10). Other interrupt programs have to wait until processing of the interrupt program being executed is
completed.
(d) When the same interrupt factor as that of the interrupt program being executed
occurs
When the same interrupt factor as that of the interrupt program being executed occurs more than one time
before completion of interrupt program processing, the interrupt factors of I0 to I15, I45, and I50 to I255 are
stored only once, and then the interrupt program corresponding to each stored interrupt factor is executed after
completion of current interrupt program execution. The interrupt factors of I28 to I31 and fixed scan execution
type programs are all stored, and then all the interrupt programs corresponding to interrupt factors are
executed after completion of current interrupt program execution.
(e) When an interrupt factor occurs during END processing
When the constant scan function is used and an interrupt factor occurs during the waiting time in END
processing, an interrupt program corresponding to the interrupt factor is executed.
(4) Processing at program execution type change
When the program execution type is changed from the scan execution type to the interrupt, the CPU module
saves and restores the following data. (
• Data in the index register
• File register block number
Whether to save and restore the data above can be set by parameter. When the data are not saved or restored,
the overhead time of the corresponding interrupt program can be shortened. (
I50 I100
I150
Main routine
program
Interrupt program
(I50)
Interrupt program
(I100)
Interrupt program
(I150)
High
Low
Priority
Interrupt
enabled (EI)
Concurrence of multiple
interrupt factors
Execution
IRET
Execution
Wait status
IRET
Execution
Wait status
IRET
Содержание 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: ......