HEIDENHAIN IK 220 Benutzerhandbuch

Seite 94

Advertising
background image

Driver Software for WINDOWS

94

Function Short

reference

Read amplitude values
block from RAM buffer

BOOL IK220BurstSig

(USHORT Axis,

USHORT

maxCount,

USHORT*

pPeriod,

SHORT*

pAmp0,

SHORT*

pAmp90,

USHORT*

pCount,

USHORT* pStatus)

LED control of axes

BOOL IK220Led

(USHORT Axis,

USHORT

Mode)

LED control of card

BOOL IK220SysLed

(USHORT Card,

USHORT

Mode)

Read external inputs

BOOL IK220GetPort

(USHORT Axis,

USHORT*

pPortInfo,

USHORT*

pRising,

USHORT*

pFalling)

Evaluation of the
reference-mark signal

IK220RefEval

(USHORT

Axis,

USHORT

Mode)

Input frequency for
sinusoidal incremental
signals

IK220SetBw

(USHORT

Axis,

USHORT

Mode)


The following functions are used by the driver software.
They should not be used in application programs.

Function Short

reference

Read IK 220 register
(16 bits)

BOOL IK220InputW

(USHORT Axis, USHORT Adr,

USHORT*

pData)

Read IK 220 register
(32 bits)

BOOL IK220InputL

(USHORT Axis, USHORT Adr,

ULONG* pData)

Write IK 220 register
(16 bits)

BOOL IK220Output

(USHORT Axis, USHORT Adr,

USHORT

Data)

Read value from RAM of
the IK 220

BOOL IK220RamRead (USHORT Axis, USHORT Adr,

USHORT*

pData)

Write value into RAM of
the IK 220

BOOL IK220RamWrite (USHORT Axis, USHORT Adr,

USHORT

Data)

Load firmware in the
IK 220

BOOL IK220DownLoad (USHORT Axis,

USHORT*

pPgmData,

ULONG

PgmSize)

Set EnDat clock line

BOOL IK220SetEnClock (USHORT Axis, BOOL State,

USHORT* pStatus)

Set EnDat data line

BOOL IK220SetEnData (USHORT Axis, BOOL State,

USHORT*

pStatus)

Read EnDat data line

BOOL IK220ReadEnData(USHORT Axis, BOOL State)

Advertising