AuboStudio SDK 0.6.3

Public 成员函数 | Private 成员函数 | Private 属性 | 友元 | 所有成员列表
arcs::aubo_scope::AnalogIo类 参考

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

`#include <analog_io.h>`

类 arcs::aubo_scope::AnalogIo 继承关系图:
[图例]
arcs::aubo_scope::AnalogIo 的协作图:
[图例]

## Public 成员函数
| AnalogIo (AnalogIo &f)
| AnalogIo (AnalogIo &&f)
| ~AnalogIo ()
double | getMinRangeValue ()
double | getMaxRangeValue ()
bool | isCurrent ()
bool | isVoltage ()
bool | setValue (double value)
| Set analog I/O output signal. 更多...
double | 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 成员函数
| AnalogIo ()

## 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 analog I/Os.

在文件 analog_io.h 第 14 行定义.

## 构造及析构函数说明

## ◆ AnalogIo() [1/3]

arcs::aubo_scope::AnalogIo::AnalogIo | ( | AnalogIo & | f | ) |

## ◆ AnalogIo() [2/3]

arcs::aubo_scope::AnalogIo::AnalogIo | ( | AnalogIo && | f | ) |

## ◆ ~AnalogIo()

arcs::aubo_scope::AnalogIo::~AnalogIo | ( |  | ) |

## ◆ AnalogIo() [3/3]

arcs::aubo_scope::AnalogIo::AnalogIo | ( |  | ) |
| private

## 成员函数说明

## ◆ getMaxRangeValue()

double arcs::aubo_scope::AnalogIo::getMaxRangeValue | ( |  | ) |

## ◆ getMinRangeValue()

double arcs::aubo_scope::AnalogIo::getMinRangeValue | ( |  | ) |

## ◆ getValue()

double arcs::aubo_scope::AnalogIo::getValue | ( |  | ) |

返回
  Returns the last reading of the I/O.

## ◆ isCurrent()

bool arcs::aubo_scope::AnalogIo::isCurrent | ( |  | ) |

## ◆ isVoltage()

bool arcs::aubo_scope::AnalogIo::isVoltage | ( |  | ) |

## ◆ setValue()

bool arcs::aubo_scope::AnalogIo::setValue | ( | double | value | ) |

Set analog I/O output signal.

Notice the I/O must be an output I/O

参数

  value | The analog value to be set.

返回
  `true` if the analog signal was set, `false` if the signal was not set, e.g. because the controller was not running.

## 友元及相关函数文档

## ◆ DataSwitch

friend class DataSwitch
| friend

在文件 analog_io.h 第 44 行定义.

## 类成员变量说明

## ◆ d_

void* arcs::aubo_scope::AnalogIo::d_ { nullptr }
| private

在文件 analog_io.h 第 46 行定义.

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

- include/aubo_caps/domain/io/analog_io.h