Difference between revisions of "EtherCAT:EC CLEAR FAULTS"
m (Miborich moved page Axystems:EtherCAT:EC CLEAR FAULTS to EtherCAT:EC CLEAR FAULTS: Global renaming of Axystems: namespace into (Main):) |
m (Text replace - "Axystems:" to "") |
||
Line 1: | Line 1: | ||
− | {{ | + | {{Template:EtherCAT-Function |
|DESCRIPTION= | |DESCRIPTION= |
Revision as of 09:12, 22 May 2014
This subroutine clears faults that exist in the drive by writing to the control word the value 0x80.
Input
Slave address
Output
None
Return Value
None
Declaration
public sub EC_CLEAR_FAULTS(byval slaveAddr as long)
Syntax
call EC_CLEAR_FAULTS(<Slave address>)
Exceptions
EC_SLAVE_ADDRESS_ERROR - "SLAVE ADDRESS ERROR" 20032
EC_PDO_PARMS_ERROR - "INVAILD PDO PARAMETERS" 20040
EC_PDO_DIRECTION_ERROR - "PDO WRONG DIRECTION (INPUT/OUTPUT)" 20046
Examples
call EC_CLEAR_FAULTS(0)