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

EtherNetIP This interface provides support for EtherNet/IP I/Os. More...

#include <ethernet_ip.h>

Inheritance diagram for arcs::aubo_scope::EtherNetIP:
Collaboration diagram for arcs::aubo_scope::EtherNetIP:

Public Member Functions

 EtherNetIP (EtherNetIP &f)
 EtherNetIP (EtherNetIP &&f)
 ~EtherNetIP ()
int getByteOffset ()
 Returns the byte offset for this EtherNet/IP I/O.
int getBitOffset ()
 Returns the bit offset for this EtherNet/IP I/O.
bool isSlave ()
 Returns whether this EtherNet/IP I/O is a slave.
bool setValue (int value)
 Set EtherNet/IP signal to an integer value.
int getValue ()
 Returns the integer value of the EtherNet/IP 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

 EtherNetIP ()

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

EtherNetIP This interface provides support for EtherNet/IP I/Os.

Definition at line 20 of file ethernet_ip.h.

Constructor & Destructor Documentation

◆ EtherNetIP() [1/3]

arcs::aubo_scope::EtherNetIP::EtherNetIP ( EtherNetIP & f)

References EtherNetIP().

Referenced by EtherNetIP(), and EtherNetIP().

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

◆ EtherNetIP() [2/3]

arcs::aubo_scope::EtherNetIP::EtherNetIP ( EtherNetIP && f)

References EtherNetIP().

Here is the call graph for this function:

◆ ~EtherNetIP()

arcs::aubo_scope::EtherNetIP::~EtherNetIP ( )

◆ EtherNetIP() [3/3]

arcs::aubo_scope::EtherNetIP::EtherNetIP ( )
private

Member Function Documentation

◆ getBitOffset()

int arcs::aubo_scope::EtherNetIP::getBitOffset ( )

Returns the bit offset for this EtherNet/IP I/O.

Returns
Get the bit offset for this EtherNet/IP I/O.

◆ getByteOffset()

int arcs::aubo_scope::EtherNetIP::getByteOffset ( )

Returns the byte offset for this EtherNet/IP I/O.

Returns
Get the byte offset for this EtherNet/IP I/O.

◆ getValue()

int arcs::aubo_scope::EtherNetIP::getValue ( )

Returns the integer value of the EtherNet/IP signal.

Returns
the integer value of the EtherNet/IP signal.

◆ isSlave()

bool arcs::aubo_scope::EtherNetIP::isSlave ( )

Returns whether this EtherNet/IP I/O is a slave.

Returns
Get the is slave for this EtherNet/IP I/O.

◆ setValue()

bool arcs::aubo_scope::EtherNetIP::setValue ( int value)

Set EtherNet/IP signal to an integer value.

Parameters
valueSet EtherNet/IP signal to an integer value.
Returns
true if the EtherNet/IP signal was sent down to the controller, and false if the signal was not sent down.

◆ DataSwitch

friend class DataSwitch
friend

Definition at line 91 of file ethernet_ip.h.

References DataSwitch.

Referenced by DataSwitch.

Member Data Documentation

◆ d_

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

Definition at line 93 of file ethernet_ip.h.


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