Maintenance
and Troubleshooting
9–13
Maintenance and Troubleshooting
STOP puts CPU in Program Mode
Y0X0
END
X2
X3X1
X4
Y1
X5
Normal Program
Y0X0
END
X2
X3X1
X4
Y1
X5
X7
STOP
In the example shown above, you could trigger X10 which would execute the STOP
instruction. The CPU would enter Program Mode and all outputs would be turned off.
You can also check for multiple uses of the same output coil. Both programming
devices offer a way to check for this condition.. For example, you can AUX 21,
CHECK PROGRAM to check for duplicate references from a Handheld
Programmer, or you can use the PLC Diagnostics menu option within DirectSOFT.
The following example shows how to perform the duplicate reference check with a
Handheld Programmer.
DUP COIL REF
$00024 E471
One of two displays will appear
?
NO DUP REFS
Error Display (example)
Syntax OK display
(shows location in question)
1:SYN 2:DUP REF
AUX 21 CHECK PRO
Use AUX 21 to perform syntax check
BUSY
Select duplicate reference check
(You may not get the busy
display if the program is not
very long.)
CLR
1
B
2
C
AUX ENT
ENT
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 Duplicate
Reference check until no duplicate references are found.
NOTE: You can use the same coil in more than one location, especially in programs
containing Stage instructions and / or OROUT instructions. The Duplicate
Reference check will find occurrences, even though they are acceptable.
Duplicate
Reference Check