![Mitsubishi Electric MELSEC iQ-R C R12CCPU-V User Manual Download Page 174](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-r-c-r12ccpu-v/melsec-iq-r-c-r12ccpu-v_user-manual_239137174.webp)
172
8 MULTIPLE CPU SYSTEM FUNCTIONS
8.5 Interrupt from Another CPU
8.5
Interrupt from Another CPU
An interrupt from another CPU module can restart the user program that is waiting for an interrupt event by the C Controller
module dedicated function (CCPU_WaitEvent).
The following shows how to restart the user program which is waiting for an interrupt event.
1.
With the user program, call the C Controller module dedicated function (CCPU_WaitEvent).
2.
The user program is placed into the interrupt event wait state.
3.
Perform one of the following operations:
• Execute the C Controller module dedicated function (CCPU_DedicatedDInst) with a user program of a C Controller module
(another CPU).
• Execute the D(P).GINT instruction with a sequence program of a programmable controller CPU (another CPU).
4.
The user program is restarted.
C Controller module dedicated function
Description
CCPU_WaitEvent
Waits for an interrupt event notification from another CPU.
1)
3)
1)
3)
C Controller module
(other CPU)
C Controller module
(User program)
(User program)
Execute the
CCPU_WaitEvent
function.
User program is being
executed.
The
CCPU_DedicatedDInst
function
User program is in an
interrupt event wait state.
Execute the
CCPU_DedicatedDInst
function.
User program is restarted.
Programmable controller CPU
C Controller module
(Sequence program)
(User program)
Execute the
CCPU_WaitEvent
function.
User program is being
executed.
User program is in an
interrupt event wait state.
D(P).GINT instruction
Execute the
D(P).GINT
instruction.
User program is restarted.
Summary of Contents for MELSEC iQ-R C R12CCPU-V
Page 1: ...MELSEC iQ R C Controller Module User s Manual Application R12CCPU V ...
Page 2: ......
Page 23: ...1 EXECUTING PROGRAMS 1 3 I O Access Timing 21 1 MEMO ...
Page 32: ...30 3 MEMORY CONFIGURATION OF C Controller Module 3 4 Files MEMO ...
Page 257: ...I 255 MEMO ...
Page 261: ......