13
COMMUNICATIONS BETWEEN CPU MODULES
13.2 Interrupt from Another CPU
13 - 3
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
13.2 Interrupt from Another CPU
(1) About interrupt from another CPU
When an interrupt occurs from another CPU (programmable controller CPU or C
Controller module), the C Controller module can:
• Execute a routine registered by the QBF_EntryCpuInt function as an interrupt
routine (interrupt program).
*1*2
• Resume a 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 Interrupt routine (interrupt program) execution does not produce a delay that could be caused by
user program execution or priority in multitasking.
For that reason, real-time processing can be performed when an interrupt occurs.
However, functions that can be used are restricted because of ISR (Interrupt Service Routine)
restrictions in VxWorks6.4.
For details on ISR restrictions, refer to the manual for VxWorks.
To issue an interrupt, use the following.
• For an interrupt from a programmable controller CPU, use the S(P).GINT or
D(P).GINT instruction.
• For an interrupt from a C Controller module, use the QBF_GINT function.
• Q12DCCPU-V with a serial number whose first five digits are "12041" or earlier
• Q06CCPU-V(-B)