HEIDENHAIN IK 220 Benutzerhandbuch
Seite 105

Driver Software for WINDOWS
105
The DLL info has the following meaning:
Bit number
Meaning
0
Windows timer is not available
1
Windows timer is not used
2
3
4 to 7
8 to 11
12 to 15
16 to 19
20 to 23
24 to 27
28 to 31
IK220RefStatus
Reports the detailed REF status of the IK 220.
Prototype: BOOL IK220RefStatus (USHORT Axis,
LONG* pRef1, LONG* pRef2, LONG* pDiff,
Long* pCode, USHORT* pFlag);
Axis:
Number of the axis (0 to 15)
pRef1:
Pointer to a variable in which the position of the
1st reference mark is saved
pRef2:
Pointer to a variable in which, with distance-coded
reference marks, the position of the 2nd reference
mark is saved
pDiff:
Pointer to a variable in which, with distance-coded
reference marks, the calculated difference is
saved
pCode:
Pointer to a variable in which, with distance-coded
reference marks, the calculated offset is saved
pFlag:
Pointer to a variable in which the REF status is
saved
0 = No REF traverse
1 = Waiting for 1st ref. mark
2 = Waiting for 2nd ref. mark
3 = REF traverse completed