|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lsst.ccs.drivers.modbus.ModbusSlave
public class ModbusSlave
Handles Modbus RTU messages on a serial line
| Constructor Summary | |
|---|---|
ModbusSlave(int index,
String serial,
String node)
Constructor |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModbusSlave(int index,
String serial,
String node)
throws ModbusException
ModbusException| Method Detail |
|---|
public static void main(String[] args)
throws ModbusException
ModbusExceptionpublic void setAddress(int addr)
public void receive()
throws ModbusException
ModbusException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||