Interface BrickletRS485.ModbusMasterWriteMultipleRegistersResponseListener

  • All Superinterfaces:
    DeviceListener, java.util.EventListener, TinkerforgeListener
    Enclosing class:
    BrickletRS485

    public static interface BrickletRS485.ModbusMasterWriteMultipleRegistersResponseListener
    extends DeviceListener
    This listener is called only in Modbus master mode when the master receives a valid response of a request to write multiple registers. The parameters are request ID of the request and exception code of the response. Any non-zero exception code indicates a problem. If the exception code is greater than 0 then the number represents a Modbus exception code. If it is less than 0 then it represents other errors. For example, -1 indicates that the request timedout or that the master did not receive any valid response of the request within the master request timeout period as set by BrickletRS485.setModbusConfiguration(int, long).
    • Method Detail

      • modbusMasterWriteMultipleRegistersResponse

        void modbusMasterWriteMultipleRegistersResponse​(int requestID,
                                                        int exceptionCode)