|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of ModbusException in org.lsst.ccs.drivers.modbus |
|---|
| Methods in org.lsst.ccs.drivers.modbus that throw ModbusException | |
|---|---|
void |
Modbus.close()
Closes the connection to the Modbus |
static void |
ModbusSlave.main(String[] args)
Main program |
void |
Modbus.open(int index,
String serial)
Opens a connection to the Modbus |
void |
Modbus.open(String node,
int index,
String serial)
Opens a connection to the Modbus |
byte[] |
Modbus.readCoils(short dAddr,
short cNmbr,
short count)
Reads a set of coils |
byte[] |
Modbus.readDiscretes(short dAddr,
short iNmbr,
short count)
Reads a set of discrete inputs |
short[] |
Modbus.readInputs(short dAddr,
short rNmbr,
short count)
Reads a set of input registers |
short[] |
Modbus.readRegisters(short dAddr,
short rNmbr,
short count)
Reads a set of holding registers |
void |
ModbusSlave.receive()
Receives a command on the Modbus and dispatches it |
byte[] |
Modbus.send(short addr,
byte[] cmnd,
int timeout)
Sends a command to a device on the Modbus and returns its response |
void |
Modbus.writeCoil(short dAddr,
short cNmbr,
boolean value)
Writes a coil |
void |
Modbus.writeCoils(short dAddr,
short cNmbr,
short count,
byte[] value)
Writes a set of coils |
void |
Modbus.writeRegister(short dAddr,
short rNmbr,
short value)
Writes a holding register |
void |
Modbus.writeRegisters(short dAddr,
short rNmbr,
short[] value)
Writes a set of holding registers |
| Constructors in org.lsst.ccs.drivers.modbus that throw ModbusException | |
|---|---|
ModbusSlave(int index,
String serial,
String node)
Constructor |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||