User manual

Table Of Contents
DELIB API reference |
Seite 164
4.7.2.2. DAPI_STEPPER_STATUS_GET_POSITION
Description
With this command, the motor position can be read.
Definition
ULONG DapiStepperGetStatus(handle, motor, cmd);
Parameters
cmd=DAPI_STEPPER_STATUS_GET_POSITION
Return value
The current motor position in 1/16 step-units can be read back
Example program
value = DapiStepperGetStatus(handle, motor, DAPI_STEPPER_STATUS_GET_POSITION);