User manual
Table Of Contents
- Introduction
- Hardware description
- Software
- Appendix
- manual_e_delib.pdf
- Introduction
- Hardware description
- Software
- Appendix
- manual_e_ro_io_stepper2.pdf
- Introduction
- Hardware description
- Software
- DELIB API reference
- Management functions
- Error handling
- Stepper motor functions
- DapiStepperCommands
- DAPI_STEPPER_CMD_GO_POSITION
- DAPI_STEPPER_CMD_GO_POSITION_RELATIVE
- DAPI_STEPPER_CMD_SET_POSITION
- DAPI_STEPPER_CMD_SET_FREQUENCY
- DAPI_STEPPER_CMD_GET_FREQUENCY
- DAPI_STEPPER_CMD_SET_FREQUENCY_DIRECTLY
- DAPI_STEPPER_CMD_STOP
- DAPI_STEPPER_CMD_FULLSTOP
- DAPI_STEPPER_CMD_DISABLE
- DAPI_STEPPER_CMD_SET_MOTORCHARACTERISTIC
- DAPI_STEPPER_CMD_GET_MOTORCHARACTERISTIC
- DAPI_STEPPER_CMD_MOTORCHARACTERISTIC_EEPROM_SAVE
- DAPI_STEPPER_CMD_MOTORCHARACTERISTIC_EEPROM_LOAD
- DAPI_STEPPER_CMD_MOTORCHARACTERISTIC_LOAD_DEFAULT
- DAPI_STEPPER_CMD_GO_REFSWITCH
- DAPI_STEPPER_CMD_GET_CPU_TEMP
- DAPI_STEPPER_CMD_GET_MOTOR_SUPPLY_VOLTAGE
- DapiStepperGetStatus
- DapiStepperCommandEx
- DapiStepperCommands
- Example program
- Appendix
- manual_e_ro_serie.pdf
- Introduction
- Hardware description
- Ethernet Interface
- CAN Interface
- RS-232/RS-485 Interface
- USB Interface
- Digital in-/output modules
- Analog in-/output modules
- Stepper module
- Software
- DELIB API reference
- Management functions
- Error handling
- Reading Digital inputs
- Setting Digital outputs
- A/D converter functions
- D/A outputs management
- Stepper motor functions
- DapiStepperCommands
- DAPI_STEPPER_CMD_GO_POSITION
- DAPI_STEPPER_CMD_GO_POSITION_RELATIVE
- DAPI_STEPPER_CMD_SET_POSITION
- DAPI_STEPPER_CMD_SET_FREQUENCY
- DAPI_STEPPER_CMD_GET_FREQUENCY
- DAPI_STEPPER_CMD_SET_FREQUENCY_DIRECTLY
- DAPI_STEPPER_CMD_STOP
- DAPI_STEPPER_CMD_FULLSTOP
- DAPI_STEPPER_CMD_DISABLE
- DAPI_STEPPER_CMD_SET_MOTORCHARACTERISTIC
- DAPI_STEPPER_CMD_GET_MOTORCHARACTERISTIC
- DAPI_STEPPER_CMD_MOTORCHARACTERISTIC_EEPROM_SAVE
- DAPI_STEPPER_CMD_MOTORCHARACTERISTIC_EEPROM_LOAD
- DAPI_STEPPER_CMD_MOTORCHARACTERISTIC_LOAD_DEFAULT
- DAPI_STEPPER_CMD_GO_REFSWITCH
- DAPI_STEPPER_CMD_GET_CPU_TEMP
- DAPI_STEPPER_CMD_GET_MOTOR_SUPPLY_VOLTAGE
- DapiStepperGetStatus
- DapiStepperCommandEx
- DapiStepperCommands
- Output timeout management
- Test functions
- Example program
- Appendix
DELIB API reference |
Seite 147
Set Parameter-GoReferenceFrequencyToOffSet
par1=DAPI_STEPPER_MOTORCHAR_PAR_GOREFERENCEFREQUENCY_TO
OFFSET
par2=frequency [Full-step / s] - (maximum value=5000)
Example program
DapiStepperCommand(handle, motor, DAPI_STEPPER_CMD_SET_MOTORCHARACTERISTIC,
DAPI_STEPPER_MOTORCHAR_PAR_STEPMODE, 4,0,0);
// Schrittmode (Voll-, Halb-, Viertel-, Achtel-, Sechszehntelschritt)
DapiStepperCommand(handle, motor, DAPI_STEPPER_CMD_SET_MOTORCHARACTERISTIC,
DAPI_STEPPER_MOTORCHAR_PAR_GOFREQUENCY, 1000,0,0);
// Schrittmode (Voll-, Halb-, Viertel-, Achtel-, Sechszehntelschritt)
DapiStepperCommand(handle, motor, DAPI_STEPPER_CMD_SET_MOTORCHARACTERISTIC,
DAPI_STEPPER_MOTORCHAR_PAR_STARTFREQUENCY, 100,0,0);
// Startfrequenz [Vollschritt / s]
DapiStepperCommand(handle, motor, DAPI_STEPPER_CMD_SET_MOTORCHARACTERISTIC,
DAPI_STEPPER_MOTORCHAR_PAR_STOPFREQUENCY, 100,0,0);
// Stopfrequenz [Vollschritt / s]
DapiStepperCommand(handle, motor, DAPI_STEPPER_CMD_SET_MOTORCHARACTERISTIC,
DAPI_STEPPER_MOTORCHAR_PAR_MAXFREQUENCY, 3500,0,0);
// maximale Frequenz [Vollschritt / s]
DapiStepperCommand(handle, motor, DAPI_STEPPER_CMD_SET_MOTORCHARACTERISTIC,
DAPI_STEPPER_MOTORCHAR_PAR_ACCELERATIONSLOPE, 20,0,0);
// Beschleunigun in [Vollschritten / ms]
DapiStepperCommand(handle, motor, DAPI_STEPPER_CMD_SET_MOTORCHARACTERISTIC,
DAPI_STEPPER_MOTORCHAR_PAR_DECELERATIONSLOPE, 20,0,0);
// Bremsung in [Vollschritten / ms]
DapiStepperCommand(handle, motor, DAPI_STEPPER_CMD_SET_MOTORCHARACTERISTIC,
DAPI_STEPPER_MOTORCHAR_PAR_PHASECURRENT, 750,0,0);
// Phasenstrom [mA]
DapiStepperCommand(handle, motor, DAPI_STEPPER_CMD_SET_MOTORCHARACTERISTIC,
DAPI_STEPPER_MOTORCHAR_PAR_HOLDPHASECURRENT, 500,0,0);
// Phasenstrom bei Motorstillstand [mA]
DapiStepperCommand(handle, motor, DAPI_STEPPER_CMD_SET_MOTORCHARACTERISTIC,
DAPI_STEPPER_MOTORCHAR_PAR_HOLDTIME, 15000,0,0);
// Zeit in der der Haltestrom fließt nach Motorstop [s]
DapiStepperCommand(handle, motor, DAPI_STEPPER_CMD_SET_MOTORCHARACTERISTIC,
DAPI_STEPPER_MOTORCHAR_PAR_STATUSLEDMODE, 0,0,0);
// Betriebsart der Status-LED
DapiStepperCommand(handle, motor, DAPI_STEPPER_CMD_SET_MOTORCHARACTERISTIC,
DAPI_STEPPER_MOTORCHAR_PAR_INVERT_ENDSW1, 0,0,0);
// invertiere Funktion des Endschalter1