HEIDENHAIN IK 220 Benutzerhandbuch

Seite 99

Advertising
background image

Driver Software for WINDOWS

99

IK220Set
Sets the position value to the indicated value. Uses Register 0
to determine the current position, and calculates the preset
value from that. The IK220Read48, IK220Get48,
IK220ReadEnInc, IK220ReadEnIncCont, IK220ReadSsiInc,
IK220GetRam and IK220BurstRam functions then deliver
incremental position values which refer to the preset value (see
IK220SetPreset and IK220GetPreset).
Prototype: BOOL IK220Set (USHORT Axis,

double SetVal);

Axis:

Number of the axis (0 to 15)

SetVal:

New position value


IK220SetPreset
Sets the preset value to the indicated value. When IK220Set is
called, the set preset value is always added to the actual value
of the axis.
Prototype: BOOL IK220SetPreset (USHORT Axis,

double PresVal);

Axis:

Number of the axis (0 to 15)

PresVal:

New preset value


IK220GetPreset
Supplies the preset value of the indicated axis.
Prototype: BOOL IK220GetPreset (USHORT Axis,

double* pPresVal);

Axis:

Number of the axis (0 to 15)

pPresVal:

Pointer to a variable in which the preset value is
saved


IK220Read32
Supplies the 32-bit counter value.
Prototype: BOOL IK220Read32 (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

pData:

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

Advertising