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

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 ()
 
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

 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

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

Definition at line 14 of file ethernet_ip.h.

Constructor & Destructor Documentation

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

Member Function Documentation

int arcs::aubo_scope::EtherNetIP::getBitOffset ( )
Returns
Get the bit offset for this EtherNet/IP I/O.
int arcs::aubo_scope::EtherNetIP::getByteOffset ( )
Returns
Get the byte offset for this EtherNet/IP I/O.
int arcs::aubo_scope::EtherNetIP::getValue ( )
Returns
the integer value of the EtherNet/IP signal. If the EtherNet/IP signal is digital then false is represented by 0 and true} is represented by the value 1.
bool arcs::aubo_scope::EtherNetIP::isSlave ( )
Returns
Get the is slave for this EtherNet/IP I/O.
bool arcs::aubo_scope::EtherNetIP::setValue ( int  value)
Parameters
valueSet EtherNet/IP signal to an integer value. If the EtherNet/IP signal is digital, then false is represented by 0 and true are represented by all numbers different from 0.
Returns
true if the EtherNet/IP 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 EtherNet/IP signal must support writes, consult the Aubo EtherNet/IP protocol.

Friends And Related Function Documentation

friend class DataSwitch
friend

Definition at line 61 of file ethernet_ip.h.

Member Data Documentation

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

Definition at line 63 of file ethernet_ip.h.


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