public class ModbusSlave extends Object
| Constructor and Description |
|---|
ModbusSlave(int index,
String serial,
String node)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Main program
|
void |
receive()
Receives a command on the Modbus and dispatches it
|
void |
setAddress(int addr)
Sets the Modbus address being used
|
public ModbusSlave(int index,
String serial,
String node)
throws ModbusException
ModbusExceptionpublic static void main(String[] args) throws ModbusException
ModbusExceptionpublic void setAddress(int addr)
public void receive()
throws ModbusException
ModbusExceptionCopyright © 2013 LSST. All Rights Reserved.