Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.
		
How can we help you today?
How to test a Modbus mastered device through an ION EtherGate connection.
Issue
Many Modbus Tester software packages do not support testing a Modbus RTU connection over Ethernet, where the packet passes directly through a hardware Ethernet connection to an RS-485 level converter (not a protocol translator).

Product Line
ION Devices with EtherGate functionality

Environment
Windows

Cause
The Modbus tester tool is coded to use TCP port 502. When testing a TCP connection, the port settings cannot be modified such that other protocols could be tested. The EtherGate protocol uses different TCP ports and therefore Tester would not be able to establish communication with the downstream Modbus RTU device.

Resolution
This article describes how to test an EtherGate connection using the MBMaster program:
A command line program developed by Schneider Electric to help troubleshoot Modbus TCP, Modbus RTU (serial) and Modbus RTU over TCP connections.

Attached is a customizable batch file used to run and configure the MBMaster program. The installation steps are shown below:
  • Unzip and copy the MBMaster folder to your C:\   (root directory)
  • Right click on the MBMasterConfig.bat file and select edit1.
  • Follow the editing instructions that are contained in the file.
  • Save & close the file (replace the old one if needed).
  • Double click on the MBMasterConfig to execute the program.
  • The program will run for about 10-30 seconds and display the requested data registers if successful.
  • A .txt file will be saved in the MBMaster folder containing the results of the executed operation2.
Example of a successful response

Command Prompt image

Example of a bad response

Command Prompt Image 2
Notes,
1 - MBMasterConfig.bat file can be copied & pasted to the desktop if you find it easier to execute from there instead of in the MBMaster folder. However, the folder needs to be located in the C:/ directory.
2 - The .txt file is named Modbus by default, but it can be renamed using MBMasterConfig batch file.

Schneider Electric Egypt and North East Africa

Attachment(s)
MBMaster.zip [47.14 KB]
Explore more
Range:
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Explore more
Range:

Need help?

  • Start here!

    Find answers now. Search for a solution on your own, or connect with one of our experts.

  • Contact Support

    Reach out to our customer care team to receive more information, technical support, assistance with complaints and more.

  • Where to buy?

    Easily find the nearest Schneider Electric distributor in your location.

  • Search FAQs

    Search topic-related frequently asked questions to find answers you need.

  • Contact Sales

    Start your sales inquiry online and an expert will connect with you.

I'd like to receive news and commercial info from Schneider Electric and its affiliates via electronic communication means such as email, and I agree to the collection of information on the opening and clicks on these emails (using invisible pixels in the images), to measure performance of our communications and improve them. For more details, please read our Privacy Policy.

  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Center
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings