Maintenance
and
Tr
oubleshooting
Maintenance
and
Tr
oubleshooting
8--11
Maintenance and Troubleshooting
DL105 PLC User Manual, 3rd Edition
Machine Startup and Program Troubleshooting
The DL105 Micro PLCs provide several features that can help you debug your
program before and during machine startup. This section discusses the following
topics which can be very helpful.
S
Program Syntax Check
S
Duplicate Reference Check
S
Special Instructions
S
Run Time Edits
S
Forcing I/O Points
Even though the Handheld Programmer and
Direct
SOFT provide error checking
during program entry, you may want to check a program that has been modified.
Both programming devices offer a way to check the program syntax. For example,
you can use AUX 21, CHECK PROGRAM to check the program syntax from a
Handheld Programmer, or you can use the PLC Diagnostics menu option within
Direct
SOFT. This check will find a wide variety of programming errors. The following
example shows how to use the syntax check with a Handheld Programmer.
1:SYN 2:DUP REF
AUX 21 CHECK PRO
Use AUX 21 to perform syntax check
BUSY
Select syntax check (default selection)
MISSING END
$00050 E401
One of two displays will appear
?
NO SYNTAX ERROR
Error Display (example)
(You may not get the busy display
if the program is not very long.)
Syntax OK display
(shows location in question)
CLR
1
B
2
C
AUX
ENT
ENT
See the Error Codes Section for a complete listing of programming error codes. If
you get an error, just press CLR and the Handheld will display the instruction where
the error occurred. Correct the problem and continue running the Syntax check until
the NO SYNTAX ERROR message appears.
Syntax Check
Summary of Contents for DL105
Page 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Page 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Page 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Page 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Page 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...