Programming – Toshiba CD332 User Manual

Page 28

Advertising
background image

24

Change Detect DC Input Module (CD332)

5. Programming


5.2 Interrupt operation

The enable/disable of the interrupt program is changed as follows.


n+1

n

2

1

Interrupt

PLC mode

HALT

RUN

HOLD

RUN

Disable

(Hold)

Time

Disable

Enable

Enable

Disable

HALT

Scan


In the RUN mode, interrupt operation is disabled at the first scan, and enabled from the
second scan.
In the HALT mode, interrupt operation is disabled.
In the HOLD mode, interrupt operation is disabled but the interrupt requests occurred
during HOLD mode is held.

During interrupt program execution, other interrupts are disabled, and the interrupt
request is held as follows.


Execution

n+2

n+1

n

n

2

1

Interrupt

PLC mode

HALT

RUN

Disable

(Hold)

Time

Disable

Enable

Enable

Disable

HALT

Interrupt program

Scan



Note) The held interrupt requests are accepted when interrupt status is changed to

enable, according to the priority as follows.

(Timer

interrupt

→ I/O#1 → I/O#2 → … → I/O#8, in default)

Advertising