HEIDENHAIN IK 220 Benutzerhandbuch
Seite 121

Driver Software for WINDOWS
121
IK220RefEval
Defines the type of evaluation of the reference-mark signal.
Prototype: BOOL IK220RefEval (USHORT Axis,
USHORT Mode);
Axis:
Number of the axis
Mode:
0 = REF signal masked with incremental signals
1 = REF signal not masked with incremental
signals
IK220SetBw
Defines the input frequency for the sinusoidal incremental
signals. Switchable from 11 µA
PP
to 1 V
PP
by parameter 2 (or
vice versa) so that the standard setting is active again (33 kHz
for 11 µA
PP
, and 500 kHz for 1 V
PP
). If you want to use another
input frequency, you must define it with IK220SetBw.
Prototype: BOOL IK220SetBw (USHORT Axis,
USHORT Mode);
Axis:
Number of the axis
Mode:
0 = High input frequency (175 kHz for 11 µA
PP
,
500 kHz for 1 V
PP
)
1 = Low input frequency (33 kHz for 11 µA
PP
and 1
V
PP
)
The following functions are used by the driver software.
They should not be used in application programs.
IK220InputW
Reads a 16-bit value from the given address of the axis.
Prototype: BOOL IK220InputW (USHORT Axis,
USHORT Adr, USHORT* pData)
Axis:
Number of the axis (0 to 15)
Adr:
Address of the registers (0 to 15 or 0 to 0x0F)
pData:
Pointer to a variable in which the read value is
saved.
IK220InputL
Reads a 32-bit value from the given address of the axis.
Prototype: BOOL IK220InputL (USHORT Axis,
USHORT Adr, ULONG* pData)
Axis:
Number of the axis (0 to 15)
Adr:
Address of the registers (0 to 14 or 0 to 0x0E)
pData:
Pointer to a variable in which the read value is
saved.