User manual

Table Of Contents
DELIB API reference |
Seite 55
4.3.2. DapiStepperGetStatus
4.3.2.1. DAPI_STEPPER_STATUS_GET_ACTIVITY
Description
With this command, some status informations (e.g. activity of the motor phase
current) can be read.
Definition
ULONG DapiStepperGetStatus(handle, motor,
DAPI_STEPPER_STATUS_GET_ACTIVITY);
Parameters
handle=This is the handle of an opened module
motor=Number of addressed motor (1,2 ..)
Return value
Bit
Command
0
DISABLE
1
MOTORSTROMACTIV
2
HALTESTROMACTIV
3
GOPOSITIONACTIV
4
GOPOSITIONBREMSEN
5
GOREFERENZACTIV
Example program
ret = DapiStepperGetStatus(handle, motor, DAPI_STEPPER_STATUS_GET_ACTIVITY);