ModbusIo This interface provides support for MODBUS I/Os.
More...
#include <modbus_io.h>
|
| | 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.
|
| | 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 () |
|
| enum | IoType : int {
DIGITAL
, ANALOG
, INTEGER
, BOOLEAN
,
DOUBLE
} |
| enum | InterfaceType : int {
STANDARD
, TOOL
, CONFIGURABLE
, LINKIO
,
MODBUS
, GENERAL_PURPOSE
, PROFINET
, ETHERNET_IP
} |
| | Io () |
ModbusIo This interface provides support for MODBUS I/Os.
Definition at line 21 of file modbus_io.h.
◆ ModbusIo() [1/3]
| arcs::aubo_scope::ModbusIo::ModbusIo |
( |
ModbusIo & | f | ) |
|
◆ ModbusIo() [2/3]
| arcs::aubo_scope::ModbusIo::ModbusIo |
( |
ModbusIo && | f | ) |
|
◆ ~ModbusIo()
| arcs::aubo_scope::ModbusIo::~ModbusIo |
( |
| ) |
|
◆ ModbusIo() [3/3]
| arcs::aubo_scope::ModbusIo::ModbusIo |
( |
| ) |
|
|
private |
◆ 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
-
| value | Set 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
◆ d_
| void* arcs::aubo_scope::ModbusIo::d_ { nullptr } |
|
private |
The documentation for this class was generated from the following file: