
57
CHAPTER 2 APPLICATION OF PROGRAMMING
2
2.
7
I
n
te
rrupt
P
rogram
(5) Precautions
(a) When the same device is used
During execution of an instruction in a main routine program, an interrupt program may be executed,
suspending the processing of the instruction being executed, resulting in a device data inconsistency. Take the
following measures to prevent device data inconsistency.
• Do not directly specify the device where the data are written by the interrupt program in the main routine
program. Use the data in another device by moving the data with the transfer instruction.
• Disable interrupts with the DI instruction if instructions that may cause inconvenience for the main routine
program are used. Note that interrupts do not occur during accessing the device of the corresponding
argument of the instruction. For this reason, data inconsistency does not occur in units of arguments.
Содержание 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: ......