Difference between revisions of "EtherCAT:EC SLAVE GET ERROR"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Axystems:" to "")
m
Line 2: Line 2:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
This function returns the error code saved in the drive in case of an internal error.
+
This function returns the error code saved in the drive when an internal error occurs.
  
 
|INPUT=
 
|INPUT=

Revision as of 13:32, 13 January 2015

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)