|
AuboStudio SDK
0.6.3
|
|
|
|
|
\chinese EtherNet/IP IO 接口 此接口提供对 EtherNet/IP I/O 的支持。 \endchinese \english EtherNetIP This interface provides support for EtherNet/IP I/Os. 更多...
#include <ethernet_ip.h>


Public 成员函数 | |
| EtherNetIP (EtherNetIP &f) | |
| EtherNetIP (EtherNetIP &&f) | |
| ~EtherNetIP () | |
| int | getByteOffset () |
| \chinese 获取此EtherNet/IP I/O的字节偏移量 | |
| int | getBitOffset () |
| \chinese 获取此EtherNet/IP I/O的位偏移量 | |
| bool | isSlave () |
| \chinese 判断此EtherNet/IP I/O是否为从站 | |
| bool | setValue (int value) |
| \chinese 设置EtherNet/IP信号的整数值。 | |
| int | getValue () |
| \chinese 获取EtherNet/IP信号的整数值。 | |
| Public 成员函数 继承自 arcs::aubo_scope::Io | |
| Io (Io &f) | |
| Io (Io &&f) | |
| virtual | ~Io () |
| std::string | getDisplayName () const |
| \chinese 获取当前安装中I/O的用户自定义名称 | |
| std::string | getDefaultName () const |
| \chinese 获取I/O的机器人默认名称 | |
| std::string | getValueStr () const |
| \chinese 获取I/O的当前读数值(字符串形式) | |
| IoType | getType () const |
| \chinese 获取I/O类型 | |
| InterfaceType | getInterfaceType () const |
| \chinese 获取此I/O所属的接口类型 | |
| int | getAction () const |
| \chinese 获取I/O的动作编号 | |
| bool | isInput () const |
| \chinese 判断I/O是否支持读取值 | |
| bool | isResolvable () const |
| \chinese 某些I/O(如MODBUS I/O和模拟工具输入)在某些情况下可能不可用。此方法用于判断 I/O是否可用。 | |
| size_t | hashCode () |
Private 成员函数 | |
| EtherNetIP () | |
Private 属性 | |
| void * | d_ { nullptr } |
友元 | |
| class | DataSwitch |
额外继承的成员函数 | |
| Public 类型 继承自 arcs::aubo_scope::Io | |
| enum | IoType : int { DIGITAL , ANALOG , INTEGER , BOOLEAN , DOUBLE } |
| enum | InterfaceType : int { STANDARD , TOOL , CONFIGURABLE , LINKIO , MODBUS , GENERAL_PURPOSE , PROFINET , ETHERNET_IP } |
| Protected 成员函数 继承自 arcs::aubo_scope::Io | |
| Io () | |
\chinese EtherNet/IP IO 接口 此接口提供对 EtherNet/IP I/O 的支持。 \endchinese \english EtherNetIP This interface provides support for EtherNet/IP I/Os.
\endenglish
在文件 ethernet_ip.h 第 20 行定义.
| arcs::aubo_scope::EtherNetIP::EtherNetIP | ( | EtherNetIP & | f | ) |
| arcs::aubo_scope::EtherNetIP::EtherNetIP | ( | EtherNetIP && | f | ) |
| arcs::aubo_scope::EtherNetIP::~EtherNetIP | ( | ) |
|
private |
| int arcs::aubo_scope::EtherNetIP::getBitOffset | ( | ) |
\chinese 获取此EtherNet/IP I/O的位偏移量
| int arcs::aubo_scope::EtherNetIP::getByteOffset | ( | ) |
\chinese 获取此EtherNet/IP I/O的字节偏移量
| int arcs::aubo_scope::EtherNetIP::getValue | ( | ) |
\chinese 获取EtherNet/IP信号的整数值。
| bool arcs::aubo_scope::EtherNetIP::isSlave | ( | ) |
\chinese 判断此EtherNet/IP I/O是否为从站
| bool arcs::aubo_scope::EtherNetIP::setValue | ( | int | value | ) |
\chinese 设置EtherNet/IP信号的整数值。
| value | 要设置的整数值。 |
true,否则返回false。 \endchinese \english Set EtherNet/IP signal to an integer value. | value | Set EtherNet/IP signal to an integer value. |
true if the EtherNet/IP signal was sent down to the controller, and false if the signal was not sent down. \endenglish
|
friend |
|
private |
在文件 ethernet_ip.h 第 93 行定义.