EtherCAT:EC CLEAR FAULTS/zh-hans

From SoftMC-Wiki
< EtherCAT:EC CLEAR FAULTS
Revision as of 15:30, 5 May 2017 by Chi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
语言: 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)