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

ModbusIo This interface provides support for MODBUS I/Os. More...

#include <modbus_io.h>

Inheritance diagram for arcs::aubo_scope::ModbusIo:
Collaboration diagram for arcs::aubo_scope::ModbusIo:

Public Member Functions

 ModbusIo (ModbusIo &f)
 ModbusIo (ModbusIo &&f)
 ~ModbusIo ()
std::string getIpAddress ()
 Returns the IP address for this MODBUS I/O.
std::string getSignalAddress ()
 Returns the signal address for this MODBUS I/O.
bool isSlave ()
 Returns whether this MODBUS I/O is a slave.
bool setValue (int value)
 Set MODBUS signal to an integer value.
int getValue ()
 Returns the integer value of the MODBUS 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

 ModbusIo ()

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

ModbusIo This interface provides support for MODBUS I/Os.

Definition at line 21 of file modbus_io.h.

Constructor & Destructor Documentation

◆ ModbusIo() [1/3]

arcs::aubo_scope::ModbusIo::ModbusIo ( ModbusIo & f)

References ModbusIo().

Referenced by ModbusIo(), and ModbusIo().

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

◆ ModbusIo() [2/3]

arcs::aubo_scope::ModbusIo::ModbusIo ( ModbusIo && f)

References ModbusIo().

Here is the call graph for this function:

◆ ~ModbusIo()

arcs::aubo_scope::ModbusIo::~ModbusIo ( )

◆ ModbusIo() [3/3]

arcs::aubo_scope::ModbusIo::ModbusIo ( )
private

Member Function Documentation

◆ getIpAddress()

std::string arcs::aubo_scope::ModbusIo::getIpAddress ( )

Returns the IP address for this MODBUS I/O.

Returns
Get the IP address for this MODBUS I/O.

◆ getSignalAddress()

std::string arcs::aubo_scope::ModbusIo::getSignalAddress ( )

Returns the signal address for this MODBUS I/O.

Returns
the signal address for this MODBUS I/O.

◆ getValue()

int arcs::aubo_scope::ModbusIo::getValue ( )

Returns the integer value of the MODBUS signal.

Returns
the integer value of the MODBUS signal.

◆ isSlave()

bool arcs::aubo_scope::ModbusIo::isSlave ( )

Returns whether this MODBUS I/O is a slave.

Returns
Get the is slave for this MODBUS I/O.

◆ setValue()

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

Set MODBUS signal to an integer value.

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

◆ DataSwitch

friend class DataSwitch
friend

Definition at line 97 of file modbus_io.h.

References DataSwitch.

Referenced by DataSwitch.

Member Data Documentation

◆ d_

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

Definition at line 99 of file modbus_io.h.


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