| xCore-SDK 0.7.1 xCore SDK C# API

Public 成员函数 | 所有成员列表
rokae::clr::BaseEthercat类 参考

EtherCAT 从站访问（与 C++ BaseRobot::ethercat() / rokae::BaseEthercat 对应） 更多...

`#include <ethercat_cli.hpp>`

## Public 成员函数
| BaseEthercat (::rokae::BaseEthercat &&src)
| 由 BaseRobot::ethercat() 构造。
bool | ReadSDO (int slave_addr, int index, int sub_index, int length, array< Byte >^% data, int over_time, [System::Runtime::InteropServices::Out] ErrorCode^% ec)
bool | WriteSDO (int slave_addr, int index, int sub_index, int length, array< Byte >^ data, int over_time, [System::Runtime::InteropServices::Out] ErrorCode^% ec)
bool | WriteMultiSDO (System::UInt16 slave_addr, List< SDOData^>^ items, [System::Runtime::InteropServices::Out] ErrorCode^% ec)
int | GetSlaveCount ([System::Runtime::InteropServices::Out] ErrorCode^% ec)
SlaveInfo | GetSlaveInfo (int slave_addr, [System::Runtime::InteropServices::Out] ErrorCode^% ec)
List< SlaveInfo > | GetSlavesInfo ([System::Runtime::InteropServices::Out] ErrorCode^% ec)
bool | SetSlavesState (System::UInt16 state, [System::Runtime::InteropServices::Out] ErrorCode^% ec)
System::UInt16 | GetSlaveState (int slave_addr, [System::Runtime::InteropServices::Out] ErrorCode^% ec)
bool | ReadPDO (int slave_addr, int offset, int size, array< Byte >^% data, [System::Runtime::InteropServices::Out] ErrorCode^% ec)
bool | WritePDO (int slave_addr, int offset, int size, array< Byte >^ data, [System::Runtime::InteropServices::Out] ErrorCode^% ec)

## 详细描述

EtherCAT 从站访问（与 C++ BaseRobot::ethercat() / rokae::BaseEthercat 对应）

在文件 ethercat_cli.hpp 第 20 行定义.

该类的文档由以下文件生成:

- ethercat_cli.hpp