public abstract class SerialMaster extends ModbusMaster
Modifier and Type | Field and Description |
---|---|
static int |
SYNC_FUNCTION
Deprecated.
|
static int |
SYNC_SLAVE
Deprecated.
|
static int |
SYNC_TRANSPORT
Deprecated.
|
protected Transport |
transport |
protected SerialPortWrapper |
wrapper |
connected, initialized
DEFAULT_MAX_READ_BIT_COUNT, DEFAULT_MAX_READ_REGISTER_COUNT, DEFAULT_MAX_WRITE_REGISTER_COUNT
Constructor and Description |
---|
SerialMaster(SerialPortWrapper wrapper) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
init() |
closeMessageControl, destroy, getDiscardDataDelay, getePoll, getIoLog, getMessageControl, getRetries, getTimeout, getValue, isConnected, isInitialized, isMultipleWritesOnly, scanForSlaveNodes, scanForSlaveNodes, send, send, sendImpl, setConnected, setDiscardDataDelay, setePoll, setIoLog, setMultipleWritesOnly, setRetries, setTimeout, setValue, testSlaveNode
getExceptionHandler, 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 SerialPortWrapper wrapper
protected Transport transport
public SerialMaster(SerialPortWrapper wrapper)
public void init() throws ModbusInitException
init
in class ModbusMaster
ModbusInitException
public void close()
Copyright © 2014 Infinite Automation Systems. All Rights Reserved.