65
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 CP1L-EL/EM
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 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.
Item
Details
CP1L-EL/EM
CP1W-40EDR
40-pt I/O Unit
1 Unit
User program
5 K steps
LD instructions: 2.5 K steps,
OUT instructions: 2.5 K steps
Ethernet port connection
Yes and no
Fixed cycle time processing
No
Serial port connection
No
Other peripheral servicing
No
Process name
Calculation
Processing time
Ethernet port
connected
Ethernet 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 Ethernet 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-EL/EM CPU Unit
Maximum: 16 ms, Normal: 12 ms
(for a program size of 10 Ksteps)
Summary of Contents for CP1L-EL20DR-D
Page 3: ...CP1L EL20D CP1L EM30D CP1L EM40D CP1L EL EM CPU Unit Operation Manual Produced July 2017...
Page 4: ...iv...
Page 10: ...x...
Page 22: ...xxii...
Page 34: ...xxxiv Software Licenses and Copyrights 7...
Page 192: ...158 Trial Operation and Debugging Section 5 3...
Page 250: ...216 Automatic Clock Adjustment and Specifying Servers by Host Name Section 6 7...
Page 666: ...632 Trouble Shooting Section 11 7...
Page 696: ...662 Standard Models Appendix A...
Page 805: ...771 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 806: ...772 Connections to Serial Communications Option Boards Appendix F...
Page 836: ...802 PLC Setup Appendix G...
Page 838: ...804 TCP Status Transitions Appendix H...
Page 840: ...806 Ethernet Network Parameters Appendix I...
Page 842: ...808 Buffer Configuration CP1L EL EM Appendix J...
Page 844: ...810 Ethernet Specifications Appendix K...
Page 851: ...Index 817 work words 118 write protection 447...
Page 852: ...818 Index...
Page 854: ...820 Revision History...
Page 855: ......