8 MULTIPLE CPU SYSTEM FUNCTIONS
8.5 Interrupt from Another CPU
173
8
Interrupt from a C Controller module
The following figure explains how to interrupt from a C Controller module (another CPU).
Operation timing
■
Function
The function used for an interrupt from a C Controller module (another CPU) is shown below.
The C Controller module dedicated function (CCPU_DedicatedDInst) can also execute an interrupt to a
motion CPU.
C Controller module dedicated function
Description
CCPU_DedicatedDInst
Executes dedicated instructions categorized as 'D' or 'DP'.
*1
*1:
Execute the CCPU_DedicatedDInst function.
User program of C Controller module
(other CPU)
Issue an interrupt.
Execute an interrupt routine
(interrupt program).
Interrupt routine of C Controller module
(interrupt program)
Interrupt routine is in wait state
(interrupt program).
Interrupt routine is in wait state
(interrupt program).
Notify an interrupt event.
Execute the CCPU_WaitEvent function.
User program of C Controller
module
User program is restarted.
User program is in an interrupt event wait state.
The interrupt event is notified after the interrupt routine (interrupt program) is completed.
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: ......