Mitsubishi Q00JCPU User Manual page 120

Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
(7) Restrictions on programming
3
- 22
3.1 Sequence Program
3.1.3 Interrupt programs
Restrictions on interrupt programming will be explained.
(a) Device turned ON/OFF by instruction such as PLS
When using an instruction such as PLS, by which an execution condition turns ON
from OFF in the next step and it turns the operation device ON, the device
remains ON until the same instruction is executed.
When using an instruction such as PLF, by which an execution condition turns
OFF from ON in the next step and it turns the operation device ON, the device
remains ON until the same instruction is executed.
END 0
OFF
X0
OFF
M0
Figure 3.17 Device turned ON by PLS in interrupt program
(b) EI/DI instruction
During execution of an interrupt program, interrupts are disabled (DI) so that any
other interrupt processing will not be executed.
Do not execute the EI/DI instruction during interrupt program execution.
(c) Timers (T) and counters (C)
Timers and counters are not available for interrupt programs.
The timers (T) and counters (C) update the current values and turn ON/OFF the
contacts when the OUT T
Using a timer (T) and/or a counter (C) in an interrupt program update the current
value only during execution of the interrupt program.
Do not use them since measurement cannot be made correctly.
(d) Instructions not available for interrupt programs
For instructions not available in interrupt programs, refer to each instruction of
programming manual.
X0
PLS M0
I0 IRET END 0
END 0 I0 IRET
ON
ON
Turned ON when PLS M0 instruction is executed on
leading edge (OFF
and OUT C
instructions are executed, respectively.
X0
PLS M0
END 0
Turned OFF when PLS M0
instruction is executed.
ON) of X0.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents