Toshiba CD332 User Manual page 29

Toshiba change detect dc input module user's manual
Table of Contents

Advertisement

The interrupt operation can be controlled by the user program instructions, DI (disable
interrupt) and EI (enable interrupt). If a part of program is required to be executed under
interrupt disable state, these instructions can be used.
When using these instructions, note the following precautions.
• 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.
(Main program)
A
[ DI ]
A
[ EI ]
• EI and DI instructions should not be used in interrupt program. Also, these
instructions should not be executed in the first scan.
When using the interrupt function, the following general precautions should be
considered.
• 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.
• When the CD332 is used, pay attention to the external noise environment.
Especially, when using the high speed response mode, check this point carefully.
5. Programming
Interrupt is disabled
(interrupt signal is held)
User's Manual
25

Advertisement

Table of Contents
loading

Table of Contents