Herunterladen Diese Seite drucken

Reference Of Ddl Functions; Ik220Find; Ik220Init - HEIDENHAIN IK 220 Benutzerhandbuch

Pc-zählerkarte zum anschluss von heidenhain-messgeräten

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Reference of DLL functions
All DLL functions return a Boolean variable. If this variable
is "true" (i.e.: <>0), then the function was successful. If it
contains the value "false" (i.e., =0), then there has been an
error. Input values in the functions are transferred as numerical
values (transfer by value). If the function has a return code, then
the address of the return code is transferred (transfer by
reference) to the function (pointer to return code).
The following types of data are used:
USHORT
:
Unsigned 16-bit
USHORT*
:
Pointer to USHORT
SHORT
:
Signed 16-bit
SHORT*
:
Pointer to SHORT
ULONG
:
Unsigned 32-bit
ULONG*
:
Pointer to ULONG
LONG
:
Signed 32-bit
LONG*
:
Pointer to LONG
double
:
Floating comma 64-bit
double*
:
Pointer to double
BOOL
:
Boolean variable 32-bit
BOOL*
:
Pointer to BOOL
chat
:
Pointer to string (terminated with 0x00)

IK220Find

Supplies the address of each axis of the installed IK 220. Can be
used to determine the number of installed IK 220s. For every
IK 220, two addresses are saved at the corresponding position
in pBuffer16. The unused entries are set to 0. For each axis,
IK220Init must subsequently be called in order to load and start
the firmware!
Prototype: BOOL IK220Find (ULONG* pBuffer16);
pBuffer16:
Pointer to 16 long words (16*4 bytes)

IK220Init

Loads the firmware into the IK 220 and starts it. Must be called
for every axis before further functions can be used!
Prototype: BOOL IK220Init (USHORT Axis);
Axis:
Number of the axis (0 to 15)
Driver Software for WINDOWS
95

Quicklinks ausblenden:

Werbung

Kapitel

loading