HEIDENHAIN IK 220 Benutzerhandbuch

Seite 103

Advertising
background image

Driver Software for WINDOWS

103

pData2:

Pointer to a variable in which the position value of
the falling edge is saved

pPeriod2:

Pointer to a variable in which the signal-period
value of the falling edge is saved

pIntpol2:

Pointer to a variable in which the interpolation
value of the falling edge is saved


IK220Status
Reports the status of the IK 220.
Prototype: BOOL IK220Status (USHORT Axis,

ULONG* pData);

Axis:

Number of the axis (0 to 15)

pData:

Pointer to a variable in which the status is saved.

Bit number

Meaning

0

1 = Counter value latched in register 0

1

1 = Counter value latched in register 1

2

1 = Counter value latched in register 2

3

1 = EnDat call with continuous clock

4

1 = Contamination warning / error

5

1 = Counter started

6

1 = REF function active (start, stop, reset or
latch)

7

1 = Frequency exceeded

8

1 = Compensation values calculated once

9

1 = Calculation of compensation values active

10

1 = Values being latched in RAM buffer

11
12
13
14 and 15

REF status:

0 = No REF traverse

1 = Waiting for 1st ref. mark

2 = Waiting for 2nd ref. mark

3 = REF traverse completed

16 to 31

Advertising