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

Profinet 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 ()
 Returns the byte offset for this Profinet I/O.
int getBitOffset ()
 Returns the bit offset for this Profinet I/O.
bool isSlave ()
 Returns whether this Profinet I/O is a slave.
bool setValue (int value)
 Set PROFINET signal to an integer value.
int getValue ()
 Returns the integer value of the PROFINET signal.
Public Member Functions inherited from arcs::aubo_scope::Io
 Io (Io &f)
 Io (Io &&f)
virtual ~Io ()
std::string getDisplayName () const
 Returns the user defined name of the IO in the currently selected installation.
std::string getDefaultName () const
 Returns the robot default name of the I/O.
std::string getValueStr () const
 Returns the current reading of the I/O as a string.
IoType getType () const
 Returns the I/O type.
InterfaceType getInterfaceType () const
 Returns the interface type this I/O belongs to.
int getAction () const
 Returns the action number of the I/O.
bool isInput () const
 Returns true if I/O supports reading of values and false otherwise.
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.
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

Profinet This interface provides support for PROFINET I/Os.

Definition at line 21 of file profinet.h.

Constructor & Destructor Documentation

◆ Profinet() [1/3]

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

References Profinet().

Referenced by Profinet(), and Profinet().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Profinet() [2/3]

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

References Profinet().

Here is the call graph for this function:

◆ ~Profinet()

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

◆ Profinet() [3/3]

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

Member Function Documentation

◆ getBitOffset()

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

Returns the bit offset for this Profinet I/O.

Returns
Get the bit offset for this Profinet I/O.

◆ getByteOffset()

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

Returns the byte offset for this Profinet I/O.

Returns
Get the byte offset for this Profinet I/O.

◆ getValue()

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.

Returns
the integer value of the PROFINET signal.

◆ isSlave()

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

Returns whether this Profinet I/O is a slave.

Returns
true if this is a slave.

◆ setValue()

bool arcs::aubo_scope::Profinet::setValue ( int 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.

Parameters
valuethe integer value to set.
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.

◆ DataSwitch

friend class DataSwitch
friend

Definition at line 109 of file profinet.h.

References DataSwitch.

Referenced by DataSwitch.

Member Data Documentation

◆ d_

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

Definition at line 111 of file profinet.h.


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