Справочник Пользователя для Mitsubishi Electronics QnUCPU

Скачать
Страница из 630
CHAPTER6 FUNCTIONS
1
2
3
4
5
6
7
8
6.
22  
In
te
rrupt
 fr
om I
n
te
lli
ge
nt
 F
unc
tion Module
  
6
 
-
 
119
6.22  Interrupt from Intelligent Function Module
The CPU module can execute an interrupt program (I
 
 ) by the interrupt request from the intelligent function module.
For example, the serial communication module can receive data by an interrupt program when the following data 
communication functions are executed.
 •  Data reception during communication by nonprocedural protocol
 •  Data reception during communication by bidirectional protocol 
Using an interrupt program enables a CPU module to receive data quickly
.
(1) Setting an interrupt from the intelligent function module
To execute an interrupt program by an interrupt from the intelligent function module, select "Interrupt pointer 
setting" in "Intelligent function module setting" of the PLC system tab in the PLC parameter dialog box.
Configure system setting at the intelligent function module is also required.
For execution of an interrupt program by an interrupt from the intelligent function module, refer to the following.
 Manual for the intelligent function module used
Remark
For the numbers of interrupt pointers available for an interrupt from the intelligent function module, refer to Section 9.11.
Figure 6.91 Interrupt from a serial communication module
I
Serial communication 
module
CPU module
Main program
Main program
Issues an 
interrupt.
 Reception
Sends data.
FEND
BUFRCVS
SM400
External device to be communicated
Interrupt program 
execution