The text of a manual · part 48 of 60
C200HX/C200HG/C200HE Programmable Controllers Operation Manual, pages 464 to 473
Pages 464 to 473 of 586
The original document is the PDF (3.4 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 Omron C200HE-CPU42-E
Page 464
Page 465
SECTION 9 Troubleshooting The C200HX/HG/HE provides self-diagnostic functions to identify many types of abnormal system conditions. These functions minimize downtime and enable quick, smooth error correction. This section provides information on hardware and software errors that occur during PC operation. Program input errors are described in 4-7 Inputting, Modifying, and Checking the Program. Although described in Section 3 Memory Areas, flags and other error information provided in SR and AR areas are listed in 9-5 Error Flags. 9-1 9-2 9-3 9-4 9-5 9-6
Alarm Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Programmed Alarms and Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reading and Clearing Errors and Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Error Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Host Link Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
448 448 448 449 453 454
447
Page 466
Reading and Clearing Errors and Messages
9-1
Section 9-3
Alarm Indicators The ALM/ERR indicator on the front of the CPU Unit provides visual indication of an abnormality in the PC. When the indicator is ON (ERROR), a fatal error (i.e., ones that will stop PC operation) has occurred; when the indicator is flashing (ALARM), a nonfatal error has occurred. This indicator is shown in 2-1-1 CPU Unit Indicators. ! WARNING The PC will turn ON the ALM/ERR indicator, stop program execution, and turn OFF all outputs from the PC for most hardware errors, for certain fatal software errors, or when FALS(07) is executed in the program (see tables on following pages). PC operation will continue for all other errors. It is the user’s responsibility to take adequate measures to ensure that a hazardous situation will not result from automatic system shutdown for fatal errors and to ensure that proper actions are taken for errors for which the system is not automatically shut down. System flags and other system and/or user-programmed error indications can be used to program proper actions.
9-2
Programmed Alarms and Error Messages FAL(06), FALS(07), and MSG(46) can be used in the program to provide userprogrammed information on error conditions. With these three instructions, the user can tailor error diagnosis to aid in troubleshooting. FAL(06) is used with a FAL number other than 00, which is output to the SR area when FAL(06) is executed. Executing FAL(06) will not stop PC operation or directly affect any outputs from the PC. FALS(07) is also used with a FAL number, which is output to the same location in the SR area when FALS(07) is executed. Executing FALS(07) will stop PC operation and will cause all outputs from the PC to be turned OFF. When FAL(06) is executed with a function number of 00, the current FAL number contained in the SR area is cleared and replaced by another, if more have been stored in memory by the system. When MSG(46) is used a message containing specified data area words is displayed onto the Programming Console or another Programming Device. The use of these instructions is described in detail in Section 5 Instruction Set.
9-3
Reading and Clearing Errors and Messages System error messages can be displayed onto the Programming Console or other Programming Device. On the Programming Console, press the CLR, FUN, and MONTR keys. If there are multiple error messages stored by the system, the MONTR key can be pressed again to access the next message. If the system is in PROGRAM mode, pressing the MONTR key will clear the error message, so be sure to write down all message errors as you read them. (It is not possible to clear an error or a message while in RUN or MONITOR mode; the PC must be in PROGRAM mode.) When all messages have been cleared, “ERR CHK OK” will be displayed. Details on accessing error messages from the Programming Console are provided in 7-1 Monitoring Operation and Modifying Data. Procedures for the SSS are provided in the SSS Operation Manual: C Series respectively.
448
Page 467
Section 9-4
Error Messages
9-4
Error Messages There are basically three types of errors for which messages are displayed: initialization errors, non-fatal operating errors, and fatal operating errors. Most of these are also indicated by FAL number being transferred to the FAL area of the SR area. The type of error can be quickly determined from the indicators on the CPU Unit, as described below for the three types of errors. If the status of an indicator is not mentioned in the description, it makes no difference whether it is lit or not. After eliminating the cause of an error, clear the error message from memory before resuming operation. Asterisks in the error messages in the following tables indicate variable numeric data. An actual number would appear on the display. The following is a simplified CPU Unit troubleshooting procedure: 1, 2, 3...
1. If the POWER indicator is lit and the RUN indicator is not lit, check the initialization errors. 2. Connect the Programming Console to the PC and check if the mode is displayed. If the mode is not displayed, turn off and restart the power supply. 3. If the ALM/ERR indicator is flashing, check the non-fatal operating errors. 4. Change to the RUN or MONITOR mode and check if the RUN indicator is lit. If the RUN indicator is not lit and all previous steps fail, replace the CPU Unit.
Initialization Errors
The following error messages appear before program execution has been started. The POWER indicator will be lit and the RUN indicator will not be lit for either of these.
Error and message Waiting for Special I/O or Interrupt Input Units
FAL no. None
CPU WAIT'G
Probable cause
Possible correction
A Special I/O Unit or Interrupt Input Unit has not initialized.
Perform the I/O Table Read operation to check unit numbers. Replace Unit if it is indicated by “$” only in the I/O table. (High-density I/O Units will not appear on I/O Table Read display for all peripheral devices.)
Waiting for Remote I/O
None
CPU WAIT'G
Non-fatal Operating Errors
Power to Remote I/O Unit is off or terminator cannot be found.
Check power supply to Remote I/O Units, connections between Remote I/O Units, and terminator setting.
The following error messages appear for errors that occur after program execution has been started. PC operation and program execution will continue after one or more of these errors have occurred. For each of these errors, the POWER and RUN indicators will be lit and the ALM/ERR indicator will be flashing.
Error and message FAL error
FAL no.
Probable cause
Possible correction
01 to 99
FAL(06) has been executed in program. Check the FAL number to determine conditions that would cause execution (set by user).
Correct according to cause indicated by FAL number (set by user).
8A
An error occurred in data transfer between the Interrupt Input Unit and the CPU Unit.
Replace the Interrupt Input Unit.
SYS FAIL FAL**
Interrupt Input Unit error
SYS FAIL FAL8A
449
Page 468
Section 9-4
Error Messages Error and message
FAL no. 8B
Probable cause
Possible correction
An interrupt subroutine longer than 10 ms was executed during I/O refreshing of a Remote I/O Unit or during Host Link servicing. An attempt was made to execute a different type of I/O refresh from the type set for the Special I/O Unit cycle refresh.
Check the contents of SR 262 and SR 263 and verify that the interrupt subroutine’s processing time is less than 10 ms.
9A
An error occurred in data transfer between a High-density I/O Unit and the CPU Unit.
Check AR 0205 to AR 0214 to identify the Unit with a problem, replace the Unit, and restart the PC.
9B
An error has been detected in the PC Setup. This error will be generated when the setting is read or used for the first time.
Check and correct the PC Setup settings.
Interrupt subroutine error
SYS FAIL FAL8B
High-density I/O Unit error
SYS FAIL FAL9A
PC Setup error
SYS FAIL FAL9B
Change the program or the Special I/O Unit cycle refresh setting so that the same refresh method is used.
(SR 27500 to SR 27502 indicate which part of the PC Setup is incorrect.)
9C
An error has occurred with a Refer to the Communications Board. Communications Board’s Operation Manual for details.
9D
An error has occurred during data transmission between UM and a Memory Cassette because:
Communications Board error
SYS FAIL FAL9C
Memory Cassette Transfer error
SYS FAIL FAL9D
Not in PROGRAM Mode. UM or Memory Cassette is read-only. Insufficient capacity in UM or Memory Cassette. A checksum error occurred in the Memory Cassette
Make sure that the PC is in PROGRAM mode. Make sure that the Memory Cassette is not write-protected. Make sure that the UM and Memory Cassette capacity is sufficient. Make sure that SYSMAC NET data links are not active during the transfer. Transfer the data again.
Cycle time overrun
F8
Watchdog timer has exceeded 100 ms.
Program cycle time is longer than recommended. Reduce cycle time if possible.
E7
Unit has been removed or replaced by a different kind of Unit, making I/O table incorrect.
Use I/O Table Verify Operation to check I/O table and either connect dummy Units or register the I/O table again.
B0 or B1
Error occurred in transmissions between Remote I/O Units.
Check transmission line between PC and Master and between Remote I/O Units.
CYCLE TIME OVER
I/O table verification error
I/O VER ERR
Remote I/O error
REMOTE ERR Remote I/O Master Unit number
450
*
Page 469
Section 9-4
Error Messages Error and message
FAL no.
Special I/O Unit error
Probable cause
Possible correction
D0
Error has occurred in PC Link Unit, Remote I/O Master Unit, between a Host Link, SYSMAC LINK, or SYSMAC NET Link Unit and the CPU Unit, or in refresh between Special I/O Unit and the CPU Unit.
Determine the unit number of the Unit which caused the error (AR 00 or SR 282), correct the error, and toggle the appropriate Restart Bit in AR 01, SR 250, or SR 252. If the Unit does not restart, replace it.
F7
Backup battery is missing or its voltage has dropped.
Check battery, and replace if necessary.
SIOU ERR
Battery error
BATT LOW
Fatal Operating Errors
The following error messages appear for errors that occur after program execution has been started. PC operation and program execution will stop and all outputs from the PC will be turned OFF when any of the following errors occur. No CPU Unit indicators will be lit for the power interruption error. For all other fatal operating errors, the POWER and ALM/ERR indicators will be lit. The RUN output will be OFF.
Error and message Power interruption
FAL no.
Possible correction
Power has been interrupted for at least 10 ms.
Check power supply voltage and power lines. Try to power-up again.
F1
SR 27211 ON:
Check the PC Setup.
A checksum error has occurred in the PC Setup (DM 6600 to DM 6655). SR 27212 ON:
Check the program.
No message.
Memory error
Probable cause
None
MEMORY ERR
A checksum error has occurred in the program, indicating an incorrect instruction. SR 27213 ON A checksum error has occurred in an expansion instruction change. SR 27214 ON: Memory Cassette was installed or removed with the power on. SR 27215 ON: Autoboot error. F0
No END(01) instruction
NO END INST
I/O bus error
I/O BUS ERR
*
Rack no.
END(01) is not written anywhere in program.
C0 to C3 Error has occurred in the bus line between the CPU Unit and I/O Units.
Install the Memory Cassette correctly.
Check whether the CPU Unit memory is protected or a checksum error occurred in the Memory Cassette. Write END(01) at the final address of the program.
The rightmost digit of the FAL number indicates the number of the Rack where the error was detected. Check the cable connections between Racks.
451
Page 470
Section 9-4
Error Messages Error and message Too many Units
FAL no. E1
I/O UNIT OVER
Probable cause
Possible correction
Two or more Special I/O Units or Group-2 High-density I/O Units are set to the same unit number.
Perform the I/O Table Read operation to check unit numbers, and eliminate duplications.
The unit number of a Special I/O Unit that requires two words is set to the last unit number (9 or F).
Unit numbers of Units that require two words cannot be set to the last unit number. Change the unit number to an allowed setting.
The I/O number of a 64-pt Group-2 High-density I/O Unit is set to the last unit number (9 or F).
Unit numbers of 64-pt Group-2 High-density I/O Units cannot be set to the last unit number. Change the unit number to a valid setting.
Two SYSMAC NET Link or SYSMAC LINK Units share the same operating level. Three or more Interrupt Input Units are mounted. The unit number of a Special I/O Unit or High-density I/O Unit isn’t within the allowed setting range.
Check the SYSMAC NET Link and SYSMAC LINK Unit operating levels and eliminate duplications. Up to two Interrupt Input Units can be mounted. Set the unit number within the allowed setting range.
A third Expansion Rack Disconnect the third Rack has been connected to a unless the PC can PC which can accommodate three Racks. accommodate only two. Input-output I/O table error
E0
Input and output word designations registered in I/O table do no agree with input/output words required by Units actually mounted.
Check the I/O table with I/O Table Verification operation and check all Units to see that they are in correct configuration. When the system has been confirmed, register the I/O table again.
01 to 99 or 9F
FALS has been executed by the program. Check the FAL number to determine conditions that would cause execution (Set by user or by system).
Correct according to cause indicated by FAL number. If FAL number is 9F, check watchdog timer and cycle time, which may be too long.
There is an error in the CPU.
Turn ON the power again in PROGRAM mode.
I/O SET ERROR
FALS error
SYS FAIL FALS**
- - - - - - - - - - - - - - - - - - -
Check the program. (Or the previous message may be displayed.)
Communications Errors
If errors occur in communications, the indicator the peripheral port and RS-232C port (COMM) will not light. Check the connection, programming on both ends (C200HX/HG/HE and peripheral), and then reset the port using the reset bit (RS-232C port: SR 25209).
Other Error Messages
A number of other error messages are detailed within this manual. Errors in program input and debugging can be examined in Section 4 Writing and Inputting the Program.
452
Page 471
Section 9-5
Error Flags
9-5
Error Flags The following table lists the flags and other information provided in the SR and AR areas that can be used in troubleshooting. Details are provided in 3-4 SR Area and 3-5 AR Area.
SR Area Address(es)
Function
23600 to 23615
Node loop status for SYSMAC NET Link system
23700 to 23715
Completion/error code output area for SEND(90)/RECV(98) in SYSMAC LINK/SYSMAC NET Link
24700 to 25015
PC Link Unit Run and Error Flags
25100 to 25115
Remote I/O Error Flags
25200
SYSMAC LINK/SYSMAC NET Link Level 0 SEND(90)/RECV(98) Error Flag
25203
SYSMAC LINK/SYSMAC NET Link Level 1 SEND(90)/RECV(98) Error Flag
25206
Rack-mounting Host Link Unit Level 1 Error Flag
25208
RS-232C Port Error Flag
25300 to 25307
FAL number output area.
25308
Low Battery Flag
25309
Cycle Time Error Flag
25310
I/O Verification Error Flag
25311
Rack-mounting Host Link Unit Level 0 Error Flag
25312
Remote I/O Error Flag
25411
Interrupt Input Unit Error Flag
25413
Interrupt Programming Error Flag
25414
Group-2 High-density I/O Unit Error Flag
25415
Special Unit Error Flag (Special I/O, PC Link, Host Link, Remote I/O Master, SYSMAC NET Link, or SYSMAC Link Unit Error Flag)
25503
Instruction Execution Error (ER) Flag
26400 to 26403
RS-232C Port Error Code
26404
RS-232C Port Communications Error
26408 to 26411
Peripheral Port Error Code (except Peripheral Mode)
26412
Peripheral Port Communications Error Flag (except Peripheral Mode)
26800 to 26815
Communications Board Error Information
27011
UM Transfer Error Flag: SYSMAC NET data link active during data link table transfer.
27012
UM Transfer Error Flag: Not PROGRAM mode
27013
UM Transfer Error Flag: Read Only
27014
UM Transfer Error Flag: Insufficient capacity or no UM
27015
UM Transfer Error Flag: Board Checksum Error
27211
Memory Error Flag: PC Setup Checksum Error
27212
Memory Error Flag: UM or Ladder Checksum Error
27213
Memory Error Flag: Expansion Instruction Code Change Area Checksum Error
27214
Memory Error Flag: Memory Cassette Online Disconnection
27215
Memory Error Flag: Autoboot Error
27312
IOM Transfer Error Flag: Not PROGRAM mode
27313
IOM Transfer Error Flag: Read Only
27314
IOM Transfer Error Flag: Insufficient capacity
27500
PC Setup Error (DM 6600 to DM 6605)
27501
PC Setup Error (DM 6613 to DM 6623)
27502
PC Setup Error (DM 6635 to DM 6655)
453
Page 472
Section 9-6
Host Link Errors Address(es) 28000 to 28015 28200 to 28215 28300 to 28303 28308 to 28311
Function Group-2 High-density I/O Unit Error Flags for Units 0 to F Special I/O Unit Error Flags for Units 0 to F Communications Board Port A Error Code Communications Board Port B Error Code
AR Area Address(es) 0000 to 0009 0010 0011 0012 0013 0014 0015 0200 to 0204 0205 to 0214 0215 0300 to 0315 0400 to 0415 0500 to 0515 0600 to 0615 0713 to 0715 1114 1115 1514 1515
9-6
Function Special I/O or PC Link Unit Error Flags SYSMAC LINK/SYSMAC NET Link Level 1 System Error Flags SYSMAC LINK/SYSMAC NET Link Level 0 System Error Flags Rack-mounting Host Link Unit Level 1 Error Flag Rack-mounting Host Link Unit Level 0 Error Flag Remote I/O Master Unit 1 Error Flag Remote I/O Master Unit 0 Error Flag Error Flags for Slave Racks 0 to 4 Group-2 High-density I/O Unit Error Flags (AR 0205 to AR 0214 correspond to I/O numbers 0 to 9.) Group-2 High-density I/O Unit Error Flag Optical I/O Units (0 to 7) Error Flags Optical I/O Units (8 to 15) Error Flags Optical I/O Units (16 to 23) Error Flags Optical I/O Units (24 to 31) Error Flags Error History Bits Communications Controller Error Flag Level 0 EEPROM Error Flag for operating level 0 Communications Controller Error Flag Level 1 EEPROM Error Flag for operating level 1
Host Link Errors These are the response codes (end codes) that may be returned in the response frame. When two or more errors occur, the end code for the first error will be returned.
End code 00
Normal completion
---
01
Not executable in RUN mode
The command that was sent cannot be executed when the PC is in RUN mode.
02
Not executable in MONITOR mode
The command that was sent cannot be executed when the PC is in MONITOR mode.
03
UM write-protected
The PC’s UM is write-protected.
04
Address over
The program address setting in an SV Read or SV Change command exceeds the 65,535 maximum.
13
FCS error
The FCS is wrong. Either the FCS calculation is mistaken or there is adverse influence from noise.
Check the FCS calculation method. If there was influence from noise, transfer the command again.
14
Format error
The command format is wrong or a command that can’t be divided has been divided.
Check the format and transfer the command again.
15
Entry number data error
The data is outside of the specified range or too long.
Correct the data and transfer the command again.
454
Contents
Probable cause
Corrective measures --Check the relation between the command and the PC mode.
Turn OFF pin 1 of the CPU Unit’s DIP switch. Correct the program address setting and transfer the command again.
Page 473
Section 9-6
Host Link Errors End code 16
Command not supported
The operand specified in an SV Check the command and program. Read or SV Change command does not exist in the program.
18
Frame length error
The maximum frame length of 132 bytes was exceeded. (If the frame exceeds 280 bytes, the Reception Overflow Flag will be turned ON and there won’t be a response.)
Check the command and divide it into multiple frames if necessary.
19
Not executable
23
User memory write-protected
A3
Aborted due to FCS error in transmit data
Items to read not registered for composite command (QQ). Pin 1 on C200HX/HG/HE DIP switch is ON. An FCS error occurred in the second or later frame.
Execute QQ to register items to read before attempting batch read. Turn OFF pin 1 of the CPU Unit’s DIP switch. Check the FCS calculation method. If there was influence from noise, transfer the command again.
A4
Aborted due to format error in transmit data
The command format did not match the number of bytes in the second or later frame.
Check the format and transfer the command again.
A5
Aborted due to entry number data error in transmit data Aborted due to frame length error in transmit data
There was a data error in the second or later frame. The length of the second or later frame exceeded the 132-byte max.
Correct the data and transfer the command again. Keep frames to 132 bytes or fewer.
A8
Contents
Errors without Responses
Probable cause
Corrective measures
A response won’t be received with some errors, regardless of the command. These errors are listed in the following table.
Error Parity overrun or framing error during command reception
PC operation The Communications Error Flag will be turned ON, an error code will be registered, and receptions will be reset. (The error will be cleared automatically if communications restart normally.)
A carriage return (CR) isn’t received within 280 bytes.
SR 26407 (RS-232C Port Reception Overflow Flag) will be turned ON. Communications will return to normal when a normal command is transmitted.
A command is received that doesn’t have the @ character at the beginning of the first frame. Incorrect node number (Not the local node, hexadecimal, or over 31) A Write command is divided, but an intermediate frame or the last frame has only one or two bytes of data.
Receptions are reset. The command is discarded and receptions are reset. FCS error
455