Changes

no edit summary
Line 24: Line 24:  
==Installing the necessary software==
 
==Installing the necessary software==
   −
Next you'll need software capable of communicating via Modbus TCP. The software that we'll be using for this guide is called '''modbus-cli'''. To get it you'll first have to install '''ruby''':
+
Next you'll need software capable of communicating via Modbus TCP. The software that we'll be using for this guide is called '''modbus-cli'''. To get it you'll first have to install '''ruby'''. To do so, open the '''Terminal''' app and enter these commands.
    
  $ sudo apt-get install ruby
 
  $ sudo apt-get install ruby
Line 123: Line 123:  
===modbus read===
 
===modbus read===
 
----
 
----
To obtain parameters from the system, the '''modbus read''' command is used.
+
To obtain parameters from the system, the '''modbus read''' command is used. The syntax for this command is:
 +
 
 +
modbus read [OPTIONS] HOST_NAME REGISTER_NUMBER NUMBER_OF_REGISTERS

Navigation menu