public class BlockProcessImage
extends java.lang.Object
| Constructor and Description |
|---|
BlockProcessImage(int maxOutputs,
int maxRegisters,
int regNotifyMin,
int regNotifyMax,
int coilNotifyMin,
int coilNotifyMax,
int unitId,
ModbusSlaveBase modbusSlave)
Constructs a new LazyProcessImage instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDigitalIn(DigitalIn di) |
void |
addDigitalOut(DigitalOut _do) |
void |
addInputRegister(InputRegister inputRegister) |
void |
addRegister(Register reg) |
int |
getCoilCount() |
int |
getCoilNotifyMax() |
int |
getCoilNotifyMin() |
DigitalIn |
getDigitalIn(int ref) |
int |
getDigitalInCount() |
DigitalIn[] |
getDigitalInRange(int ref,
int count) |
DigitalOut |
getDigitalOut(int ref) |
int |
getDigitalOutCount() |
DigitalOut[] |
getDigitalOutRange(int ref,
int count) |
InputRegister |
getInputRegister(int ref) |
int |
getInputRegisterCount() |
InputRegister[] |
getInputRegisterRange(int ref,
int count) |
Register |
getRegister(int ref) |
int |
getRegisterCount() |
Register[] |
getRegisterRange(int ref,
int count) |
int |
getRegNotifyMax() |
int |
getRegNotifyMin() |
int |
getUnitId() |
void |
removeDigitalIn(DigitalIn di) |
void |
removeDigitalOut(DigitalOut _do) |
void |
removeInputRegister(InputRegister reg) |
void |
removeRegister(Register reg) |
void |
setCoilNotifyMax(int coilNotifyMax) |
void |
setCoilNotifyMin(int coilNotifyMin) |
void |
setDigitalIn(int ref,
DigitalIn di) |
void |
setDigitalOut(int ref,
DigitalOut _do) |
void |
setInputRegister(int ref,
InputRegister inputRegister) |
void |
setRegister(int ref,
Register reg) |
void |
setRegNotifyMax(int regNotifyMax) |
void |
setRegNotifyMin(int regNotifyMin) |
void |
setUnitId(int unitId) |
public BlockProcessImage(int maxOutputs,
int maxRegisters,
int regNotifyMin,
int regNotifyMax,
int coilNotifyMin,
int coilNotifyMax,
int unitId,
ModbusSlaveBase modbusSlave)
maxOutputs - the highest coilmaxRegisters - the highest registerregNotifyMin - any change in a coil value between this coil and the
max will cause a notification to be sent to the slaveregNotifyMax - any change in a coil value between this coil and the
max will cause a notification to be sent to the slavecoilNotifyMin - any change in a coil value between this coil and the
max will cause a notification to be sent to the slavecoilNotifyMax - any change in a coil value between this coil and the
max will cause a notification to be sent to the slaveunitId - the unit (station) id - required for notificationmodbusSlave - the modbus slave that the process image was created forpublic void addDigitalIn(DigitalIn di)
public void addDigitalOut(DigitalOut _do)
public void addInputRegister(InputRegister inputRegister)
public void addRegister(Register reg)
public int getCoilCount()
public int getCoilNotifyMax()
public int getCoilNotifyMin()
public DigitalIn getDigitalIn(int ref)
throws IllegalAddressException
IllegalAddressExceptionpublic int getDigitalInCount()
public DigitalIn[] getDigitalInRange(int ref,
int count)
public DigitalOut getDigitalOut(int ref)
throws IllegalAddressException
IllegalAddressExceptionpublic int getDigitalOutCount()
public DigitalOut[] getDigitalOutRange(int ref,
int count)
public InputRegister getInputRegister(int ref)
throws IllegalAddressException
IllegalAddressExceptionpublic int getInputRegisterCount()
public InputRegister[] getInputRegisterRange(int ref,
int count)
public Register getRegister(int ref)
throws IllegalAddressException
IllegalAddressExceptionpublic int getRegisterCount()
public Register[] getRegisterRange(int ref,
int count)
public int getRegNotifyMax()
public int getRegNotifyMin()
public int getUnitId()
public void removeDigitalIn(DigitalIn di)
public void removeDigitalOut(DigitalOut _do)
public void removeInputRegister(InputRegister reg)
public void removeRegister(Register reg)
public void setCoilNotifyMax(int coilNotifyMax)
coilNotifyMax - The coilNotifyMax to set.public void setCoilNotifyMin(int coilNotifyMin)
coilNotifyMin - The coilNotifyMin to set.public void setDigitalIn(int ref,
DigitalIn di)
throws IllegalAddressException
IllegalAddressExceptionpublic void setDigitalOut(int ref,
DigitalOut _do)
throws IllegalAddressException
IllegalAddressExceptionpublic void setInputRegister(int ref,
InputRegister inputRegister)
throws IllegalAddressException
IllegalAddressExceptionpublic void setRegister(int ref,
Register reg)
throws IllegalAddressException
IllegalAddressExceptionpublic void setRegNotifyMax(int regNotifyMax)
regNotifyMax - The regNotifyMax to set.public void setRegNotifyMin(int regNotifyMin)
regNotifyMin - The regNotifyMin to set.public void setUnitId(int unitId)
unitId - The unitId to set.Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.