Difference between revisions of "EtherCAT:EC SLAVE SET HOMING PARAMETERS"
m |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Languages|EtherCAT:EC_SLAVE_SET_HOMING_PARAMETERS}} |
+ | {{Template:EtherCAT-Function | ||
|DESCRIPTION= | |DESCRIPTION= | ||
− | + | Sets homing parameters in a slave. | |
|INPUT= | |INPUT= | ||
Line 18: | Line 19: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | Available | + | Available parameter numbers and ranges are as follows:<br/> |
1 - HOMING_METHOD [1 to 36]<br/> | 1 - HOMING_METHOD [1 to 36]<br/> | ||
2 - HOMING_OFFSET ....<br/> | 2 - HOMING_OFFSET ....<br/> | ||
Line 25: | Line 26: | ||
5 - HOMING_ACCELERATION/DECELERATION [0 to 4294967295]<br/> | 5 - HOMING_ACCELERATION/DECELERATION [0 to 4294967295]<br/> | ||
− | For further details about homing | + | For further details about homing, refer to the CDHD CANopen Reference Manual. |
|EXAMPLE= | |EXAMPLE= | ||
Line 35: | Line 36: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[EtherCAT:EC SLAVE HOME|EC SLAVE HOME]] |
* [[EtherCAT:EC SLAVE GET HOMING PARAMETERS|EC_SLAVE_GET_HOMING_PARAMETERS]] | * [[EtherCAT:EC SLAVE GET HOMING PARAMETERS|EC_SLAVE_GET_HOMING_PARAMETERS]] | ||
}} | }} |
Latest revision as of 06:52, 7 May 2017
Language: | English • 中文(简体) |
---|
Sets homing parameters in a slave.
Input
Generic axis, Parameter number, Parameter's new value
Output
None
Return Value
Void
Declaration
public sub EC_SLAVE_SET_HOMING_PARAMETERS(ax as generic axis, byval paramNum as long, byval paramVal as long)
Limitations
Available parameter numbers and ranges are as follows:
1 - HOMING_METHOD [1 to 36]
2 - HOMING_OFFSET ....
3 - FAST_HOMING_SPEED [0 to 4294967295]
4 - SLOW_HOMING_SPEED [0 to 4294967295]
5 - HOMING_ACCELERATION/DECELERATION [0 to 4294967295]
For further details about homing, refer to the CDHD CANopen Reference Manual.
Examples
call EC_SLAVE_SET_HOMING_PARAMETERS(ax1, HOMING_METHOD, 34)
call EC_SLAVE_SET_HOMING_PARAMETERS(ax1, HOMING_OFFSET, 4)
call EC_SLAVE_SET_HOMING_PARAMETERS(ax1, FAST_HOMING_SPEED, 2083334)
call EC_SLAVE_SET_HOMING_PARAMETERS(ax1, SLOW_HOMING_SPEED, 416668)
call EC_SLAVE_SET_HOMING_PARAMETERS(ax1, HOMING_ACCELERATION, 16666664)