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

The text of a manual · part 20 of 29

AnS(H) CPU User's Manual: 11. TROUBLESHOOTING, pages 149 to 156

Pages 149 to 156 of 242, from AnS(H) CPU User's Manual

The original document is the PDF (3.1 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 Mitsubishi A1S38

Page 149

11. TROUBLESHOOTING 11.3

MELSEC-A

Error Code List If an error occurs in the RUN mode, an error display or error code (including a step number) is stored in the special register by the self-diagnosis function. The error code reading procedure and the causes of and corrective actions for errors are shown in Table 11.1.

11.3.1

Error codes The followings are the explanation about the descriptions and the causes of the error messages, error codes and the detailed error codes, and their corrective actions. The detailed error codes are stored in D9092 only when using the dedicated instruction for CC-Link. Table 11.1 Error codes

Error message

Contents of special register D9008 (BIN value)

Deaile error code (D9092), INSTRUCT CODE ERR.

10

101

103 104 105

CPU status

Error and cause

An instruction code which cannot be decoded by the CPU is included in the program. (1) A memory cassette containing an invalid instruction code has been loaded. (2) The occurrence of an error destroyed the memory contents, adding an instruction code that cannot be read to the memory. An instruction code which cannot be decoded by the CPU is included in the STOP program. (1) A memory cassette containing an invalid instruction code has been loaded. (2) The occurrence of an error destroyed the memory contents, adding an instruction code that cannot be read to the memory. The device specified in the extension applied instruction is incorrect. Program configuration of the extension applied instruction is incorrect. The command name of the extension applied instruction is incorrect.

PARAMETER ERROR

11, The contents of the memory installed in the PC CPU have been destroyed STOP because of noise, or the failure of the memory cassette.

MISSING END INS.

12, STOP

(1) There is no END (FEND) instruction in the program.

11 - 10

Corrective action

(1) Read the error step by using a peripheral device and correct the program at that step. (2) In the case of the memory cassette, rewrite the contents of the ROM, or replace with a memory cassette whose contents have been correctly written. (1) Read out the steps where the error occurred using a peripheral device, and correct the program. (2) Check if the used ROM contains instruction codes that cannot be interpreted, and insert the correct ROM.

Read the error step by using a pheripheral device and correct the program at that step. (1) Check the loading of the PC CPU memory cassette and load it correctly. (2) Read the parameter data from the PC CPU by using a periperhal device. Make any necessary corrections and write it to the PC CPU again. (1) Write END at the end of the program.

Page 150

11. TROUBLESHOOTING

Error message

Contents of special register D9008 (BIN value)

Deaile error code (D9092)

CAN'T EXECUTE (P)

13, CHK FORMAT ERR.

14, MELSEC-A

CPU status

Error and cause

Corrective action

(1) There is no jump destination for plural (1) Read the error step by using a peripheral device and correct destinations specified by the CJ, SCJ, the program at that step. CALL, CALLP or JMP instructions. (Make corrections such as the (2) Although there is no CALL instruction, insertion of a jump destination or the RET instruction exists in the the changing of jump program and has been executed. destinations to one destination.) (3) The CJ, SCJ, CALL, CALLP or JMP instruction has been executed with its jump destination located below the END instruction. (4) The number of FOR instructions does not match the number of NEXT TOP instructions. (5) The JMP instruction specified between FOR and NEXT has caused the execution to deviate from between FOR and NEXT. (6) The JMP instruction has caused the execution to deviate from the subroutine before the RET instruction is executed. (7) The JMP instruction has caused execution to jump to a step or subroutine between FOR and NEXT. (1) There are instructions (including NOP) (1) Check the program of the CHK other than LDX, LDIX, ANDX and ANIX instruction circuit block (1) to (7) in the CHK instruction circuit block. in the left column. Correct (2) There is more than one CHK instruction. errors using a peripheral device (3) The number of contact points in the and restart the operation. CHK instruction circuit block exceeds (2) This error code is only valid 150. when the direct method is used (4) The X device number in the CHK for I/O control. instruction circuit block exceeds X7FE. (5) There is no circuit block in front of the CHK instruction circuit block. STOP CJ[ ]

(6) D1 device (number) of the CHK/D1/D2 instructions is different from the contact device (number) above the CJ [ ] instruction. (7) Pointer P254 is not attached to the start of the CHK instruction circuit block. P254

CAN'T EXECUTE (I)

15, CHK

D1

D2

(1) Although the interrupt module is used,, there is no number for interrupt pointer I, which corresponds to that module,, in the program, or more than one number for pointer I exists in the program. STOP (2) No IRET instruction has been entered in the interrupt program. (3) There is an IRET instruction somewhere besides the interrupt program.

11 - 11

(1) Check for the presence of interrupt program which corresponds to the interrupt module and create an interrupt program or reduce the number of Is to one. (2) Check if there is an IRET instruction in the interrupt program and enter the IRET instruction. (3) Check if there is an IRET instruction somewhere besides the interrupt program and delete that IRET instruction.

Page 151

11. TROUBLESHOOTING

Error message

ROM ERR (for A1SHCPU)

Contents of special register D9008 (BIN value)

17

Deaile error code (D9092), RAM ERROR

20, OPE. CIRCUIT ERR.

21, WDT ERROR

22, END NOT EXECUTE

24, WDT ERROR

25, module VERIFY ERR.

31, FUSE BREAK OFF

32, CPU status

STOP

MELSEC-A

Error and cause

Corrective action

(1) Parameters and/or sequence programs are not correctly written to the installed memory cassette.

(1) Write parameters and/or sequence programs correctly to the memory cassette. (2) Remove a memory cassette which does not have any parameter and/or sequence program. Since this is a PC CPU hardware fault, consult your nearest Mitsubishi representative.

(1) The PC CPU has checked if write and read operations can be performed properly with respect to the data STOP memory area of the PC CPU. Normal writing and/or read/write turned out to be impossible. (1) The operation circuit, which performs the sequence processing in the PC STOP CPU, does not operate properly Scan time exceeds watchdog monitoring (1) Calculate and check the scan time. time of the user program and (1) Scan time of user program is excessive. reduce the scan time by the use (2) Scan time has lengthened due to of CJ instructions, etc. instantaneous power interruption (2) Monitor the contents of special which occurred during the scan. register D9005 by using a STOP peripheral device. If the contents are other than 0, the line voltage is insufficient. Therefore, check the power and eliminate the voltage fluctuation. (1) When the END instruction is executed, (1) Perform reset and RUN. If the it is read as another instruction code same error is displayed again, it due to noise, etc. is a PC CPU hardware fault. STOP Therefore, consult your nearest (2) The END instruction has changed to another instruction code. Mitsubishi representative. The END instruction cannot be executed Check for an endless loop and STOP with the program looped. correct the program. I/O module data is different from that at (1) Among special registers D9116 power ON. to D9123, the bit corresponding (1) The I/O module (including the special to the module verify error is set function module) is incorrectly to "1". Therefore, monitor the STOP disengaged or has been removed, or a registers by using a peripheral (RUN) different module has been loaded. device and check for the module whose bit is "1". (2) When the fault has been corrected, reset the PC CPU. (1) There is an output module with a (1) Check the blown fuse indicator blown fuse. LED of the output module and (2) The external power supply for the change the fuse in the module output load is OFF or not connected. whose LED is ON. (2) Checking modules for blown fuses can also be done with a peripheral device. Among STOP special registers D9100 to (RUN) D9107, the bit corresponding to the module with a blown fuse is set to "1". Therefore, check by monitoring the registers. (3) heck the ON/OFF status of the external power supply for the output load.

11 - 12

Page 152

11. TROUBLESHOOTING

Error message

Contents of special register D9008 (BIN value)

Deaile error code (D9092)

CONTROL-BUS ERR.

40, SP. module DOWN

41, I/O INT. ERROR

43, SP. module LAY. ERR.

44, - SP. module ERROR

43

462

LINK PARA. ERROR

47, OPERATION ERROR

50, CPU status

MELSEC-A

Error and cause

The FROM and TO instructions cannot be executed. (1) Control bus error in the special function module. STOP

Corrective action

(1) This is a special function module, CPU module or base module hardware fault. Therefore, change the module and check the defective module. Consult your nearest Mitsubishi representative about the defective module. When FROM and TO instructions cannot This is a hardware fault in a special be executed. function module to which access has been made. Therefore, consult your STOP (1) Control bus error in the special function module. nearest Mitsubishi representative about the defective module. Although the interrupt module is not (1) This is a module hardware fault. installed, an interruption has occurred. Therefore, change the module and check the defective module. STOP Consult your nearest Mitsubishi representative about the defective module. (1) Three or more computer link modules (1) Reduce the number of computer link modules to two or less. are installed in a single CPU module. (2) Use one data link module. (2) Two or more data link modules are (3) Use one interrupt module. installed. (4) Reset the I/O assignment in the (3) Two or more interrupt modules are parameter setting according to installed. STOP the actually loaded special (4) In the parameter setting of the function module by using a peripheral device, while an I/O module peripheral device. is actually installed, a special function module has been set in the I/O assignment, or vice versa. (1) Access (execution of FROM/TO (1) Read the error step by use of instruction) has been made to a peripheral device, and check and location where there is no special correct the content of the function module. FROM/TO instruction at that step by using a peripheral device. (1) Match the model name specified STOP (1) The model name of the module specified in the CC-Link dedicated by I/O allocation parameter with (RUN) instruction is different from that that specified in the CC-Link specified by I/O allocation parameter. dedicated instruction. (2) The module specified by a CC-Link (2) Read the error step with a dedicated instruction is not a master peripheral device. Check and module. correct the CC-Link dedicated instruction in the step. (1) The contents which have been written (1) Write the parameters again and to the parameter area of the link by check. setting the link range in the parameter (2) If this message is displayed setting of peripheral device are different again, there is a hardware fault. RUN from the link parameter contents. Therefore, consult your nearest (2) The setting for the total number of Mitsubishi representative. slave stations is 0 (1) Use a peripheral device to read (1) The result of BCD conversion has the error step and check and exceeded the specified range (9999 or correct the program at that step. 99999999). (Check device setting range, (2) A setting has been done which RUN BCD conversion value, etc.) exceeds the specified device range (STOP) and the operation cannot be done. (3) File registers are used in the program without performing the capacity setting of file registers.

11 - 13

Page 153

11. TROUBLESHOOTING

Error message

Contents of special register D9008 (BIN value)

Deaile error code (D9092)

503 504 OPERATION ERROR

50

CPU status

MELSEC-A

Error and cause

The storage data or constant for the specified device is out of range. The set number of data to be handled exceeds the usable range. RUN The number of CC-Link dedicated (STOP) instructions for one scan exceeds 64.

509

BATTERY ERROR

70, RUN

CC-Link dedicated instruction was executed to the CC-Link module in which parameters are not set. (1) The battery voltage is below 24 V DC. (2) The battery lead is disconnected.

11 - 14

Corrective action

Read the error step by using a pheripheral device and correct the program at that step. Decrease the number of CC-Link dedicated instructions executed for one scan to 64 or less Set the parameters.

(1) Change the battery. (2) When RAM or power interruption compensation is used, connect the battery.

Page 154

11. TROUBLESHOOTING 11.4

MELSEC-A

I/O Connection Troubleshooting This section explains possible problems with I/O circuits.

11.4.1

Input circuit troubleshooting This section describes possible problems with input circuits, and corrective action. Table 11.2 Input circuit problems and corrective action Condition

Cause

Corrective action

Leakage current of input switch (e.g. drive by noncontact switch). AC input

• Connect an appropriate resistor which will make the voltage across the terminals of the input module lower than the OFF voltage value. AC input

Example 1

Input signal does not turn OFF

C R

Input module

Leakage current

C R

Input module

Power supply

Drive by a limit switch with neon lamp. AC input

Example 2

Input signal does not turn OFF

Leakage current

It is recommended to use 0.1 to 0.47 µF + 47 to 120 Ω (1/2 W) for the CR constant. • Same as Example 1. • Or make up another independent display circuit.

Input module

Power supply

Leakage current due to line capacity of wiring cable. (Line capacity C of twisted pair wire is approx. 100 PF/m). AC input

Example 3

Input signal does not turn OFF

• Same as Example 1. • However, leakage current is not generated when the power supply is located in the input equipment side as shown below. AC input

Leakage current

Input module

Input module

Power supply

Power supply

• Connect a register which will make the voltage between the input module terminal and common higher than the OFF voltage, as shown below.

Drive by switch with LED indicator.

DC input (sink)

Example 4

Input signal does not turn OFF

Leakage current

DC input (sink) Resistor

Input module

Input module

* An example calculation of a value for a connected resistor is given on the following page.

11 - 15

Page 155

11. TROUBLESHOOTING

MELSEC-A

Table 11.2 Input circuit problems and corrective action Condition

Cause

Corrective action

• Sneak path due to the use of two power supplies.

Example 5

Input signal does not turn OFF

• Use only one power supply. • Connect a sneak path prevention diode. (Figure below)

E1

E2

Input module E1

Input module E2

E1 > E2

<Example calculation for Example 4> The switch with an LED indicator is connected to A1SX40, and there is a 4 m A leakage current. A1SX40

Leakage current 4 m A

Input module

3.6 kw

(1)

Since the leakage current does not reach the 1 m A OFF current of the A1SX40, the input signal does not go OFF. Connect a resistor as shown below : A1SX40 IZ = 1 m A

4mA IR = 3 m A 3.6 kw

(2)

R

Z

Input impedance 3.3 w

24 V DC

Calculate the value of the connected resistor R as follows : To reach the 1 m A OFF current of the A1SX40, connect a resistor R through which a current of 3 m A or greater flows. I.MDSD/R.MDNM/ : I.MDSD/Z.MDNM/ = Z (input impedance) : R lz 1 R ≤, × (input impedance) = – × 3.3 = 1.1 [k Ω] lR 3 R < 1.1 k Ω When R = 1 k Ω, the power capacity must be : W = (applied voltage) ÷ R = 26.4 ÷ 1000 (Ω) = 0.7 (W) 2

(3)

2

The power capacity of the resistor should be three to five times as large as the actual power consumption. The problem can therefore be solved by connecting a 1 k Ω, 2 to 3 W resistor to the terminal in question.

11 - 16

Page 156

11. TROUBLESHOOTING 11.4.2

MELSEC-A

Output circuit failures and corrective action Table 11.3 Output circuit failures and corrective action Condition

Example 1

Example 2

When the output is OFF, excessive voltage is applied to the load.

The load does not turn OFF (triac output)

Cause

Corrective action

• Load is half-wave rectified inside (in some cases, this is true of a solenoid).

• Connect a resistor of 10 to 99 k Ω. across the load. If a resistor is used in this way, it does not pose a problem to the output element. But it may cause the diode, which is built into the load, to deteriorate, resulting in a fire, etc.

A1SY22 Output module

D1

(1)

Load (2)

When the polarity of the power supply is as shown in [1], C is charged. When the polarity is as shown in [2], the voltage charged in C plus the line voltage are applied across D1. Max. voltage is approx. 2.2E. • Leakage current due to built-in noise suppression A1SY22 Output module

Load Leakage current

Resistor

Load

• Connect C and R across the load. When the wiring distance from the output card to the load is long, there may be a leakage current due to the line capacity. Resistor

Load

• Drive the relay using a contact and drive the CR type timer using the same contact.

Example 3

When the load is a CR type timer, time constant fluctuates (triac output).

CR timer

Some timers have half-wave rectified internal circuits. Therefore, take the precautions indicated in the Example1.

Leakage current

Resistor

A1SY22 Output module

CR timer

Calculate the CR constant depending on the load.

11 - 17