Mitsubishi Electronics FX2C Home Theater Server User Manual


 
FX Series Programmable Controllers Devices in Detail 4
4-12
4.6.1 Input Interrupts
Identification of interrupt pointer number:
Example: I001
The sequence pro
g
rammed after the label (indicated b
y
the I001 pointer) is executed on the
leadin
g
or risin
g
ed
g
e of the input si
g
nal X0. The pro
g
ram sequence returns from the
interruption pro
g
ram when an IRET instruction is encountered.
Rules of use:
The followin
g
points must be followed for an interrupt to operate;
- Interrupt pointers cannot have the same number in the ‘100’s’ position, i.e. I100 and
I101 are not allowed.
- The input used for the interrupt device must not coincide with inputs alread
y
allocated
for use b
y
other hi
g
h speed instructions within the user pro
g
ram.
4.6.2 Timer Interrupts
Identification of interrupt pointer number:
Example: I610
The sequence pro
g
rammed after the label (indicated b
y
the I610 pointer) is executed at
intervals of 10msec. The pro
g
ram sequence returns from the interruption pro
g
ram when an
IRET instruction is encountered.
Rules of use:
The followin
g
points must be followed for an interrupt to operate;
- Interrupt pointers cannot have the same number in the ‘100’s’ position, i.e. I610 and
I650 are not allowed.
I 0
0: interrupt tri
gg
ered on trailin
g
/ fallin
g
ed
g
e of input si
g
nal
1: interrupt tri
gg
ered on leadin
g
/ risin
g
ed
g
e of input si
g
nal
Input number; each input number can onl
y
be used once.
FX
0(S)
and FX
0N
have 4 points (0 to 3 which map to X0 to X3)
Other units have 6 points (0 to 5 which map to X0 to X5)
I
10 to 99 msec: the interrupt is repeatedl
y
tri
gg
ered at intervals of the
specified time.
Timer interrupt number 3 points (6 to 8)