Module: ModBus::Server
- Included in:
- RTUServer, RTUViaTCPServer, TCPServer
- Defined in:
- lib/rmodbus/server.rb,
lib/rmodbus/server/slave.rb
Overview
Module for implementation ModBus server
Defined Under Namespace
Classes: Slave
Constant Summary collapse
- FUNCS =
[1, 2, 3, 4, 5, 6, 15, 16, 22, 23].freeze
Instance Attribute Summary collapse
-
#promiscuous ⇒ Object
Returns the value of attribute promiscuous.
-
#request_callback ⇒ Object
Returns the value of attribute request_callback.
-
#response_callback ⇒ Object
Returns the value of attribute response_callback.
Instance Method Summary collapse
Instance Attribute Details
#promiscuous ⇒ Object
Returns the value of attribute promiscuous.
8 9 10 |
# File 'lib/rmodbus/server.rb', line 8 def promiscuous @promiscuous end |
#request_callback ⇒ Object
Returns the value of attribute request_callback.
8 9 10 |
# File 'lib/rmodbus/server.rb', line 8 def request_callback @request_callback end |
#response_callback ⇒ Object
Returns the value of attribute response_callback.
8 9 10 |
# File 'lib/rmodbus/server.rb', line 8 def response_callback @response_callback end |