Difference between revisions of "EtherCAT:EC CLEAR FAULTS/zh-hans"

From SoftMC-Wiki
Jump to: navigation, search
 
Line 1: Line 1:
{{Languages}}
+
{{Languages|EtherCAT:EC_CLEAR_FAULTS}}
  
 
== 描述 ==
 
== 描述 ==
This subroutine clears any faults in the drive by writing the value 0x80 to the control word.
+
该子程序通过将值0x80写入控制字来清除驱动器中的任何故障。
  
 
== 输入 ==
 
== 输入 ==

Latest revision as of 15:30, 5 May 2017

语言: English  • 中文(简体)‎

描述

该子程序通过将值0x80写入控制字来清除驱动器中的任何故障。

输入

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)