98
Computing the Cycle Time
Section 2-7
The cycle time extension for online editing is negligibly affected by the size of
task programs. If the maximum program size for a task is 20 Ksteps, the
online editing cycle time extension will be as follows:
When editing online, the cycle time will be extended by according to the edit-
ing that is performed. Be sure that the additional time will not adversely affect
system operation.
Note
When there is one task, online editing is processed all in the cycle time follow-
ing the cycle in which online editing is executed (written). When there are mul-
tiple tasks (cyclic tasks and interrupt tasks), online editing is separated, so
that for n tasks, processing is executed over n to n
×
2 cycles max.
2-7-7
I/O Response Time
The I/O response time is the time it takes from when an input turns ON, the
data is recognized by the CPU Unit, and the user program is executed, up to
the time for the result to be output to an output terminal. The length of the I/O
response time depends on the following conditions.
• Timing of Input Bit turning ON.
• Cycle time.
Minimum I/O
Response Time
The I/O response time is shortest when data is retrieved immediately before I/
O refresh of the CPU Unit. The minimum I/O response time is calculated as
follows:
Minimum I/O response time = Input ON delay + Cycle time + Output ON delay
Note
The input and output ON delays depend on the type of terminals used on the
CPU Unit or the model number of the Unit being used.
Maximum I/O Response
Time
The I/O response time is longest when data is retrieved immediately after I/O
refresh period of the CPU Unit. The maximum I/O response time is calculated
as follows:
Maximum I/O response time = Input ON delay + (Cycle time
×
2) + Output ON
delay
CPU Unit
Increase in cycle time for online editing
CP1H CPU Unit
Maximum: 26 ms, Normal: 14 ms
(for a program size of 20 Ksteps)
Input
I/O refresh
Input ON delay
Output ON delay
Cycle time
Cycle time
(Interrupt to
CPU Unit)
Output
Minimum I/O
response time
Instruction
execution
Instruction
execution
Instruction
execution
Summary of Contents for CP1H CPU UNITS - PROGRAMMING 05-2007
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Page 370: ...336 Analog I O XA CPU Units Section 5 5...
Page 552: ...518 Trouble Shooting Section 8 7...
Page 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 598: ...564 Sample Application Section 9 12...
Page 642: ...608 Standard Models Appendix A...
Page 652: ...618 Dimensions Diagrams Appendix B...
Page 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Page 776: ...742 PLC Setup Appendix G...
Page 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Page 786: ...752 Revision History...