![Mitsubishi Electric Q06CCPU-V Скачать руководство пользователя страница 443](http://html.mh-extra.com/html/mitsubishi-electric/q06ccpu-v/q06ccpu-v_user-manual_1811831443.webp)
13
COMMUNICATIONS BETWEEN CPU MODULES
13.6 Issuing an Interrupt to Another CPU
13
- 45
9
DE
V
ICE DE
S
CRIPT
IO
N
10
MU
LT
IPL
E
CP
U SY
S
T
EM
O
V
ER
VI
E
W
11
MUL
T
IP
L
E
CP
U
S
Y
S
TE
M
CONFIGURA
TION
12
CONCE
PT
OF MU
LT
IPL
E
CP
U SY
S
T
EM
13
COMMUN
ICA
TIO
N
S
BE
TWE
E
N
CP
U
MODUL
ES
14
P
A
RAM
E
TE
RS
A
DDE
D
F
O
R MU
LT
IP
LE
C
P
U
S
YSTE
M
S
15
ST
A
R
TIN
G A
M
U
LT
IPLE
CP
U
SYS
TEM
16
TR
O
U
B
L
E
S
HOOTING
(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)
Содержание Q06CCPU-V
Страница 2: ......
Страница 612: ...APPX 48 Appendix 11 Functions Added by Version Upgrade APPENDICES Memo ...
Страница 617: ......