82
Computing the Cycle Time
Section 2-7
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 10 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.
Item
Details
CP1L
CP1W-40EDR
40-pt I/O 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
Other peripheral servicing
No
Process name
Calculation
Processing time
USB port
connected
USB port not
connected
(1) Overseeing
---
0.4 ms
0.4 ms
(2) Program execution
0.55
µ
s
×
2,500 + 1.1
µ
s
×
2,500
4.1 ms
4.1 ms
(3) Cycle time calculation (Minimum cycle time not
set)
0 ms
0 ms
(4) I/O refreshing
0.39 ms
0.39 ms
0.39 ms
(5) Peripheral servicing
(Only USB port con-
nected)
0.1 ms
0 ms
Cycle time
(1) + (2) + (3) + (4) + (5)
4.99 ms
4.89 ms
CPU Unit
Increase in cycle time for online editing
CP1L CPU Unit
Maximum: 16 ms, Normal: 12 ms
(for a program size of 10 Ksteps)
Summary of Contents for CP1L - 12-2007
Page 3: ...iv...
Page 9: ...x...
Page 13: ...xiv TABLE OF CONTENTS...
Page 21: ...xxii...
Page 33: ...xxxiv Conformance to EC Directives 6...
Page 65: ...32 Function Blocks Section 1 5...
Page 428: ...395 Clock Section 6 9...
Page 429: ...396 Clock Section 6 9...
Page 523: ...488 Troubleshooting Unit Errors Section 9 4...
Page 531: ...496 Replacing User serviceable Parts Section 10 2...
Page 563: ...528 Auxiliary Area Allocations by Function Appendix C...
Page 611: ...576 Auxiliary Area Allocations by Address Appendix D...
Page 638: ...603 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 639: ...604 Connections to Serial Communications Option Boards Appendix F...
Page 669: ...634 Index...
Page 671: ...636 Revision History...