99
Computing the Cycle Time
Section 2-7
2-7-5
Cycle Time Calculation Example
The following example shows the method used to calculate the cycle time when
CP-series Expansion I/O Units only are connected to a CP1H CPU Unit.
Conditions
Calculation Example
2-7-6
Online Editing Cycle Time Extension
When online editing is executed to change the program from the CX-Program-
mer while the CPU Unit is operating in MONITOR mode, the CPU Unit will
momentarily suspend operation while the program is being changed. The
period of time that the cycle time is extended is determined by the following
conditions.
• Number of steps changed
• Editing operations (insert/delete/overwrite)
• Types of instructions
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:
Item
Details
CP1H
CP1W-40EDR
40-pt I/O Unit
2 Units
CP1W-20EDT
20-pt I/O Unit
2 Units
CP1W-8ED
8-pt Output Unit
1 Unit
User program
5 K steps
LD instructions: 2.5 Ksteps,
OUT instructions: 2.5 Ksteps
USB port connection
Yes and no
Fixed cycle time processing
No
Serial port connection
No
Peripheral servicing with other
devices (Special I/O Units and
CPU Bus Units)
No
Process name
Calculation
Processing time
USB port
connected
USB port not
connected
(1) Overseeing
---
0.7 ms
0.7 ms
(2) Program execution
0.1
µ
s
×
2,500 + 0.1
µ
s
×
2,500
0.5 ms
0.5 ms
(3) Cycle time calculation (Minimum cycle time not
set)
0 ms
0 ms
(4) I/O refreshing
0.39 ms
×
2 + 0.18 ms
×
2 + 0.08
1.22 ms
1.22 ms
(5) Peripheral servicing
(Only USB port con-
nected
0.1 ms
0 ms
Cycle time
(1) + (2) + (3) + (4) + (5)
2.52 ms
2.42 ms
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)
Summary of Contents for Sysmac CP1H
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 76: ...42 Function Blocks Section 1 5...
Page 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...
Page 372: ...338 Analog I O XA CPU Units Section 5 5...
Page 578: ...544 Trouble Shooting Section 8 7...
Page 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 668: ...634 Standard Models Appendix A...
Page 744: ...710 Auxiliary Area Allocations by Address Appendix D...
Page 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 772: ...738 Connections to Serial Communications Option Boards Appendix F...
Page 800: ...766 Specifications for External Power Supply Expansion Appendix H...
Page 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...
Page 808: ...774 Revision History...
Page 809: ......