The information contained in this document is the property of Atop Technologies, Inc. and is supplied for the
sole purpose of the operation and maintenance of products of Atop Technologies, Inc. No part of this
publication is to be used for any other purposes, and it is not to be reproduced, copied, disclosed,
transmitted, stored in a retrieval system, or translated into any human or computer language, in any form, by
any means, in whole or in part, without the prior express written consent of Atop Technologies, Inc.
This document is intended to provide customers with brief descriptions on the product and to assist
customers to get started. For detail information and operations of the product, please refer to the manual in
the CD attached.
FCC WARNING
Class A for 1-port Modbus Gateway(MB5001C/MB5001C-Sis)
This equipment has been tested and found to comply with the limits for a Class A digital device
pursuant to Part 15 of the FCC rules. These limits are designed to provide reasonable protection
against harmful interference when the equipment is operated in a commercial environment. This
equipment generates, uses and radiates radio frequency energy and, if not installed and used in
accordance with the instructions, may cause harmful interference to radio communications.
Operation of this equipment in a residential area is likely to cause harmful interference in which
case the user will be required to correct the interference at his own expenses.
A shielded-type power cord is required in order to meet FCC emission limits and also to prevent
interference to the nearby radio and television reception. It is essential that only the supplied power
cord can be used.
Use only shielded cables to connect other devices to this equipment by RS-232 or RS-485 ports.
Be cautioned that changes or modifications not expressly approved by the party responsible for
compliance could void ones authority to operate the equipment.
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
Modbus is an industry adopted communication protocol based on RTU, ASCII, and TCP protocols for
various applications; these three protocols are commonly used by hardware equipments in the industry,
such as DCS, PLC, HMI, power load measurement, various sensor and measuring instruments. The
Modbus Gateway is capable of implementing the Modbus environment between different hardware
interfaces, thereby streamlining the process of management and application.
Diverse Hardware Infrastructure
Modbus Gateway supports the four most commonly used hardware communication interfaces, RS232,
RS485, RS422, and Ethernet. The simple-to-use configuration software provided with Modbus Gateway
can quickly modify the hardware interface to use, and easily switch to the existing hardware
communication infrastructure.
Switching between Modbus Protocols
Modbus Gateway supports the standard Modbus protocol and is capable of converting any Modbus
protocols between Modbus TCP and Modbus RTU or Modbus ASCII for all supported hardware
interfaces.
1.1 Packaging
Please check ones package contains the following items:
Atop MB5001C or MB5001C-Sis Modbus Gateway x 1
5 pins Terminal Block for Serial Connector x 1 (only for MB5001C-Sis)
3 pins Terminal Block for Power Connector x 1 (only for MB5001C-Sis)
Product CD containing configuration utility x 1
Wall-mounting screws x 2
Atop Modbus gateway quick start guide x 1
Optional Accessories:
1. DK-25 DIN-Rail Kit f
2. Power Adapter with DC jack- PIN 1.3φ output 5.0V 1A
(1) AD5V1A(US) Switching adapter
(2) AD5V1A(EU) Switching adapter
3. Power Adapter with Terminal block output 12V 1.25A
(1) US315-12(US) Switching adapter
(2) US315-12(EU Switching adapter
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
Jumper JP1 Pin1 and Pin2 are shorted to disable
AP firmware running
Blinking (rate: 0.5 Sec)
AP firmware is running normally
Table 3. RUN LED Message
2.1.2 COM Port LED
2.1.3 RUN LED
2.2 Installation Procedures
Step 1: Connect MB5001C to power source using 5VDC Jack(Note that DC Jack is 5V only, and only
use it with a power adaptor), or 9~30V DC Terminal Block power source.
Note:MB5001C provide two power inputs can be connected simultaneously to live DC
power sources. Anyone of the power inputs fails, the other live source acts as a backup
to support power needs automatically. The redundant dual DC power inputs give one
extra assurance of non-stop operation.
MB5001C : 5V DC Jack or DC 9-30V 3-pin Terminal Block power input
MB5001C-Sis: DC 9-30V 3-pin Terminal Block power input
Step 2: Connect MB5001C to Ethernet network. Use a standard straight-through Ethernet cable when
one connect it to a hub/switch, one also can connect it to ones PC„s Ethernet port via a
cross-over Ethernet cable for easy set up. However, in this case one need to make sure ones
PC is in the same network sub-net as MB5001C.
Step 3: Connect MB5001C‟s serial port to a serial device.
Step 4: Placement options. One can mount MB5001C to a wall/panel (Mounting screws included) or
A DHCP server can automatically assign the IP address and network settings. MB5001C supports the DHCP
function. By default, the DHCP function on MB5001C is disabled; one can use DeviceView software to
search network information automatically by following steps:
->Execute DeviceView (Figure 3.1)
->Click on the IP address of MB5001C in DeviceView
->Click “Config” button(It will pop-up Dialog Window)
->Check ”Auto IP” (Figure 3.3)
->Click “ Config Now” button(The MB5001C will restart and get IP from DHCP server automatically)
Figure 3.3 DeviceView Auto IP Dialog Window
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
Select “5” from “Input choice and enter (1~8,a~f):” to Setup COM1. One can then give the COM port alias
name, set the baud rate and parity, determine number of data bit and stop bit, and decide if one want to use
flow control and the type of flow control one want to use. The following screen (Figure 3.10) illustrates how to
setup 9600 baudrate, none parity, 8 data bits, and 1 stop bit.
Figure 3.10 COM1 Setup
3.2.6 Exit with Save and Reset
Select “7” from “Input choice and enter (1~8,a~f):” to Exit with Save. Please choose this option to save all
the previous changes to EEPROM, the device will restart automatically.
3.2.7 Exit with Save and Reset
Select “8” from “Input choice and enter (1~8,a~f):” to Exit with Save. Please choose this option to discard
all the previous changes the device will close telnet connection automatically.
3.2.8 Link 1 Setup
Select “a” from “Input choice and enter (1~8,a~f):” to Exit with Save. The following screen (Figure 3.11)
illustrates how to set port to 502, connection to 2, input timeout to 400, protocol to ASCII, and retry to 2
times.
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
a. Select “d” from “Input choice and enter (1~8,a~f):” to change SNMP Name field.
Note that if you press enter, MB5001C will fill in a default name equal to its MAC.
b. Select “e” from “Input choice and enter (1~8,a~f):” to change SNMP Location field.
c. Select “f” from “Input choice and enter (1~8,a~f):” to change SNMP Contact field.
3.3 Configuration Using Web Browser
1. Make sure one PC is located on the same network sub-net as MB5001C
2. Open a web browser, then type in the IP address of MB5001C to be configured. Default user name
is admin and default password is null (leave it blank).
3. MB5001C‟s network, link mode and COM ports settings can be configured in different web pages.
4. Click “Save Configuration” to save settings.
5. Click ”Restart” button to make the change effective if necessary.
It is also possible to modify various settings through the web server interface. To do so, please follow the
steps below.
3.3.1 Log in to the System
1. From web browser, type in the IP address of MB5001C in the URL.
Example: http://10.0.50.100
2. The following authentication screen appears. (Figure 3.16) Please type in user name and password
then click on OK. The user name is admin and password is left it blank by default.
Figure 3.16 login the system via Web
3. The following overview page appears.( Figure 3.17)
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
Note: One can press the default key of product to reset password to the default value.
3.3.3 Network Setup
Click on the “Networking” link and the following screen appears. Fill in IP information under TCP/IP field.
Alternatively, one can do the configuration by clicking on DHCP to obtain auto IP address, gateway and
subnet mask information.
Enable SNMP by checking “Enable”, fill in network identification information under SNMP field and click on
the “Save Configuration” button to save the changes, please notice that the setting will not become effective
until one restart MB5001C.( Figure 3.20)
Figure 3.19 TCP/IP setup
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
1. The default Baud Rate of MB5001C is 9600 and it is associated with serial port COM respectively.
2. The default value for data packet delimiter is 0. When the delimiter is set to 0 (Auto), MB5001C will
automatically chooses the optimal delimiter according to the baud rate.
3. The “COM Type Selection” will show different port interface according to its selected port type.
4. After configuring the parameters, click on the “Save Configuration” button to save the changes, please
notice that the setting will not become effective until click “restart”.
3.3.5 Modbus Settings
Figure 3.22 Modbus Setup
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
TCP Listen Port: Modbus/TCP Listen port. Default is 502.
Please note that Ethernet interface only support Modbus Slave.
TCP Connections(s): Maximum of four simultaneous Modbus/TCP connections is allowed.
Serial Reply Timeout: If the serial side does not respond with the specified time, data would be dropped
and not transmitted over TCP even if the gateway receives it later.
Serial Protocol: Select between Modbus/ASCII and Modbus/RTU.
Please note that Serial interface only support Modbus Master.
Serial Timeout Retry: If “0” is set, the gateway would not store TCP packets in the buffer. If the number is
greater than “0”, the gateway would store the TCP packets in the buffer and retries the specified times when
the Modbus device on the serial side does not respond.
Note: After configuring the parameters, click on the “Save Configuration” button to save the changes, please
note that the setting will not become effective until “restart” is clicked.
3.4 Assign a New IP Address by ARP Command
Use ARP command to assign a static IP address of MB5001C using its hardware MAC address. The MAC
address is printed on the rear side of device in the format of "0060E9-xxxxxx". The following example shows
how it works within MS-DOS command prompt window.
(For example change IP from 10.0.50.100 to 10.0.50.101,and the MAC address of MB5001C is
00-60-e9-11-11-01)
MB5001C is an SNMP device that allows many popular SNMP Network management platforms such as HP
Open View.
Depending on the network management tools one are using, device MB5001C information can be collected
from running the management tools including IP address, DNS name, system descriptions and NIC
information etc.
5.2 Using NetworkView as an Example
NetworkView is a compact network management tool from NetworkView Software, Inc.
(www.networkview.com). It discovers all TCP/IP nodes in a network using DNS, SNMP and ports information
and documents with printed maps and reports for future use.
First, download and install the tool on ones PC (Windows 2000 and Windows XP), then start NetworkView.
1. Click on the button to open a new file. The following screen shall appear, in the Addresses
field, Enter in the IP address range to search (Figure 5.1).
2. Click on “OK” and the following dialog box shall display the searching progress (Figure 5.2).
Figure 5.1 IP address searching
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
3. After the search is completed, NetworkView will display the devices found in the main window, as
shown below (Figure 5.3).
Figure 5.3 NetworkView display the devices found
4. Double-click on the device icon to display information about the device, including IP Address,
Company, SysLocation (Max 15 characters), SysName (Max 9 characters) and types etc
(Figure 5.4).
Figure 5.4 NetworkView display device information
Note:
1. The NetworkView tool is limited to information extracting and viewing only.
2. To modify the configurations please use the web server, Telnet or DeviceView configuration utilities.
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
There are several ways one can check on the status and availability of MB5001C.
6.1 Use Standard TCP/IP Utility Ping Command
From Windows Start menu, select Runand type in “ping <TCP Server IP address>”.
If the connection is established, the Reply messages are displayed, otherwise it will indicate Request
timed out (Figure 6.1).
Figure 6.1 Standard TCP/IP utility ping command
6.2 Use DeviceView Configuration Utility Program
Use DeviceView configuration program that comes with the product CD or diskette to check on the
status of MB5001C. The status and version can be read from the tool.
For example, ‘listening’ means that COM1 is still waiting for TCP connection (Figure 6.2).
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
This function is applied to search devices in the network. There are four methods to search devices, Search
by Broadcast, Search by IP addresses, Search by MAC addresses and Rescanning devices by using the
current search method. To select the search methods, users click the “Search” on the main menu which is
shown below.
Alternatively, users can select by clicking the button on the toolbar as below.
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
Once “Broadcast Search” is selected, a box will pop up as below. The user may type in or select different
broadcast address based on his own requirement.
Search by IP address
Once “Search by IP Address” is selected, an interface will pop up as below. Here user may have two options:
Select an IP address to search or Search device in the range of IP address.
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
If “Search by MAC Address” is selected, another box will pop up as below. Here the user may search in two
ways: “Search a MAC address to search” or “Search devices in the range of MAC address”
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
Once the user click the “Rescan” button on the toolbar, the DeviceView utility shall re-search devices by
using the current search way.
A.3.2. Firmware
This function is applied to downloading a firmware into the selected device. The user can enter the window
for downloading by firstly clicking a designated network device, and then selecting the submenu option
“Firmware Download” in the main menu option “Firmware”, or directly clicking the button Upgrade from disk.
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
And then the user can select and download the required firmware from the disk, as shown in the figure below.
The user can also select several same devices at one time, and realize the firmware updating for them by
selecting Apply for all selected devices have same model.
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
This function is for device configuration to set up parameters, to import and to export the parameters, and to
set up some options. Here is the list of configurations: “Network”, “SNMP”, “COM Port”, “Locate”, “Reset”,
“Import Setting”, “Export Setting”, “Virtual COM”, “Config by browser” and “Options.” Users can carry out a
configuration operating through menu or by clicking the corresponded button on the toolbar, shown as the
figure below:
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
The user can modify the IP address of any selected device, shown as the figure below. You can statically
assign IP address, Subnet mask, and Gateway. Optionally, you can set up the device with a host name.
You can select DHCP option to obtain an IP address automatically.
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
The user can apply this function to locate a device when its IP address is known, but its position is unknown.
If a device is selected, the device will appear to sing. Users can locate the device by selecting the
Configuration submenu Locate or clicking the Locate button on the toolbar.
Reboot
The device should be restarted after a successful modification of parameter configuration. Users can also
carry out a restart through the submenu option Reset.
The user can also select several devices at one time, and save the parameter information of these selected
devices into a designated parameter file by selecting "Save all the selected devices".
Configure by Browser
Some devices are supplied with build-in Web servers, which will be used to configure similar to DeviceView
software. Users can carry out any parameter setting directly through the submenu option “Config by
Browser”, and a Web browser is shown in the figure below.
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
The option is mainly applied to setting some common working rules of DeviceView utility, such as the device
search time interval or whether to display any device information tip. The dialog is shown in the figure below.
A.3.4. About
This function is mainly applied to displaying information of the DeviceView utility, shown in the figure below.
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
One can choose either 568A or 568B definition. If one want to make a crossover cable, one should use 568A
and 568B definition respectively in each terminal of a UTP cable.
B.3.3 Power Terminal Block Connector
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
After the new version of firmware is released, customers can download it from www.Atop.com.tw After one
download the firmware, please follow these instructions listed below.
C.1 Upgrade Procedures
When one get a new software version, please follow the sequences below to upgrade ones MB5001C.
1. Connect a PC (Windows 95/98/NT/2000/XP) and MB5001C one wish to upgrade the firmware in the
same TCP/IP network. Use command ping or DeviceView program to verify their availability.
2. Prepare the download tool and press any key to edit its configuration file dapdl.cfg. dapdl.cfg file
can be found in the product CD.
3 Edit the "dapdl.cfg" file to fit ones system need, the content of the file looks like as the following.
Be sure to save ones modifications after the change is made.
Remote_IP 10.0.50.100
Load U5001ap.hex
The first line identifies the IP address of MB5001C, the second line identifies the firmware (.Hex file) name to
be downloaded.
4 Execute the utility program download.bat, it can be found in the product CD.
5 Input the user name and password credential, the new firmware will be downloaded.
6 MB5001C will automatically restart each time the firmware is successfully downloaded.
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
1 One can always abort the upgrading process by pressing the <Esc> key from host PC during the
upgrading process. MB5001C will restart automatically and the system remains intact.
2 If MB5001C does not receive any upgrading data within 30 seconds, MB5001C will restart
automatically and the system remains intact.
3 After the upgrading process finishes, MB5001C will program the flash memory and buzzer beeps 6
times then restarts. Normally, it takes around 10 seconds to complete the programming process. If
an error occurs during the programming process, MB5001C will clear the corresponding memory
and the system remains intact of what it was.
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway
The AP (application program) firmware of MB5001C can be disabled. This function is used in the situation
that one downloaded a wrong version of firmware that caused the system crashed.
To disable the current version of firmware and prevent it from executing, please do the followings:
1. Turn the power off, open MB5001C case.
2. Short pin1 and pin2 of jumper JP1 on the right-top corner from the main board to disable AP
firmware.
3. Power on MB5001C.
4. Download the correct AP firmware to MB5001C.
5. Remove the pin 1 and pin2 of jumper JP1 to enable AP firmware.
6. Close the case and continue ones operations.
User Manual Version 1.0
MB5001C series 1-port Modbus Gateway