HEIDENHAIN IK 220 Benutzerhandbuch

Seite 98

Advertising
background image

Driver Software for WINDOWS

98

IK220LatchRef
With the next reference mark, the counter value is saved in
register 2. The saved value is without interpolation and can be
output with IKGet32 or IKGet48.
Prototype: BOOL IK220LatchRef (USHORT Axis);
Axis:

Number of the axis (0 to 15)


IK220Latched
Determines whether the counter value was saved.
Prototype: BOOL IK220Latched (USHORT Axis,

USHORT Latch, BOOL* pStatus);

Axis:

Number of the axis (0 to 15)

Latch:

0 = Request for register 0.

1 = Request for register 1

2 = Request for register 2

pStatus:

Pointer to a variable in which the status is saved.

False (=0) = value not saved

True (

0) = value was saved


IK220WaitLatch
Waits until the counter value was saved. If no timeout time was
defined, the function waits until a numerical value is saved in
the corresponding latch.
Prototype: BOOL IK220WaitLatch (USHORT Axis,

USHORT Latch);

Axis:

Number of the axis (0 to 15)

Latch:

0 = Request for register 0.

1 = Request for register 1

2 = Request for register 2


IK220SetTimeOut
With this function you can define a timeout time. If no timeout
time is defined, the IK220WaitLatch, IK220WaitRef and
IK220PositionRef functions wait until the respective event
occurs.
Prototype: BOOL

IK220SetTimeOut (ULONG TimeOut);

TimeOut:

0 = No timeout

1.. = Timeout in ms

Advertising