HEIDENHAIN IK 220 Benutzerhandbuch

Seite 100

Advertising
background image

Driver Software for WINDOWS

100

IK220Read48
Supplies the 48-bit counter value.
Prototype: BOOL IK220Read48 (USHORT Axis,

USHORT Latch, double* pData);

Axis:

Number of the axis (0 to 15)

Latch:

0 = Output from register 0

1 = Output from register 1

pData:

Pointer to a variable in which the counter value is
saved.


IK220Get32
Supplies the 32-bit counter value (20 bits before and 12 bits
after the decimal point (interpolation values)). Before the
counter value can be output, it must be saved in register 0,
register 1 or register 2 (external function, IKLatchInt,
IK220LatchExt, Timer, IK220Latch or IK220LatchRef) and then
you must perhaps inquire whether the counter value has
already been saved (IKLatched, IKWaitLatch).
Prototype: BOOL IK220Get32 (USHORT Axis,

USHORT Latch, LONG* pData);

Axis:

Number of the axis (0 to 15)

Latch:

0 = Output from register 0

1 = Output from register 1

2 = Output from register 2

pData:

Pointer to a variable in which the counter value is
saved.


IK220Get48
Supplies the 48-bit counter value. Before the counter value can
be output, it must be saved in register 0, register 1 or register 2
(external function, IK220LatchInt, IK220LatchExt, Timer,
IK220Latch or IK220LatchRef) and then you must perhaps
inquire whether the counter value has already been saved
(IKLatched, IKWaitLatch).
Prototype: BOOL IK220Get48 (USHORT Axis,

USHORT Latch, double* pData);

Axis:

Number of the axis (0 to 15)

Latch:

0 = Output from register 0

1 = Output from register 1

2 = Output from register 2

pData:

Pointer to a variable in which the counter value is
saved (floating-point value: decimal places =
interpolation value).

Advertising