AuboCaps
0.4.1
|
This interface provides support for MODBUS I/Os. More...
#include <modbus_io.h>
Public Member Functions | |
ModbusIo (ModbusIo &f) | |
ModbusIo (ModbusIo &&f) | |
~ModbusIo () | |
std::string | getIpAddress () |
std::string | getSignalAddress () |
bool | setValue (int value) |
int | getValue () |
![]() | |
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 |
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... | |
Private Member Functions | |
ModbusIo () | |
Private Attributes | |
void * | d_ { nullptr } |
Friends | |
class | DataSwitch |
Additional Inherited Members | |
![]() | |
enum | IoType : int { DIGITAL, ANALOG, INTEGER, BOOLEAN, DOUBLE } |
enum | InterfaceType : int { STANDARD, TOOL, CONFIGURABLE, SAFETYIO, LINKIO, MODBUS, GENERAL_PURPOSE } |
enum | DigitalInputAction : int { INPUT_DEFAULT, GO_HOME, FREEDRIVE, START_PROGRAM, STOP_PROGRAM, PAUSE_PROGRAM, POPUP_DISMISS } |
enum | DigitalOutputAction : int { OUTPUT_DEFAULT, LOW_WHEN_NOT_RUNNING, HIGH_WHEN_NOT_RUNNING, HIGH_WHEN_RUNNING_LOW_WHEN_STOP } |
enum | AnalogInputAction : int { ANANLOG_INPUT_DEFAULT } |
enum | AnalogOutputAction : int { ANANLOG_OUTPUT_DEFAULT, ANANLOG_MIN_WHEN_NOT_RUNNING, ANANLOG_MAX_WHEN_NOT_RUNNING, ANANLOG_MAX_WHEN_RUNNING_MIN_WHEN_STOP } |
![]() | |
Io () | |
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 | ( | ) |
|
private |
std::string arcs::aubo_scope::ModbusIo::getIpAddress | ( | ) |
std::string arcs::aubo_scope::ModbusIo::getSignalAddress | ( | ) |
int arcs::aubo_scope::ModbusIo::getValue | ( | ) |
false
is represented by 0 and true}
is represented by the value 1. bool arcs::aubo_scope::ModbusIo::setValue | ( | int | value | ) |
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. |
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 UR MODBUS protocol.
|
friend |
Definition at line 55 of file modbus_io.h.
|
private |
Definition at line 57 of file modbus_io.h.