Class: Modbus485

Inherits:
ModBus::RTUClient
  • Object
show all
Includes:
LMG_Modbus_Client, ModbusPoller, Test
Defined in:
lib/LMG_modbus.rb

Overview

Class to work with Modbus485 (RTU)

Constant Summary

Constants included from ModbusPoller

ModbusPoller::XLUP

Constants included from Test

Test::REGISTER, Test::RESULT_POS1, Test::RESULT_POS2, Test::RESULT_POS3, Test::RESULT_POS4, Test::WRITE_VAL_POS1, Test::WRITE_VAL_POS2, Test::WRITE_VAL_POS3, Test::WRITE_VAL_POS4, Test::XLUP

Method Summary

Methods included from Test

#close, #create_test, #open_result, #run_modbus_write

Methods included from LMG_Modbus_Client

#process_test_case, #read_coils, #read_discrete_inputs, #read_holding_registers, #read_input_registers, #read_time_register, #write_multiple_coils, #write_multiple_registers, #write_single_coil, #write_single_register, #write_time_register