|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Home |
Operation Manual Simply Modbus TCP Client 8 Modbus TCP Client Software System Requirements: Windows NT, 95, 2000, XP, Windows7, Windows8 display resolution: 800 x 600 minimum
Installation - Simply Modbus TCP Client 8.1.2:
SimplyModbusTCPclient8.1.2Install.zip Unzip the compressed files into a common folder on your hard drive.
Starting the program Select Simply Modbus TCP Client 8 from the Program area of the Start Menu. You will see the demonstration startup window.
The progress bar will take approximately 15 seconds to load the demonstration version. After purchasing and receiving a license key by email, enter the key and press OK. The licensed program The demo version The Simply Modbus TCP Client Read Window
Yellow: Controls (inputs) that can be changed by the user. Network Settings Select Modbus TCP or Modbus RTU (RTU-over-TCP) protocol. more info...
Select the IP Address of the Server (Slave device) that you wish to connect to.
Press the Connect button and the program will attempt to connect to the Modbus Server. Build a Request String When in TCP Mode, The first 7 bytes in the Request is the MBAP header. The 7th byte is the Slave ID. When in RTU-over-TCP Mode, the first six bytes of the MBAP header are not present. The Request starts with the Slave ID. The 7th byte in the Request string in TCP Mode (The 1st byte in RTU-over-TCP mode) The unit address of the Server (Slave) device to get data from. normal range: 1 to 247 more info...
Setting a Slave ID over 255 will automatically check this box and allow Slave IDs up to 65535.
more info...
The 8th byte in the Request string in TCP Mode (The 7th byte in RTU-over-TCP mode
The 9th & 10th bytes in the Request string in TCP Mode (The 3rd & 4th bytes in RTU-over-TCP mode) This value is subtracted from the First Register to give the data address used in the Request.
The 11th & 12th bytes in the Request string. in TCP Mode (The 5th & 6th bytes in RTU-over-TCP mode)
check to automatically set the default values function code, offset and register size
The size of the registers in the block to be read. Events: This box is checked when reading Enron events from register 32 more info... History: This box is checked when reading Enron historical records from register 701-799 more info...
crc In RTU-over-TCP Mode, the last 2 bytes of the Request are the cyclic redundancy check.
These are error detection bytes. Auto Set values:
Exceptions (for reading Enron modbus data):
Physical Connection Before sending a message, the ethernet port needs to be physically connected to a network with Modbus servers. Sending the Request Press the SEND button. The program then monitors for incoming data and displays all bytes received in the Response indicator. The SEND button is greyed out until a connection is established with the Modbus Server (Slave device).
While receiving, the response time counts up with a progress bar. Receiving stops when the expected response bytes are received or the time reaches the fail in value entered.
The 'expected response bytes' indicator is calculated from the input settings.
Troubleshooting Check the IP Address and Port in the Modbus Server (Slave device) to make sure it matches the settings in the TCP Client program (Master device)
Reading the Response   The data bytes in the response are displayed in the middle column of the response table. Use the pull-down boxes in the first column to set the data type for each value.
more info... The bytes and words can be swapped by toggling the High/Low check boxes.
A notes column is provided to enter labels for the values. Press the clear notes button to blank the whole notes column. Byte History Log All bytes sent and received are added to the byte history log with date/time stamps. Displays a 'Save As..' dialog box to allow the log contents to be saved to a text file. Empties the log contents. Log Results All data results received can be saved to a data log with date/time stamps. Displays a 'Save As..' dialog box to create a tabbed-text data file for logging the results. register# and notes are used as column headers in the file. When data is received, a row is added to the file with date/time and the results. Pressing the button again will close the file and stop logging the results. The data file can be loaded into just about any system or progam like
Excel. Send Continuously Check this box to send back to back requests. The seconds after the start of one send request until the start of the next send request.
Statistics The seconds taken for the slave to respond to last message. The longest amount of seconds taken for a response (not including failed responses). Save and Restore Configurations Displays a 'Save As..' dialog box to allow saving the current settings and results to a text file. Displays an 'Open File' dialog box to allow selecting a previously saved settings file to load. The configuration file is saved in tabbed text format (tab separated values) and appears like this in notepad.
The preset tabs in Notepad cause the cells with long labels to push the other columns over.
Columns A & B contain the setting descriptions and their values. Column C contains the data types 0 through 13, Each number representing the data Type shown in the Notes Column D Column E contains the register register numbers (hex values plus offset) Column F contains the register values from the last poll, if any Cell G1 contains the result string from the last poll, if any
Load Before Send - Sending a series of requests
When this box is selected, and the SEND button is pressed (or SEND CONTINUOUSLY is selected),
The filenames must be in the format: request-1.txt,
request-2.txt, etc...
If request-1.txt doesn’t exist, a window showing instructions similar to these will appear. SEND CONTINUOUSLY is not saved in the configuration files.
If a request-*.txt Configuration file is being loaded during a Load before Send,
The program will continue to automatically LOAD, SEND and WAIT through a series of request-*.txt files
When a file is LOADED without LOAD BEFORE SEND selected,
The series can be stopped at any time by unchecking SEND CONTINOUSLY. ------------------------------------------------------------------------------------
Writing Data Displays the Simply Modbus TCP Client Write 8 window
Yellow: Controls (inputs) that can be changed by the user. Network Settings The mode setting is copied from the previous window and can also be changed here. Select Modbus TCP or Modbus RTU (RTU-over-TCP) protocol. more info... The IP Address and Port are copied from the previous window and cannot be changed here. Build a Command String The 7th byte in the Command string. in TCP Mode (The 1st byte in RTU-over-TCP mode) The unit address of the Slave device to get data from. normal range: 1 to 247 more info...
Setting a Slave ID over 255 will automatically check this box and allow Slave IDs up to 65535.
more info...
The 8th byte in the Command string. in TCP Mode (The 7th byte in RTU-over-TCP mode)
The 9th & 10th bytes in the Command string. in TCP Mode (The 3rd & 4th bytes in RTU-over-TCP mode) This value is subtracted from the First Register to give the data address used in the Command.
The 11th & 12th bytes in the Command string. in TCP Mode (The 5th & 6th bytes in RTU-over-TCP mode)
Check to automatically set the default values for function code, offset and register size
The size of the registers in the block to be written. Auto Set values:
Data to Write The values to write are entered in the table shown. The table size is automatically adjusted as the #values to write is changed. Use this pull-down box to set the data type for the whole table to be written. The bytes and words can be swapped by toggling the High/Low check boxes. Sending the Command Press the SEND button. The program then monitors for incoming data and displays all bytes received in the Response indicator. While receiving, the response time counts up with a progress bar. Receiving stops when the expected response bytes are received or the time reaches the fail in value entered.
The 'expected response bytes' indicator is calculated from the input settings. Reading the Response The data bytes in the response are displayed in the bytes column of the response table. Byte History Log All bytes sent and received are added to the byte history log with date/time stamps. Displays a 'Save As..' dialog box to allow saving the log contents to a text file. Empties the log contents Save and Restore Configurations Displays a 'Save As..' dialog box to allow saving the current settings to a text file. Displays an 'Open File' dialog box to allow selecting a previously saved settings file to load.
Press the Close box in the top corner to Exit the Write program.
Home • FAQ • Enron • Download • Purchase • Contact Copyright © 2020 Simply Modbus. All rights reserved |