Modbus RTU - ASCII Master Manual 7 - Simply Modbus Software
Modbus RTU - ASCII Master Manual 7 - Simply Modbus Software
Home
Operation Manual
About
MODBUS
Simply Modbus Master 7.1.2
Modbus RTU Master and Modbus ASCII Master Emulator
About
Enron System Requirements:
MODBUS
Windows NT, 95, 2000, XP, Windows7
- Run setup.exe to start the Simply Modbus Master 7.1.2 Installation Wizard
- Follow the prompts. The program will start automatically when the installation is complete.
Known Issue with version 7.1: Error-1073807202 is shown when the VISA drivers cannot be found.
Downloading and installing NI-VISA run time engine 4.2 from the NI website should resolve the error.
http://www.ni.com/download/ni-visa-run-time-engine-4.2/832/en/
Simply Modbus Master 8.0 looks and runs exactly like Simply Modbus Master 7.1.2 but was created using a newer
compiler. It is a significantly larger download and install program. It is compatible with the newer Windows versions.
Simply Modbus Master 8.0 will automatically use a license for Simply Modbus Master if already installed on the PC.
Select Simply Modbus Master 7.1.2 from the Program area of the Start Menu.
https://www.simplymodbus.ca/MasterManual7.htm 1/11
17/11/2020 Modbus RTU/ASCII Master Manual 7 | Simply Modbus Software
The progress bar will take approximately 15 seconds to load the demonstration version.
During this time, you can press the ENTER KEY and see
After purchasing and receiving a license key by email, enter the key and press OK.
https://www.simplymodbus.ca/MasterManual7.htm 2/11
17/11/2020 Modbus RTU/ASCII Master Manual 7 | Simply Modbus Software
serial settings: Set these settings to match the setting of the modbus slave device connected.
baud: The baud rate (bits per second) of the serial connection.
data bits: The number of data bits in each byte, RTU mode requires 8, ASCII mode is usually 7 but may be 8.
stop bits: The number of stop bits for each byte sent. allowable values are 1, 1.5 or 2 .
parity: The value of the parity bit for each byte sent. allowable values are none, odd, even, mark or space.
Setting a Slave ID over 255 will automatically check this box and allow Slave IDs up to 65535. more
info...
Remains on for all addresses until the Slave ID is lowered below 256 and the box manually unchecked.
This value is subtracted from the First Register to give the data address used in the Request.
check to automatically set the default values function code, offset and register size
when the value of First Register is changed.
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 The last 2 bytes of the RTU Request are the cyclic redundancy check. These are error detection bytes more info...
lrc ASCII Mode messages are preceded with a colon and the crc is replaced with an longitudinal redundancy check,
carriage return and line feed characters. more info...
Physical Connection
Before sending a message, the serial port needs to be physically connected to a modbus slave device. The simplest
connection is RS232C on a single serial cable.
DTE masters (PC serial ports) have DB9 male connectors which transmits on pin3, receives pin2 and grounds on pin5. A
DCE slave will have a DB9 Female connector which will allow the use of a straight through cable. A DTE slave will have a
DB9 Male connector and will require the use of a null modem cable.
https://www.simplymodbus.ca/MasterManual7.htm 4/11
17/11/2020 Modbus RTU/ASCII Master Manual 7 | Simply Modbus Software
The RS232 specification states a maximum distance of 50 feet at 20kbaud. Slightly longer connections are possible at
slower baud rates depending on cable quality and noise in the area.
Modems and radios are used to transmit longer distances. These are typically DCE devices so straight through cables can be
used. Some MDS non-spread spectrum radios require RTS Delay to be used so a 4th conductor is needed on pin 4.
RS485 converters can be used to extend the distance up to 4000 feet at 100kbaud. This can be a 4 wire or 2 wire system,
depending on the converter. This also allows multi-dropping up to 32 devices on one pair of wires.
Press the SEND button. The program then monitors the serial port and displays all bytes received in the Response indicator.
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.
The response timer stops when this many bytes are received.
Troubleshooting
Check the physical connection to make sure the correct conductors are on the correct pins and the correct serial port.
Check the serial settings in the slave device to make sure they match the settings in the master.
Check the Slave device unit address to make sure it matches the Slave ID set in the master.
https://www.simplymodbus.ca/MasterManual7.htm 5/11
17/11/2020 Modbus RTU/ASCII Master Manual 7 | Simply Modbus Software
The data bytes in the response are displayed in the bytes 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 copy down button sets all data types to match the setting for the first value.
The bytes and words can be swapped by toggling the High/Low check boxes.
The bytes are re-processed immediately as the settings are changed and the results are shown in the fourth column.
Sending another request for a new response is not required for a recalculation.
Press the clear notes button to blank the whole notes column.
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.
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.
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
The seconds after the start of one send request until the start of the next send request.
This will continuously send the same command unless combined with the load before send feature (see below)
Statistics
https://www.simplymodbus.ca/MasterManual7.htm 6/11
17/11/2020 Modbus RTU/ASCII Master Manual 7 | Simply Modbus Software
The longest amount of seconds taken for a response (not including failed responses).
The average amount of seconds taken for a response (not including failed responses).
The shortest amount of seconds taken for a response (not including failed responses).
Sets all statistical values back to zero.
RTS Delay
Check this option to communicate over devices requiring the RTS pin to be asserted before
transmission. Enter the milliseconds for the on and off delays.
Displays a 'Save As..' dialog box to allow saving the current settings to a text file.
Displays a '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.
Sending it to, or opening it from, a spreadsheet program like Excel will use the tabs as column delimiters as shown here...
3rd column contains the data types 0 through 11 in the order shown in its pull down menu.
6th column contains the register values from the last poll, if any
https://www.simplymodbus.ca/MasterManual7.htm 7/11
17/11/2020 Modbus RTU/ASCII Master Manual 7 | Simply Modbus Software
When this box is selected, and the SEND button is pressed (or SEND CONTINUOUSLY is selected),
the program will Restore a previously defined Configuration File
and then SEND the request as saved in the file.
If request1.txt doesn’t exist, a window showing instructions similar to these will appear.
The program will continue to automatically LOAD, SEND and WAIT through a series of request*.txt files
as long as each file has LOAD BEFORE SEND selected.
When the end of the series is reached and the next file is not found, the series will start over with request1.txt
and continue until SEND CONTINUOUSLY is manually unchecked.
------------------------------------------------------------------------------------
Writing Data
https://www.simplymodbus.ca/MasterManual7.htm 8/11
17/11/2020 Modbus RTU/ASCII Master Manual 7 | Simply Modbus Software
Controls (inputs) that can be changed by the user are shown in yellow.
Indicators (outputs) shown in blue cannot be changed.
Serial Settings
The mode and serial settings are copied from the previous window and can also be changed here. more info...
Setting a Slave ID over 255 will automatically check this box and allow Slave IDs up to 65535. more
info...
Remains on for all addresses until the Slave ID is lowered below 256 and the box manually unchecked.
This value is subtracted from the First Register to give the data address used in the Command.
check to automatically set the default values for function code, offset and register size
when the value of First Register is changed.
https://www.simplymodbus.ca/MasterManual7.htm 9/11
17/11/2020 Modbus RTU/ASCII Master Manual 7 | Simply Modbus Software
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.
Press the SEND button. The program then monitors the serial port and displays all bytes received in the Response indicator.
The data bytes in the response are displayed in the bytes column of the response table.
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.
RTS Delay
Check this option to communicate over devices requiring the RTS pin to be asserted before
transmission. Enter the milliseconds for the on and off delays.
Displays a 'Save As..' dialog box to allow saving the current settings and results to a text file.
https://www.simplymodbus.ca/MasterManual7.htm 10/11
17/11/2020 Modbus RTU/ASCII Master Manual 7 | Simply Modbus Software
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.
Troubleshooting
Check the physical connection to make sure the correct conductors are on the correct pins and the correct serial port.
Check the serial settings in the slave device to make sure they match the settings in the master.
Make sure the serial port driver file (serpdrv) is in the same folder as Simply Modbus Master 6.4.1.exe
https://www.simplymodbus.ca/MasterManual7.htm 11/11