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

The text of a manual · part 22 of 32

SYSMAC C200H-NC211 Position Control Unit Operation Manual: SECTION 8 Error Processing, pages 175 to 184

Pages 175 to 184 of 259, from SYSMAC C200H-NC211 Position Control Unit Operation Manual

The original document is the PDF (1.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 Omron C200H-NC211

Page 175

SECTION 8 Error Processing 8-1 8-2 8-3 8-4 8-5 8-6 8-7 8-8

Alarms and Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Alarm/Error Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RELEASE PROHIBIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . READ ERROR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Troubleshooting from the PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Detection of Abnormal Pulse Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Alarm Code List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Error Code List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

170 172 173 176 179 181 183 185

169

Page 176

Section 8-1

Alarms and Errors Section Overview

8-1

This section presents information about Alarms, Errors, and troubleshooting. It explains what to do when errors occur and how to avoid errors before they happen. The end of this section presents a complete list of Alarm Codes and Error Codes.

Alarms and Errors

Alarms

Whenever the Position Control Unit is powered up, or data is transferred into the Unit, checks are performed to ensure that the data is in the proper form and can be used for operation. If an error exists in speed or positioning action data at this time, an alarm code is generated. Errors that result in alarms include BCD errors, out-of-range data, and no-data errors (when required data is set at 0). An alarm will thus be generated, for example, if the required settings are not made in the DM area of the PC. Operation can be continued even after an alarm has been generated, however, as long as the data that generated the alarm is not used.

Errors

If operation is attempted with data for which an alarm has been generated, an error code will be generated and further operation will not be possible. Error codes can also be generated during pulse output, e.g., when an emergency stop results from CW limit input.

170

Page 177

Section 8-1

Alarms and Errors Relationship between Alarms and Errors DM data transfer Power ON

Data check

Alarm generation

200 words corresponding to Unit nos. in DM 1000-1999. For expanded positioning data, 200 words set in DM 0100-0899.

Unit’s system program performs BCD check of data.

The error code corresponding the error data is generated.

START command

Normal data

START execution

Alarm data

The data in use has generated an alarm.

Error generation

Data correction

The data in the corresponding DM area addresses has been corrected.

TRANSFER DATA command

Positioning or speed data changed via TRANSFER.

171

Page 178

Alarm/Error Indicators

8-2

Section 8-2

Alarm/Error Indicators The existence of an alarm or error code is indicated both by the alarm/error LED on the front panel (see figure below) and by the flags (see above) in the IR area of the PC.

Front Panel LED

NC211 RUN CW CCW

X Y ALARM

ALARM indicator flashes when an alarm code has been output and the ERROR indicator lights when an error has occurred.

ERROR

Outputs to the IR Area Twenty words from DM 100-199 allocated for each Unit number. Alarm Flag

X: Bit 03 of word n+10 Y: Bit 03 of word n+15

Error flag

X: Bit 05 of word n+10 Y: Bit 05 of word n+15 05

03

X: (n+10) Y: (n+15)

Alarm flag (1: alarm exists) Error flag (1: error exists)

172

Page 179

RELEASE PROHIBIT

8-3

Section 8-3

RELEASE PROHIBIT When Position Control Unit operation is stopped as a result of input of an emergency stop, CW limit, or CCW limit signal, (i.e., when the N.C. input of any of these turns ON), further pulse output is prohibited. In order to resume pulse output, it is necessary to cancel this prohibition by means of the RELEASE PROHIBIT command bit (bit 04 of word n) and release of the external emergency stop switch.

0V X axis

24 V Power supply CCW limit

CW limit

CCW

CW Positioning axis

Emergency stop

External input pin no.

X axis

CW limit

CCW limit 19 CCW 17

CW Positioning axis

18

20 21

22 34

173

Page 180

RELEASE PROHIBIT

Section 8-3

Execution Examples Example 1: Emergency Stop

The present position is lost during an emergency stop, and positioning cannot be started again directly after RELEASE PROHIBIT. Execute ORIGIN SEARCH before proceeding. Although the following explanation is made with respect to the X axis, the case of the Y axis is essentially the same. The error flag is turned OFF after executing the ORIGIN SEARCH.

Input Emergency stop signal

1 0

START word n, bit 00

1 0 1

RELEASE PROHIBIT word n, bit 04

0

Pulse output Time

1 Emergency stop flag word n+10, bit 04

0 ORIGIN SEARCH (Start) 1

Error flag word n+10, bit 05

0 1

No-origin flag word n+10, bit 11

Turns OFF after ORIGIN SEARCH is completed

0 1

Busy flag word n+10, bit 12

0

6000

Alarm/error code word n+11 ORIGIN SEARCH word n, bit 02

174

1 0

0000

Page 181

RELEASE PROHIBIT

Section 8-3

Example 2: Exceeding CW or CCW Limit

CW limit signal

The emergency stop flag is not affected by exceeding the CW or CCW limit. If a limit is exceeded, pulse output is possible in the opposite direction only. The CW limit is exceeded here, so only CCW output is possible. This example uses JOG to clear the limit flag, but ORIGIN SEARCH may also be used.

1 0 1

START word n, bit 00 RELEASE PROHIBIT word n, bit 04

0 1 0 1

HIGH-SPEED JOG word n, bit 11, 13

0 1

JOG direction word n, bit 12

0

Pulse output

CW Time CCW 1

Error flag word n+10, bit 05

0 1

No-origin flag word n+10, bit 11 Busy flag word n+10, bit 12

0 1 0 1

CW limit flag word n+10, bit 13

Alarm/error code word n+11

0

6100

175

Page 182

READ ERROR

8-4

Section 8-4

READ ERROR The READ ERROR command bit, bit 05 of word n, is set to access error and alarm codes when more than one of these is present (effective on the signal’s rising edge). 05 (n = 100 + 10 x unit number)

n

READ ERROR command bit (READ ERROR begins at the rising edge of this bit.)

The codes are consecutively output to word n+10. Errors and alarms have separate flags, as follows: 05

03 n+10 Alarm flag: Set to 1 when an alarm code has been generated. Error flag: Set to 1 when an error has occurred.

15 n+11 x103

00 x102 x101 x100

Error code (or alarm code)

Word n+11 shows four digits in BCD when displayed on the Programming Console. If there are no errors or alarms, 0000 will be displayed. If there are any errors or alarms, they will be displayed in code. The codes will be displayed in order as READ ERROR is executed. (If there is only one code, however, the display will not change when READ ERROR is executed.) The error or alarm code (word n+11) is updated via I/O refreshing immediately after the READ ERROR command bit is turned ON. The busy flag does not turn ON. READ ERROR can be used within a signal scan.

176

Page 183

READ ERROR

Section 8-4

Execution Example

The following diagram shows an example in which first the alarm code 1501 and then the error code 5000 are displayed.

READ ERROR word n, bit 05

1

Alarm flag word n+10, bit 03

1

Error flag word n+10, bit 05

1

0

0

Display has been changed because another error code has been generated.

Display has been changed because an error code has been read.

1501

5000

1501

First alarm code

Second error code

First alarm code

0 Display will not change because only one alarm code has been generated. Alarm/error code word n+11

Note When either axis is in the middle of data transfer or when the busy flag is turned ON, error codes are not accessed correctly from the data buffer. In such cases, the above example does not apply. Reading from the Programming Console

The following example diagram (for Unit #1) shows how to read an alarm/error code from the Programming Console.

Programming Console Display:

Key sequence:

C111 1501

SHIFT

10005 C111 ^OFF 1501

SHIFT

10005 C111 ^ON 5000

CH

CONT #

PLAY

REC

SET

RESET

B

B

B

1

1

*

A

B

1

1

A

0

MONTR

A

0

F

0

5

MONTR

177

Page 184

READ ERROR Alarm/Error Codes

Section 8-4 X: Word n+11 Y: Word n+16 15

00

X: (n+11) Y: (n+16)

Error code (or alarm code) Generally, a new error (or alarm) outputs a single error code. When the error output bit turns ON, multiple error or alarm codes can be read sequentially.

This word contains only the most recent alarm or error code. Several error codes can be read out in sequence by setting the READ ERROR command bit (X: bit 05 of word n; Y: bit 05 of word n+5). Refer to Section 8-4 READ ERROR.

178