Class ModbusItem
java.lang.Object
de.iip_ecosphere.platform.connectors.modbustcpipv1.ModbusItem
The ModbusItem is the data structure that is read from the machine and
written to the machine, to transfer data.
So far only the holding registers from the MODBUS data model are implemented.
- Author:
- Christian Nikolajew
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRegister(int offset) Returns the Object at offset.voidsetRegister(int offset, Object value) Sets the Object at offset to value.
-
Field Details
-
registers
-
-
Constructor Details
-
ModbusItem
Creates an instance.- Parameters:
map- the ModbusMap
-
-
Method Details
-
getRegister
Returns the Object at offset.- Parameters:
offset- of the Object to get- Returns:
- the Object at offset
-
setRegister
Sets the Object at offset to value.- Parameters:
offset- of the Object to setvalue- to set for the offset
-