Difference between revisions of "EtherCAT:EC SLAVE HOME"
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Languages|EtherCAT:EC_SLAVE_HOME}} |
+ | {{Template:EtherCAT-Function | ||
|DESCRIPTION= | |DESCRIPTION= | ||
− | + | This subroutine is used to start the HOMING procedure in a slave drive. | |
|INPUT= | |INPUT= | ||
− | + | Generic axis, Homing timeout [ms] | |
|OUTPUT= | |OUTPUT= | ||
Line 11: | Line 12: | ||
|RETURN VALUE= | |RETURN VALUE= | ||
− | + | Void | |
|DECLARATION= | |DECLARATION= | ||
− | + | public sub EC_SLAVE_HOME(ax as generic axis, byval homingTimeout as long) | |
+ | |LIMITATIONS= | ||
+ | homingTimeout must be in the range [1...60,000] | ||
+ | |||
+ | if not called from terminal then axis must be attached to the calling task | ||
|EXAMPLE= | |EXAMPLE= | ||
− | + | call EC_SLAVE_HOME(ax1, 5000) | |
+ | |||
+ | |SEE ALSO= | ||
+ | * [[EtherCAT:EC SLAVE SET HOMING PARAMETERS|EC_SLAVE_SET_HOMING_PARAMETERS]] | ||
+ | * [[EtherCAT:EC SLAVE GET HOMING PARAMETERS|EC_SLAVE_GET_HOMING_PARAMETERS]] | ||
}} | }} |
Latest revision as of 06:27, 7 May 2017
Language: | English • 中文(简体) |
---|
This subroutine is used to start the HOMING procedure in a slave drive.
Input
Generic axis, Homing timeout [ms]
Output
None
Return Value
Void
Declaration
public sub EC_SLAVE_HOME(ax as generic axis, byval homingTimeout as long)
Limitations
homingTimeout must be in the range [1...60,000]
if not called from terminal then axis must be attached to the calling task
Examples
call EC_SLAVE_HOME(ax1, 5000)