AuboStudio SDK 0.6.3

函数
Profinet

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

## 函数
int | arcs::aubo_scope::Profinet::getByteOffset ()
int | arcs::aubo_scope::Profinet::getBitOffset ()
bool | arcs::aubo_scope::Profinet::isSlave ()
bool | arcs::aubo_scope::Profinet::setValue (int value)
int | arcs::aubo_scope::Profinet::getValue ()

## 详细描述

This interface provides support for PROFINET I/Os.

## 函数说明

## ◆ getBitOffset()

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

返回
  Get the bit offset for this Profinet I/O.

## ◆ getByteOffset()

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

返回
  Get the byte offset for this Profinet I/O.

## ◆ getValue()

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

返回
  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.

## ◆ isSlave()

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

返回
  Get the is slave for this Profinet I/O.

## ◆ setValue()

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

参数

  value | 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.

返回
  `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.