386
Scheduled Interrupts
Hardware time clock
Scheduled interrupt
subroutine execution
t3
Scheduled in-
terrupt interval
t3 t3t3
t3 = Software interrupt response time
Total interrupt response time = t3 (software interrupt response time)
The software interrupt response time depends on the interrupt response param-
eter setting in DM 6620 of the PC Setup. If the DM 6620 is set for the C200H-
compatible mode (0000), the software interrupt response time is less than
10 ms. If the DM 6620 is set for the C200HS mode (1xxx), the software interrupt
response time is less than 1 ms. The total interrupt response time is thus as
shown in the following table.
Interrupt response setting Total interrupt response time
C200H-compatible mode
(Normal response)
Total of following: Special I/O processing time,
Remote I/O processing time, Host Link
servicing time, instruction execution
C200HS mode
(High-speed response)
1.0 ms or less
Note 1. If there is any instruction in the program that requires longer than 10 ms to
execute when using the C200H-compatible mode, the total interrupt re-
sponse time will be equal to the execution time of the instruction requiring
longer than 10 ms.
2. The above calculations assume that only one interrupt requires executed at
any one time. If multiple interrupts are generated at the same time, execu-
tion of all but the first interrupt will go on standby, increasing the response
times given above.
3. If an interrupt occurs while a C200HS-SLKjj or C200HS-SNTjj is be-
ing serviced, the interrupt will not be processed until SYSMAC NET/SYS-
MAC LINK Unit servicing has been completed. The response times in this
case will be as shown in the following table and will not be affected by the
interrupt response setting.
Interrupt Total interrupt response time
Input interrupt 10.2 ms max.
Scheduled interrupt 10 ms max.
This restriction does not apply when a C200HW-SLKjj is being used with
a C200HX/HG/HE PC.
Interrupt Processing Time The processing time from receiving an interrupt input, through program execu-
tion, and until a return is made to the original program location is described next.
The limit of the count frequency resulting from using the scheduled interrupt pe-
riod or input interrupts as the count input is determined by the interrupt proces-
sing time.
Interrupt processing time =
Total interrupt response time + Interrupt program execution time +
Interrupt return time
The interrupt program execution time is determined by the content of the inter-
rupt subroutine. This time is negligible f only SBN(92) and RET(93) are
executed.
I/O Response Time Section 6-4