DigitalIo This interface provides support for digital I/Os.
More...
#include <digital_io.h>
|
| | DigitalIo (DigitalIo &f) |
| | DigitalIo (DigitalIo &&f) |
| | ~DigitalIo () |
| bool | setValue (bool high) |
| | Set digital I/O output signal.
|
| bool | getValue () |
| | Returns the last reading of the I/O.
|
| | 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 () |
DigitalIo This interface provides support for digital I/Os.
Definition at line 20 of file digital_io.h.
◆ DigitalIo() [1/3]
| arcs::aubo_scope::DigitalIo::DigitalIo |
( |
DigitalIo & | f | ) |
|
◆ DigitalIo() [2/3]
| arcs::aubo_scope::DigitalIo::DigitalIo |
( |
DigitalIo && | f | ) |
|
◆ ~DigitalIo()
| arcs::aubo_scope::DigitalIo::~DigitalIo |
( |
| ) |
|
◆ DigitalIo() [3/3]
| arcs::aubo_scope::DigitalIo::DigitalIo |
( |
| ) |
|
|
private |
◆ getValue()
| bool arcs::aubo_scope::DigitalIo::getValue |
( |
| ) |
|
Returns the last reading of the I/O.
- Returns
- Returns the last reading of the I/O.
◆ setValue()
| bool arcs::aubo_scope::DigitalIo::setValue |
( |
bool | high | ) |
|
Set digital I/O output signal.
Note that the I/O must be an output I/O.
- Parameters
-
| high | the digital value to be set. |
- Returns
true if the digital signal was set, false if the signal was not set, e.g. because the controller was not running.
◆ DataSwitch
◆ d_
| void* arcs::aubo_scope::DigitalIo::d_ { nullptr } |
|
private |
The documentation for this class was generated from the following file: