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

\chinese PROFINET IO 接口 此接口提供对 PROFINET I/O 的支持。 \endchinese \english Profinet This interface provides support for PROFINET I/Os. 更多...

#include <profinet.h>

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

Public 成员函数

 Profinet (Profinet &f)
 Profinet (Profinet &&f)
 ~Profinet ()
int getByteOffset ()
 \chinese 获取此PROFINET I/O的字节偏移量
int getBitOffset ()
 \chinese 获取此PROFINET I/O的位偏移量
bool isSlave ()
 \chinese 判断此PROFINET I/O是否为从站
bool setValue (int value)
 \chinese 设置PROFINET信号的整数值。如果PROFINET信号是数字量,则false用0 表示,true用所有非0数字表示。
int getValue ()
 \chinese 获取PROFINET信号的整数值。如果PROFINET信号是数字量,则false用0 表示,true用值1表示。
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 成员函数

 Profinet ()

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 PROFINET IO 接口 此接口提供对 PROFINET I/O 的支持。 \endchinese \english Profinet This interface provides support for PROFINET I/Os.

\endenglish

在文件 profinet.h21 行定义.

构造及析构函数说明

◆ Profinet() [1/3]

arcs::aubo_scope::Profinet::Profinet ( Profinet & f)

引用了 Profinet().

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

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

◆ Profinet() [2/3]

arcs::aubo_scope::Profinet::Profinet ( Profinet && f)

引用了 Profinet().

函数调用图:

◆ ~Profinet()

arcs::aubo_scope::Profinet::~Profinet ( )

◆ Profinet() [3/3]

arcs::aubo_scope::Profinet::Profinet ( )
private

成员函数说明

◆ getBitOffset()

int arcs::aubo_scope::Profinet::getBitOffset ( )

\chinese 获取此PROFINET I/O的位偏移量

返回
位偏移量。 \endchinese \english Returns the bit offset for this Profinet I/O.
Get the bit offset for this Profinet I/O. \endenglish

◆ getByteOffset()

int arcs::aubo_scope::Profinet::getByteOffset ( )

\chinese 获取此PROFINET I/O的字节偏移量

返回
字节偏移量。 \endchinese \english Returns the byte offset for this Profinet I/O.
Get the byte offset for this Profinet I/O. \endenglish

◆ getValue()

int arcs::aubo_scope::Profinet::getValue ( )

\chinese 获取PROFINET信号的整数值。如果PROFINET信号是数字量,则false用0 表示,true用值1表示。

返回
PROFINET信号的整数值。 \endchinese \english Returns the integer value of the PROFINET signal. If the PROFINET signal is digital then false is represented by 0 and true is represented by the value 1.
the integer value of the PROFINET signal. \endenglish

◆ isSlave()

bool arcs::aubo_scope::Profinet::isSlave ( )

\chinese 判断此PROFINET I/O是否为从站

返回
是否为从站。 \endchinese \english Returns whether this Profinet I/O is a slave.
true if this is a slave. \endenglish

◆ setValue()

bool arcs::aubo_scope::Profinet::setValue ( int value)

\chinese 设置PROFINET信号的整数值。如果PROFINET信号是数字量,则false用0 表示,true用所有非0数字表示。

参数
value要设置的整数值。
返回
如果PROFINET信号已下发到控制器则返回true,如果信号未下发 (例如控制器未运行)则返回false。注意PROFINET信号必须支持写入, 请查阅Aubo PROFINET协议。 \endchinese \english Set PROFINET signal to an integer value. If the PROFINET signal is digital, then false is represented by 0 and true are represented by all numbers different from 0.
参数
valuethe integer value to set.
返回
true if the PROFINET 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 PROFINET signal must support writes, consult the Aubo PROFINET protocol. \endenglish

◆ DataSwitch

friend class DataSwitch
friend

在文件 profinet.h109 行定义.

引用了 DataSwitch.

被这些函数引用 DataSwitch.

类成员变量说明

◆ d_

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

在文件 profinet.h111 行定义.


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