This chapter describes how to debug programs and how to
adjust the operation of the machine.
5.1
Debugging Ladder Programs . . . . . . . . . . . 5-3
5.1.1 Ladder Program Runtime Monitoring . . . . . . . . . 5-3
5.1.2 Register List Panes . . . . . . . . . . . . . . . . . . . . . . . 5-4
5.1.3 Watch Panes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7
5.1.4 Searching and Replacing in Programs . . . . . . . . 5-9
5.1.5 Searching and Replacing in Project Files . . . . . 5-12
5.1.6 Cross Reference Panes . . . . . . . . . . . . . . . . . . . 5-14
5.1.7 Checking for Multiple Coils . . . . . . . . . . . . . . . . 5-17
5.1.8 Forcing Coils ON and OFF . . . . . . . . . . . . . . . . 5-18
5.1.9 Viewing a Called Program . . . . . . . . . . . . . . . . . 5-21
5.1.10 Enabling and Disabling a Program . . . . . . . . . . 5-21
5.2
Debugging a Motion or a Sequence Program 5-22
5.2.1 Tab Page Items . . . . . . . . . . . . . . . . . . . . . . . . . 5-23
5.2.2 Monitoring Program Execution . . . . . . . . . . . . . 5-24
5.2.3 Register List Panes . . . . . . . . . . . . . . . . . . . . . . 5-26
5.2.4 Watch Panes . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-26
5.2.5 Searching and Replacing in Programs . . . . . . . 5-26
5.2.6 Searching and Replacing in Project Files . . . . . 5-27
5.2.7 Viewing a Motion Subprogram . . . . . . . . . . . . . 5-27
5.2.8 Cross Reference Searches . . . . . . . . . . . . . . . . 5-27
5.2.9 Alarm Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . 5-28
5.2.10 Alarm Code Details . . . . . . . . . . . . . . . . . . . . . . 5-32
5.3
Monitoring Machine Operation . . . . . . . . . 5-35
5.3.1 Axis Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-35
5.3.2 Alarm Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . 5-39
5.3.3 Realtime Tracing . . . . . . . . . . . . . . . . . . . . . . . . 5-43
5.3.4 XY Trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-66
Debugging Programs
5