12 CPU Unit Cycle Time
12-14
CJ2 CPU Unit Software User’s Manual
z Maximum I/O Response Time
The I/O response time is longest when data is retrieved immediately after I/O refresh of the Input
Unit.
z Calculation Example
Conditions:
Input ON delay: 1.5 ms
Output ON delay: 0.2 ms
Cycle time: 20.0 ms
Minimum I/O response time = 1.5 ms + 20 ms + 0.2 ms = 21.7 ms
Maximum I/O response time = 1.5 ms + (20 ms × 2) + 0.2 ms = 41.7 ms
The response time for input interrupt tasks is the time from when a pulse input to a Pulse I/O Module
connected to a CJ2M CPU Unit turns ON or OFF until the I/O interrupt task is executed. The length of
the interrupt response time for input interrupt tasks depends on the total of the hardware interrupt
response time and software interrupt response time.
The maximum I/O response time is the total of the Input ON delay, (the cycle time × 2), and the Output ON delay.
12-2-7 Response Time for Input Interrupts
I/O refresh
Input
Output
Cycle timeCycle time
Input ON delay
Output ON delay
Maximum I/O response time
(Refreshed in CPU Unit)
Instruction
execution
Instruction
execution
Instruction
execution
Input
Reading pulse interrupt
status
Executing interrupt task
Hardware interrupt response time
Software interrupt response time
Response time for input interrupts
Response time for input interrupts = Hardware interrupt response time + Software interrupt response time