Interrupt From A C Controller Module (Another Cpu) - 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 C Controller module (another CPU)

The following explains the method for restarting a user program that is waiting for an interrupt event by the interrupt from a C
Controller 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 CCPU_DedicatedDInst function with a user program of a C Controller module (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
User program of C Controller module
(other CPU)
Interrupt routine of C Controller module
(interrupt program)
User program of
MELSECWinCPU module
12 BUS ACCESS FUNCTION
124
12.3 Interrupt Notification Reception
MELSECWinCPU module
(User program)
User program is being
executed.
In an interrupt event wait
state.
ÔUser program is
restarted.
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.
C Controller module
CCPU_DedicatedDInst
ÓExecute the
CCPU_DedicatedDInst
function.
Execute the CCPU_DedicatedDInst function.
Issue an interrupt.
Notify an interrupt event.*¹
User program is restarted.
(other CPU)
(User program)
The
function
Interrupt routine is in wait state
(interrupt program).

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r melsecwincpu

Table of Contents