DELIB API reference |
Seite
85
5.8.1.15. DAPI_STEPPER_CMD_GO_REFSWITCH
Description
The motor goes to the referece position.
Definition
DapiStepperCommand(handle, motor, DAPI_STEPPER_CMD_GO_REFSWITCH,
par1, par2, par3, 0);
Parameters
Values for par1: (if multiple are needed, the individual must be added)
DAPI_STEPPER_GO_REFSWITCH_PAR_REF1
DAPI_STEPPER_GO_REFSWITCH_PAR_REF2
DAPI_STEPPER_GO_REFSWITCH_PAR_REF_LEFT
DAPI_STEPPER_GO_REFSWITCH_PAR_REF_RIGHT
DAPI_STEPPER_GO_REFSWITCH_PAR_REF_GO_POSITIVE
DAPI_STEPPER_GO_REFSWITCH_PAR_REF_GO_NEGATIVE
DAPI_STEPPER_GO_REFSWITCH_PAR_SET_POS_0
par2=Motorpositionsoffset (1/16 Full-step)
par3=Timeout [ms]
Remarks
At first the motor goes to referenceposition 1 or 2 (see par1). Therefor the speed
GOREFERENCEFREQUENCY_TOENDSWITCH
is
used
for
(see
DapiStepperCommand_SetMotorcharacteristic). After this the motor goes with
the speed GOREFERENCEFREQUENCY_AFTERENDSWITCH out of the
Referenceposition.
If there is declaration of an offset as parameter (par2), the motor will go to this
offset with the speed GOREFERENCEFREQUENCY_TOOFFSET
Example program
DapiStepperCommand(handle, motor, DAPI_STEPPER_CMD_GO_REFSWITCH,
DAPI_STEPPER_GO_REFSWITCH_PA DAPI_STEPPER_GO_REFSWITCH_PAR_RE
DAPI_STEPPER_GO_REFSWITCH_PAR_REF_GO_PO
DAPI_STEPPER_GO_REFSWITCH_PAR_SET_POS_0, 0, 15000, 0);
Summary of Contents for RO-INTERFACE-ETH
Page 1: ...Hardware Description Oktober RO INTERFACE ETH 2010 ...
Page 4: ...I Introduction Seite 4 Introduction ...
Page 6: ...II Hardware description Seite 6 Hardware description ...
Page 12: ...III Configuring the module Seite 12 Configuring the module ...
Page 19: ...IV Firmware Update Seite 19 Firmware Update ...
Page 23: ...V Restore basic configuration Seite 23 Restore basic configuration ...
Page 25: ...VI Software Seite 25 Software ...
Page 37: ...VII Appendix Seite 37 Appendix ...
Page 38: ...Appendix Seite 38 7 Appendix 7 1 Revisions Rev 1 00 First issue Rev 2 00 Design change ...
Page 40: ...Hardware Description Oktober RO DIGITAL IN OUT 2010 ...
Page 44: ...I Introduction Seite 5 Introduction ...
Page 46: ...II Hardware description Seite 7 Hardware description ...
Page 62: ...III Software Seite 23 Software ...
Page 72: ...IV DELIB API reference Seite 33 DELIB API reference ...
Page 96: ...V Appendix Seite 57 Appendix ...
Page 97: ...Appendix Seite 58 5 Appendix 5 1 Revisions Rev 1 00 First issue Rev 2 00 Design change ...
Page 99: ...Hardware Description November RO STEPPER2 2010 ...
Page 103: ...I Introduction Seite 5 Introduction ...
Page 105: ...II Hardware description Seite 7 Hardware description ...
Page 109: ...III Software Seite 11 Software ...
Page 120: ...IV DELIB API reference Seite 22 DELIB API reference ...
Page 159: ...V Appendix Seite 61 Appendix ...
Page 162: ...Hardware Description November RO Series 2010 ...
Page 170: ...I Introduction Seite 9 Introduction ...
Page 172: ...II Hardware description Seite 11 Hardware description ...
Page 251: ...III Software Seite 90 Software ...
Page 263: ...IV DELIB API reference Seite 102 DELIB API reference ...
Page 333: ...V Appendix Seite 172 Appendix ...
Page 336: ...DEDITEC Driver Library Dezember DELIB 2010 ...
Page 341: ...I Welcome Seite 6 Welcome ...
Page 342: ...Welcome Seite 7 1 Welcome Manual DELIB ...
Page 343: ...II Introduction Seite 8 Introduction ...
Page 345: ...III Software Seite 10 Software ...
Page 357: ...IV Directory structure of the DELIB Seite 22 Directory structure of the DELIB ...
Page 360: ...V DELIB API reference Seite 25 DELIB API reference ...
Page 440: ...VI Appendix Seite 105 Appendix ...