EtherCAT:EC SLAVE GET HOMING PARAMETERS

From SoftMC-Wiki
Revision as of 13:31, 13 January 2015 by Lisa (talk | contribs)
Jump to: navigation, search

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)

See Also