|
AuboStudio SDK
0.6.3
|
|
|
|
|
This interface provides support for MODBUS I/Os. 更多...
#include <modbus_io.h>


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.h 第 14 行定义.
| arcs::aubo_scope::ModbusIo::ModbusIo | ( | ModbusIo & | f | ) |
| arcs::aubo_scope::ModbusIo::ModbusIo | ( | ModbusIo && | f | ) |
| arcs::aubo_scope::ModbusIo::~ModbusIo | ( | ) |
|
private |
| std::string arcs::aubo_scope::ModbusIo::getIpAddress | ( | ) |
| std::string arcs::aubo_scope::ModbusIo::getSignalAddress | ( | ) |
| int arcs::aubo_scope::ModbusIo::getValue | ( | ) |
false is represented by 0 and true} is represented by the value 1. | bool arcs::aubo_scope::ModbusIo::isSlave | ( | ) |
| bool arcs::aubo_scope::ModbusIo::setValue | ( | int | value | ) |
| value | Set 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.
|
friend |
|
private |
在文件 modbus_io.h 第 63 行定义.