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. The end user can switch installation or delete the MODBUS signal. This method can be used to determine, if the MODBUS I/O is present.
NOTE: This method cannot be used to check connection status.isResolvable
in interface IO
true
, if the MODBUS I/O is present in PolyScope.
false
otherwise.Copyright © 2020. All rights reserved.