beautypg.com

Special i/o functions – Toshiba 6F3B0253 User Manual

Page 270

background image

6F3B0253

268

T1-16S User’s Manual

8. Special I/O Functions

8.4 Interrupt input function

Function

When the signal state of the interrupt input is changed from OFF to ON (or ON to
OFF), the corresponding I/O interrupt program is activated immediately.
Up to 2 interrupt inputs can be used. The interrupt generation condition can be
selected either rising edge (OFF to ON) or falling edge (ON to OFF) for each input.
The I/O interrupt program #3 is corresponding to the interrupt input 1, and the I/O
interrupt program #4 is corresponding to the interrupt input 2.

Hardware condition

Interrupt input (X002 and X003)

ON/OFF pulse width: 100

µ

s or more

Related registers

SW16: Function selection. Refer to section 8.1.

Interrupt input 1

X002

Interrupt input 2

X003

Interrupt assignment

Interrupt input 1

I/O interrupt program #3

Interrupt input 2

I/O interrupt program #4

Operation

Interrupt input 1

Interrupt

input 2

Interrupt

The above operation example is the case of rising edge setting for both inputs.

4

4

3

3