Extended error codes – Rockwell Automation 1747-PCINT API Software for 1746 I/O User Manual

Page 148

Advertising
background image

A–2

Error Codes

Publication 1747-6.5.3 June 1998

Extended Error
Codes

The OC_GetExtendedError function returns error information in a structure of
type

OCEXTERR

. This structure is five bytes in length and contains this

information:

Table A.1

OCEXTERR Structure

When the scanner encounters an error, the extended error code and associated slot
(if any) is written to the extended error code and slot number fields. Error-dependent
information is written to the remaining field and the scanner goes to Idle mode. The
extended error codes that can be reported by the scanner are:

Table A.2

Extended Error Codes

Buffer Offset:

Bytes:

Description:

0

1

extended error code

1

1

associated slot or file number

2

3

error code data

Extended Error Code:

Description:

0x00

No errors present

0x01

Downloaded directory file is invalid

0x08

Internal software error

0x12

Downloaded configuration is corrupted

0x21

Power fail on expansion rack occurred

0x2E

Invalid DII input slot

0x40

Host Watchdog Timeout

0x50

Data error while accessing module

0x51

Stuck PINT error

0x52

Module is missing

0x53

Module detected in unused slot

0x54

Module type does not match downloaded configuration

0x55

Module I/O mix does not match downloaded configuration

0x56

Rack type does not match downloaded configuration

0x57

Specialty I/O module lock memory command timeout

0x58

Specialty I/O module fault

0x59

Specialty I/O module command timeout

0x5A

Module interrupt problem

0x5B

G file configuration error

0x5C

M0/M1 file configuration error

0x5D

Unsupported interrupt service requested by module

0x5E

I/O driver error

0x60 - 0x8F

Module specific errors (see I/O module documentation)

0x90

MINT occurred on disabled slot

0x91

PINT occurred on disabled slot

0x93

Unsupported module error

0x94

Module has been inserted or reset

0xF0

Internal scanner error

Advertising
This manual is related to the following products: