Mitsubishi L02CPU User Manual page 59

Melsec-l series
Hide thumbs Also See for L02CPU:
Table of Contents

Advertisement

(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.
CHAPTER 2 APPLICATION OF PROGRAMMING
2
57

Advertisement

Table of Contents
loading

This manual is also suitable for:

L26cpu-bt

Table of Contents