Interrupt From Intelligent Function Module And Interrupt Module - Mitsubishi Electric MELSEC Q Series User Manual

Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

11.1.3

Interrupt from intelligent function module and interrupt module

The C Controller module can resume the user program that has been in the interrupt event waiting status when an
interrupt from the intelligent function module or interrupt module occurs.
Remark
This section describes operations on the C Controller module. For settings on the respective intelligent function module and
interrupt module side, refer to the manuals for respective modules.
(1) Setting method
To receive an interrupt from the intelligent function module or interrupt module (2nd or later), configure settings by
using the following functions of Setting/monitoring tools for the C Controller module.
Project view  "Parameter"  "CCPU Parameter"  <<System settings>>
 "Interrupt event settings"
For setting contents, refer to the manuals for the respective intelligent function module and interrupt module.
• For the first interrupt module, the setting is not necessary. To the first interrupt module, events No.0 through 15
have been assigned.
• For the second and subsequent interrupt modules, this setting is necessary.
(2) Restarting a user program
1.
In the user program, call the bus interface function (QBF_WaitUnitEvent).
2.
The user program is placed into the interrupt event waiting status by procedure 1.
3.
An interrupt from the intelligent function module or interrupt module is issued in the status of
procedure 2.
4.
The user program receives an interrupt event by procedure 3 and restarts.
148
Q24DHC-LS
Q24DHC-V
Q24DHC-VG
Q26DHC-LS
Q12DC-V

Advertisement

Table of Contents
loading

Table of Contents