IO.InterfaceType, IO.IOType
Modifier and Type | Method and Description |
---|---|
String |
getIpAddress() |
String |
getSignalAddress() |
int |
getValue() |
boolean |
isResolvable()
A MODBUS I/O signal cannot be guaranteed to be present in PolyScope.
|
boolean |
setValue(int value) |
getDefaultName, getInterfaceType, getName, getType, getValueStr, isInput
String getIpAddress()
String getSignalAddress()
boolean 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.int getValue()
false
is represented by 0 and true
is represented by the value 1.boolean isResolvable()
A MODBUS I/O signal cannot be guaranteed to be present in PolyScope. This method can be used to determine, if the MODBUS I/O is present.
The MODBUS I/O signal will not be present, if the end user loads a different installation which does not contain the MODBUS I/O signal, or if the MODBUS I/O signal is deleted by the end user.
NOTE: This method cannot be used to check connection status.isResolvable
in interface IO
true
, if the MODBUS I/O is present in PolyScope, otherwise false
.Copyright © 2021. All rights reserved.