EasyManua.ls Logo

Mitsubishi Electric Q12DCCPU-V - Interrupt to C Controller Module (Another CPU)

Mitsubishi Electric Q12DCCPU-V
618 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
13
COMMUNICATIONS BETWEEN CPU MODULES
13.6 Issuing an Interrupt to Another CPU
13 - 45
9
DEVICE DESCRIPTION
10
MULTIPLE CPU SYSTEM
OVERVIEW
11
MULTIPLE CPU SYSTEM
CONFIGURATION
12
CONCEPT OF MULTIPLE
CPU SYSTEM
13
COMMUNICATIONS
BETWEEN CPU
MODULES
14
PARAMETERS ADDED
FOR MULTIPLE CPU
SYSTEMS
15
STARTING A MULTIPLE
CPU SYSTEM
16
TROUBLESHOOTING
(b) Interrupt to C Controller module (another CPU)
When an interrupt is issued to a C Controller module (another CPU), the C
Controller module (another CPU) performs the following processing.
Executes a routine registered by the QBF_EntryCpuInt function as an
interrupt routine (interrupt program).
*1
Resumes the user program that is waiting for an interrupt event by the
QBF_WaitEvent function.
* 1 The following C Controller modules cannot execute it as an interrupt routine (interrupt program).
(2) Function
The following function is used for an interrupt to another CPU (Motion CPU or C
Controller module).
Remark
For the bus interface functions, refer to the following.
C Controller Module User's Manual (Utility Operation, Programming)
Q12DCCPU-V with a serial number whose first five digits are "12041" or earlier
Q06CCPU-V(-B)
Figure 13.32 Interrupt to C Controller module (another CPU)
Figure 13.33 Function used for an interrupt to another CPU (Motion CPU or C Controller module)
Function name Function
QBF_GINT
Issues an interrupt to another CPU.
This is equivalent to the S(P).GINT or D(P).GINT instruction of a
programmable controller CPU.
C Controller module
/*Interrupt issued*/
ret = QBF_GINT(path, sCpuNo, sEventNo);
1)
Issues an interrupt from C
Controller module to C
Controller module (another
CPU).
C Controller module (another CPU)
Interrupt routine
(interrupt program)
1)
User program
(Interrupt event
in waiting status)
(Re-execute)

Table of Contents

Related product manuals