6F3B0253

8.Special I/O Functions

8.4Interrupt 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: 100s 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

3

4

3

4

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

268 T1-16S User’s Manual

Page 270
Image 270
Toshiba 6F3B0253 user manual Interrupt input function, Function