Toshiba PROSEC T3 User Manual page 96

Hide thumbs Also See for PROSEC T3:
Table of Contents

Advertisement

7. Interrupt Function
7.4 Precautions on interrupt function
• The high frequency of the interrupt generation will cause T3 inoperative. Because,
in such case, the T3 becomes busy to execute the interrupt program, and cannot
execute the main program. It is recommended that the interrupt frequency is 10 ms
or more.
• When PI312's interrupt function is used, the interrupt-enable flag and the soft-gate
should be controlled (ON or OFF) together.
• If an interrupt signal is generated while T3 is executing other interrupt program, the
interrupt signal is held. When the interrupt program execution is finished, the held
interrupt signal is accepted by the T3.
• On the T3 program, interrupt enable/disable can be controlled by using EI
instruction (FUN140) and DI instruction (FUN141). These instructions should be
used in a pair in the sequence of DI first and followed by EI.
• EI and DI instructions should not be used in interrupt program. Also, these
instructions should not be executed in the first scan.
94
Pulse Input Module (PI312)
(Main program)
A
[ DI ]
A
[ EI ]
Interrupt is disabled
(interrupt signal is held)

Advertisement

Table of Contents
loading

Table of Contents