The text of a manual · part 58 of 68
DL405 User Manual: Chapter 9: Maintenance and Troubleshooting, pages 514 to 522
Pages 514 to 522 of 608, from DL405 User Manual
The original document is the PDF (8.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the AutomationDirect D4-08B-1, AutomationDirect D4-08ND3S, AutomationDirect D4-16TA, PLC Direct D4-16TD2, AutomationDirect D4-32ND3-1, Konnect-It D4-08B-1, Koyo D4-08B-1, Konnect-It D4-08ND3S, and 6 more models
Page 514
9--10
Maintenance and Troubleshooting
PWR Indicator
430 440 450
In general there are four reasons for the CPU or expansion unit power status LED (PWR) to be OFF: 1. Power to the CPU is an improper voltage, or the power range jumper (110/220 select) does not match the power input voltage. 2. CPU power supply is faulty. 3. Other component(s) have the power supply shut down. An I/O module in the base which has shorted is a possibility. 4. Power budget (+5V)for the CPU has been exceeded. If the voltage to the power supply is not correct, the PLC may not operate properly or may not operate at all. Use the following guidelines to correct the problem. WARNING: To minimize the risk of electrical shock, always disconnect the system power before inspecting the physical wiring.
Maintenance and Troubleshooting
1. First, disconnect the external power. 2. Verify that all external circuit breakers or fuses are still intact. 3. Check all incoming wiring for loose connections. If you’re using a separate termination block, check those connections for accuracy and integrity. 4. If the connections are acceptable, reconnect the system power and verify the voltage at the CPU power input is within specification. If the voltage is not correct, shut down the system and correct the problem. 5. If all wiring is connected correctly and the incoming power is within the specifications, the PLC internal supply may be faulty. If the voltage to the power supply is not correct, the CPU may not operate properly, if at all. For a new installation on AC-powered CPU versions, first check the 110/220 VAC select jumper on the terminal strip of the CPU. If the 110 VAC selection shunt is not installed while using 110 VAC, you will see the following symptoms: S The communication ports will not function S The CPU will only operate when no modules are installed. If the 110 VAC selection shunt is installed while using 220 VAC, the power supply in the CPU will be damaged. If this has happened, you will need to replace the CPU. The best way to check for a faulty CPU power supply is to substitute a known good one to see if this corrects the problem. If the jumper is correctly installed for the AC or DC version you are using, then measure the voltage at the terminal strip to ensure it is within the CPU input specs. It is possible a faulty module or external device using the system 5V can shut down the power supply. This 5V can be coming from the base or from the top port on the CPU. To test for a device causing this problem: S Turn off power to the CPU. S Disconnect all external devices (example communication cables) from the CPU. S Reapply power to the system.
DL405 User Manual, 4th Edition
Page 515
Maintenance and Troubleshooting
9--11
If the power supply operates normally, you probably have either a shorted device or a shorted cable. If the power supply does not operate normally, then test for a module causing the problem by following the steps below: S Turn off power to the CPU. S Remove the CPU from the base, leaving its power cord attached. S Reapply power to the CPU. If the PWR LED operates normally, the problem is most likely in one of the modules in the local CPU base. To isolate which module is causing the problem, remove one module at a time until the PWR LED operates normally. Put the CPU back in the base prior to testing for a bad module. Follow the procedure below: S Turn off power to the CPU. S Remove a module from the base. S Reapply power to the CPU. Bent base connector pins on the module can cause this problem, so check the connector. Remember that exceeding the power budget is a common error that will cause the PWR indicator to not come on or to come on intermittently. Power budgeting problems usually appear during system start-up, rather than after a long period of operation. If there is any doubt, it’s a good idea to recheck this. WARNING: The PLC may reset if the power budget is exceeded. If there is any doubt about the system power budget please check it at this time. Exceeding the power budget can cause unpredictable results which can cause damage and injury. Verify the modules in the base operate within the power budget for the chosen base. You can find these tables in Chapter 4, System Design and Configuration.
430 440 450
If the CPU will not enter the run mode (the RUN indicator is off), the problem is usually in the application program unless the CPU has a fatal error, in which case the CPU LED should be on. S If you are attempting to enter the run mode by a programming device and the CPU will not enter the run mode, first make sure the key switch is in the TERM position and then try to enter the run mode. S If you are using the keyswitch to change to RUN mode and the CPU does not respond, attach a programming device to diagnose what error is being returned. S If the indicator is flashing, the CPU is in firmware upgrade mode. Both of the programming devices, handheld programmer and DirectSOFT, will return a error message and depending on the error may also recommend an AUX function to run that will aid in further diagnosing the problem. The most common programming error is “Missing END Statement”. All application programs require an END statement for proper termination. Appendix B lists all the error codes.
DL405 User Manual, 4th Edition
Maintenance and Troubleshooting
Run Indicator
Page 516
9--12
Maintenance and Troubleshooting
CPU Indicator
430 440 450
BATT Indicator
430 440 450
If the CPU indicator is on, a fatal error has occurred in the CPU. Generally, this is not a programming problem but an actual hardware failure. You can power cycle the system to clear the error. If the error clears, the system should be closely monitored and every effort should be made to try to determine the cause of the problem. You will find this problem is sometimes caused by high frequency electrical noise introduced into the CPU from a outside source. Check your system grounding and install electrical noise filters if the grounding is suspected. If power cycling the system does not reset the error or if the problem returns, replace the CPU. If the BATT indicator is on or flashing, either or both the CPU/Memory Cartridge batteries are low (2.5V or less). The DL430 does not have a memory cartridge. The battery voltage is continuously monitored while the system voltage is being supplied. BATT LED Status
Error Condition
Flashing at 2Hz Flashing at 0.5 Hz
CPU battery is low Memory Cartridge battery is low
ON constantly
Both the CPU and Memory Cartridge batteries are low
Procedures for how to replace either of the batteries can be found in the Hardware Maintenance section earlier in this chapter. DIAG Indicator X X 430 440 450
I/O Indicator
Maintenance and Troubleshooting
430 440 450
The diagnostics indicator is normally off. It turns on if the CPU detects a failure of its run-time diagnostics. Extreme electrical noise may cause a diagnostics failure, so power cycle the CPU first. If the DIAG indicator still turns on, the CPU is probably faulty. Replace it with a known good one to be sure. If this indicator is on, a problem in the local, expansion, or remote I/O chain has been detected. Any of the problems listed below could be the cause of the I/O LED being on: S A blown fuse inside an I/O module S A loose terminal block S The 24 VDC supply has failed S The module or Expansion unit has failed S The I/O configuration check detects a change in the I/O configuration I/O error detection for remote I/O will be covered in the DL405 Remote and Slice I/O manual. To aid you in further diagnosing where the I/O error is, each I/O module has LEDs to indicate if an error is present. The discrete I/O modules covered in this manual may have a combination of the following I/O indicators: Indicator
Error condition
TB
Loose or missing terminal block
24V
External 24V power supply not providing the correct voltage
FU
Module fuse has blown, (check the I/O modules specification sheets to see if the fuse is replaceable)
Many other specialty modules also have indicators. The manuals for those products contain information on the indicators and status LEDs.
DL405 User Manual, 4th Edition
Page 517
Maintenance and Troubleshooting
9--13
If the modules are not providing any clues to the problem, run AUX 42 from the handheld programmer or I/O diagnostics in DirectSOFT. Both options will provide the base number, the slot number and the problem with the module. Once the problem is corrected the indicators will reset. An I/O error will not cause the CPU to switch from the run to program mode, however there are special relays (SPs) available in the CPU which will allow this error to be read in ladder logic. The application program can then take the required action such as entering the program mode or initiating an orderly shutdown. The following figure shows a example of the failure indicators. Loose terminal block LED indicator Internal diagnostics V7756 0201 Major Error Code V7760 0003 Error Location (Base 00, Slot 03) V7762 0201 Module Error Code SP45 I/O Error
Loose terminal block
COM Indicator X 430 440 450
The COM indicator on DL430 and DL440 CPU turns ON when the CPU has detected a communication error on one of the two communication ports built into the CPU. The most common causes for this error are:
TXD and RXD Indicators X X 430 440 450
The TXD and RXD indications on the DL450 CPU work like the identically-named LED indicators found on modem devices. The TXD and/or RXD indicators turn ON whenever the CPU either transmits or receives data, respectively. If the indicator(s) remain off when you are expecting communications, there is a problem. The TXD and RXD indicators turn on when data is transmitted on any of the four ports on the DL450. Therefore, when DirectSOFT, or a HPP, or an operator interface such as the DV-1000 is connected, the TXD and RXD are on constantly. If you are trying to detect communications originated by the ladder program itself, it may be useful to disconnect the programing device or operator interface. In this way, only the cable for the communications you are debugging is connected.
DL405 User Manual, 4th Edition
Maintenance and Troubleshooting
The cable is disconnected. The cable has a broken wire or has been wired incorrectly. The cable is improperly terminated or grounded. The device connected to the port is sending data incorrectly. A grounding difference exists between the two devices. Electrical noise is causing intermittent errors The CPU has a bad communication port and the CPU should be replaced If an error occurs the indicator will come on and stay on until a successful communication has been completed. If the cable and its connections are OK, try doing a power cycle on the devices at both ends of the communications cable. S S S S S S S
Page 518
9--14
Maintenance and Troubleshooting
Maintenance and Troubleshooting
I/O Module Troubleshooting Possible Causes
If you suspect an I/O error, there are several things that could be causing the problem. S I/O configuration error on modules such as analog I/O, high-speed counting, specialized communications, and so on S A blown fuse in your machine or panel (the DL105 does not have internal I/O fuses) S A loose terminal block S The auxiliary 24 VDC supply has failed S An Input or Output point has failed
Some Quick Steps
When troubleshooting the DL series I/O modules there are a few facts you should be aware of. These facts may assist you in quickly correcting an I/O problem. S The output modules cannot detect shorted or open output points. If you suspect one or more points on a output module to be faulty, measure the voltage drop from the common to the suspect point. Remember when using a Digital Volt Meter, leakage current from an output device such as a triac or a transistor must be considered. A point which is off may appear to be on if no load is connected to the point. S The I/O point status indicators on the modules are logic side indicators. This means the LED which indicates the on or off status reflects the status of the point with respect to the CPU. On a output module the status indicators could be operating normally while the actual output device (transistor, triac etc.) could be damaged. With an input module if the indicator LED is on, the input circuitry should be operating properly. Verify the LED goes off when the input signal is removed. S Leakage current can be a problem when connecting field devices to I/O modules. False input signals can be generated when the leakage current of an output device is great enough to turn on the connected input device. To correct this install a resistor in parallel with the input or output of the circuit. The value of this resistor will depend on the amount of leakage current and the voltage applied but usually a 10K to 20K ohm resistor will work. Verify the wattage rating of the resistor is correct for your application. S The fuse blown indicator on a output module will indicate a problem only if an output point is connected to a load and the point is turned on. This indicator works by sensing a voltage drop across the fuse so there must be a voltage applied to the fuse and a load applied to the output to create the voltage drop before it can be reported by the module. S The easiest method to determine if a module has failed is to replace it if you have a spare. However, if you suspect another device to have caused the failure in the module, that device may cause the same failure in the replacement module as well. As a point of caution, you may want to check devices or power supplies connected to the failed module before replacing it with a spare module.
DL405 User Manual, 4th Edition
Page 519
Maintenance and Troubleshooting Testing Output Points
9--15
Output points can be set on or off in the DL405 series CPUs but they cannot be forced in such a way to override ladder logic. If you want to do an I/O check out independent of the application program, follow the procedure below: Step
Action
1
Change the CPU keyswitch to TERM.
2
Use a handheld programmer or DirectSOFT to communicate online to the PLC.
3
Change to Program mode.
4
Go to address 0.
5
Insert an ”END” statement at address 0. (This will cause program execution to occur only at address 0 and prevent the application program from running and turning I/O points on or off).
6
Change to Run mode using the handheld programmer or DirectSOFT. We must do this to enable the outputs.
7
Use the programming device to set (turn) on or off the points you wish to test.
8
When you finish testing I/O points delete the “END” statement at address 0.
WARNING: Depending on your application, forcing I/O points may cause unpredictable machine operation that can result in a risk of personal injury or equipment damage. Make sure you have taken all appropriate safety precautions prior to testing any I/O points. Handheld Programmer Keystrokes Used to Test an Output Point
END
X0
X2
X1
X3
X5
X7
X4 Y1
X10
Maintenance and Troubleshooting
Insert an END statement at the beginning of the Program. This disables the remainder of the program.
Y0
END
From a clear display, use the following keystrokes Y(OUT)
0
BIT ST
Y
10
Y
0
Y
0
16P MON Turn the output on (or off) Y(OUT)
0
SHFT
Y0 is now on
ON
Y
10
16P MON
DL405 User Manual, 4th Edition
Page 520
9--16
Maintenance and Troubleshooting
Maintenance and Troubleshooting
Noise Troubleshooting Electrical Noise Problems
Noise is one of the most difficult problems to diagnose. Electrical noise can enter a system in many ways, which are divided into two categories, conducted or radiated: S Conducted noise is when the electrical interference is introduced into the system by way of an attached wire, panel connection, etc. It may enter through an I/O module, a power supply connection, the communication ground connection, or the chassis ground connection. S Radiated noise is electrical interference introduced into the system through the air as radio waves, without a direct electrical connection.
Reducing Electrical Noise
The following tips can help reduce electrical noise enough for normal operation. S Most noise problems result from improper grounding of the system. A good earth ground can be the single most effective way to correct noise problems. If a ground is not available, install a ground rod as close to the system as possible. Ensure all ground wires are single point grounds and are not daisy chained from one device to another. Ground metal enclosures around the system. A loose wire is no more than a large antenna waiting to introduce noise into the system; therefore, you should tighten all connections in your system. Loose ground wires are more susceptible to noise than the other wires in your system. Review Chapter 2 Installation and Safety Guidelines if you have questions regarding how to ground your system. S Electrical noise can enter the system through the power source for the CPU and I/O. Installing an isolation transformer for all AC sources can correct this problem. DC sources should be well grounded, good quality supplies. Switching DC power supplies commonly generate more noise than linear supplies. S Separate input wiring from output wiring. Never run analog I/O wiring or low voltage discrete I/O wiring close to high voltage wiring. S
S
To improve noise immunity, you may optionally install the factory provided shunt between logic ground (LG) and chassis ground (G) on the CPU terminal strip shown to the left. In rare instances you may want to isolate logic ground from chassis ground. There is a single jumper on the 4 slot base and two jumpers on the 6 and 8 slot bases for this purpose. Isolation can be obtained by removing these jumper(s), shown below. Spring loaded securing screw
Optional CPU jumper connects logic ground and chassis ground
DL405 User Manual, 4th Edition
Base jumper(s) connect logic ground and chasis ground on CPU terminal strip
Page 521
Maintenance and Troubleshooting
9--17
Machine Startup and Program Troubleshooting The DL405 CPUs 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 Test Modes S Run Time Edits S Special Instructions Syntax Check
Even though the Handheld Programmer and DirectSOFT 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 DirectSOFT. This check will find a wide variety of programming errors. The following example shows how to use the syntax check with a Handheld Programmer. Use AUX 21 to perform syntax check CLR
AUX
2
1
ENT
ENT
Select syntax check 1 ENT (This may take a minute or so.)
AUX 21 CHECK PROGRAM 1:SYN 2:DUP REF
BUSY
Error Display (example)
$ 8 E401 MISSING END TMRA T 002 K00050 (shows location in question)
Syntax OK display
NO SYNTAX ERROR ?
If you get an error, see the Error Codes Section for a complete listing of programming error codes. Correct the problem and continue running the Syntax check until the NO SYNTAX ERROR message appears.
DL405 User Manual, 4th Edition
Maintenance and Troubleshooting
One of two displays will appear
Page 522
9--18
Maintenance and Troubleshooting
Duplicate Reference Check
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. Use AUX 21 to perform syntax check AUX
2
1
ENT
ENT
Select Duplicate Reference check 2 ENT (This may take a minute or so.)
AUX 21 CHECK PROGRAM 1:SYN 2:DUP REF
BUSY
One of two displays will appear Error Display (example)
$ 12 E471 DUP COIL REF OUT Y 0000 (shows location in question)
Maintenance and Troubleshooting
Syntax OK display
NO DUP REFS ?
If you get a Duplicate Reference error, 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 that use the Stage instructions and / or the OROUT instructions. The Duplicate Reference check will find these outputs even though they may be used in an acceptable fashion.
DL405 User Manual, 4th Edition