DapiStepperCommand - DapiStepperCommand_SetFrequency
Description
This command is used to set the motor reference frequency. The motor frequency regulation takes on the compliance of the acceleration and deceleration slope. Step losses do not occur. The motor reference frequency is related to the full-step-mode.
The direction will be defined by the prefix. If the motor reference frequency is higher than the maximum frequency, the command is ignored.
With closed Endswitch1 the motor can only drive in positive direction, with closed Endswitch2 the motor can only drive in negative direction, otherwise the command is ignored.
Definition
DapiStepperCommand(handle, motor, DAPI_STEPPER_CMD_SET_FREQUENCY, par1, 0, 0, 0);
Parameters
par1=Motor reference frequency [Hz]
|