HEIDENHAIN IK 220 Benutzerhandbuch
Seite 120

Driver Software for WINDOWS
120
pAmp90:
Pointer to an array of variables in which the 90°
amplitude values are saved. Space must be
reserved for maxCount values!
pCount:
Pointer to a variable in which the actual number of
read value pairs is saved.
pWrite:
Pointer to a variable in which the offset of the
reading pointer is saved in the RAM buffer.
pStatus:
Status of the RAM buffer.
Bit 0=1: Buffer overflow
Bit 1=1: No value in the buffer
Bit 2=1: Last value is read from the buffer
Bit 15=1: Error while reading buffer
IK220Led
Defines the function of the axis LED on the IK 220.
Prototype: BOOL IK220Led (USHORT Axis,
USHORT Mode);
Axis:
Number of the axis (0 to 15)
Mode:
0 = LED does not light up
1 = LED lights up
2 = LED flashes
IK220SysLed
Defines the function of the system LED on the IK 220.
Prototype: BOOL IK220SysLed (USHORT Card,
USHORT Mode);
Card:
Number of the card (0 to 7)
Mode:
0 = LED does not light up
1 = LED lights up
IK220GetPort
Reports the status of the IK 220 inputs.
Prototype: BOOL IK220GetPort (USHORT Axis,
USHORT* pPortInfo, USHORT* pRising,
USHORT* pFalling);
Axis:
Number of the axis (0 to 15)
pPortInfo:
Pointer to a variable in which the current status of
the inputs is saved.
pRising:
Pointer to a variable showing whether “set edges”
occurred since the last output.
pFalling:
Pointer to a variable showing whether “reset
edges” occurred since the last output.