Toshiba PROSEC T1-16S User Manual page 210

Programmable controller basic hardware and function
Hide thumbs Also See for PROSEC T1-16S:
Table of Contents

Advertisement

7. Instructions
FUN 140
EI
Expression
Input
[ EI ]
Output
Function
When the input is ON, this instruction enables the execution of user designated interrupt operation,
i.e. timer interrupt program and I/O interrupt programs.
Execution condition
Input
OFF
No execution
ON
Execution
Operand
No operand is required.
Example
In the above example, the DI instruction disables the interrupt. Then the EI instruction enables
the interrupt again. As a result, the rung 2 instructions can be executed without interruption
between each instructions.
Note
Refer to the DI instruction (FUN 141).
If an interrupt factor is occurred during the interrupt disabled state, the interrupt is kept waiting
and it will be executed just after the EI instruction is executed.
The EI instruction can be used only in the main program.
208
T1-16S User's Manual
Enable interrupt
Operation
Output
OFF
ON
6F3B0253

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents