Atop Technology MB5416A2 User Manual

MB54XX-X Modbus Gateway User’s Manual
v. 1.1
December, 2012
Tel.:
886-3-5508137
Fax:
886-3-5508131
Important Announcement
The information contained in this document is the property of Atop technologies, Inc., and is supplied for the sole purpose of operation and maintenance of Atop Technologies, Inc., products. 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 explicit written consent of Atop Technologies, Inc., offenders will be held liable for damages. All rights, including rights created by patent grant or registration of a utility model or design, are reserved.
Disclaimer
We have checked the contents of this manual for agreement with the hardware and software described. Since deviations cannot be precluded entirely, we cannot guarantee full agreement. However, the data in this manual is reviewed regularly and any necessary corrections included in subsequent editions. Suggestions for improvement are welcome. All other product names referenced herein are registered trademarks of their respective companies.
Published and printed by Atop Technologies, Inc.
2F, No. 146, Sec. 1, Tung-Hsing Rd. Jubei, Hsinchu 30261 Taiwan, R.O.C.
www.atop-tech.com www.atop.com.tw
Copyright © 2011 Atop Technologies, Inc. All rights reserved. Technical data is subject to change.
ii
Table of Contents
Preface ....................................................................................................................................................... 2
1 Introduction ................................................................................................................................... 4
1.1 Overview ................................................................................................................................. 4
1.2 Features .................................................................................................................................. 6
2 Getting Started .............................................................................................................................. 7
2.1 Inside the Package ............................................................................................................... 7
2.2 Appearance, Front & Rear Panels .................................................................................... 9
2.3 First Time Installation ........................................................................................................ 12
2.4 Factory Default Settings ................................................................................................... 13
3 Configuration and Setup .......................................................................................................... 15
3.1 Locating and IP configuring using Device View© ..................................................... 15
3.2 Configuration using Web Interface ................................................................................ 17
3.2.1 LCM (Liquid Crystal Matrix) Configuring (MB5408-X/5416-X only) .. 19
3.2.2 Configure Automatic IP Assignment with DHCP .................................. 23
3.3 Web Overview ...................................................................................................................... 23
3.4 Network Configuration ...................................................................................................... 24
3.5 Basic Settings ..................................................................................................................... 26
3.5.1 COM Settings .................................................................................................. 26
3.5.2 Operation Mode .............................................................................................. 27
3.5.3 Serial Settings ................................................................................................ 27
3.5.4 VCOM Settings ............................................................................................... 28
3.5.5 TCP Settings ................................................................................................... 30
3.5.6 Slave ID Map ................................................................................................... 32
3.6 Advanced Settings ............................................................................................................. 34
3.6.1 SNMP Settings ................................................................................................ 34
3.6.2 Modbus ............................................................................................................. 35
3.7 Alert Configuration ............................................................................................................. 36
3.7.1 SMTP and Email Settings ............................................................................ 36
iii
3.8 System ................................................................................................................................... 38
3.8.1 Log Settings .................................................................................................... 38
3.8.2 System Log ..................................................................................................... 39
3.8.3 Data Log ........................................................................................................... 40
3.8.4 Modbus Statistic ............................................................................................ 41
3.8.5 Time ................................................................................................................... 42
3.8.6 Security ............................................................................................................ 43
3.8.7 Import/Export .................................................................................................. 44
3.8.8 Factory Default ............................................................................................... 46
3.9 Restart ................................................................................................................................... 47
4 Applications and Examples ..................................................................................................... 48
4.1 Using ID offset range mapping ....................................................................................... 48
4.2 Using Alias ID mapping .................................................................................................... 50
5 Specifications .............................................................................................................................. 52
5.1 Hardware ............................................................................................................................... 52
5.2 Software ................................................................................................................................ 60
Appendix Configuration using Telnet Interface................................................... 61
Warranty ................................................................................................................................................... 80
iv

Preface

Purpose of the Manual
This manual supports you during the installation and configuring of the MB54XX Modbus Gateway Series only, as well as it explains some technical options available with the mentioned product. As such, it contains some advanced network management knowledge, instructions, examples, guidelines and general theories designed to help users manage this device and its corresponding software; a background in general theory is a must when reading it. Please refer to the Glossary for technical terms and abbreviations (if any).
Who Should Use This User Manual
This manual is to be used by qualified network personnel or support technician who are familiar with network operations; it might be useful for system programmers or network planners as well. This manual also provides helpful and handy information for first time users. For any related problems please contact your local distributor, should they be unable to assist you, please redirect your inquiries to www.atop.com.tw or www.atop-tech.com .
Supported Platform
This manual is designed for the MB54XX Modbus Gateway Series and that series only.
Warranty Period
We provide a 5 year limited warranty for the MB54XX Modbus Gateway Series.
Manufacturers Federal Communication Commission Declaration of Conformity Statement
Model: MB54XX Modbus Gateway Series
NOTE: 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 can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful
2
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 expense. This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: 1 This device may not cause harmful interference, and 2 This device must accept any interference received, including interference that may cause
undesired operation.
3

1 Introduction

1.1 Overview

The Modbus Gateway is an interface between Modbus Gateway and computer hosts running Modbus/TCP on Ethernet networks. Fully compliant with Modbus/TCP, the Modbus Gateway offers a convenient solution to connect existing devices or controllers running Modbus serial protocol (Modbus/ASCII or Modbus/RTU) to an Ethernet network. The MB54XX Series are standard Modbus gateways that convert between Modbus TCP and Modbus RTU/ASCII protocols. The MB54XX Series support 16 simultaneous TCP master and 32 simultaneous requests for each TCP master. Each RS-232/422/485 serial port can be individually configured for Modbus RTU or Modbus ASCII operation or even different baudrate, allowing both types of networks to be fully integrated with Modbus TCP within one package.
Fig. 1. 1
4
User’s Manual V 1.1
Fig. 1. 2
5
Never install or work on electrical or cabling during periods of lighting activity. Never
connect or disconnect power when hazardous gases are present.
WARNING: Disconnect the power and allow to cool 5 minutes before touching.

1.2 Features

RISC 32-bit 266 MHz CPU  Standard 19-inch rack-mount 1U high metal housing  Software selectable RS-232/RS-485/RS-422 RJ-45 connection  Dual 10/100 Mbps Ethernet ports for network redundancy  Configurable via LCM buttons, Serial console, Telnet, Web and Windows-based utility
program Device View©
Relay output indicator for network link status  LCM indication with 4 keypad settings  Convert between Modbus TCP and Modbus RTU/ASCII  2 Ethernet port and 4,8, or 16 RS-232/422/485 ports  Supports 16 simultaneous TCP masters with up to 32 simultaneous requests per master  Easy hardware setup and configuration
Caution
Beginning from here there will be extreme caution exercised.
6
User’s Manual V 1.1
Table 2. 1
Item
Quantity
Description
MB54XX Series
1
Modbus Gateway
Cable
1
RJ-45 to Male DB9 cable
Mounting Kit
1
Rack Mounting Type-L angles (x 2) Screws (x 6)
Foot Rubbers
Documentation + CD
Inside the CD you will find:
User’s Manual Installation Guide  Device View© utility
Installation Guide + Warranty Card

2 Getting Started

2.1 Inside the Package

Inside the purchased you will find the following items.
7
User’s Manual V 1.1
Table 2. 2
Item
Description
MB5404D-X
4-Port Serial-to-Ethernet Intelligent Modbus Gateway, D-Sub(M)
MB5404D-Sis-X
4-Port Serial-to-Ethernet Intelligent Modbus Gateway, Terminal Block, 2 KV Isolation
MB5408-X (US)
8-Port Serial-to-Ethernet Intelligent Modbus Gateway with RJ45 connectors, AC
100-240V, US power plug
MB5408-X (EU)
8-Port Serial-to-Ethernet Intelligent Modbus Gateway with RJ45 connectors, AC
100-240V, EU power plug
MB5416-X (US)
16-Port Serial-to-Ethernet Intelligent Modbus Gateway with RJ45 connectors, AC
100-240V, US power plug
MB5416-X (EU)
16-Port Serial-to-Ethernet Intelligent Modbus Gateway with RJ45 connectors, AC
100-240V, EU power plug
How to order
Please refer to the following product codes to place an order.
Note: Notify your sales representative immediately if any of the above items is missing or damaged upon delivery.
8
User’s Manual V 1.1
Fig. 2. 1

2.2 Appearance, Front & Rear Panels

The following figures show the device’s front and rear panels.
MB5404D-X (Left) / MB5404D-Sis-X (Right) Front Panel
9
User’s Manual V 1.1
Fig. 2. 2
MB5416-X Front and Rear Panel
10
User’s Manual V 1.1
Fig. 2. 3
MB5408-X Front and Rear Panel
11

2.3 First Time Installation

Before installing the device, please adhere to all safety procedures described below, Atop will not be held liable for any damages to property or personal injuries resulting from the installation or overall use of the device. Do not attempt to manipulate the product in any way if unsure of the steps described here, in such cases please contact your dealer immediately.
1. Prepare the necessary cables, DC adapter, power cord, LAN cable, etc.; do not connect the unit yet.
2. Plug in the Power Supply/Adapter (MB5404D-X/MB5404D-Sis-X) or AC power cord (MB5408/5416-X) to a power outlet and turn on the power switch (please make sure the electric outlet has proper grounding so as to not cause damage to the unit, property or yourself); shortly thereafter the unit will beep once and the LCM Display will show a .
3. Within one minute, the buzzer shall beep once, and the LCM Display shall show the model’s name.
4. Connect LAN1 to a network switch or to your LAN network with a UTP cable, and connect a host PC to your LAN network with another cable.
5. Connect a serial device to one of the serial ports, and make sure a correct cable is used (Pin assignments for a RS-232 device and for a RS-485 cable are shown in )
For more information on how to install the device, please refer to the Installation Guide available in your package.
12
Interface
Device IP
Subnet mask
Gateway IP
LAN 1
10.0.50.100
255.255.0.0
10.0.0.254
Table 2. 4
Parameter
Default Values
Modbus Master
TCP Settings
TCP Master
Mode: TCP Master  Port: 502
Modbus Slave
MB5416-X:COM1 – COM16  MB5408-X:COM1– COM8  MB5404D-X: COM1– COM4  MB5404D-Sis-X: COM1– COM4
Mode: RTU Slave Serial Configuration: RS-232, 9600 bps, 8 data bits, None Parity bit,
1 stop bit, None Flow Control, Buffer Disabled,

2.4 Factory Default Settings

Network Defaults
Note that the Modbus Gateway comes with one IP address for redundant Ethernet interfaces.
Table 2. 3
Modbus Default
13
User’s Manual V 1.1
Table 2. 5
Parameter
Default Values
Security
User Name
Admin
Password
Null (blank)
SNMP
SysName of SNMP
0060E9-XXXXXX
SysLocation of SNMP
Location
SysContact of SNMP
Contact
SNMP
Enable
Read Community
Public
Write Community
Private
SNMP Trap Server
0.0.0.0
Other Default Settings are shown in the following table:
Note: you can press the “Reset” button on the front panel for 5 seconds (see Sec. 3.8.8 and
3.9), to restore the server to factory default settings.
14

3 Configuration and Setup

3.1 Locating and IP configuring using Device View©

First, please install our configuration utility program Device View© that comes with the Product CD or download it from our websites (www.atop.com.tw or www.atop-tech.com). For more information on how to install Device View© , please refer to the manual that comes in the utility CD. To find the Modbus Gateway device on your network, press “Scan”, a list of devices currently connected to the network will be shown in the window.
The device might not be in the same subnet as your PC, because of this you will have to use our utility to locate it in your virtual environment. To configure each device, click the selected device (default IP: 10.0.50.100), and login with the default username and password. After successful login, click “Configuration >Network…” (Or Ctrl+N), and a pop-up window will appear as follows,
Fig. 3. 1
Note: for illustration purpose only, actual values/settings may vary between devices.
15
User’s Manual V 1.1
Fig. 3. 2
Fig. 3. 3
You may proceed then to change the IP address, to avoid any IP address conflict with other hosts on your LAN network or to connect the device to your existing LAN. The system will prompt you to Authorize whether you can do these changes or not, i.e., it will ask you for the Username and Password, (Fig. 3.4).
16
User’s Manual V 1.1
Fig. 3. 5
Fig. 3. 4
Please consult your system administrator if you do not know your network subnet mask and gateway address. If your LAN network address begins with 192.168.X.X, then please use the LAN2 interface for configuration.

3.2 Configuration using Web Interface

Every MB54XX Modbus Gateway device is equipped with a built-in Web server in the firmware. Therefore, it can be accessed by using a browser for configuration by entering the device’s IP (see Sec. 2.4 for default value).
17
User’s Manual V 1.1
Fig. 3. 6
This type of configuration is the most user-friendly, most recommended and most common method used on your MB54XX Modbus Gateway. Please go to its corresponding section for a detailed explanation.
18
Buttons
Button Description
Menu
<Menu>
Open Main Menu, or to return to the previous Menu
<Up>
Scroll up
<Down>
Scroll down
SEL
<SEL>
Select

3.2.1 LCM (Liquid Crystal Matrix) Configuring (MB5408-X/5416-X only)

The device also has the option of manual configuration (without the software), by making use of its interactive console. Using this method is however, very easy and intuitive; buttons and their functions are described next.
Table 3. 1
Example
To change the device’s IP address, follow the approach below.
Press <Menu> to enter Main Menu  Press <Down> to scroll down to 2. Network Set  Press <SEL> to enter Network setting and then <Up>/<Down> to scroll up or down to
LAN1
Press <SEL> to enter LAN1 and then <Down> to scroll down to 1. IP Config  Press <SEL> to enter LAN1 IP Config and then press <Down> to scroll down to 1.
Static, finally press <SEL> to save the selection.
Press <SEL><Down> to enter 2. IP Address. Use <Up>/<Down> to increase or
decrease the Digital of IP Address, press <Menu> to return to one level higher after completion
19
User’s Manual V 1.1
Table 3. 2
1st layer
2nd layer
3rd layer
4th layer
5th layer
Descriptions
1.Overview
1. Model name
Display Model name
2. Kernel ver.
Display kernel version
3. AP ver.
Display AP version
4. Lan 1
1.Lan status
Display status of LAN1
2.MAC
Display MAC address of LAN1
5. Lan 2
1.Lan status
Display LAN of LAN2
2.MAC
Display MAC address of LAN2
2.Network set
1.Lan 1
1.IP config
1.Static IP
Display/Change static IP
2.DHCP
Display dynamic IP or enable DHCP
2.IP address
Display/Change LAN1 IP
3.Net mask
Display/ Change Net mask
4.Gateway
Display/Change the Gateway IP
2.DNS server1
Display or Change 1st DNS IP address
3.DNS server2
Display or Change 2nd DNS IP address
3.Serial set
1.Select port
Select COM Port: SE5016: [1]~[16] / SE5008: [1]~[8]
To enter: 3. Net mask Use <Up>/<Down> to increase or decrease the Digital of
subnet mask and then <Menu> to return to one level higher after completion
To enter: 4. Gateway. Use <Up>/<Down> to increase the Digital of default gateway
and use <Menu> to return to one level higher after completion
Press <SEL> to the end of the menu to return to one level higher and the device shall
display System message “Save & Restart”. Push <SEL> to 2. Yes, and <SEL> again after completion. The device shall restart and the new settings will appear.
The LCM command structure is as follows, Table.
20
2.Parameter set
1.Baud Rate
1. 300
Display or Change baud rate
2. 600
3. 1200
4. 2400
5. 4800
6. 9600
7. 19200
8. 38400
9. 57600
10. 115200
11. 230400
12. 460800
13. 921600
2.Parity
1. None
Display or Change Parity mode
2. Odd
3. Even
4. Mark
5.Space
3.Data bits
1. 5 bits
Display or Change Data bit length
2. 6 bits
3. 7 bits
4. 8 bits
4.Stop bits
1. 1 bits
Display or Change Stop bit length
2. 2 bits
5.Flow control
1. None
Display or Change Flow control mode
2. Xon/Xoff
3. Hardware
21
6.UART mode
1. 232
Display or Change UART mode for RS-232
2. 422
Display or Change UART for RS-422
3. 485
Display or Change UART for RS-485
7.Apply to all
1.No
2.Yes
Apply UART setting to all serial ports
4.Server state
1.Console
1.Web console
1.Disable
Disable Web console
2.Enable
Enable Web console
2.Telnet console
1.Disable
Disable Telnet console
2.Enable
Enable Telnet console
2.Pwd protection
1.LCM console
1.No
Disable LCM console password protection
2.Yes
Enable and change the password
2.Reset button
1.No
Disable the Reset button password protection
2.Yes
Enable and change the password on Reset button
3.Ping
1.Lan 1
Use "ping" command to check specific IP address for LAN1
2.Lan 2
Use "ping" command to check specific IP address for LAN2
5.Restart
1.No
Cancel Restart command
2.Yes
Restart immediately
22

3.2.2 Configure Automatic IP Assignment with DHCP

A DHCP server can automatically assign addresses to LAN1 or LAN2, the Subnet Mask, and the Gateway. You can simply check “DHCP” box in the Network Setting dialog using our
Device View© utility and then restart it; once restarted it will be automatically configured.

3.3 Web Overview

In this section, only current information on the device’s status and settings will be displayed.
Fig. 3. 7
Model Name as its name implies, shows the device’s model. Device Information displays information on the Kernel version, as well as the AP  Network Information here you may find the Mode in which the device is currently
working on (Dual Subnet, Redundancy Mode), and both LANs respective MAC and IP addresses. Dual Subnet Mode: in which two Ethernet ports have separate IP addresses and
subnets
Redundancy Mode: the system will just use one port for data transfer, if this port is
disconnected, the whole system will change to another port automatically.
23
Loading...
+ 58 hidden pages