This interface provides support for MODBUS I/Os.
More...
#include <modbus_io.h>
This interface provides support for MODBUS I/Os.
Definition at line 14 of file modbus_io.h.
arcs::aubo_scope::ModbusIo::ModbusIo |
( |
ModbusIo & |
f | ) |
|
arcs::aubo_scope::ModbusIo::ModbusIo |
( |
ModbusIo && |
f | ) |
|
arcs::aubo_scope::ModbusIo::~ModbusIo |
( |
| ) |
|
arcs::aubo_scope::ModbusIo::ModbusIo |
( |
| ) |
|
|
private |
std::string arcs::aubo_scope::ModbusIo::getIpAddress |
( |
| ) |
|
- Returns
- Get the IP address for this MODBUS I/O.
std::string arcs::aubo_scope::ModbusIo::getSignalAddress |
( |
| ) |
|
- Returns
- the signal address for this MODBUS I/O.
int arcs::aubo_scope::ModbusIo::getValue |
( |
| ) |
|
- Returns
- the integer value of the MODBUS signal. If the MODBUS signal is digital then
false
is represented by 0 and true}
is represented by the value 1.
bool arcs::aubo_scope::ModbusIo::setValue |
( |
int |
value | ) |
|
- Parameters
-
value | Set MODBUS signal to an integer value. If the MODBUS signal is digital, then false is represented by 0 and true are represented by all numbers different from 0. |
- Returns
true
if the MODBUS 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 MODBUS signal must support writes, consult the Aubo MODBUS protocol.
void* arcs::aubo_scope::ModbusIo::d_ { nullptr } |
|
private |
The documentation for this class was generated from the following file: