public class ModbusSlave extends Object
| Constructor and Description |
|---|
ModbusSlave(int index,
String device,
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 static void main(String[] args) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setAddress(int addr)
public void receive()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2023 LSST. All rights reserved.