AuboStudio SDK  0.6.3
arcs::aubo_scope::ModbusIo类 参考

This interface provides support for MODBUS I/Os. 更多...

#include <modbus_io.h>

类 arcs::aubo_scope::ModbusIo 继承关系图:
arcs::aubo_scope::ModbusIo 的协作图:

Public 成员函数

 ModbusIo (ModbusIo &f)
 ModbusIo (ModbusIo &&f)
 ~ModbusIo ()
std::string getIpAddress ()
std::string getSignalAddress ()
bool isSlave ()
bool setValue (int value)
int getValue ()
Public 成员函数 继承自 arcs::aubo_scope::Io
 Io (Io &f)
 Io (Io &&f)
virtual ~Io ()
std::string getDisplayName () const
std::string getDefaultName () const
std::string getValueStr () const
IoType getType () const
InterfaceType getInterfaceType () const
int getAction () const
bool isInput () const
bool isResolvable () const
 Some I/Os, such as MODBUS I/Os and analog Tool inputs, are in some situations not present in AuboScope or available for use.
size_t hashCode ()

Private 成员函数

 ModbusIo ()

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 ()

详细描述

This interface provides support for MODBUS I/Os.

在文件 modbus_io.h14 行定义.

构造及析构函数说明

◆ ModbusIo() [1/3]

arcs::aubo_scope::ModbusIo::ModbusIo ( ModbusIo & f)

引用了 ModbusIo().

被这些函数引用 ModbusIo() , 以及 ModbusIo().

函数调用图:
这是这个函数的调用关系图:

◆ ModbusIo() [2/3]

arcs::aubo_scope::ModbusIo::ModbusIo ( ModbusIo && f)

引用了 ModbusIo().

函数调用图:

◆ ~ModbusIo()

arcs::aubo_scope::ModbusIo::~ModbusIo ( )

◆ ModbusIo() [3/3]

arcs::aubo_scope::ModbusIo::ModbusIo ( )
private

成员函数说明

◆ getIpAddress()

std::string arcs::aubo_scope::ModbusIo::getIpAddress ( )
返回
Get the IP address for this MODBUS I/O.

◆ getSignalAddress()

std::string arcs::aubo_scope::ModbusIo::getSignalAddress ( )
返回
the signal address for this MODBUS I/O.

◆ getValue()

int arcs::aubo_scope::ModbusIo::getValue ( )
返回
the integer value of the MODBUS signal. If the MODBUS signal is digital then false is represented by 0 and true} is represented by the value 1.

◆ isSlave()

bool arcs::aubo_scope::ModbusIo::isSlave ( )
返回
Get the is slave for this MODBUS I/O.

◆ setValue()

bool arcs::aubo_scope::ModbusIo::setValue ( int value)
参数
valueSet MODBUS signal to an integer value. If the MODBUS signal is digital, then false is represented by 0 and true are represented by all numbers different from 0.
返回
true if the MODBUS signal was sent down to the controller, and false if the signal was not sent down, e.g. because the controller was not running. Notice that the MODBUS signal must support writes, consult the Aubo MODBUS protocol.

◆ DataSwitch

friend class DataSwitch
friend

在文件 modbus_io.h61 行定义.

引用了 DataSwitch.

被这些函数引用 DataSwitch.

类成员变量说明

◆ d_

void* arcs::aubo_scope::ModbusIo::d_ { nullptr }
private

在文件 modbus_io.h63 行定义.


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