Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 57 of 68

DL405 User Manual: Chapter 9: Maintenance and Troubleshooting, pages 505 to 513

Pages 505 to 513 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 505

Maintenance and Troubleshooting

19

In This Chapter. . . ., Hardware Maintenance, Diagnostics, CPU Indicators, I/O Module Troubleshooting, Noise Troubleshooting, Machine Startup and Program Troubleshooting

Page 506

9--2

Maintenance and Troubleshooting

Hardware Maintenance Standard Maintenance

A routine maintenance check (about every one or two months) or your PLC and control system is good practice, an should include the following items: S Air Temperature -- Check the ambient air temperature in the control cabinet, so the operating temperature range of any component is not exceeded. S Air Filter -- If the control cabinet has an air filter, clean or replace it periodically as required. S Memory Backup Battery -- Make sure the CPU memory backup battery does not become completely discharged. The CPU uses the same battery indicator to signal a low CPU battery and if applicable a low memory cartridge battery. Make sure you have correctly diagnosed which battery is requiring replacement. S Fuses or breakers -- verify that all fuses and breakers are intact. S DL405 Module Air Vents -- verify that all air vents of the CPU and all I/O modules are clear, allowing air to circulate for cooling.

CPU Battery Replacement

The CPU battery is used to retain program V-memory and the system parameters. The life expectancy of this battery is five years.

Maintenance and Troubleshooting

NOTE: Before replacing your CPU battery you should back-up your V-memory and system parameters. This can be done by saving the V-memory and system parameters to either a Memory Cartridge or to cassette tape or by using DirectSOFT to save the program to hard/floppy disk on a personal computer. To prevent memory loss the CPU battery can be changed while the system is powered up. If the CPU has been powered off you should power-up the CPU for at least 5 seconds prior to changing the battery. This is done to ensure the capacitor used to maintain the proper voltage levels necessary to retain memory is fully charged.

Replace battery with part #D3--D4--BAT

DL405 User Manual, 4th Edition

To replace the CPU battery: S Pull the battery out from the battery retaining clip. S Lift the clip on the two wire battery connector. S Slide the battery connector apart. To install the CPU battery: S Join the (keyed) battery connector so the red wires match. S Push gently till the connector snaps closed S Slide the battery into the battery retaining clip till the battery lies flush in the opening. S Note the date the battery was changed. WARNING: Do not attempt to recharge the battery or dispose of it by fire. The battery may explode or release hazardous materials.

Page 507

Maintenance and Troubleshooting CMOS RAM Memory Cartridge Battery Replacement

9--3

The CMOS RAM Memory Cartridge battery is used to maintain the contents of the Memory Cartridge RAM when the power is turned off. The life expectancy of this battery is three years. NOTE: For added security you will want to save the contents of the memory cartridge to either another memory cartridge, cassette tape, or computer disk,to avoid losing the contents of the memory cartridge when the battery is removed. The memory cartridge does however have a built in capacitor to retain the memory for several minutes while the battery is being replaced. If the system has been powered off, you should power-up the CPU with the memory cartridge installed for at least 5 seconds prior to changing the battery. This is done to ensure the capacitor used to maintain the proper voltage levels necessary to retain memory is fully charged. WARNING: Never remove the Memory Cartridge from the CPU when the CPU is powered-up. If the memory cartridge is removed while under power the memory cartridge may become unreliable. Do not attempt to recharge the battery or dispose of it by fire. The battery may explode or release hazardous materials.

Replace battery with part # D4--MC--BAT

DL405 User Manual, 4th Edition

Maintenance and Troubleshooting

To remove the CMOS RAM Memory Cartridge battery: 1. Power down the CPU. 2. Remove the memory cartridge from the CPU by gently pulling the lever down till the cartridge is loosened, then pull the lever straight out . 3. Remove the cover retaining screw. 4. Lift top cover off ( lifting at a slight tilt to avoid breaking the guides beside the connector). 5. Grasp battery and lift straight up. To install the CMOS RAM Memory Cartridge battery: 1. Align the battery leads to the (keyed) holes in the circuit board. 2. Press the battery flush with the circuit board. 3. Place cover back on module (using a slight tilt to catch the guides beside the connector). 4. Install the cover retaining screw. 5. Note the date the battery was changed.

Page 508

9--4

Maintenance and Troubleshooting

Maintenance and Troubleshooting

Diagnostics Diagnostics

DL405 performs over 90 pre-defined diagnostic routines with every CPU scan. The diagnostics have been designed to detect failures for the CPU local base and local expansion bases. These detected errors cover the following: CPUs, expansion units, I/O, bases, communication modules, memory cartridges and batteries. There are two primary error classes: fatal and non-fatal.

Fatal Errors

Fatal errors are errors the CPU has detected that offer a risk of the system not functioning safely or properly. They will either cause the CPU to change from RUN mode to PROGRAM or will disallow changing from PROGRAM mode to RUN mode. If the fatal error is detected while in PROGRAM mode the CPU will not enter the RUN mode until the error has been corrected. Examples of fatal errors: S Power supply failure on the CPU base S Parity error or CPU malfunction S Certain programming errors

Non-fatal Errors

Non-fatal errors are errors that are flagged by the CPU as requiring attention. They can neither cause the CPU to change from RUN mode to PROGRAM nor do they prevent entering RUN mode. There are special relays the application program can use to detect if a non-fatal error has occurred. The application program can then be used to take the system to an orderly shutdown or switch the PLC out of RUN mode if needed. Example of non-fatal errors are: S Battery backup battery voltage low S All I/O module errors S Certain programming errors

Finding Diagnostic Diagnostic information can be found in several places with varying levels of message detail. Information S The CPU automatically logs error codes and any FAULT messages into two separate tables which can be viewed with the Handheld or DirectSOFT. S The handheld programmer displays error numbers and short descriptions of the error. S DirectSOFT provides the error number and an error message. S Appendix B in this manual has a complete list of error messages sorted by error number. Many of these messages point to supplemental memory locations which can be referenced for additional related information. These memory references are in the form of V-memory and SPs (special relays). The following two tables name the specific memory locations that correspond to certain types of error messages. The special relay table also includes status indicators which can be used in programming. For a more detailed description of each of these special relays refer to Appendix D.

DL405 User Manual, 4th Edition

Page 509

Maintenance and Troubleshooting V-memory Error Code Locations

9--5

The following table names the specific memory locations that correspond to certain types of error messages. Error Class

Error Category

Diagnostic V-memory

Minor

Battery Voltage (DL450)

V7746

System

10ms calender timer (DL440/450)

V7747

User-defined

Fault message error code

V7751

I/O configuration

Current module ID code

V7752

I/O configuration

Correct module ID code

V7753

I/O configuration

Base number/Slot number

V7754

Fatal

Error code

V7755

Major

Error code

V7756

Minor

Communications Error code

V7757

Module

Base number/Slot number

V7760

Module

Error code

V7762

Grammatical

Address

V7763

Grammatical

Error Code

V7764

Special Relays (SP) The special relay table also includes status indicators which can indicate errors. For Corresponding to a more detailed description of each of these special relays refer to Appendix D. Error Codes Startup and Real-time Relays

CPU Status Relays

System Monitoring Relays

Accumulator Status Relays

Communication Monitoring Relays

First scan relay

SP11

Forced run mode relay

SP40

Critical error relay

SP60

Value less than relay

SP120

Module busy relay Slot 0

SP1

Always ON relay

SP12

Terminal run mode relay

SP41

Warning relay

SP61

Value equal to relay

SP121

Communication error relay Slot 0

SP3

1 minute relay

SP13

Test run mode relay

SP43

Battery low relay

SP62

Value greater than relay

SP122

Module busy relay Slot 1

SP4

1 second relay

SP14

Break relay 1

SP44

Program memory error relay

SP63

Zero relay

SP123

Communication error relay Slot 1

SP5

100 millisecond relay

SP15

Test program mode relay

SP45

I/O error relay

SP64

Half borrow relay

SP124

Module busy relay Slot 2

SP6

50 millisecond relay

SP16

Terminal program mode relay

SP46

Communications error relay

SP65

Borrow relay

SP125

Communication error relay Slot 2

SP7

Alternate scan relay

SP17

Forced stop mode relay

SP47

I/O configuration error relay

SP66

Half carry relay

SP126

Module busy relay Slot 3

SP21

Break relay 2

SP50

FAULT instruction relay

SP67

Carry relay

SP127

Communication error relay Slot 3

SP22

Interrupt enabled relay

SP51

Math timeout relay

SP70

Sign relay

SP130

Module busy relay Slot 4

SP25

CPU battery disabled relay

SP52

Grammatical error relay

SP71

Pointer reference error

SP131

Communication error relay Slot 4

SP26

I/O update disable relay (DL440)

SP53

Math/Table pointer error

SP73

Overflow relay

SP132

Module busy relay Slot 5

SP27

Selective I/O update disable relay (DL440)

SP54

Communication error

SP75

Data error relay

SP133

Communication error relay Slot 5

SP30

Dipswitch 1 status relay

SP56

Table instruction overrun relay

SP76

Load zero relay

SP134

Module busy relay Slot 6

SP31

Dipswitch 2 status relay

SP135

Communication error relay Slot 6

SP32

Dipswitch 3 status relay

SP136

Module busy relay Slot 7

SP33

Dipswitch 4 status relay

SP137

Communication error relay Slot 7

DL405 User Manual, 4th Edition

Maintenance and Troubleshooting

SP0

Page 510

9--6

Maintenance and Troubleshooting

I/O Module Codes

Each system component has a code identifier. This code identifier is used in some of the error messages related to the I/O modules. The following table list these codes. Code (Hex)

Component Type

Code (Hex)

Component Type

01

CPU

21

8 pt. Input

02

Expansion Unit

28

16 pt. Output, FL series Analog Output

03

I/O Base

2B

16 pt. Input, FL series Analog Input, Interrupt

11

DCM, All CoProcessor Modules

30

32 pt. Output, DL series Analog Output

12

Remote Master, Slice Master

3F

32 pt. Input, DL series Analog Input

18

High Speed Counter, Magnetic Pulse Input

7F

Abnormal

20

8 pt. Output

FF

No module detected

Maintenance and Troubleshooting

The following diagram shows an example of how the I/O module codes are used:

Incorrect module

Program Control Information V7752 0028 Current module ID code V7753 0026 Current module ID code V7754 0002 Location of conflict V7756 0252 Module Error Code SP45

DL405 User Manual, 4th Edition

I/O abnormality

Page 511

Maintenance and Troubleshooting Error Message Tables X 430 440 450

9--7

The DL440 and DL450 CPUs will automatically log any system error codes and any custom messages you have created in your application program with the Fault instructions. (See Chapter 11 for details on the Fault instruction.) The CPU logs the error code, the date, and the time the error occurred. There are two separate tables that store this information. S System Error Table -- stores up to 32 errors in the table. S Fault Message Table -- stores up to 16 messages in the table. When an error or message is triggered, it is put into the first available table location. Therefore, the most recent error message may not appear in the first row of the table. If the table is full when an error occurs, the oldest error is pushed (erased) from the table and the new error is inserted in the row. The following diagram shows an example of a the Fault Message table as shown in DirectSOFT. You can access the error code table and the message table through DirectSOFT’s PLC Diagnostic sub-menus. Details on how to access these logs are provided in the DirectSOFT manual. Error Msg. Example Most recent message appears here, not at the top of the table.

Next message will show up in this row, which is now the oldest message.

Use AUX 5C to view the tables CLR

AUX

5

SHFT

C

ENT

AUX 5C SHOW ERR/MSG ERR OR MSG

Arrow key selects Errors or Messages SHFT

ENT

Example of a message display

AUX 5C SHOW ERR/MSG ERR OR MSG

PUMP 3 FAILED 04/22/93 17:30:00

DL405 User Manual, 4th Edition

Maintenance and Troubleshooting

You cannot view the entire table at one time with the handheld programmer. Instead, the messages automatically appear on the handheld programmer display as they occur. The message will remain on the display as long as the Fault instruction is being executed. The following examples show you how to use the Handheld and AUX Function 5C to show the error codes. The most recent error or message is always displayed. You can use the PREV and NXT keys to scroll through the messages.

Page 512

9--8

Maintenance and Troubleshooting

System Error Codes X 430 440 450

The System error log contains 32 of the most recent errors that have been detected. The errors that are trapped in the error log are a subset of all the error messages which the DL405 systems generate. The following errors are captured in the System error log upon first detection or reoccurrence. Error Code

Description

Error Code

Description

E003

Software time-out

E155

RAM failure

E004

Invalid instruction (RAM parity error in the CPU)

E201

Terminal block missing

E041

CPU battery low

E202

Missing I/O module

E043

Memory cartridge battery low

E203

Blown fuse

E099

Program memory exceeded

E206

User 24V power supply failure

E101

CPU memory cartridge missing

E250

Communication failure in the I/O chain

E104

Write fail

E251

I/O parity error

E151

Invalid Command

E252

New I/O configuration

Maintenance and Troubleshooting

These errors are captured in the System error log if they exist when the CPU attempts to transition to RUN mode. Error Code

Description

Error Code

Description

E401

Missing END statement

E431

Invalid ISG/SG address

E402

Missing LBL

E432

Invalid jump (GOTO) address

E403

Missing RET

E433

Invalid SBR address

E404

Missing FOR

E434

Invalid RTC address

E405

Missing NEXT

E435

Invalid RT address

E406

Missing IRT

E436

Invalid INT address

E412

SBR/LBL > 64

E437

Invalid IRTC address

E413

FOR/NEXT > 64

E438

Invalid IRT address

E421

Duplicate stage reference

E440

Invalid Data Address

E422

Duplicate SBR/LBL reference

E441

ACON/NCON

E423

Nested loops

DL405 User Manual, 4th Edition

Page 513

Maintenance and Troubleshooting

9--9

CPU Status Indicators The DL405 CPUs have indicators on the front to help you diagnose problems with the system. The table below gives a quick reference of potential problems associated with each status indicator. Following the table is a detailed description of each indicator.

Status

Potential Causes

PWR

OFF

1. Power input voltage is incorrect for selected operating mode, 110/220 VAC select jumper incorrect on CPU terminal strip 2. External power is off or disconnected (check fuses, breakers) 3. Power supply/CPU is faulty 4. Other component such an I/O module has power supply shorted 5. Power budget exceeded for the CPU being used

RUN

OFF

1. CPU programming error 2. Key switch in STOP position

Flashing

CPU is in firmware upgrade mode

CPU

ON

1. Electrical noise interference 2. CPU defective

BATT

ON, or flashing

1. Flashing at 2 Hz: CPU battery low 2. Flashing at 0.5 Hz: Memory cartridge battery low (DL440/DL450 only) 3. On constantly: Both the CPU and MC batteries are low 4. CPU or Memory cartridge battery missing, or disconnected

DIAG (DL450)

ON

1. The CPU internal diagnostics has failed 2. The local bus on the backplane has had a communications error

I/O

ON

1. I/O module failure 2. External power supply failure 3. Configuration error 4. Base expansion unit failure

COM (DL430/ DL440)

ON

1. Device port setup incorrect 2. Cabling error 3. Grounding problem 4. Electrical noise 5. Device port faulty

TXD (DL450)

OFF

1. The CPU is not transmitting data on the secondary ports (ports 1, 2, and 3), due to programming error 2. The CPU is not in Run mode

RXD (DL450)

OFF

1. External device is not transmitting to CPU secondary ports (ports 1, 2, and 3) 2. Communications cable is defective, or not connected

DL405 User Manual, 4th Edition

Maintenance and Troubleshooting

Indicator