HEIDENHAIN IK 220 Benutzerhandbuch

Seite 114

Advertising
background image

Driver Software for WINDOWS

114

IK220AlarmEn
Supplies the alarm word of the EnDat encoder and cancels all
active alarms.
Prototype: BOOL IK220AlarmEn (USHORT Axis,

USHORT* pStatus, USHORT* pAlarm);

Axis:

Number of the axis (0 to 15)

pStatus:

Pointer to a variable in which the status is saved.

Low byte: 0 = OK

1 = Encoder does not answer or no

encoder connected

2 = Transmission error
3 = Error mode echo

4 = Error CRC sum

5 = Error data echo
6 = Error MRS code / address echo

High byte: 0 = OK

1 = Error reading init-parameter MRS

code 0xB9

2 = Error reading/writing alarm word
3 = RESET error on encoder

pAlarm:

Pointer to a variable in which the alarm word is saved.

IK220WarnEn
Supplies the warning word of the EnDat encoder and cancels all
active warnings.
Prototype:

BOOL IK220WarnEn (USHORT Axis,
USHORT* pStatus, USHORT* pWarn);

Axis:

Number of the axis (0 to 15)

pStatus:

Low byte: 0 = OK

1 = Encoder does not answer or no

encoder connected

2 = Transmission error
3 = Error mode echo
4 = Error CRC sum
5 = Error data echo
6 = Error MRS code / address echo

High byte: 0 = OK

1 = Error reading init-parameter MRS

code 0xB9

2 = Error reading/writing warning word
3 = RESET error on encoder

pWarn:

Pointer to a variable in which the warning word is
saved.

Advertising