Difference between revisions of "EtherCAT:EC SLAVE GET HOMING PARAMETERS"
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Languages|EtherCAT:EC_SLAVE_GET_HOMING_PARAMETERS}} |
+ | {{Template:EtherCAT-Function | ||
|DESCRIPTION= | |DESCRIPTION= | ||
− | This function | + | This function returns the value of a homing parameter in a slave. |
|INPUT= | |INPUT= | ||
Line 15: | Line 16: | ||
|DECLARATION= | |DECLARATION= | ||
public function EC_SLAVE_GET_HOMING_PARAMETERS(ax as generic axis, byval paramNum as long) as long | public function EC_SLAVE_GET_HOMING_PARAMETERS(ax as generic axis, byval paramNum as long) as long | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|EXAMPLE= | |EXAMPLE= | ||
Line 35: | Line 26: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[EtherCAT:EC SLAVE HOME|EC_SLAVE_HOME]] |
− | + | * [[EtherCAT:EC SLAVE SET HOMING PARAMETERS|EC_SLAVE_SET_HOMING_PARAMETERS]] | |
− | |||
− | |||
− | |||
− | * [[ | ||
}} | }} |
Latest revision as of 18:25, 6 May 2017
Language: | English • 中文(简体) |
---|
This function returns the value of a homing parameter in a slave.
Input
Generic axis, Parameter number
Output
None
Return Value
homing parameter as long
Declaration
public function EC_SLAVE_GET_HOMING_PARAMETERS(ax as generic axis, byval paramNum as long) as long
Examples
tempVal = EC_SLAVE_GET_HOMING_PARAMETERS(ax1, HOMING_METHOD)
tempVal = EC_SLAVE_GET_HOMING_PARAMETERS(ax1, HOMING_OFFSET)
tempVal = EC_SLAVE_GET_HOMING_PARAMETERS(ax1, FAST_HOMING_SPEED)
tempVal = EC_SLAVE_GET_HOMING_PARAMETERS(ax1, SLOW_HOMING_SPEED)
tempVal = EC_SLAVE_GET_HOMING_PARAMETERS(ax1, HOMING_ACCELERATION)