Difference between revisions of "EtherCAT:EC CLEAR FAULTS"
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|EtherCAT:EC_CLEAR_FAULTS}} | ||
{{Template:EtherCAT-Function | {{Template:EtherCAT-Function | ||
|DESCRIPTION= | |DESCRIPTION= | ||
− | This subroutine clears faults | + | This subroutine clears any faults in the drive by writing the value 0x80 to the control word. |
|INPUT= | |INPUT= |
Latest revision as of 10:00, 5 May 2017
Language: | English • 中文(简体) |
---|
This subroutine clears any faults in the drive by writing the value 0x80 to the control word.
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(1)