\chinese PROFINET IO 接口 此接口提供对 PROFINET I/O 的支持。 \endchinese \english Profinet This interface provides support for PROFINET I/Os.
更多...
#include <profinet.h>
|
| enum | IoType : int {
DIGITAL
, ANALOG
, INTEGER
, BOOLEAN
,
DOUBLE
} |
| enum | InterfaceType : int {
STANDARD
, TOOL
, CONFIGURABLE
, LINKIO
,
MODBUS
, GENERAL_PURPOSE
, PROFINET
, ETHERNET_IP
} |
| | Io () |
\chinese PROFINET IO 接口 此接口提供对 PROFINET I/O 的支持。 \endchinese \english Profinet This interface provides support for PROFINET I/Os.
\endenglish
在文件 profinet.h 第 21 行定义.
◆ Profinet() [1/3]
| arcs::aubo_scope::Profinet::Profinet |
( |
Profinet & | f | ) |
|
◆ Profinet() [2/3]
| arcs::aubo_scope::Profinet::Profinet |
( |
Profinet && | f | ) |
|
◆ ~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数字表示。
- 参数
-
- 返回
- 如果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.
- 参数
-
| value | the 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
◆ d_
| void* arcs::aubo_scope::Profinet::d_ { nullptr } |
|
private |
该类的文档由以下文件生成: