PROFINET IO 接口 此接口提供对 PROFINET I/O 的支持。
更多...
#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 () |
PROFINET IO 接口 此接口提供对 PROFINET I/O 的支持。
在文件 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 |
( |
| ) |
|
获取此PROFINET I/O的位偏移量
- 返回
- 位偏移量。
◆ getByteOffset()
| int arcs::aubo_scope::Profinet::getByteOffset |
( |
| ) |
|
获取此PROFINET I/O的字节偏移量
- 返回
- 字节偏移量。
◆ getValue()
| int arcs::aubo_scope::Profinet::getValue |
( |
| ) |
|
获取PROFINET信号的整数值。如果PROFINET信号是数字量,则false用0 表示,true用值1表示。
- 返回
- PROFINET信号的整数值。
◆ isSlave()
| bool arcs::aubo_scope::Profinet::isSlave |
( |
| ) |
|
判断此PROFINET I/O是否为从站
- 返回
- 是否为从站。
◆ setValue()
| bool arcs::aubo_scope::Profinet::setValue |
( |
int | value | ) |
|
设置PROFINET信号的整数值。如果PROFINET信号是数字量,则false用0 表示,true用所有非0数字表示。
- 参数
-
- 返回
- 如果PROFINET信号已下发到控制器则返回
true,如果信号未下发 (例如控制器未运行)则返回false。注意PROFINET信号必须支持写入, 请查阅Aubo PROFINET协议。
◆ DataSwitch
◆ d_
| void* arcs::aubo_scope::Profinet::d_ { nullptr } |
|
private |
该类的文档由以下文件生成: