EtherCAT:EC CLEAR FAULTS/zh-hans

From SoftMC-Wiki
< EtherCAT:EC CLEAR FAULTS
Revision as of 10:03, 5 May 2017 by Chi (talk | contribs) (Created page with "{{Languages}} {{Template:EtherCAT-Function == 描述 == This subroutine clears any faults in the drive by writing the value 0x80 to the control word. == 输入 == Slave addr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
语言: [[::EtherCAT:EC CLEAR FAULTS|English]]  • [[::EtherCAT:EC CLEAR FAULTS/zh-hans|中文(简体)‎]]

{{Template:EtherCAT-Function

描述

This subroutine clears any faults in the drive by writing the value 0x80 to the control word.

输入

Slave address

输出

None

返回值

None

声明

public sub EC_CLEAR_FAULTS(byval slaveAddr as long)

格式

call EC_CLEAR_FAULTS(<Slave address>)

例外规定

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

例子

call EC_CLEAR_FAULTS(1)


}}