HEIDENHAIN IK 220 Benutzerhandbuch
Seite 109

Driver Software for WINDOWS
109
IK220WritePar
Changes a parameter of the IK 220.
Prototype: BOOL IK220WritePar (USHORT Axis,
USHORT ParNum, ULONG ParVal);
Axis:
Number of the axis (0 to 15)
ParNum: Parameter
number
ParVal: Parameter
value
IK220ReadPar
Supplies the value of an IK 220 parameter.
Prototype: BOOL IK220ReadPar (USHORT Axis,
USHORT ParNum, ULONG* pParVal);
Axis:
Number of the axis (0 to 15)
ParNum: Parameter
number
pParVal:
Pointer to a variable in which the parameter value
is saved
IK220ResetEn
Resets the connected EnDat encoder to its default status.
Prototype: BOOL IK220ResetEn (USHORT Axis,
USHORT* pStatus);
Axis:
Number of the axis (0 to 15)
pStatus:
Pointer to a variable in which the EnDat status is
saved.
0 = OK
1 = Encoder does not answer or is not connected
2 = Transmission error
3 = Error mode echo
4 = Error CRC sum
5 = Error data echo
6 = Error MRS code / address echo