public abstract class SerialMaster extends ModbusMaster
| Modifier and Type | Field and Description |
|---|---|
protected SerialPortProxy |
serialPort |
static int |
SYNC_FUNCTION
Deprecated.
|
static int |
SYNC_SLAVE
Deprecated.
|
static int |
SYNC_TRANSPORT
Deprecated.
|
protected Transport |
transport |
initializedDEFAULT_MAX_READ_BIT_COUNT, DEFAULT_MAX_READ_REGISTER_COUNT, DEFAULT_MAX_WRITE_REGISTER_COUNT| Constructor and Description |
|---|
SerialMaster(SerialParameters params) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
init() |
closeMessageControl, destroy, getDiscardDataDelay, getePoll, getIoLog, getMessageControl, getRetries, getTimeout, getValue, isInitialized, isMultipleWritesOnly, scanForSlaveNodes, scanForSlaveNodes, send, send, sendImpl, setDiscardDataDelay, setePoll, setIoLog, setMultipleWritesOnly, setRetries, setTimeout, setValue, testSlaveNodegetExceptionHandler, getMaxReadBitCount, getMaxReadCount, getMaxReadRegisterCount, getMaxWriteRegisterCount, setExceptionHandler, setMaxReadBitCount, setMaxReadRegisterCount, setMaxWriteRegisterCount, validateNumberOfBits, validateNumberOfRegisters@Deprecated public static final int SYNC_TRANSPORT
@Deprecated public static final int SYNC_SLAVE
@Deprecated public static final int SYNC_FUNCTION
protected SerialPortProxy serialPort
protected Transport transport
public void init()
throws ModbusInitException
init in class ModbusMasterModbusInitExceptionpublic void close()
Copyright © 2014 Infinite Automation Systems. All Rights Reserved.