399
CQM1 Cycle Time and I/O Response Time Section 7-1
Generation and clearing of non-fatal errors:
When a non-fatal error is generated and the error contents
are registered at the CQM1, or when an error is being
cleared, interrupts will be masked for a maximum of 100
µs
until the processing has been completed.
Online editing: Interrupts will be masked for a maximum of 1 second when
online editing is executed during operation.
Pulse output based on SPED(64) may also be affected by interrupt process-
ing, thus causing output timing to vary.
Example Calculation This example shows the interrupt response time (i.e., the time from when the
interrupt input turns ON until the start of the interrupt processing routine)
when input interrupts are used under the conditions shown below.
Number high-speed timers: 0 (No high-speed timers started)
Online edit: Not used
Input refresh at interrupt: No
Minimum Response Time
Interrupt input ON delay: 50
µs
Interrupt mask standby time: 0
µs
+ Change-to-interrupt processing: 40
µs
Minimum response time: 90 µs
Maximum Response Time
Interrupt input ON delay: 50
µs
Interrupt mask standby time: 50
µs
+ Change-to-interrupt processing: 40
µs
Minimum response time: 140 µs
In addition to the response time shown above, the time required for executing
the interrupt processing routine itself and a return time of 40
µs must also be
accounted for when returning to the process that was interrupted.
Be sure to allow for interrupt processing time when using interrupts in the pro-
gram.
Outputs from interrupt routines can be output immediately if direct output is
used. Direct output will be used for both the main program and the interrupt
routines, and cannot be set separately.
7-1-6 CQM1 Instruction Execution Times
The following table lists the execution times for CQM1 instructions. The maxi-
mum and minimum execution times and the conditions which cause them are
given where relevant. When “word” is referred to in the Conditions column, it
implies the content of any word except for indirectly addressed DM words.
Indirectly addressed DM words, which create longer execution times when
used, are indicated by “*DM.”
Execution times for most instructions depend on whether they are executed
with an ON or an OFF execution condition. Exceptions are the ladder diagram
instructions OUT and OUT NOT, which require the same time regardless of
the execution condition. The OFF execution time for an instruction can also
vary depending on the circumstances, i.e., whether it is in an interlocked pro-
gram section and the execution condition for IL is OFF, whether it is between
JMP(04) and JME(05) and the execution condition for JMP(04) is OFF, or
whether it is reset by an OFF execution condition. “RSET,” “IL,” and “JMP” are
used to indicate these three times.