171
Interrupt Tasks Section 4-3
Interrupt Input Unit
Numbers, Input
Numbers, and I/O
Interrupt Task Numbers
Note For CS-series PLCs, Interrupt Input Unit numbers are in order from 0 to 1
starting on the left side of the CPU Rack. For CJ-series PLCs, Interrupt Input
Unit numbers are in order from 0 to 1 starting from the CPU Unit.
Operand S (the Second Operand) of MSKS: The bits of FFF7 Hex corre-
spond to the interrupt inputs of the Interrupt Input Unit. Interrupt input num-
bers 0 to 15 correspond to bits 0 to 15.
Scheduled Interrupt Tasks: Tasks 2 and 3
Scheduled interrupt tasks are disabled in the default PLC Setup at the start of
cyclic task execution. Perform the following steps to enable scheduled inter-
rupt tasks.
1,2,3... 1. Execute the MSKS (SET INTERRUPT MASK) instruction from a cyclic
task and set the time (cycle) for the specified scheduled interrupt.
2. Set the scheduled interrupt time unit in PLC Setup.
Note The interrupt time setting affects the cyclic task in that the shorter the interrupt
time, the more frequently the task executes and the longer the cycle time.
Interrupt Input Unit No.
(See note.)
Input No. I/O interrupt task
0 0 to 15 100 to 115
1 0 to 15 116 to 131
10 10
Unit No. →
CPU Unit
Interrupt Input Unit
CS-series PLCs CJ-series PLCs
← Unit No.
CPU Unit
Interrupt Input Unit
11110111
F Hex 7 HexF Hex F Hex