HEIDENHAIN IK 220 Benutzerhandbuch
Seite 116

Driver Software for WINDOWS
116
pStatus:
Pointer to a variable in which the EnDat status is
saved.
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
IK220ReadSSI
Returns the absolute counter value of the connected SSI
encoder. The transmission parameters of the SSI encoder must
first be specified in the parameters.
Prototype: BOOL IK220ReadSSI (USHORT Axis,
USHORT* pStatus, double* pData);
Axis:
Number of the axis (0 to 15)
pStatus:
Pointer to a variable in which the SSI status is
saved
0 = OK
1 = Encoder does not answer or no encoder
connected
2 = Parity error
3 = Parity error, pre-zero bit not equal to zero
pData:
Pointer to a variable in which the counter value of
the SSI encoder is saved
IK220ReadSsiInc
Reports the absolute and incremental counter value of the
connected SSI encoder. The transmission parameters of the
SSI encoder must first be specified in the parameters.
Prototype: BOOL IK220ReadSsiInc (USHORT Axis,
USHORT Latch, USHORT* pStatus,
double* pDataSsi, double* pDataInc)
Axis:
Number of the axis (0 to 15)
Latch:
0 = Read out incremental values via register 0
1 = Read out incremental value via register 1
pStatus:
Pointer to a variable in which the SSI status is
saved
0 = OK
1 = Encoder does not answer or no encoder
connected
2 = Parity error
3 = Parity error, pre-zero bit not equal to zero