Package nl.basjes.modbus.device.plc4j
Class ModbusDevicePlc4j
-
- All Implemented Interfaces:
-
java.lang.AutoCloseable
public final class ModbusDevicePlc4j extends ModbusDeviceAn instance of a ModbusDevice that uses the Apache Plc4J library for the Modbus connection
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegermaxDiscretesPerModbusRequestprivate IntegermaxRegistersPerModbusRequest
-
Constructor Summary
Constructors Constructor Description ModbusDevicePlc4j(String connectionString)
-
Method Summary
Modifier and Type Method Description Unitclose()RegisterBlockgetRegisters(Address firstRegister, Integer count)-
Methods inherited from class nl.basjes.modbus.device.api.ModbusDevice
getDiscretes, getMaxDiscretesPerModbusRequest, getMaxRegistersPerModbusRequest, setMaxRegistersPerModbusRequest -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ModbusDevicePlc4j
ModbusDevicePlc4j(String connectionString)
-
-
Method Detail
-
getRegisters
RegisterBlock getRegisters(Address firstRegister, Integer count)
-
-
-
-