HEIDENHAIN IK 220 Benutzerhandbuch

Seite 122

Advertising
background image

Driver Software for WINDOWS

122

IK220Output
Writes a 16-bit value to the given address of the axis.
Prototype: BOOL

IK220Output (USHORT Axis,

USHORT Adr, USHORT Data)

Axis:

Number of the axis (0 to 15)

Adr:

Address of the registers (0 to 15 or 0 to 0x0F)

Data:

Value that is written to the register


IK220RamRead
Reads a 16-bit value from the RAM of the IK 220.
Prototype: BOOL IK220RamRead (USHORT Axis,

USHORT Adr, USHORT* pData)

Axis:

Number of the axis (0 to 15)

Adr:

Address in RAM (0 to 65535)

pData:

Pointer to a variable in which the value is saved.


IK220RamWrite
Writes a 16-bit value to the RAM of the IK 220.
Prototype: BOOL IK220RamWrite (USHORT Axis,

USHORT Adr, USHORT Data)

Axis:

Number of the axis (0 to 15)

Adr:

Address in RAM (0 to 65535)

Data:

Value (16-bit) that is written to RAM.


IK220DownLoad
Loads the firmware of the IK 220 into RAM.
Prototype: BOOL

IK220DownLoad (USHORT Axis,

USHORT* pPgmData, ULONG PgmSize)

Axis:

Number of the axis (0 to 15)

pPgmData Pointer to an array in which the program

information is saved

PgmSize:

Number of bytes in the PgmData array


IK220SetEnClock
Sets the clock line of the EnDat interface.
Prototype: BOOL

IK220SetEnClock (USHORT Axis,

BOOL State, USHORT* pStatus)

Axis:

Number of the axis (0 to 15)

State:

False (=0): Set clock line to low level.

True

(

0): Set clock line to high level.

pStatus:

0 = OK

1 = Error

Advertising