Interrupt From A Programmable Controller Cpu Module (Another Cpu Module) - Mitsubishi Electric MELSEC iQ-R Series User Manual

Programmable controller
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Interrupt from a programmable controller CPU module (another
CPU module)
The following explains the method for restarting a user program that is waiting for an interrupt event by the interrupt from a
programmable controller CPU module (another CPU module).
ÒExecute the
CCPU_WaitEvent
function.
: Execute the CCPU_WaitEvent function with the user program of this product.
The user program will be in the interrupt event wait state.
: Execute the D(P).GINT instruction with a sequence program of a programmable controller CPU (another CPU module).
An interrupt event is notified to this product.
: After this product receives the interrupt event notification, the user program restarts.
Operation timing
Sequence program
D(P).GINT instruction
Interrupt routine of
MELSECWinCPU module
(interrupt program)
User program of
MELSECWinCPU module
12 BUS ACCESS FUNCTION
126
12.3 Interrupt Notification Reception
MELSECWinCPU module
(User program)
User program is being
executed.
In an interrupt event wait
state.
ÔUser program is
restarted.
OFF
Execute an interrupt routine
(interrupt program).
Interrupt routine is in wait state
(interrupt program).
Execute the CCPU_WaitEvent function.
User program is in an interrupt event wait state.
*1:
The interrupt event is notified after the interrupt routine (interrupt program) is completed.
Programmable controller CPU
(Sequence program)
D(P).GINT instruction
ÓExecute the
D(P).GINT
instruction.
END
Execute the D(P).GINT instruction.
ON
Issue an interrupt.
Notify an interrupt event.*¹
User program is restarted.
END
END
Interrupt routine is in wait state
(interrupt program).
END

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r melsecwincpu

Table of Contents