EtherCAT:EC SLAVE GET ERROR
This function returns the error code saved in the drive when an internal error occurs.
Input
Generic axis
Output
None
Return Value
Error code as long
Declaration
public function EC_SLAVE_GET_ERROR(Ax as generic axis) as long
Examples
errVal = EC_SLAVE_GET_ERROR(ax1)