public abstract class ModbusSlaveSet extends Modbus
DEFAULT_MAX_READ_BIT_COUNT, DEFAULT_MAX_READ_REGISTER_COUNT, DEFAULT_MAX_WRITE_REGISTER_COUNT
Constructor and Description |
---|
ModbusSlaveSet() |
Modifier and Type | Method and Description |
---|---|
void |
addProcessImage(ProcessImage processImage) |
ProcessImage |
getProcessImage(int slaveId) |
java.util.Collection<ProcessImage> |
getProcessImages()
Get a copy of the current process images
|
boolean |
removeProcessImage(int slaveId) |
boolean |
removeProcessImage(ProcessImage processImage) |
abstract void |
start()
Starts the slave.
|
abstract void |
stop() |
getExceptionHandler, getMaxReadBitCount, getMaxReadCount, getMaxReadRegisterCount, getMaxWriteRegisterCount, setExceptionHandler, setMaxReadBitCount, setMaxReadRegisterCount, setMaxWriteRegisterCount, validateNumberOfBits, validateNumberOfRegisters
public void addProcessImage(ProcessImage processImage)
public boolean removeProcessImage(int slaveId)
public boolean removeProcessImage(ProcessImage processImage)
public ProcessImage getProcessImage(int slaveId)
public java.util.Collection<ProcessImage> getProcessImages()
public abstract void start() throws ModbusInitException
ModbusInitException
public abstract void stop()
Copyright © 2014 Infinite Automation Systems. All Rights Reserved.