How To Resume The User Program; Interrupt By The Event Notification Function - Mitsubishi Electric Q12DCCPU-V User Manual

Melsec q series, c controller module
Hide thumbs Also See for Q12DCCPU-V:
Table of Contents

Advertisement

13
COMMUNICATIONS BETWEEN CPU MODULES
Programmable
controller CPU
(Sequence program)
S.GINT H3E1 K0
Remark
(b) How to resume the user program
This section explains how to resume the user program that is waiting for an
interrupt event by the QBF_WaitEvent function.
1) In the user program, call the QBF_WaitEvent function.
2) By 1), the user program is placed into the interrupt event waiting status.
3) In the above 2) status, execute either of the following.
• User program of the other C Controller module (another CPU) (QBF_GINT
function)
• Sequence program of a programmable controller CPU (another CPU)
(S.GINT or D.GINT instruction)
4) The user program is restored from the event waiting status.
C Controller module
(User program)
1) QBF_WaitEvent
function executed
2) User program in
3) S.GINT
4) User program
instruction
executed
Figure 13.3 Interrupt by the event notification function
1) For the bus interface functions, refer to the following.
C Controller Module User's Manual (Utility Operation, Programming)
2) The QBF_GINT function can issue an interrupt to a Motion CPU.
13-44, Section 13.6)
User program
in execution
interrupt event
waiting status
3) QBF_GINT
function
executed
resumed
13.2 Interrupt from Another CPU
C Controller module
(Another CPU)
(User program)
/* Issues an interrupt */
ret = QBF_GINT(path,
sCpuNo, sEventNo);
Page
(
13
- 5
9
10
11
12
13
14
15
16

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw3pvc-ccpu-eQ06ccpu-vQ06ccpu-v-b

Table of Contents