Toshiba CD332 Manual De Usuario

Descargar
Página de 32
20
 
Change Detect DC Input Module (CD332) 
4. I/O Allocation 
 
 
 
4.2  Interrupt assignment 
 
The T3 has 8 I/O interrupt programs, I/O#1 to I/O#8.  
 
If one interrupt generation module (CD332) is used, the I/O#1 program is assigned to 
the CD332. And the I/O#1 is activated when the CD332 generates an interrupt. 
 
If two or more (up to 8) interrupt generation modules (CD332, etc.) are used, the 
interrupt programs are assigned sequentially from the module allocated closest to the 
T3 CPU. 
 
For example, if 3 CD332s are used, the I/O#1, I/O#2 and I/O#3 are assigned 
sequentially as follows. 
 
 
T3 basic unit 
Expansion unit 
 
 
 
0  1  2  3  4  5  6  7  8 9
 
 
 
0 1 2 3 4 5 6  7  8  9  10 

 
 
 



 
        C 


 
   
 
P
S
 
I
F
C
D
3
3
2
         
 
 
 
 
 
 
 
As for the interrupt priority, the interrupt generation module which is allocated closest to 
the T3 CPU has highest priority and followed by this order. 
 
 
 
 
 
 
 
 
 
NOTE
 
 
General 
I/O 
 
General 
I/O 
 
General 
I/O 
I/O#1 
In default, the T3’s I/O interrupt program and the interrupt generation module 
are related as mentioned above. However user can change this relation 
(assignment) by using the interrupt assignment function of the T3. 
For this function, refer to the T3 User’s Manual - Function. 
I/O#2 I/O#3