HEIDENHAIN IK 220 Benutzerhandbuch
Seite 90

Driver Software for WINDOWS
90
Function Short
reference
Delete counter with
next reference mark
BOOL IK220ResetRef
(USHORT Axis)
Start counter with next
reference mark
BOOL IK220StartRef
(USHORT Axis)
Stop counter with next
reference mark
BOOL IK220StopRef
(USHORT Axis)
Save counter with next
reference mark
BOOL IK220LatchRef
(USHORT Axis)
Inquire whether counter
value is saved
BOOL IK220Latched
(USHORT Axis, USHORT Latch,
BOOL*
pStatus)
Wait until counter value
is saved
BOOL IK220WaitLatch (USHORT Axis, USHORT Latch)
Set the timeout time
BOOL IK220SetTimeOut (ULONG TimeOut)
Set position value
BOOL IK220Set
(USHORT Axis, double SetVal)
Set preset value
BOOL IK220SetPreset (USHORT Axis, double PresVal)
Read preset value
BOOL IK220GetPreset (USHORT AXIS, double* PresVal)
Read counter value
(32 bits)
BOOL IK220Read32
(USHORT Axis, USHORT Latch,
LONG*
pData)
Read counter value
(48 bits)
BOOL IK220Read48
(USHORT Axis, USHORT Latch,
double*
pData)
Read latched counter
value (32 bits)
BOOL IK220Get32
(USHORT Axis, USHORT Latch,
LONG*
pData)
Read latched counter
value (48 bits)
BOOL IK220Get48
(USHORT Axis, USHORT Latch,
double*
pData)
Read encoder status
BOOL IK220CntStatus (USHORT Axis, USHORT Latch,
USHORT* pRefSta,
SHORT*
pKorr00,
SHORT*
pKorr90,
SHORT*
pNKorr00,
SHORT*
pNKorr90,
USHORT* pSamCnt)
Start reference point
traverse
BOOL IK220DoRef
(USHORT Axis)
Interrupt reference point
traverse
BOOL IK220CancelRef (USHORT Axis)
Inquiry whether REF
function is active
BOOL IK220RefActive (USHORT Axis, BOOL* pStatus)
Wait until REF function
is ended
BOOL IK220WaitRef
(USHORT Axis)
Find position of
reference mark
BOOL IK220PositionRef (USHORT Axis, double* pData,
LONG*
pPeriod,
USHORT*
pIntpol)