174
8 MULTIPLE CPU SYSTEM FUNCTIONS
8.5 Interrupt from Another CPU
Interrupt from programmable controller CPU
The following figure shows how to interrupt from programmable controller CPU.
Operation timing
Dedicated instruction
The dedicated instructions used for an interrupt from programmable controller CPU are shown below.
: Applicable,
: Partly applicable
*1 The setting data can be index-modified. (Constant is excluded.)
*2 Can be omitted only when both of (D1) and (D2) are omitted.
*3 Local devices cannot be used.
Setting
data
Available devices
Internal device
(System, user)
File register
Link direct
device
J
\
Module access
device
J
\
Index
register
Z
Constant
Others
Bit
Word
Bit
Word
Bit
Word
Bit
Word
Dec K,
Hex H
Float,
string
(n1)
(n2)
(D1)
(D2)
END
END
END
END
ON
OFF
*1
*1:
Sequence program
Execute the D(P).GINT instruction.
D(P).GINT instruction
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.
DP.GINT
DP.GINT
(n1)
(n2)
DP.GINT
(D1)
(D2)
D.GINT
(n1)
(n2)
D.GINT
(n1)
(n2)
D.GINT
(D1)
(D2)
(n1)
(n2)
Instruction
Execution
condition
Command
Command
Command
Command
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: ......