153
Trial Operation and Debugging
Section 5-3
5-3-3
Online Editing
The Online Editing function is used to add to or change part of a program in a
CPU Unit directly from the CX-Programmer when the CPU Unit is in MONI-
TOR or PROGRAM mode. This function is designed for minor program
changes without stopping the CPU Unit.
Online editing is possible simultaneously from more than one computer run-
ning the CX-Programmer as long as different tasks are edited.
The cycle time will be increased by from one to several cycle times if the pro-
gram in the CPU Unit is edited online in MONITOR mode. The cycle time will
also be increased to back up data in the flash memory after online editing.
The BKUP indicator will be lit during this period and the progress of the
backup will be displayed on the CX-Programmer. The increases per cycle are
listed in the following table.
There is a limit to the number of edits that can be made consecutively. The
actual number depends on the type of editing that is performed, but 40 edits
should be used as a guideline. A message will be displayed on the CX-Pro-
grammer if the limit is exceeded, and further editing will not be possible until
the CPU Unit has completed backing up the data.
The length of time that the cycle time is extended due to online editing is
almost unaffected by the size of the task program being edited.
Precautions
The cycle time will be longer than normal when a program is overwritten using
Online Editing in MONITOR mode, so make sure that the amount of time that
it is extended will not exceed the cycle monitoring time set in the PLC Setup. If
it does exceed the monitoring time, then a Cycle Time Over error will occur,
and the CPU Unit will stop. Restart the CPU Unit by selecting PROGRAM
mode first before changing to RUN or MONITOR mode.
Note
If the task being edited online contains a block program, then previous execu-
tion information, such as Standby (WAIT) or Pause status, will be cleared by
online editing, and the next execution will be from the beginning.
Online Editing from the CX-Programmer
1,2,3...
1.
Display the program section that will be edited.
2.
Select the instructions to be edited.
3.
Select Program - Online Edit - Begin.
CPU Unit
Increase in cycle time
Online editing
Backup to flash memory
CP1L-EL/EM CPU Units
16 ms max.
4% of cycle time
Online Editing
CX-Programmer
Operating in
MONITOR mode.
Program section changed
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: ......