beautypg.com

Error codes – PNI TCM 2.6 User Manual

Page 15

background image

PNI Sensor Corporation

DOC#1009269 r11

TCM2.5 & TCM2.6 User Manual

Page 15 of 49

Error Codes


Error codes are given in the output word immediately before the checksum output indicated by the
letter “E” followed by three ASCII characters representing hexadecimal digits (for example, ASCII F
equals hexadecimal value F, or decimal value 15). Each error condition corresponds to one bit
within one of the hexadecimal digits. When the error condition exists, that bit will be set equal to 1 in
the error code transmitted by the TCM2.5/2.6. The error conditions and their corresponding bit
locations are listed below. Refer to

Table 4: Common Error Codes

for a list of the most common

error codes.

Table 3: Bit Locations of Error Conditions

1

st

ASCII Character

Bit 3 (MSB)

EEPROM1 error

Bit 2

EEPROM2 error

Bit 1

Reserved for future use (always 0)

Bit 0 (LSB)

Reserved for future use (always 0)

2

nd

ASCII Character

Bit 3 (MSB)

Reserved for future use (always 0)

Bit 2

Command parameter invalid

Bit 1

Reserved for future use (always 0)

Bit 0 (LSB)

Command invalid or not supported on
current TCM

3

rd

ASCII Character

Bit 3 (MSB)

Reserved for future use (always 0)

Bit 2

Magnetometer out of range

Bit 1

Inclinometer out of range

Bit 0 (LSB)

Reserved for future use (always 0)

Table 4: Common Error Codes

Error Code

Description

E002

Inclinometer out of range

E004

Magnetometer out of range

E006

Magnetometer out of range + Inclinometer out of range

E010

Command invalid or not available

E040

Command parameter invalid

E050

Command invalid or not available + Command parameter invalid

E400

EEPROM2 error

a

E800

EEPROM1 error

a

EC00

EEPROM2 error + EEPROM1 error

a

a. Indicates that the TCM2.5/2.6 EEPROM has been corrupted. Contact PNI for assistance.

This manual is related to the following products: