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)
Содержание Sysmac CP1H
Страница 2: ......
Страница 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...
Страница 4: ...iv...
Страница 10: ...x...
Страница 18: ...xviii...
Страница 22: ...xxii...
Страница 34: ...xxxiv Conformance to EC Directives 6...
Страница 76: ...42 Function Blocks Section 1 5...
Страница 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...
Страница 372: ...338 Analog I O XA CPU Units Section 5 5...
Страница 578: ...544 Trouble Shooting Section 8 7...
Страница 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Страница 668: ...634 Standard Models Appendix A...
Страница 669: ...635 Appendix B Dimensions Diagrams X XA and Y CPU Units 90 100 110 140 150 8 85 Four 4 5 dia holes...
Страница 744: ...710 Auxiliary Area Allocations by Address Appendix D...
Страница 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 772: ...738 Connections to Serial Communications Option Boards Appendix F...
Страница 800: ...766 Specifications for External Power Supply Expansion Appendix H...
Страница 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...
Страница 808: ...774 Revision History...
Страница 809: ......