Processing Overview; Executing Interrupt Routines (Interrupt Programs) - Mitsubishi Electric Q12DCCPU-V User Manual

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

Advertisement

4
FUNCTIONS

(3) Processing overview

(a) Executing interrupt routines (interrupt programs)
This section explains how to execute a routine registered in the QBF_EntryUnitInt
function as an interrupt routine (interrupt program).
1) This function registers a routine that corresponds to an interrupt from the
intelligent function module or interrupt module by the QBF_EntryUnitInt.
2) Enable the routine registered in step 1) by the QBF_EnableUnitInt function or
QBF_EnableUnitInt_ISR function.
3) When an interrupt from the intelligent function module or interrupt module is
executed in the status of 2), the routine registered in 1) is executed as an
interrupt routine (interrupt program).
1) QBF_EntryUnitInt function executed
2) QBF_EnableUnitInt function executed
Interrupt routine (interrupt program)
registration table
Interrupt routine (interrupt program) 1
Interrupt routine (interrupt program) 2
Figure 4.19 Executing interrupt routines (interrupt programs)
Not to execute an interrupt routine (interrupt program) when an interrupt occurs,
perform the following procedure.
4) Disable the routine registered in 1) with the QBF_DisableUnitInt function or
QBF_DisableUnitInt_ISR function.
5) The routine registered in 1) will not be executed even if an interrupt is issued
from the intelligent function module or interrupt module in status of 4).
4.13 Interrupt from Intelligent Function Module
C Controller module
(User program)
(Empty)
Executing an interrupt routine (interrupt program)
3) Interrupt issue
1
2
3
4
5
6
7
8
4
- 44

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw3pvc-ccpu-eQ06ccpu-vQ06ccpu-v-b

Table of Contents