The text of a manual · part 34 of 36
DL305 User Manual, pages 327 to 336
Pages 327 to 336 of 356
The original document is the PDF (3.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 GE DL330 / D3-330, Fanuc DL330 / D3-330 and GE Fanuc DL330 / D3-330
Page 327
13–11 Maintenance and Troubleshooting
Noise Troubleshooting Noise is one of the most difficult problems to diagnose. Electrical noise can enter a system in many different ways and they fall into two categories, conducted or radiated. It may be difficult to determine how the noise is entering the system but the corrective actions for either of the types of noise problems are similar. S Conducted noise is when the electrical interference is introduced into the system by way of a 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 when the electrical interference is introduced into the system without a direct electrical connection, much in the same manner as radio waves.
Reducing Electrical Noise
While electrical noise cannot be eliminated it can be reduced to a level that will not affect the system. 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. Insure 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 a isolation transformer for all AC sources can correct this problem. DC sources should be well grounded good quality supplies. Switching DC power supplies commonly generates more noise than linear supplies do. S Separate input wiring from output wiring. Never run I/O wiring close to high voltage wiring.
Maintenance and Troubleshooting
Electrical Noise Problems
Maintenance and Troubleshooting
Page 328
13–12 Maintenance and Troubleshooting
Machine Startup and Program Troubleshooting Even after our your best attempts at creating application programs, there are still times when you need some assistance. This is especially true during machine startup and program troubleshooting. With the DL305 CPUs there are a few things that help make this task easier. S Program Syntax Check - find problems before startup S Pause Relay, monitor output status without enabling the actual output points or field devices S End Statement, move the End statement to disable parts of the program.
Maintenance and Troubleshooting
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 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. 001
CTR
601 K50
Counter Reset Leg is missing
Execute the syntax check Maintenance and Troubleshooting
CLR
SCH
E07
ADDRESS/DATA ON/OFF
RUN BATT PWR CPU
0 AND 1 OR 2 STR 3 NOT
4 OUT 5 TMR 6 CNT 7 SR
0 MCS 1 MCR 2 SET 3 RST
4 ADR 5 SHF 6 DATA 7 REG
0 MCS 1 MCR 2 SET 3 RST
4 ADR 5 SHF 6 DATA 7 REG
Press CLR to display the address where the error occurred Maintenance and Troubleshooting
CLR
0003 ....
ADDRESS/DATA ON/OFF
RUN BATT PWR CPU
0 AND 1 OR 2 STR 3 NOT
4 OUT 5 TMR 6 CNT 7 SR
Correct the problem and continue running the Syntax check until the E07 message no longer appears.
Page 329
13–13 Maintenance and Troubleshooting
Using the Pause Relay
Special Relay 376 provides a quick way to allow the inputs (or other logic) to operate while disabling any output points used with an OUT instruction. The output image register is still updated, but the output status is not written to the modules. For example, you could make this conditional by adding an input contact or CR to control the instruction with a switch or a programming device. Or, you could just add the instruction without any conditions so the outputs would be disabled at all times. PAUSE disables 020 and 021
Normal Program 000
002
020
376 PAUSE
001
003
004 021
010
000
002
001
003
020 004 021
010 END
END
WARNING: This special relay only inhibits those outputs referenced by the OUT instruction. Output points referenced by the SET OUT instruction are not disabled. END Instruction Placement
If you need a way to quickly disable part of the program, just insert an END statement prior to the portion that should be disabled. When the CPU encounters the END statement, it assumes that is the end of the program. The following diagram shows an example. New END disables X10 and Y1
Normal Program 000
002
001
003
007
Maintenance and Troubleshooting
By using this relay, you can still monitor the output status with a programming device. The programming device will show that the output should be on, even though the CPU does not actually update the I/O point.
020 004
000
002
001
003
020 004
021 END
007
021
END
Maintenance and Troubleshooting
END
Page 330
Page 331
Quick Start Example
In This Appendix. . . .
1A
Ċ Step 1: Unpack the DL305 Equipment Ċ Step 2: Configure the 5Ćslot Base as the Local CPU Base Ċ Step 3: Install the CPU and I/O Modules Ċ Step 4: Wire the I/O Modules to the Field Devices Ċ Step 5: Remove the Terminal Strip Access Cover Ċ Step 6: Connect the Power Wiring Ċ Step 8: Connect the Handheld Programmer Ċ Step 9: Connect the Power Source Ċ Step 10: Enter the Example Program
Page 332
A–2
Appendix B DL405 Product Cross Ref.
Appendix A Quick Start Example
Quick Start Example
Now, you have the material necessary to become confident and productive with the DL305. The rest of this chapter is dedicated to laying out all of the pieces necessary to put together a complete system. It will highlight where specific chapters apply to questions you will typically have during your system configuration. This example is not intended to tell you everything you need to start-up your system, warnings and helpful tips are in the rest of the manual. It is only intended to give you a general picture of what you will need to do to get your system powered-up.
Step 1: Unpack the DL305 Equipment Unpack the DL305 equipment and verify you have the parts necessary to build your system. The minimum parts you will need are: 1 5-slot base 1 Handheld programmer 1 CPU 1 D3–08ND2 discrete input module or D3–08SIM input simulator (If you use any other discrete input module it will be necessary for you to look up the wiring information for the module you are using.) 1 D3–08TD2 discrete output module (Any of the DL305 output modules can be used for this example since we will just be looking at the status indicators.) 1 Power cord (which you supply)
Page 333
A–3 Quick Start Example
Step 2 – the 5 slot base must be configured for base 1 (the base where the CPU resides). Identification of this base as the local CPU base is made by placing the base toggle switch in the 1,3 position as indicated below the toggle switch. Refer to Chapter 4 for more information on base switches. BASE 1,3 2
Insert the CPU and I/O modules into the base as shown below. The CPU must go into the far right side of the base in the position next to the Power Supply. When inserting components into the base, align the PC board(s) of the module with the grooves on the top and bottom of the base. Push the module straight into the base until it is firmly seated in the backplane connector. Placement of 8 point discrete and relay modules are not critical and may go in any slot in the local CPU base. Limiting factors for other types of modules are discussed in Chapter 4. You must also make sure you do not exceed the power budget for each base in your system configuration. Power budgeting is also discussed in Chapter 4. D3-08TD2 D3-08ND2 0 4 0 4 1 5 1 5 2 6 2 6 3 7 3 7
Output Input CPU Module Module I/O Address I/O Address 010-017 000-007
Appendix B DL405 Product Cross Ref.
Step 3: Install the CPU and I/O Modules
Appendix A Quick Start Example
Step 2: Configure the 5-slot Base as the Local CPU Base
Page 334
A–4
Appendix B DL405 Product Cross Ref.
Appendix A Quick Start Example
Quick Start Example
Step 4: Wire the I/O Modules to the Field Devices This step is not necessary if you are using an input simulator module. The toggle switch provides an external control point where you can interact with your system. Wire the I/O module to the field device prior to applying power to the system. (This will ensure that a point is not accidentally turned on during the wiring operation.) Wire the discrete input module as shown below. If you are using a module other than the D3–08ND2 you will need to refer to Chapter 6, Discrete Input Modules, for wiring information. Chapter 2, Installation and Safety Guidelines provides a list of I/O wiring guidelines. In the example below there is a discrete input module and a discrete output module in the base. The discrete input module is connected to an external switch. D3-08TD2 D3-08ND2 4 0 4 0 5 1 5 1 6 2 6 2 7 3 7 3
Note: the switch must be wired to input point 0 for our example.
Output Module
Toggle Switch
Step 5: Remove the Terminal Strip Access Cover Remove the base terminal strip cover.
D3-08TD2 0 4 1 5 2 6 3 7
D3-08ND2 0 4 1 5 2 6 3 7
Base Terminal Strip
Page 335
A–5 Quick Start Example
If you are using 110VAC to power the base you must wire to the top 2 designated terminals. If you are using a 220VAC power source then you wire to the top and third designated terminals. You can find a detailed explanation of the terminal block on the bases in Chapter 2, Installation and Safety Guidelines.
Wire the appropriate power connections to the base as shown below. Once wiring is completed insert the base terminal strip cover. AC Line
110VAC Wiring
220VAC Wiring
AC Neutral
D3-08TD2 0 4 1 5 2 6 3 7
D3-08ND2 0 4 1 5 2 6 3 7
110VAC wiring is shown
Appendix B DL405 Product Cross Ref.
WARNING: To minimize the risk of electrical shock, make sure the power source is disconnected before you connect the power wiring. Also, make sure you connect the power wiring correctly. The unit will be damaged if you connect 220 VAC to the 115 VAC terminals.
Appendix A Quick Start Example
Step 6: Connect the Power Wiring
Page 336
A–6
Appendix B DL405 Product Cross Ref.
Appendix A Quick Start Example
Quick Start Example
Step 8: Connect the Handheld Programmer Put the handheld programmer’s key switch in the PRG position. Attach the handheld programmer directly to the front of the CPU making sure the port on the back of the programmer aligns properly with the port on the CPU and the programmer’s latches connect with the slots in the base power supply. Apply power to the base. LEDs on the programmer will display indicating a good connection. Handheld Programmer
Key switch in PRG mode