HEIDENHAIN IK 220 Benutzerhandbuch

Seite 117

Advertising
background image

Driver Software for WINDOWS

117

pDataSsi:

Pointer to a variable in which the absolute counter
value of the SSI encoder is saved

pDataInc:

Pointer to a variable in which the incremental
counter value of the SSI encoder is saved


IK220SetTimer
Programs the timer with the value in “SetVal” or the next
largest possible value. The time is defined by the parameter for
the time interval of the timer and through the parameter for the
software divider.
Prototype: BOOL IK220SetTimer (USHORT Axis,

ULONG SetVal, ULONG* pTimVal);

Axis:

Number of the axis (0 to 15)

SetVal:

Required timer value in micro seconds.

pTimVal:

Pointer to a variable in which the actually
programmed timer value is saved in micro
seconds.


IK220ModeTimer
Specifies whether the timer signal is output. To be able to save
the axes of a card or several cards through an external
connection, the signal generated by the timer must be output.
The duration period of the timer signal depends only on the
time interval of the timer. The value programmed in the
software timer has no influence on this.
Prototype: BOOL IK220ModeTimer (USHORT Axis,

USHORT

Mode);

Axis:

Number of the axis (0 to 15)

Mode:

0 = Timer signals are not output

1 = Timer signals are output


IK220ModeRam
Stored counter values can be transferred to a buffer memory on
the IK 220. The values saved can then be read out with
IK220GetRam or IK220BurstRam.
Prototype: BOOL IK220ModeRam (USHORT Axis,

USHORT Mode);

Axis:

Number of the axis (0 to 15)

Mode:

0 = Latched counter values are not transferred

1 = Latched counter values from register 0 are

transferred

1)

2 = Latched counter values from register 1 are

transferred

3 = Latched counter values from register 0 are

transferred until the max. number is reached
(single shot)

1)

Circular buffer function

Advertising