03.01.2013 Views

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7. Instructions<br />

FUN 140 EI Enable interrupt<br />

Expression<br />

Input −[ EI ]− Output<br />

208 <strong>T1</strong>-<strong>16S</strong> User’s <strong>Manual</strong><br />

6F3B0253<br />

Function<br />

When the input is ON, this instruction enables the execution of user designated interrupt operation,<br />

i.e. timer interrupt program and I/O interrupt programs.<br />

Execution condition<br />

Input Operation Output<br />

OFF No execution OFF<br />

ON Execution ON<br />

Operand<br />

No operand is required.<br />

Example<br />

In the above example, the DI instruction disables the interrupt. Then the EI instruction enables<br />

the interrupt again. As a result, the rung 2 instructions can be executed without interruption<br />

between each instructions.<br />

Note<br />

• Refer to the DI instruction (FUN 141).<br />

• If an interrupt factor is occurred during the interrupt disabled state, the interrupt is kept waiting<br />

and it will be executed just after the EI instruction is executed.<br />

• The EI instruction can be used only in the main program.<br />

<strong>CTi</strong> <strong>Automation</strong> - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!