AuboStudio SDK  0.6.3
arcs::aubo_scope::Profinet Class Reference

This interface provides support for PROFINET I/Os. More...

#include <profinet.h>

Inheritance diagram for arcs::aubo_scope::Profinet:
Collaboration diagram for arcs::aubo_scope::Profinet:

Public Member Functions

 Profinet (Profinet &f)
 
 Profinet (Profinet &&f)
 
 ~Profinet ()
 
int getByteOffset ()
 
int getBitOffset ()
 
bool isSlave ()
 
bool setValue (int value)
 
int getValue ()
 
- Public Member Functions inherited from 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. More...
 
size_t hashCode ()
 

Private Member Functions

 Profinet ()
 

Private Attributes

void * d_ { nullptr }
 

Friends

class DataSwitch
 

Additional Inherited Members

- Public Types inherited from 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 Member Functions inherited from arcs::aubo_scope::Io
 Io ()
 

Detailed Description

This interface provides support for PROFINET I/Os.

Definition at line 14 of file profinet.h.

Constructor & Destructor Documentation

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

Member Function Documentation

int arcs::aubo_scope::Profinet::getBitOffset ( )
Returns
Get the bit offset for this Profinet I/O.
int arcs::aubo_scope::Profinet::getByteOffset ( )
Returns
Get the byte offset for this Profinet I/O.
int arcs::aubo_scope::Profinet::getValue ( )
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.
bool arcs::aubo_scope::Profinet::isSlave ( )
Returns
Get the is slave for this Profinet I/O.
bool arcs::aubo_scope::Profinet::setValue ( int  value)
Parameters
valueSet 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.
Returns
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.

Friends And Related Function Documentation

friend class DataSwitch
friend

Definition at line 61 of file profinet.h.

Member Data Documentation

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

Definition at line 63 of file profinet.h.


The documentation for this class was generated from the following file: