5.13.1.2. DAPI_STEPPER_CMD_GO_POSITION_RELATIVE
Description
With this command the motor will go to a relative position. In
contrast to the command GO_POSITION, which goes to an
absolute position, this command considers the current position.
This command can only be used when the motor is not disabled
and Go_Position or Go_Reference are not executed.
Definition
void
DAPI_STEPPER_CMD_GO_POSITION_RELATIVE, go_pos_rel_par, 0, 0, 0);
Parameters
go_pos_rel_par=the relative position, to which will be gone
Example program
DapiStepperCommand(handle, motor, DAPI_STEPPER_CMD_GO_POSITION_RELATIVE, 100,
0, 0, 0);
//Motor fährt, von der aktuellen Position aus gesehen, 100 Schritte nach
rechts.
DapiStepperCommand(handle,
DELIB API reference | Seite 323
motor,