java.lang.Object
de.iip_ecosphere.platform.connectors.modbustcpipv1.ModbusItem

public class ModbusItem extends Object
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 Details

  • Constructor Details

    • ModbusItem

      public ModbusItem(ModbusMap map)
      Creates an instance.
      Parameters:
      map - the ModbusMap
  • Method Details

    • getRegister

      public Object getRegister(int offset)
      Returns the Object at offset.
      Parameters:
      offset - of the Object to get
      Returns:
      the Object at offset
    • setRegister

      public void setRegister(int offset, Object value)
      Sets the Object at offset to value.
      Parameters:
      offset - of the Object to set
      value - to set for the offset