Home

MGate MB3000 Modbus Gateway User`s Manual

image

Contents

1. 4 2 Biet cet 4 3 JUMPE 4 4 4 5 DBS Male 4 5 DINSRSID TE e e L e WEE 4 5 Seil ee e 4 6 5 Hardware MB3480 E 5 1 Panel bay OU crt EEEE tenor tena E dV ei wide dt wa 5 2 EED TIC COS eae ine ca Seas ea ee eee ea eee a a ase ee eee 5 2 DITER SION eer i i ee re 5 3 JUD ewer ewer ewe revert ewer ewer terri err Serr eee een 5 4 PITAS SONME ener eee HR HR HR HR HR eee cee 5 5 DBO ees ee eee ead aaa nice 5 5 BS es REM 5 5 5 arene eee OO ee cree D LTEM 5 6 6 Hardware MB3170 MB317OLI de geg Nu deg ege ENN geg NN deed 6 1 WE e PE 6 2 Bib ues 6 2 DIMENSION cece DRD DU UU DOES 6 3 dl lune 6 4 PIDEZAASSIQIIDeDES or EE EEEEEUEEEU REN UNES EPOR EK PEPEEEEEEEULVEUEEEUEVEVEVEVEVEUEVEVEVEUEVEUE
2. AJ 9 Co e A Power is being supplied to the power input Power is being supplied to the power input Steady on Power is on and unit is booting up Blinking Indicates an IP conflict or DHCP or BOOTP server is not responding properly Steady on Power is on and unit is functioning normally Blinking Unit is responding to software Locate function Off Power is off or power error condition exists Orange 10 Mbps Ethernet connection Ethernet Green Off Orange P1 Green Off 100 Mbps Ethernet connection Ethernet cable is disconnected or has a short Serial port is receiving data Serial port is transmitting data No data is being transmitted or received through the serial port 6 2 MGate MB3000 Modbus Gateway Hardware MB3170 MB3170I Dimensions 29 mm 1 14 in 14 5 mm 0 57 in 14 5 mm 0 57 in 69 5 mm 2 74 in 124 5 mm 4 9 in st E E pel co ee 20 6 mm 29 91 mm 0 81 in 1 18 in e T 25 9 mm 35 mm 1 02 in 1 38 in 6 3 MGate MB3000 Modbus Gateway Hardware MB3170 MB3170I Jumpers oW 1 The DIP switches are located beneath the DIP switch panel on the side of the unit To add a 120 Q termination resistor set switch 3 to ON set switch 3 to OFF the default setting to disable the termination resistor To set the pull high low resistors to 150 KO set switches 1 and 2 to OFF This
3. A 1 Requests Need a Time Bn E 2 Ethernet vs MOdDUS EE 3 Integrate Modbus Serial and Ethernet with Gatewave cere nnn nnn nnn A 3 DeClaFation of Conformity ceric cites B 1 1 Introduction Welcome to the MGate MB3000 line of Modbus gateways All models feature easy integration of Modbus TCP to Modbus RTU ASCII and feature RS 232 422 485 ports for Modbus serial communication One two and four port models are available The following topics are covered in this chapter O Overview D Package Checklist O Product Features MGate MB3000 Modbus Gateway Introduction Overview The MGate MB3000 is a line of Modbus protocol gateways that provides users with e seamless integration of Ethernet and serial Modbus devices e powerful operation modes to handle almost any Modbus application e Windows utilities for easy setup and traffic monitoring Seamless integration of Ethernet and serial Modbus devices Modbus is one of the most popular automation protocols in the world supporting traditional RS 232 422 485 devices and recently developed Ethernet devices Many industrial devices such as PLCs DCSs HMIs instruments and meters use Modbus as their communication standard However the Ethernet based Modbus protocol is so different from the original serial based protocols that a comm
4. E EEUU EE 9 30 MIX VIG eec E 9 31 MXVIew for the MGate MBS000 SCH CS oco ooo oon ooo ipaa A etudes 9 31 Pin Assighiments SUR 10 1 BIS er MM NM 10 2 Terminal Block RS 4222 R9485 MU MM E 10 2 Power Input Relay QUEIDUL Ex Y ERE E ee 10 3 11 1 n deel arom mere 11 2 Replace Serial Masters with Ethernet Master s Slave IDs are 11 2 Replace Serial Masters with Ethernet Master s Slave IDs are bied 11 3 Keep Serial Master and Add Ethernet Master s NEE NEE aaa nnns 11 3 Integrate Modbus RTU ASCII and TCP at the Same Time bere vez takes EXT ECU Eu ances EXE Ee EE V EA 11 4 Modbus OVerVIe W ssapetesePascpese S upeseouEenaPapeteps ess A 1 age elei e de EE A 1 Devices are Either Masters e A 1 Slaves are Identified DY exe exces uice idco canddme eee eae eaannneedaneaades A 1 Communication is by Request and ReSponSe NENNEN NEE NEE NEE NEE
5. n n n LI Panel Layout LED Indicators Dimensions Jumpers Pin Assignments gt DB9 Male gt Power Input Relay Output DIN Rail Wall Mounting Specifications MGate MB3000 Modbus Gateway Hardware MB3270 MB3270I Panel Layout Dual Power Input and Relay Output q M M Dr gt LED Indicators RS 232 422 485 Ethernet 1 Copper Ethernet P1 Ethernet 2 MB3270 Power is being supplied to the power input Power is being supplied to the power input Steady on Power is on and unit is booting up Blinking Indicates an IP conflict or DHCP or BOOTP server is not responding properly Steady on Power is on and unit is functioning normally Blinking Unit is responding to software Locate function Power is off or power error condition exists 10 Mbps Ethernet connection Ethernet 100 Mbps Ethernet connection Serial port is receiving data P1 P2 Serial port is transmitting data Off No data is being transmitted or received through the serial port Off Ethernet cable is disconnected or has a short 7 2 MGate MB3000 Modbus Gateway Hardware MB3270 MB3270I Dimensions 29 mm 1 14 in 14 5 mm 0 57 in 69 5 mm 2 74 in 124 5 mm 4 9 in zt E E pe CO ES v 20 6 mm 29 91 mm 0 81 in 1 18 in 25 9 mm 35 mm 1 02 in 1 38 in 7 3 MGate MB3000 M
6. Replace Serial Masters with Ethernet Master s Slave IDs are Fixed Some legacy Modbus slave devices have fixed IDs that cannot be changed In order to integrate the devices into a Modbus TCP network a multiport MGate model MB3280 MB3270 or MB3480 can be used to assign virtual slave IDs For more information about virtual slave IDs please refer to Chapter 9 SCADA SCADA SCADA ees Virtual ID 4 2 3 Serial eng La v Serial EE Slave ER Slave E Slave Real ID7 1 Real ID 1 Real ID 1 Keep Serial Master and Add Ethernet Master s In this scenario the serial control system is a direct low latency system The serial master must not be replaced but Ethernet masters will need to have access to the serial slaves for monitoring or supervision An advanced multiport MGate model MB3270 can be inserted into the serial system with the slaves connected to one serial port and the master to another serial port The advanced gateway allows Ethernet masters to communicate with the serial slaves and it also provides a serial redirector function that simultaneously allows the serial master to continue controlling the slaves Ethemet Ethemet Ethemet Master Eh Master Master MGate MB3000 Modbus Gateway Case Studies Integrate Modbus RTU ASCII and TCP at the Same Time There can be a wide range in number type and sophistication of devices on the factory floor The most common devices are simple serial based me
7. 194 Model Protocol MODBUS Protocol IP Address i Offline Open MODBUS 192 158 35 194 Por us Disable MODBUS 192 158 35 194 Por Disable MODBUS 192 158 35 194 Por Disable MODBUS 192 168 35 194 Por Disable Remove 9 12 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway This way when you send a Modbus request to ProCOM the driver will forward your request to the MGate MB3000 and then the MGate MB3000 will forward the request to the target Modbus device using the pre set Modbus device mode and Slave ID For example the Modbus request from ProCOM can be redirected to a Modbus RTU ASCII device that is behind the MGate MB3000 s serial interface or to a Modbus TCP device through the MGate MB3000 s Ethernet port In addition it can be redirected to another ProCOM port on the MGate MB3000 ProCOM Mapping Remote IP Address 192 168 35 194 Model MB3270 Protocol MODBUS Model Protocol IP Address COM Offline Open MB3270 MODBUS 192 168 55 194Por 46 Disable 1 MB3270 MODBUS 192 168 35 194 Por 3 MB3270 MODBUS 192 168 35 194Por 48 Disable 4 MB3270 MODBUS 192 168 35 194Por 49 Disable ProCOM Mapping Frot OM PORT 4 COM 4 current in use e Enable Offline Open _ Offline Open This function enables user to open ProCOM port s before the device is connected In this case the data transmitted to ProCOM port s will be kept temporarily and will be sent out once the Pro
8. ey Mate Manager Model MAC Address Firmware Version Device Identification Device Function Search Configuration Load Monitor Log ProCOM Mapping cma ui a Locate GSD Management Off Line Configuration Search Broadcast Search Specify IP Search C Connect through COM Port COM1 Searching Searching 9 7 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway When the search is complete every MGate MB3000 that is found on the LAN will appear in the window with MAC address and IP address Simply select the one that you wish to configure No Name Model MAC Address IP COM Status Firmware Version 00 90 E8 51 50 09 Ver 1 3Build 13032811 02 MG MB3480 61502 MGate MB3480 00 90 E8 00 34 34 192 168 35 196 Ver 2 1 Build 13032811 03 MG MB3170 615 MGate MB3170 00 90 E8 35 81 1C 192 168 35 192 Ver 2 1 Build 13032521 04 MG MB3280 3801 MGate MB3280 00 90 E8 36 52 C2 192 168 32 229 Ver 2 1 Build 13032818 05 MG MB3280 3803 MGate MB3280 00 90 E8 36 52 C4 192 168 35 195 Ver 2 1Build 13032811 06 MG MB3270 32 04 MGate MB3270 00 90 E8 00 32 74 192 168 35 194 Ver 3 1 Build 13032811 Device Identification Device Function Search Configuration i ProCOM Mapping Load Default liagnos Upgrade Firmware GSD Management Off Line Configuration Specify IP Address Click Specify IP Search Address if you know the IP address of the unit and wish to connect to it directly Enter the
9. Contact Information Moxa Americas Toll free 1 888 669 2872 Tel 1 714 528 6777 Fax 1 714 528 6778 Moxa Europe Tel 49 89 3 70 03 99 0 Fax 49 89 3 70 03 99 99 Moxa India Tel 91 80 4172 9088 Fax 91 80 4132 1045 www moxa com su ort Moxa China Shanghai office Toll free 800 820 5036 Tel 86 21 5258 9955 Fax 86 21 5258 5505 Moxa Asia Pacific Tel 886 2 8919 1230 Fax 886 2 8919 1231 Table of Contents Di TRUROGUCTION E 1 1 E 1 2 PACE ler KIE EE EEA E ERI NIE EER 1 3 Prod ct gg 1 3 2 Getma Startel E 2 1 CONMEeCEING ao I EE 252 Connecting Serial DEVICES s died ute e aati aw et E aad 2 2 RS 485 Termination and Pull High Low 6 seen nnn eee eee hehe mh naa anna nnn 2 2 connecting to aT HoSLbor the e 2 3 Installing the SOPEW Abi ENEE 2 3 Mounting the ln UE 2 3 3 Hardware MB3ISO cou 3 1 Eeer 3 2 BSRRele ug a 3 2 DIMENSION Srani Ea EEEa Ea EEEa Ea Er EEE aaa aiaa aiaa aa EEEE EESE 3 3 JUMPE M 3 4 PU Vis SU IM EE 3 5 DS EE 3 5 DINSR aN WV all MOURNING gege 3 5 SPECMCA LONS E 3 6 ACW MB328U EE 4 1 Panel lan EE 4 2 EEDIndicatOfScccenes tnt vedi t
10. The offset value is used to convert the virtual ID to the actual ID This specifies the range of IDs that will be routed to the numeric range from selected set of slave devices For example you can specify Virtual Slaves ID Range 1 to 254 that IDs between 8 and 24 be routed to the devices on Port 3 The ID 255 is reserved for the gateway itself This specifies the difference between the virtual slave ID number between and the actual slave ID If a slave s virtual ID is 16 and the 253 and 253 actual ID is 5 you would set the offset to 11 This offset is applied to the entire range of virtual slave IDs Slave ID Offset When a serial port is set to RTU slave or ASCII slave mode a virtual ID range will already be created for you Simple select the entry in the table and modify the range and offset as needed For TCP slaves you can add an entry that assigns a range of virtual IDs to a specific IP address using the Remote TCP Slave IP setting Slave ID Map Example Suppose you have two ASCII slave devices on port 1 assigned to slave IDs 3 and 5 The MGate will automatically create a virtual ID range for port 1 which you will need to modify If slave IDs 3 and 5 are already in use by TCP slaves the virtual ID range should be set to IDs that are not in use such as 20 through 22 In that case you would specify a slave ID offset of 17 since that is the difference between the virtual ID range and the actual slave IDs The formula
11. an Ethernet network Up to 32 Modbus gateways can be installed in a single control network so each device can now be accessed from anywhere the TCP IP network can reach MB3000 M Modbus RTU RS 232 J Master device Ethernet MB3000 MB3000 MB3000 D w RS 485 RS 485 P 2 deg A Modbus RTU E CH H Slave devices Flow meter Loop controller ELO Drives Power measurement DCS 8 3 9 Configuring the Modbus Gateway The following topics are covered in this chapter O Installing the Software O Starting MGate Manager Change Language Setting O Connecting to the Unit Broadcast Search Specify IP Address O Modifying the Configuration gt Configure Serial Port for RTU or ASCII Master or Slave What is PFoCOM How to Configure ProCOM for the MGate MB3000 Offline Open Configure IP Address and Other Network Settings Configure Serial Communication Parameters RTS Toggle Set Up Slave ID Mapping Smart Routing Customize Modbus Settings Set Up Priority Control Accessible IP SNMP VON ON ON ON VV VV ON N WV Miscellaneous Setup O Verifying the Location of the Unit O Monitoring Modbus Activity gt Open Traffic Monitor Window gt Filter Traffic Information Save Log to File O Upgrading Firmware O MXview gt MXview for the MGate MB3000 Series MGate MB3000 Modbus Gateway Configuring the Modbus Gateway Installing the Software The following instructions explain how to install MGate
12. is as follows Real Slave ID Virtual Slave ID Slave ID Offset 3 20 17 With the slave ID map configured a master that wants information from one of the ASCII slaves would address the request to slave ID 20 or 22 The MGate would identify that the request was addressed to a virtual slave ID in the slave ID map The MGate would then forward the request to port 1 applying the 17 offset to obtain the actual ID of the desired device Customize Modbus Settings The Modbus tab is where certain adjustments can be made to fine tune the communication between different Modbus networks You can configure Initial Delay Modbus TCP Exception Slave Channel and Response Time out Initial Delay Modbus TCP Exception Enable or Disable MGate MB3000 Modbus Gateway Configuring the Modbus Gateway Initial Delay Some Modbus slaves may take more time to boot up than other devices For certain environments this may cause the entire system to suffer from repeated exceptions during the initial boot up You can force the MGate to wait after booting up before sending the first request with the Initial Delay setting Modbus TCP Exception The MGate MB3000 is a protocol gateway that transparently passes requests and responses between the Ethernet and serial interfaces In some situations it may be necessary for the gateway to return an exception in response to a request from a Modbus TCP master This is enabled or disabled with the Mod
13. is the default setting To set the pull high low resistors to 1 KO set switches 1 and 2 to ON Switch 4 on the port s assigned DIP switch is reserved ATTENTION Do not use the 1 pull high low setting on the MGate MB3000 when using the RS 232 interface Doing so will degrade the RS 232 signals and reduce the effective communication distance MGate MB3000 Modbus Gateway Hardware MB3170 MB3170I Pin Assignments DB9 Male The MGate MB3170 and MB3170I use a DB9 male serial port for RS 232 connections to Modbus RTU or ASCII devices 1 9 Terminal Block RS 422 RS 485 The MGate MB3170 and MB3170I use a terminal block connector for RS 422 and RS 485 connections to Modbus RTU or ASCII devices RS 422 RS 485 2W RS 485 AW 6 5 MGate MB3000 Modbus Gateway Hardware MB3170 MB3170I Power Input Relay Output Shielded DC Power DC Power Relay Relay DC Power DC Power Ground Input 1 Input 1 Output Output Input 2 Input 2 DIN Rail Wall Mounting There are two sliders on the back of the unit for DIN rail and wall mounting Mounting on a DIN rail Pull out the bottom slider latch the unit onto the DIN rail and push the slider back in Mounting on the wall Pull out both the top and bottom sliders and align the screws accordingly E bee 6 6 MGate MB3000 Modbus Gateway Hardware MB3170 MB3170I Specifications LAN Ethernet 10 100 Mbps RJ45 Auto MDI MDIX Protection Built in 1 5 kV magn
14. low resistors correctly so that the electrical signal is not corrupted For each serial port DIP switches or jumper settings are used to set the pull high low resistor values For all models except the MB3180 a built in 120 termination resistor can also be enabled To modify the termination and pull high low resistor settings please refer to the hardware reference chapter for your model ATTENTION Do not use the 1 KQ pull high low setting on the MGate MB3000 when using the RS 232 interface Doing so will degrade the RS 232 signals and reduce the effective communication distance 257 MGate MB3000 Modbus Gateway Getting Started Connecting to a Host or the Network A 10 100BaseT Ethernet port is located on the unit s front panel This port is used for the unit s connection to a host or Ethernet network as follows e For normal operation use a standard straight through Ethernet cable to connect the unit to your Modbus TCP network e For initial configuration or for troubleshooting purposes you may connect the unit directly to a PC In this case use a crossover Ethernet cable to connect the unit to your PC s Ethernet connector The unit s Link LED will light up to indicate a live Ethernet connection For advanced models MB 3170 MB3170I MB3270 and MB3270I two Ethernet ports are provided One port can be used to connect to the network and the other port can be used to connect to another Ethernet device Inst
15. models ProCOM Virtual Serial Port for flexible Modbus to Modbus TCP communication Supports MXview utility 1 3 2 Getting Started This chapter provides basic instructions for installing the MGate MB3000 The following topics are covered in this chapter O Connecting Power O Connecting Serial Devices RS 485 Termination and Pull High Low Resistors Connecting to a Host or the Network Installing the Software Mounting the Unit MGate MB3000 Modbus Gateway Getting Started Connecting Power The unit can be powered using the AC adaptor or by connecting a power source to the terminal block depending on the model The following instructions are for the AC adaptor Plug the connector of the power adapter into the DC IN jack on the back of the unit Plug the power adapter into an electrical outlet Follow these instructions to connect a power source to the terminal block Loosen or remove the screws on the terminal block Connect the 12 48 VDC power line to the terminal block gx Wr soe ge p Tighten the connections using the screws on the terminal block Note that the unit does not have an on off switch It automatically turns on when it receives power The PWR LED on the top panel will glow to indicate that the unit is receiving power For power terminal block pin assignments please refer to the hardware reference chapter for your model Connecting Serial Devices The unit s serial port s are
16. slave device The MGate MB3000 Modbus gateway can link a serial based HMI to distributed DCSs over an Ethernet network Up to 32 Modbus TCP slave devices are supported by each MGate MB3000 Modbus RTU HMI gag Master devices MB3000 Ethernet Modbus TCP Slave devices up to 32 8 2 MGate MB3000 Modbus Gateway Typical Applications Modbus TCP Masters with ASCII and RTU Slaves Link TCP master devices with both ASCII and RTU serial devices simultaneously When integrating Modbus networks you may encounter different Modbus serial networks that use different baudrates or a different protocol Modbus ASCII might be used by some devices while Modbus RTU is used by other devices The two and four port MGate models can integrate serial Modbus networks that use different parameters or protocols You can configure each serial port to a specific Modbus serial environment set up a slave ID map After configuration only the gateway will be visible to Modbus TCP masters and all serial devices will be integrated behind it MB3000 Cog TCP Master j Baudrate 9600 e Baudrate 9600 Serial Master with Serial Slaves over Internet Let Modbus serial devices communicate over the Internet Many Modbus devices communicate over RS 485 which limits the number of devices in a network to 32 and the transmission distance to 1 2 km With the MGate MB3000 Modbus gateway you can link all Modbus devices over
17. the response timeout Instead of manually figuring out the appropriate setting you can click Auto Detection to have the MGate figure out the setting for you Once a value has been recommended you can fine tune it for best performance Inter Character Timeout Use this function to determine the timeout interval between characters for Modbus devices that cannot receive Rx signals within an expected time interval If the response is timed out all received data will be discarded Note that this timeout mechanism only works in RTU slave mode The MGate MB3000 will automatically determine the timeout interval if the timeout value is set to O Inter Frame Delay In Modbus RTU slave mode user can determine the time delay to transmit the data frame received from the slave device to the upstream The MGate MB3000 will automatically determine the time interval if it is set to O MGate MB3000 Modbus Gateway Configuring the Modbus Gateway Configuration Y ESL OE Responses Timeout Detected fua Detec 1 Mode Network Serial slave ID Map Modbus Priority Control Accessible IP Miscellaneous Initial Delay 0 30000 ms Modbus TCP Exception amp Disable Enable Slaves Channel Port 1 Port 2 3 TCP ProCOM Response Time out Response Time out 1000 10 120000 ms Response Time out Detected Slaves Channel Virtual 5lave ID Interval Time out Inter character Time out 10 500ms Default Oms
18. works with the MGate MB3x70 Series How to Configure ProCOM for the MGate MB3000 If your system uses remote PCs that only support COM port behavior to control remote Modbus devices then ProCOM is the best solution for your system Before using ProCOM your PC needs to create virtual COM ports that connect to a specific ProCOM over an Ethernet network By using ProCOM the MGate MB3000 will treat your PC s COM port as if it were an additional serial port on the MGate MB3000 To enable this function mapping must be completed as follows Locate the MGate MB3000 with the search function and then select the MGate MB3000 device that you want to set ProCOM for and then click ProCOM Mapping to enter the mapping dialog box as illustrated by the following figures MGate MB3000 Modbus Gateway Configuring the Modbus Gateway MAC Address Status Firmware Version MG MB3270 32704 MGate MB3270 00 90 68 00 32 74 192 168 395 194 Ver 2 1 Build 13032811 Device Identification Device Function Load Default Diagnose GSD Management Off Line Configuration On the ProCOM mapping dialog box you can map up to four ProCOM functions for each Modbus gateway to your PC s COM ports The driver will generate virtaul COM ports on your PC to connect to the selected MGate MB3000s over the network Remote IP Address 192 168 35 194 Model me3270 Protocol MODBUS IF Address Add Remove Remote IP Address 192 168 35
19. 0 Read coils 12 0 090 192 168 33 26 59083 TCP Resp 1 0x01 52 0E 00 00 00 1001010D 00 Read coils 13 0 100 192 168 33 26 59083 TCP Req 1 0x01 53 0E 00 00 00 06 010100 630 Read coils 14 0 100 Porti gt RTU Reg 1 0x01 0101 00 63 00 64 CD FF Read coils 15 0 135 Porti lt RTU Resp 1 0x01 0101 0D 00 00 00 00 00 00 00 Read coils 16 0 135 192 168 33 26 59083 gt TCP Resp 1 0x01 53 0E 00 00 00 10 01 010D 00 Read coils 17 0 140 192 168 33 26 59083 lt TCP Req 1 0x01 54 0E 00 00 00 06 010100 630 Read coils 18 0 140 Porti gt RTU Reg 1 0x01 0101 00 63 00 64 CD FF Read coils 19 0 160 Porti lt RTU Resp 1 0x01 0101 0D 00 00 00 00 00 00 00 Read coils 20 0 160 192 168 33 26 59083 gt TCP Resp 1 0x01 54 0E 00 00 00 10 01 010D 00 Read coils 21 0 170 192 168 33 26 59083 lt TCP Reg 1 0x01 55 0E 00 00 00 06 010100 630 Read coils m j Filter Traffic Information By default all events are displayed in the traffic monitor window MGate Manager also allows the data to be filtered so only the relevant information is displayed The filter is selected using the radio buttons and customized using the Filter info field as follows Exception only Show only exceptions Show only traffic to and from the specified VSID lt virtual slave ID gt virtual slave ID as assigned in the e g VSID 1 Sum MGate s slave ID map on Show only traffic to and
20. 0 10 0101 0D 00 52 0E 00 00 00 06 01 01 00 63 0 010100 63 00 64 CD FF 0101 0D 00 00 00 00 00 00 00 52 0E 00 00 00 10 0101 OD 00 53 0E 00 00 00 06 01 01 00 63 0 010100 63 00 64 CD FF 0101 0D 00 00 0000000000 53 0E 00 00 00 10 0101 0D 00 54 0E 00 00 00 06 01 01 00 630 0101 00 63 00 64 CD FF 0101 00 00 00 00 00 00 00 00 54 0E 00 00 00 10 0101 0D 00 55 0E 00 00 00 06 01 01 00 63 0 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway Upgrading Firmware Firmware updates for the MGate MB3000 are located at www moxa com After you have downloaded the new firmware onto your PC you can use MGate Manager to write it onto your MGate MB3000 Select the desired unit from the list in MGate Manager and click Upgrade Firmware to begin the process K MGate Manager Name Model MAC Address IP COM Firmware Version MG MB32 0 32704 MGate MB3270 00 90 E8 00 32 74 192 168 355 194 Ver 2 1 Build 13032811 Device Identification Device Function Language GSD Management Off Line Configuration The dialog boxes will guide you through the process You will need to browse your PC for the firmware file Make sure that it matches your model Upgrade Firmware Firmware for MB3270 32701 As the firmware is written to the unit progress is displayed in the window Upgrade Progress Model MAC Address IP COM Status MGate MB3270 00 90 E8 00 32 74 192 168 35 194 Transmit 55 Once th
21. 0 Modbus Gateway Configuring the Modbus Gateway Set Up Slave ID Mapping Smart Routing The Slave ID Map tab is where slave IDs are managed The definitions on this tab determine how requests will be routed by the unit Configuration Remote TCP Slave IP 0 0 0 TCP Port 502 Virtual Slave ID Range Slave ID Offset Real Slave ID Range 0 0 0 0 Slaves Channels Information Channel Mo Type Definition Slave ID Range Virtual Real 01 Modbus Serial PORT1 001 005 lt gt 001 005 02 Modbus Serial PORT2 006 010 lt gt 006 010 03 Modbus Serial ProCOM PORTS 011 015 lt gt 011 015 04 Modbus Serial ProCOM PORT4 016 020 lt gt 016 020 05 Modbus Serial ProCOM PORTS 021 025 lt gt 0271 025 06 Modbus Serial ProCOM PORT6 026 030 lt gt 026 030 How Slave IDs are Mapped on the MGate MB3000 When a Modbus master requests information from a Modbus slave the request is addressed to the desired slave s ID which must be unique on the network When Modbus networks are integrated by a Modbus gateway complications can arise if the same slave ID is being used on different networks If this is not properly addressed a request sent to that slave ID would receive more than one response causing communication problems With the MGate MB3000 this situation is addressed by using a slave ID map While configuring the MGate users set up a range of virtual slave IDs that are m
22. 4 MGate MB3270 00 90 68 00 32 74 192 168 395 194 2 1 4 13032811 Device Identification Device Function Search Monitor ProCOM Mapping Import Locate jiagnose Uparade Firmware Export Language GSD Management Off Line Configuration Configure Serial Port for RTU or ASCII Master or Slave The Mode tab is where each serial port s operation mode is configured The operation mode determines whether the device s that are connected to the serial port will operate as a master or a slave and whether the Modbus RTU or Modbus ASCII protocol will be used There are four operation modes as follows Mode J Descipio RTU Slave Modbus RTU slave s will be connected to the serial port RTU Master A Modbus RTU master will be connected to the serial port ASCII Slave Modbus ASCII slave s will be connected to the serial port ASCII Master A Modbus ASCII master will be connected to the serial port e For entry level models MB3180 MB3280 and MB3480 Modbus TCP masters will control Modbus RTU ASCII slaves and Modbus RTU ASCII masters will control Modbus TCP slaves e For advanced models MB3170 MB3270 both Modbus TCP and Modbus RTU ASCII masters can control Modbus TCP and Modbus RTU ASCII slaves MGate MB3000 Modbus Gateway Configuring the Modbus Gateway Use the radio buttons to select the desired operation mode for each serial port on the Modbus gateway Select t
23. 85 F 5 to 95 RH 5 years 7 6 8 Typical Applications The following topics are covered in this chapter O Ethernet Masters with Multiple Serial Slaves O Serial Masters with Multiple Ethernet Slaves O Modbus TCP Masters with ASCII and RTU Slaves o Serial Master with Serial Slaves over Internet MGate MB3000 Modbus Gateway Typical Applications Ethernet Masters with Multiple Serial Slaves Connect all Modbus devices over an Ethernet network Most modern PLCs and host computers support Modbus TCP over Ethernet In order to access discrete Modbus RTU ASCII devices for data collection and control they can rely on the MGate MB3000 Modbus gateway The MGate MB3000 supports Modbus TCP with up to 16 simultaneous connections The serial interface supports both RS 232 and RS 422 485 selectable through software Each serial port can be connected to one RS 232 or RS 422 serial device or to 31 RS 485 serial devices Modbus TCP Host Master devices Computer PLC e Ethernet MB3000 RS 485 Modbus RTU 6 f Modbus ASCII Slave devices Flow meters Drives Loop controller Power measurement up to 31 devices Serial Masters with Multiple Ethernet Slaves Link a serial master device with Ethernet slave devices Many HMI Human Machine Interface systems use a serial interface to connect to a discrete DCS Data Control System However many DCSs are now Ethernet based and operate as a Modbus TCP
24. 92 168 33 26 59083 lt Porti gt Porti lt 192 168 33 26 59083 gt 192 168 33 26 59083 lt Porti Porti lt 192 168 33 26 59083 gt 192 168 33 26 59083 lt Porti Porti lt 192 168 33 26 59083 gt 192 168 33 26 59083 lt Porti gt Porti lt 192 168 33 26 59083 gt 192 168 33 26 59083 lt Data B6 01 00 00 00 06 010100630 010100 63 00 64 CD FF 0101 00 00 00 00 00 00 00 00 B6 0100 00 00 1001010500 B7 0100 00 00 06 0101 00 630 0101 00 63 00 64 CD FF 0101 00 00 00 00 00 00 00 00 B70100 00 00 10 0101 0D 00 B8 01 00 00 00 06 010100630 0101 00 63 00 64 CD FF 0101 0D 00 00 00 00 00 00 00 B8 01 00 00 00 10 0101 OD 00 B9 01 00 00 00 06 0101 00 630 0101 00 63 00 64 CD FF 0101 00 00 00 0000000000 B9 0100 00 00 10 0101 OD 00 BA 01 00 00 00 06 0101 00 63 0101 00 63 00 64 CD FF 0101 00 00 00 0000000000 BA 0100 00 00 10 01010D 00 BB 01 00 00 00 06 01 01 00 63 0 Next page Load 9 26 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway Open Traffic Monitor Window Select the unit that you wish to monitor and click Monitor to open the Traffic Monitor window Name Model MAC Address IP COM Firmware Version MGJ4B3270 32704 MGate MB3270 D0 20 E8 00 32 74 192 168 35 194 Ver 3 1 Build 13032811 Device Identification Device Function Diagnose In the Traffic Monitor window click Star
25. COM port s are ready for access Select the Enable Offline Open checkbox and click on OK to enable this function ProCOM Mapping Frot OM PORT 4 COM 4 current in use e Enable Offline Open MGate MB3000 Modbus Gateway Configuring the Modbus Gateway You can check the Enable Offline Open status from the Offline Open column ProCOM Mapping Remote IP Address 3 194 Model MB3270 Protocol MODBUS Model Protocol Address COM Offline Open MB327 MODBUS 192 168 35 194 Por Disable MB3270 MODBUS 192 168 35 194 Por Enable MB3270 MODBUS 192 168 35 194 Por 8 Disable MB3270 MODBUS 192 168 35 194 Por Disable Configure IP Address and Other Network Settings The Network tab is where the unit s network settings are configured You can modify the Name Network Configuration IP Address Netmask Default Gateway and DNS You may also select a Password to protect the unit from unauthorized access Configuration Mode Network Serial slave ID Map Modbus Priority Control Accessible IP SNMP_ Miscellaneous Name MG MB3270 32704 Password Network Configure Static Confirm Password IP Address 197 168 35 Netmask 255 255 257 Gateway 192 1 35 DNS1 DNS2 Parameter Value Notes O You can enter a name to help you identify the unit Name an alphanumeric string such as the location function etc Select Static IP if you are us
26. Gate MB3170I MGate MB3270 MGate MB3270I Conforms to the following standards EMC Safety FCC Class B EN55022 1998 class B EN61000 3 2 1995 class B EN61000 3 3 1995 EN55082 1 1997 EN61000 4 2 1995 Contact Discharge 4 kV Air Discharge 8 kV EN61000 4 3 1995 EN61000 4 4 1995 AC DC Power supply 1 kV Data Signal lines 5 kV EN61000 4 5 1995 AC DC Line to Line 1 kV AC DC Line to Earth 2 kV EN61000 4 6 1995 EN61000 4 8 1993 3 A m at 50 Hz EN61000 4 11 1994 UL cUL TUV EN60950 The following conformities apply only to the MGate MB3x70 model numbers Hazardous Location UL cUL Class 1 Division 2 Group A B C D ATEX Zone 2 IECEx
27. Inter frame Delay 10 500ms Default Oms ATTENTION Please note the following regarding automatic calibration of response timeouts When automatically detecting the response timeout the MGate will use the slave ID map to determine which ports and which IDs to search Make sure that you have defined the slave ID map for your system before clicking Auto Detection The automatic calibration will take some time to complete We recommend that you save this step for last and take a break as the MGate does its work 9 20 MGate MB3000 Modbus Gateway Set Up Priority Control Configuring the Modbus Gateway The Priority Control tab is where emergency requests are enabled and configured This is available for advanced models only MB3170 MB3170I and MB3270 Specified Masters V Enable Serial Port Gm 192 168 35 111 Definition 192 198 315 111 Specified TCP Port 4 Enable TCP Port 7502 1024 65535 Specified Requests Enable Slave ID 1 F Function Code 3 E Data RTU Format in Hex 00 OU 00 01 Priority control is designed for requests that are sent to Modbus RTU ASCII slaves Since Modbus RTU ASCII slaves cannot handle multiple requests the Modbus gateway must send each request individually and wait for the response before sending the next request As requests stack up the response time can suffer This can cause problems for certain critical requests that requir
28. MGate MB3000 Modbus Gateway User s Manual Seventh Edition May 2013 www moxa com product MOXA 2013 Moxa Inc All rights reserved MGate MB3000 Modbus Gateway User s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement Copyright Notice Trademarks 2013 Moxa Inc All rights reserved The MOXA logo is a registered trademark of Moxa Inc All other trademarks or registered marks in this manual belong to their respective manufacturers Disclaimer Information in this document is subject to change without notice and does not represent a commitment on the part of Moxa Moxa provides this document as is without warranty of any kind either expressed or implied including but not limited to its particular purpose Moxa reserves the right to make improvements and or changes to this manual or to the products and or the programs described in this manual at any time Information provided in this manual is intended to be accurate and reliable However Moxa assumes no responsibility for its use or for any infringements on the rights of third parties that may result from its use This product might include unintentional technical or typographical errors Changes are periodically made to the information herein to correct such errors and these changes are incorporated into new editions of the publication Technical Support
29. Manager a utility for configuring and monitoring MGate MB3000 units over the network 1 Insert the Document and Software CD into the CD ROM drive Locate and run the following setup program to begin the installation process MGM Setup Version Build DateTime exe The latest version might be named MGM Setup Ver1 8 Build xxxxxxxx exe for example La MGM Setup Verl 8 Build 13032 4 ES 820 exe o Welcome to the MGate Manager Setup Wizard This will install MGate Manager 1 8 on your computer It is recommended that you close all other applications before Click Next to continue or Cancel to exit Setup 3 When the Select Destination Location window appears click Next to continue You may change the destination directory by first clicking on Browse is Setup Mate Manager Where should MGate Manager be installed A Setup will install MGate Manager into the following folder To continue dick Next If you would like to select a different folder dick Browse C Program Files Moxa MGate Manager Atleast 1 0 MB of free disk space is required 9 2 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway 4 When the Select Additional Tasks window appears click Next to continue You may select Create a desktop icon if you would like a shortcut to MGate Manager on your desktop ie Setup MGate Manager Select Additional Tasks Which additional tasks should be performed Select the additi
30. Modbus Priority Control Accessible IP SNMP Miscellaneous Port 1 Port 2 Baudrate Flow Control Baudrate Flow Control Parity FIFO Parity FIFO None Enable None Enable Stop bit Interface Stop bit Interface Jess Data bits Data bits MGate MB3000 Modbus Gateway Configuring the Modbus Gateway SE um Se T zm 5 T T 1 Mode Network Serial Slave ID Map Modbus Priority Control Accessible IP SNMP Miscellaneous M Network Slave ID Map Modbus Priority Control nec None Enable None Enable a ee Stop bit Interface Stop bit Interface i Rs5232 R5232 Data bits Data bits RTS on delay RTS on delay 0 0 100 ms 0 0 100 ms RTS off delay RTS off delay 0 0 100 ms 0 0 100 ms RS 232 RS 422 Interface Mode RS 485 2W RS 485 4W Baud Rate 50 bps to 961200 bps RTS Toggle The RTS Toggle function is used for RS 232 mode only This flow control mechanism is achieved by toggling the RTS pin in the transmission direction When activated data will be sent after the RTS pin is toggled ON for the specified time interval After data transmission is finished the RTS pin will toggle OFF for the specified time interval MGate MB300
31. Parameters Parity None Even Odd Space Mark Data Bits 7 8 Stop Bits 1 2 Flow Control RTS CTS XON XOFF Transmission Speed 50 bps to 921 6 Kbps Software Features Operation Mode RTU Slave RTU Master ASCII Slave ASCII Master Utilities MGate Manager Multi Masters and 16 simultaneous TCP masters 32 simultaneous requests for each TCP master Multi Request Power Requirements Power Input 250 mA 12 VDC 90 mMA 48 VDC Power Socket Power jack and terminal block Power Consumption 250 mA max Environment Operating Temperature O to 55 C 32 to 13 1 F 5 to 95 RH Storage Temperature 20 to 85 C 4 to 185 F 5 to 95 RH Warranty Period 5 years 4 6 gt Hardware MB3480 This chapter provides hardware information for the MGate MB3480 The following topics are covered in this chapter Panel Layout LED Indicators Dimensions Jumpers Pin Assignments DIN Rail Wall Mounting OI UD o 0 YU Specifications MGate MB3000 Modbus Gateway Hardware MB3480 Panel Layout Power input RJ45 10 100 Mbps Ethernet port Terminal Block power input LM Oe Com O 10 100M L12 48 vpe Ethernet MB3480 E Ethernet Ee Cf fer Coe EPI MP2 P4 Modbus Ethernet Serial Gateway Indicator LEDs Male DB9 serial port Steady on Power is on and unit is booting up Blinking Indicates an IP conflict or DHCP or BOOTP server is not responding properly Steady on Power is on and unit is functioning no
32. Rx GND Serial Line Protection 15 kV ESD for all signals RS 485 Data Direction Patented ADDC Serial Communication Parameters Parity None Even Odd Space Mark Data Bits 7 8 Stop Bits 1 2 Flow Control RTS CTS XON XOFF Transmission Speed 50 bps to 921 6 Kbps Software Features Operation Mode RTU Slave RTU Master ASCII Slave ASCII Master Utilities MGate Manager Multi Masters and 16 simultaneous TCP masters 32 simultaneous requests for each TCP master Multi Request Power Requirements Power Input 12 to 48 VDC Power Socket Power jack and terminal block Power Consumption 460 mA 12 VDC 170 mA 48 VDC Environment Operating Temperature 0 to 55 C 32 to 13 1 F 5 to 95 RH Storage Temperature 20 to 85 C 4 to 185 F 5 to 95 RH Warranty Period 5 years 5 6 6 Hardware MB3170 MB3170I This chapter provides hardware information for the MGate MB3170 and MB3170I The following topics are covered in this chapter o n n n LI Panel Layout LED Indicators Dimensions Jumpers Pin Assignments gt Terminal Block RS 422 RS 485 gt Power Input Relay Output DIN Rail Wall Mounting Specifications MGate MB3000 Modbus Gateway Hardware MB3170 MB3170I Panel Layout Dual Power Input and Relay Output y E Deeg Reset LED Indicators RS 422 485 Ethernet 1 RS 232 p RS 422 485 Copper Ethernet O L m E Ethernet 2 MGate MB3170
33. VEUEE EV VE VT din 6 5 BIS 6 5 Termilal Block RS 422 ee 6 5 Power Input EE Ee EH 6 6 BAR E gel c ce 6 6 SIE EI EE 6 7 Z Hardware MB3270 MB3270I 5 eo 7 1 int M Es EE 7 2 EE ee 7 2 DIMENSIONS EE 7 3 dl inte 4 le ien ete tues 7 5 PBMC ee 7 5 ROWE Relay OUUU macen E a e e En 7 5 LENS dp etie Cont tna d NE 7 5 SPSCIRICAUON saa dee 7 6 8 1 Ethernet Masters with Multiple Serial Glaves cece nnnm nnn nnns 8 2 Serial Masters with Multiple Ethernet Glaves nnn hne rna nnn nnn 8 2 Modbus TCP Masters with ASCII and RTU Slaves NEEN NEE NEE NEE ash 8 3 Serial Master with Serial Slaves over Internet NENNEN NEE NEE NEE NEE NEEN 8 3 9 Configuring the Modbus Gateway eege 9 1 10 11 Installing the SOtWal ee eA ENEE EE 9 2 Staring MGateMandg Er aan Te ae nh tt eee ee ee eee ee ee nee ee er
34. alling the Software The Windows management utility is installed from the Document and Software CD Follow the onscreen instructions after inserting the CD For additional details please refer to Chapter 9 Mounting the Unit The unit can be placed on a desktop mounted on the wall or mounted on a DIN rail The MB3180 MB3280 and MB3480 require optional attachments for DIN rail mounting For additional details please refer to the hardware reference chapter for your model 2 3 3 Hardware MB3180 This chapter provides hardware information for the MGate MB3180 The following topics are covered in this chapter o n n n QO Panel Layout LED Indicators Dimensions Jumpers Pin Assignments gt DBO Male DIN Rail Wall Mounting Specifications MGate MB3000 Modbus Gateway Hardware MB3180 Panel Layout Rear Panel View RJ45 10 100M Ethernet port Reset button Power input O e Top Panel View 10 100M 12 48 VDC RESET Ethernet DIN rail kit sate ho screw hole Modbus Ethernet Serial Gateway Wallmount ec b screw hole eady Ethernet nw MOXA Port 1 RS 232 422 485 Steady on Power is on and unit is booting up Blinking Indicates an IP conflict or DHCP or BOOTP server is not responding properly Steady on Power is on and unit is functioning normally Blinking Unit is responding to software Locate function evi is deeomneded rasa sot Gr
35. anguage setting A dialog box showing the available languages should appear as shown below German Ing Japanese Ing When you click OK MGate Manager will immediately reflect your chosen language icy Mate Manager E EK MACHE HE IP COM a EIE iHa ERER ProCOMAH Ma i A TRIB SE EB ene ae 55 SPE HERA ATTENTION Use Default Language before contacting Moxa Technical Support With support for multiple languages MGate Manager is more user friendly and accessible However if you need assistance from Moxa Technical Support please change the language to Default Language This will prevent any misunderstandings or confusion about MGate Manager menu items and commands as our engineers assist you The default language is English and will only be active for the current MGate Manager session When you open MGate Manager again the language will revert to your original setting 9 6 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway Connecting to the Unit MGate Manager needs to connect to the unit before the unit can be configured There are two methods to connect to the unit Broadcast Search is used to find every MGate MB3000 on the LAN Search by IP attempts to connect to a specific unit by IP address which is useful if the unit is located outside the LAN or can only be accessed by going through a router Broadcast Search Click Search and a new Search window will pop up
36. apped to slave devices on a specific Modbus network To send a request to a slave that is on a different Modbus network a master would address the request to the appropriate virtual slave ID The MGate then routes that request as specified by the slave ID map For example if a TCP master needs information from an ASCII slave it addresses the request to the corresponding virtual slave ID as defined on the MGate s slave ID map The MGate identifies the request as within its virtual slave ID range and forwards the request to the Modbus ASCII network this time addressed to the device s actual slave ID Virtual slave IDs must not conflict with each other or with other TCP slave IDs ATTENTION The MGate MB3000 will disregard any request that is not addressed to a virtual slave ID on its slave ID map If a device has not been assigned a virtual slave ID it will not be accessible by masters on the other side of the Modbus gateway MGate MB3000 Modbus Gateway Configuring the Modbus Gateway With the slave ID map smart routing is achieved for units with multiple serial ports Since each virtual slave ID is routed to a specific Modbus network requests are not broadcast over all serial ports This keeps communication efficient and prevents devices on one port from slowing down the whole system How Slave ID Map is Defined The slave ID map consists of entries channels that specify a range of virtual IDs the destination and the offset value
37. ay wonder if you are configuring the correct unit in MGate Manager You can select a unit in MGate Manager and click Locate to make that unit s Ready LED blink for a few seconds This will tell you which physical unit corresponds with the unit that you selected E MGate Manager Mo Name Model MAC Address IP COM Status Firmware Version MG MB3270 32704 MGate MB3270 00 90 E8 00 32 74 192 168 35 199 Ver 2 1 Build 13032811 Device Identification Device Function en SE Load Default Diagnose Export Language GSD Management Off Line Configuration 9 25 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway Monitoring Modbus Activity For troubleshooting or management purposes you can monitor the data passing through any MGate MB3000 on the network Data events will be logged as they pass through the gateway Rather than simply echoing the data MGate Manager presents the data in an intelligent easily understood format with clearly designated fields including source type destination contents and more Events can be filtered in different ways and the complete log can be saved to a file for later analysis La M ie eer A ib eM art ER E i n me TEE E E SR ES raffi Mo lite V Gate V 5332 0 19 d 58 35 194 Exception only Slave ID only Source only Function code only oon Oh Ui bh WN ra Src amp Dst 192 168 33 26 59083 lt Porti gt Porti lt 192 168 33 26 59083 gt 1
38. bus TCP Exception setting When enabled the unit can return two types of exception E There is no response from the slave Maybe the device is off line or the imeou serial cable is broken There are two situations that will result in this exception Request dropped The request queue is full 32 request queue for each master The destination ID not included in the slave ID map Not all Modbus TCP masters require this exception so it is up to you to determine if this setting should be enabled Slave Channel and Response Timeout According to the Modbus standard the time that it takes for a slave device to respond to a request is defined by the device manufacturer please refer to Appendix A for details Based on this response time a master can be configured to wait a certain amount of time for a slave s response If no response is received within the specified time the master will disregard the request and continue operation This allows the Modbus system to continue operation even if a slave device is disconnected or faulty On the MGate MB3000 the Response Time out field is used to configure how long the gateway will wait for a response from a Modbus ASCII or RTU slave This field is set independently for each serial port which is selected through the Slave Channel field Please refer to your device manufacturer s documentation to manually set the response time out The MGate MB3000 also provides automatic calibration of
39. ce MGate MB3000 Modbus Gateway Hardware MB3280 Pin Assignments DB9 Male The MGate MB3000 uses DB9 male serial ports to connect Modbus RTU or ASCII devices Each port supports three serial interfaces RS 232 RS 422 and RS 485 both 2 and 4 wire DIN Rail Wall Mounting Mounting on a DIN rail Attach the DIN rail accessories and latch the unit onto the DIN rail as shown The DIN rail kit is ordered separately Mounting on the wall Place two screws in the wall and slide the unit onto the screws as shown The head of each screw 6 5 mm or less in diameter and the shaft should be 3 mm or less in diameter Make sure to leave about 2 mm of space between the head and the wall 6 V V 10 100 12 48 VDC Ethernet RESET 6 5 mm j Mcoate MB 3280 6 O Ready Modbus Ethernet Serial Gateway Ethernet 7 8 cm M Or 2 RS 232 422 485 RS 232 422 485 4 5 MGate MB3000 Modbus Gateway Hardware MB3280 Specifications LAN Ethernet 10 100 Mbps RJ45 Auto MDI MDIX Protection Built in 1 5 kV magnetic isolation Serial Interface Interface RS 232 422 485 No of Ports 2 ports Connector Type DB9 male Signals RS 232 TxD RxD RTS CTS DTR DSR DCD GND RS 422 Tx Tx Rx Rx GND RS 485 2 wire Data Data GND RS 485 4 wire Tx Tx Rx Rx GND Serial Line Protection 15 kV ESD for all signals RS 485 Data Direction Patented ADDC Serial Communication
40. e an immediate response With priority control you can specify that certain requests are sent to the front of the queue for more immediate response times Priority requests can be specified by master IP address or serial port TCP port or command type slave ID function code or data When the Modbus gateway identifies a priority request the request will immediately be placed at the front of the queue To define a priority request enable the appropriate priority scheme i e Specified Masters Specified TCP Port or Specified Requests Then specify the parameter s that will indicate a priority request Finally click Add Modify to apply this definition This last step is not necessary for Specified TCP Port For example if you want all requests from 192 168 32 161 to be considered a priority request you would follow these steps 1 Enable Specified Masters 2 Enter 192 168 32 161 as the IP 3 Click Add Modify 9 21 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway Accessible IP The MGate MB3000 uses an IP address based filtering method to control access to itself The Accessible IP List function allows you to add or block remote host IP addresses to prevent unauthorized access Access to the MGate MB3000 is controlled by IP address That is if a host s IP address is in the accessible IP table then the host will be allowed to access the MGate MB3000 The following descriptions illustrate how to config
41. e ee Te 9 5 change Languages ENEE 9 6 COMMECEING tO he 9 7 Broadcast oca EES 9 7 SPec IP Add AAA 9 8 Moding TAG et gef le EE 9 10 Configure Serial Port for RTU or ASCII Master or Slave NENNEN NEEN ENEE 9 10 What IS PFOGOM 9 11 How to Configure PrOCOM for the MGate NIBSODO enert EE 9 11 OMNE ODEM cere 9 13 Configure IP Address and Other Network Settings ee NENNEN NEE NEE NEEN 9 14 Configure Serial Communication Parametere 9 15 RE Ree E ner entree nt eee 9 16 Set Up Slave ID Mapping Smart dani nan vua cux uc cu te He ex us Su 9 17 Customize MOGDUS SENOS ee 9 18 Set UP PHIOnICY COMTO e ceceer E A 9 21 E pr pn PE 9 22 oed roro 9 23 OUS D Deli ATA MM 9 24 Verifying the Locatdon otr the LD DIE csse tanker ced aate 9 25 Monitoring Modbus ACUIVIU EE 9 26 Open Traffic Monitor ee e W saccos anon opa ona m aon an omar pod 9 27 Piller EIERE ee 9 28 Sav Olle ME PME Md AA AM MA AAT MM AAA KE 9 29 Upgrading fI FW dle oeste nc eaa ec DU UN CDU
42. e firmware has been successfully written onto the unit click Exit to close the Upgrade Firmware window MGate Manager will automatically execute a Broadcast Search for all MGate MB3000 units on the LAN Your MGate should reappear in the list of units 9 30 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway MXview The Moxa MXview network management software gives you a convenient graphical representation of your Ethernet network and allows you to configure monitor and diagnose Moxa networking devices MXview provides an integrated management platform that can manage Moxa MGate MB3000 series as well as Ethernet switches and wireless APs and SNMP enabled and ICMP enabled devices installed on subnets MXview includes an integrated MIB complier that supports any third party MIB It also allows you to monitor third party OIDs and Traps Network and Trap components that have been located by MXview can be managed via web browsers from both local and remote sites anytime anywhere MXview for the MGate MB3000 Series Through MXview users can access the MGate MB3000 series devices and take advantage of additional functions such as searching for MGate MB3000 devices setting network configurations changing passwords upgrading firmware and importing exporting configurations MGate MB3000 series devices can be recognized by MXview However be sure your MGate device has the proper firmware version installed as listed in the follow
43. een Serial port is transmitting data OW j No data is being transmitted or received through the serial port 3 2 MGate MB3000 Modbus Gateway Dimensions oCo 10 100M 12 48 VDC Ethernet 6 mm 0 24 in Q4 mm 0 16 in MB3180 T p A E g 5 E E E Modbus Ethernet Serial Gateway E eo 5 S Ready b Ethernet 27 mm YID MOA 0 28 in Port 1 RS 232 422 485 43 3 mm 1 70 in J lO 22 0 mm 0 87 in EN 63 mm 2 48 in 75 2 mm 2 96 in 3 3 Hardware MB3180 MGate MB3000 Modbus Gateway Hardware MB3180 Jumpers To set the pull high low resistors to 150 leave jumpers JP3 and JP4 open not shorted This is the default setting To set the pull high low resistors to 1 KQ short jumpers JP3 and JP4 with jumper caps ATTENTION Do not use the 1 KQ pull high low setting on the MGate MB3000 when using the RS 232 interface Doing so will degrade the RS 232 signals and reduce the effective communication distance MGate MB3000 Modbus Gateway Hardware MB3180 Pin Assignments DB9 Male The MGate MB3000 uses DB9 male serial ports to connect Modbus RTU or ASCII devices Each port supports three serial interfaces RS 232 RS 422 and RS 485 both 2 and 4 wire DIN Rail Wall Mounting Mounting on a DIN rail Attach the DIN rail accessories and latch the unit onto the DIN rail as shown The DIN rail kit is ordered separately Mounting on
44. etic isolation Serial Interface Interface RS 232 422 485 No of Ports 1 port Connector Type DB9 male for RS 232 terminal block for RS 422 485 Signals RS 232 TxD RxD RTS CTS DTR DSR DCD GND RS 422 Tx Tx Rx Rx GND RS 485 2 wire Data Data GND RS 485 4 wire Tx Tx Rx Rx GND Serial Line Protection 15 kV ESD for all signals RS 485 Data Direction Patented ADDC Serial Communication Parameters Parity None Even Odd Space Mark Data Bits 7 8 Stop Bits 1 2 Flow Control RTS CTS XON XOFF Transmission Speed 50 bps to 921 6 Kbps Software Features Operation Mode RTU Slave RTU Master ASCII Slave ASCII Master Utilities MGate Manager Multi Masters and 16 simultaneous TCP masters 32 simultaneous requests for each TCP master Multi Request Power Requirements Power Input 12 to 48 VDC Power Socket Terminal block Power Consumption MB3170 400 mA 12 VDC 130 mA 48 VDC MB3170I 405 mA 12 VDC 140 mA 48 VDC Relay Output 1 digital relay output to alarm normal close Current carrying capacity 1 A 30 VDC Environment Operating Temperature 0 to 55 C 32 to 13 1 F 5 to 95 RH 40 to 75 C 40 to 167 F 5 to 95 PH for T models Storage Temperature 40 to 85 C 40 to 185 F 5 to 95 RH Warranty Period 5 years 6 7 7 Hardware MB3270 MB3270I This chapter provides hardware information for the MGate MB3270 and MB3270I The following topics are covered in this chapter o
45. from the specified RSID actual slave ID l actual slave ID as assigned on the eg RSID 1 MEE device itself IP IP address gt Show only traffic sent from the specified e g IP 192 168 1 2 IP address PORT lt MGate serial port number gt Show only traffic sent from the specific eg PORT 1 serial port on the MGate FCODE Modbus function code Show only traffic for a specific function Function code only FCODE 3 d e g code 9 28 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway Save Log to File To save the data log to a file click Save You may retrieve a saved log by clicking Load Exception only Slave ID only Src Dst 192 168 33 26 59083 Porti gt Porti lt 192 168 33 26 59083 gt 192 168 33 26 59083 lt Porti gt Porti lt 192 168 33 26 59083 gt 192 168 33 26 59083 lt Porti gt Porti 192 168 33 26 59083 gt 192 168 33 26 59083 lt Porti gt Porti lt 192 168 33 26 59083 gt 192 168 33 26 59083 lt Porti gt Porti 192 168 33 26 59083 192 168 33 26 59083 Source only a ba ba o b ba ba ba b b ba ba ba ba ba t Fa 9 29 50 OE 00 00 00 06 01 01 00 63 0 010100 63 00 64 CD FF 0101 00 00 00 00 00000000 50 OE 00 00 00 10 0101 OD 00 510E 00 00 00 06 01 01 00 63 0 010100 63 00 64 CD FF 0101 0D 00 00 00 00 00 00 00 510E 00 00 0
46. he Ethernet and serial Modbus protocols is the behavior of the communication model Modbus ASCII and RTU allow only one request on the network at a time Once a request is sent no other communication on the bus is allowed until the slave sends a response or until the request times out However Modbus TCP allows simultaneous requests on the network from multiple masters to multiple slaves TCP masters cannot send more than one request at a time to a Slave but they can send requests to other slaves before a response is received The Modbus TCP standard recommends that slaves be able to queue up to 16 requests at a time The MGate MB3000 will queue up to 32 requests from each TCP master for up to 16 TCP masters Integrate Modbus Serial and Ethernet with Gateways Modbus on TCP IP PLC Modbus on RS 485 Modbus on RS 232 422 Ordinarily Modbus TCP and Modbus ASCII RTU are unable to communicate with each other However with a Modbus gateway in between the Modbus serial network and the Modbus Ethernet network TCP masters are able to communicate with serial slaves and serial masters are able to communicate with TCP slaves Manufacturer s Name Manufacturer s Address Declares that the product Product Name Model Number Declaration of Conformity Moxa Inc 4 135 Lane 235 Baogiao Rd Xindian Dist New Taipei City Taiwan R O C MGate MB3000 series MGate MB3180 MGate MB3280 MGate MB3480 MGate MB3170 M
47. he ProCOM Enable check box located in the center of the page to enable ProCOM For detailed information refer to the ProCOM function description in this manual Configuration RTU Slave RTU Master ASCII Slave ASCII Master J d T m Mj Mode Network Serial Slave 1D Map Modbus Priority Control Accessible IP 5 Miscellaneous Serial 4 ProCOM Enable Port 1 Port 2 Port 3 Port 4 RTU Slave Mode RTU Slave Mode RTU Slave Mode RTU Slave Mode 2 RTU Master Mode RTU Master Mode 3 RTU Master Mode RTU Master Mode ASCII Slave Mode O ASCII Slave Mode 2 ASCI Slave Mode 3 ASCII Slave Mode C ASCII Master Mode 2 ASCII Master Mode 3 ASCII Master Mode C ASCII Master Mode Port 5 Port 6 RTU Slave Mode RTU Slave Mode E RTU Master Mode 3 RTU Master Mode 0 ASCII Slave Mode ASCII Slave Mode O ASCII Master Mode 3 ASCII Master Mode What is ProCOM ProCOM is a Moxa proprietary function that creates virtual serial ports on the MGate MB3000 Series to make Fieldbus gateway communications more versatile This intelligent Fieldbus gateway mimics the behavior of a native serial port when transmitting data to the desired destination PCs can use PFoCOM to communicate over the Ethernet with serial devices connected to the MGate MB3000 as if they were connected to the PC s native COM ports This advanced feature only
48. he top and bottom sliders and align the screws accordingly Specifications LAN Ethernet Protection Serial Interface Interface No of Ports Connector Type Signals Serial Line Protection RS 485 Data Direction ken p 10 100 Mbps RJ45 Auto MDI MDIX Built in 1 5 kV magnetic isolation RS 232 422 485 2 ports DB9 male RS 232 TxD RxD RTS CTS DTR DSR DCD GND RS 422 Tx Rx Rx GND RS 485 2 wire Data Data GND RS 485 4 wire Tx Tx Rx Rx GND 15 kV ESD for all signals Patented ADDC Serial Communication Parameters Parity Data Bits Stop Bits Flow Control Transmission Speed Software Features Operation Mode Utilities Multi Masters and Multi Request Power Requirements Power Input Power Socket Power Consumption Relay Output Environment Operating Temperature Storage Temperature Warranty Period None Even Odd Space Mark 7 8 1 2 RTS CTS XON XOFF 50 bps to 921 6 Kbps RTU Slave RTU Master ASCII Slave ASCII Master MGate Manager 16 simultaneous TCP masters 32 simultaneous requests for each TCP master 12 to 48 VDC Terminal block MB3270 410 mA 12 VDC 145 mA 48 VDC MB3270I 470 mA 12 VDC 150 mA 48 VDC 1 digital relay output to alarm normal close Current carrying capacity 1 A 30 VDC 0 to 55 C 32 to 13 1 F 5 to 95 RH 40 to 75 C 40 to 167 F 5 to 95 PH for advanced models with T option 40 to 85 C 40 to 1
49. ield that can be used to specify the SNMP emergency contact name telephone or pager number Location This is an optional free text field that can be used to specify the location for SNMP agents such as the MGate 9 23 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway Miscellaneous Setup This page identifies options that were not mentioned previously Auto Relay Warning Reset Button Protect Web Console and Telnet Console Auto Relay Warning will be triggered in the event of a power failure or when Ethernet links are disconnected When a checked trigger condition occurs the EIP3000 will open the circuit of the relay output and trigger the Fault LED to start blinking Otherwise the EIP3000 will short circuit the relay output ce Relay Clutpal Relay Output Normal Hormal Close Close e H Power Fail Elhemet Fail Open Open Auto Relay Warning Power Failure E Enable Ethernet 1 Link Down Enable Ethernet 2 Link Down E Enable Console Settings Reset Button Protect E Enable Telnet Console Wl Enable Web Console V Enable ATTENTION Currently the MGate MB3180 does not support Web Console The MGate MB3180 3280 3480 do not have relay outputs and consequently do not support Auto Relay Warning 9 24 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway Verifying the Location of the Unit If you are managing multiple MGate units you m
50. ing a fixed IP address Network Static IP DHCP BootP or Select one of the other options if the IP address is set Configuration DHCP BootP dynamically MGate MB3000 Modbus Gateway Configuring the Modbus Gateway Parameter 1 vie Wee or other 32 bit number or C network or other 32 bit number network access outside the server s LAN or other 32 bit number server See 0 0 0 0 This is the IP address of the secondary domain name or other 32 bit number server You can set a password to prevent unauthorized users from configuring the unit The password will be Password an alphanumeric string required when anyone attempts to configure the unit over the network Modbus operation is not affected by the password Confirm password an alphanumeric string Re type the password again for confirmation ATTENTION To erase an existing password leave both the New Password and Confirm Password text input boxes blank The password will be erased when you click OK in the bottom right corner Configure Serial Communication Parameters The Serial tab is where each serial port s communication parameters are configured You can configure Baud Rate Parity Stop Bit Flow Control FIFO and Interface Mode Configuration R amp 488 REABS CGZepei DBS Male PIN 22 Mode Network Serial slave ID Map
51. ing table MGate MB3170 3170I 2 1 or higher MGate MB3270 3270I 2 1 or higher MGate MB3180 1 3 or higher MGate MB3280 2 1 or higher MGate MB3480 2 1 or higher Before adding MGate MB3000 series devices to the MXview utility you must add the MB3000 series plug in package to MXview via Plug in Manager The Plug in Manager is automatically installed when setting up MXview You can download the plug in package at http www moxa com For more detailed information regarding MXview download the MXview user s manual from Moxa s website 9 31 10 Pin Assignments The following topics are covered in this chapter O DB9 Male O Terminal Block RS 422 RS 485 O Power Input Relay Output MGate MB3000 Modbus Gateway Pin Assignments Male The MGate MB3000 uses DB9 male serial ports to connect Modbus RTU or ASCII devices Each port supports three serial interfaces RS 232 RS 422 and RS 485 both 2 and 4 wire Terminal Block RS 422 RS 485 The MB3170 and MB3170I have a terminal block connector for RS 422 and RS 485 signals 10 2 MGate MB3000 Modbus Gateway Pin Assignments Power Input Relay Output feo rf4 Y SG Shielded DC Power DC Power Relay Relay DC Power DC Power Ground Input 1 Input 1 Output Output Input 2 Input 2 10 3 11 Case Studies The following topics are covered in this chapter O Introduction Replace Serial Masters with Ethernet Master s Slave IDs are Configurable Rep
52. lace Serial Masters with Ethernet Master s Slave IDs are Fixed Keep Serial Master and Add Ethernet Master s rJ rJ rJ O Integrate Modbus RTU ASCII and TCP at the Same Time MGate MB3000 Modbus Gateway Case Studies Introduction There are many reasons a Modbus gateway might be used to integrate Modbus networks However every situation has its own requirements and difficulties Users may wonder how the gateway can help or even if the gateway is suitable for the system This chapter presents some case studies to help guide If you can not find the case the same as yours it does not mean the MGate MB3000 is not suitable with you Please contact Moxa and we will work it out with you Replace Serial Masters with Ethernet Master s Slave IDs are Configurable In this scenario the original control system consists of several serial based systems In each system a serial master directly controls serial slave devices as follows Master Master Master Serial Serial Serial EN Slave ER Slave EN Slave 12 ID 1 ID 1 The MGate MB3000 can connect to each serial slave so Ethernet SCADA masters will be able to control them However since slave IDs cannot be repeated in a system we will need to change the IDs of some of the slaves in order to integrate them into a single network as follows SCADA SCADA SCADA Serial Serial BE Slave ER Slave Eu H Slave REN ID22 ID 3 MGate MB3000 Modbus Gateway Case Studies
53. located on the back panel There are two options for connecting serial devices depending on the serial interface e You may use a DB9 to DB9 cable to connect a serial device to the unit Plug one end of the cable into the port on the unit s back panel and plug the other end of the cable into the device s serial port e You may make your own customized serial cable to connect a serial device to the unit For the pin assignments of the unit s serial port please refer to Chapter 10 This information can then be used to construct your own serial cable If you are connecting a RS 485 multidrop network with multiple devices please note the following e All devices that are connected to a single serial port must use the same protocol i e either Modbus RTU or Modbus ASCII e Each master device must get its own port on the unit If you are connecting a network with both master and Slave devices the master must be connected on a separate port from the slaves Furthermore the master will only be able to communicate to Modbus TCP slaves not to the ASCII or RTU slaves that are connected on a different serial port For serial port pin assignments please refer to the hardware reference chapter for your model RS 485 Termination and Pull High Low Resistors In some critical RS 485 environments you may need to add termination resistors to prevent the reflection of serial signals When using termination resistors it is important to set the pull high
54. multaneous requests for each TCP master 12 to 48 VDC Power jack 200 mA 12 VDC 60 mA 48 VDC 0 to 55 C 32 to 13 19 5 to 95 RH 20 to 85 C 4 to 185 F 5 to 95 RH 5 years 3 6 4 Hardware MB3280 This chapter provides hardware information for the MGate MB3280 The following topics are covered in this chapter o n n n QO Panel Layout LED Indicators Dimensions Jumpers Pin Assignments gt DBO Male DIN Rail Wall Mounting Specifications MGate MB3000 Modbus Gateway Hardware MB3280 Panel Layout Rear Panel View Reset button RJ45 10 100M Ethernet port Power input Top Panel View Oaa Can O Va 10 100M_ RESET L12 48 Ethernet MB3280 DIN rail kit screw hole l Wallmount Modbus Ethernet Serial Gateway CET screw hole 9 Ethernet r 12 MOXA RS 232 422 485 RS 232 422 485 Front Panel View Male DB9 serial port PEE Stick on pad LED Indicators Steady on Power is on and unit is booting up Blinking Indicates an IP conflict or DHCP or BOOTP server is not responding properly Steady on Power is on and unit is functioning normally Blinking Unit is responding to software Locate function Power is off or power error condition exists rasa sho Green Serial port is transmitting data OW j No data is being transmitted or received through the serial port 4 2 MGate MB3000 Modbus Gate
55. n 1 and 247 Whenever a master makes a request the request must include the ID of the intended recipient Master devices themselves have no ID Broadcast address Slave individual address Communication is by Request and Response All Modbus communication is by request and response A master sends a request and a slave sends a response The master will wait for the slave s response before sending the next request For broadcast commands no response is expected This is illustrated by three scenarios as follows Normal The master sends a request to the slave The slave sends a response with the requested information TEES B MGate MB3000 Modbus Gateway Modbus Overview Exception The master sends a request to the slave The slave may not support the command or an error is detected so it sends an exception to the master a in request Pa PS Broadcast The master sends a broadcast command such as a reset command Every slave on the network complies with the command and no response is sent to the master ER y s Broadcast gt p Requests Need a Time Limit The original Modbus protocol was not designed for simultaneous requests or simultaneous masters so only one request on the network can be handled at a time When a master sends a request to a slave no other communication may be initiated until after the slave responds The Modbus protocol specifies that masters use a response timeout functio
56. n to identify when a slave is nonresponsive due to device or line failure This function allows a master to give up on a request if no response is received within a certain amount of time This is illustrated as follows Response Timeout The master sends a request The slave is unresponsive for the amount of time specified by the response timeout function The master gives up on the request and resumes operation allowing another request to be initiated e cancelled after SS no response To allow for a wide range of devices baudrates and line conditions actual response timeout values are left open for manufacturers to determine This allows the Modbus protocol to accommodate a wide range of devices and systems However this also makes it difficult for system integrators to know what response timeout value to use during configuration especially with older or proprietary devices The MGate MB3000 provides a patent pending function that tests all attached devices and recommends a response timeout value This function saves considerable time and effort for system integrators and results in more accurate timeout settings A 2 MGate MB3000 Modbus Gateway Modbus Overview Modbus Ethernet vs Modbus Serial Although Modbus is intended as an application layer messaging protocol the data format and communication rules for Ethernet based Modbus TCP are different from serial based Modbus ASCII and RTU The major difference between t
57. ng the RS 232 interface Doing so will degrade the RS 232 signals and reduce the effective communication distance 5 4 MGate MB3000 Modbus Gateway Hardware MB3480 Pin Assignments DBO9 Male The MGate MB3000 uses DB9 male serial ports to connect Modbus RTU or ASCII devices Each port supports three serial interfaces RS 232 RS 422 and RS 485 both 2 and 4 wire DIN Rail Wall Mounting Mounting on a DIN rail You will first need to attach the mounting plates included to the unit Attach the DIN rail accessories to the mounting plates and latch the unit onto the DIN rail as shown The DIN rail kit is ordered separately Mounting on the wall You will first need to attach the mounting plates to the unit Place four screws in the wall and slide the unit onto the screws as shown d 4 mm EM NE 69 2 5 cm e e Ke 16 9 m The head of each screw should be 6 mm or less in diameter and the shaft should be 3 mm or less in diameter Make sure to leave about 5 mm of space between the head and the wall 5 5 MGate MB3000 Modbus Gateway Hardware MB3480 Specifications LAN Ethernet 10 100 Mbps RJ45 Auto MDI MDIX Protection Built in 1 5 kV magnetic isolation Serial Interface Interface RS 232 422 485 No of Ports 4 ports Connector Type DB9 male Signals RS 232 TxD RxD RTS CTS DTR DSR DCD GND RS 422 Tx Tx Rx Rx GND RS 485 2 wire Data Data GND RS 485 4 wire Tx Tx Rx
58. odbus Gateway Hardware MB3270 MB3270I Jumpers SW2 SW 1 The DIP switches are located beneath the DIP switch panel on the side of the unit To add a 120 termination resistor set switch 3 on the port s assigned DIP switch to ON set switch 3 to OFF the default setting to disable the termination resistor To set the pull high low resistors to 150 KQ set switches 1 and 2 on the port s assigned DIP switch to OFF This is the default setting To set the pull high low resistors to 1 KQ set switches 1 and 2 on the port s assigned DIP switch to ON Switch 4 on the port s assigned DIP switch is reserved ATTENTION Do not use the 1 KQ pull high low setting on the MGate MB3000 when using the RS 232 interface Doing so will degrade the RS 232 signals and reduce the effective communication distance MGate MB3000 Modbus Gateway Hardware MB3270 MB3270I Pin Assignments DB9 Male The MGate MB3000 uses DB9 male serial ports to connect Modbus RTU or ASCII devices Each port supports three serial interfaces RS 232 RS 422 and RS 485 both 2 and 4 wire rh V2 2 Be V1 DIN Rail Wall Mounting There are two sliders on the back of the unit for DIN rail and wall mounting Mounting on a DIN rail Pull out the bottom slider latch the unit onto the DIN rail and push the slider back in 7 5 MGate MB3000 Modbus Gateway Hardware MB3270 MB3270I Mounting on the wall Pull out both t
59. onal tasks you would like Setup to perform while installing MGate Manager then click Next Additional icons Create a desktop icon 5 Click Install to start copying the software files i Setup MGate Manager Ready to Install Setup is now ready to begin installing MGate Manager on your computer Click Install to continue with the installation or dick Back if you want to review or change any settings Destination location C Program Files Mowa MGate Manager Additional tasks Additional icons Create a desktop icon 9 3 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway 6 A progress bar will appear The procedure should take only a few seconds to complete 8 Setup Mate Manager Installing Please wait while Setup installs MGate Manager on your computer Extracting files C Program Files Moxa MGate Manager WERSION TXT 7 A message will indicate that MGate Manager is successfully installed You may choose to run it immediately by selecting Launch MGate Manager 5 Setup MGate Manager me Completing the MGate Manager Setup Wizard Setup has finished installing MGate Manager on your computer The application may be launched by selecting the installed icons Click Finish to exit Setup Launch MGate Manager 9 4 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway 8 You may also open MGate Manager through Start gt Programs gt MGate Manage
60. r gt MGate Manager as shown below eee eee di Maintenance MGate Manager MGate Manager i Uninstall MGate Manager Lj Version info Microsoft AppLocale A Microsoft Office i Microsoft Silverlight Computer d Modbus Poll di MOXA Control Panel di MOXA UPort 1100 Series Windows Drive Jj Notepad Devices and Printers A NPort Administration Suite 1 NPort Search Utility Default Programs Documents Pictures Music m Favorites 4 Help and Support See SE Search programs and files p Starting MGate Manager MGate Manager is a Windows based utility that is used to configure the MGate MB3000 Before running MGate Manager make sure that your PC and the MGate MB3000 are connected to the same network Alternatively the MGate MB3000 may be connected directly to the PC for configuration purposes Please refer to Chapter 2 for more details You may open MGate Manager from the Windows Start menu by clicking Start gt Programs gt MGate Manager MGate Manager The MGate Manager window should appear as shown below Firmware Version Device Identification Device Function Configuration Load Monitor Log ProCOM Mapping Import Locate Load Default Diagnose Upgrade Firmware Export 9 5 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway Change Language Setting If you wish to run MGate Manager in a different language you may click Language to change the l
61. rmally Blinking Unit is responding to software Locate function rasa shoe Green Serial port is transmitting data OW j No data is being transmitted or received through the serial port 5 2 MGate MB3000 Modbus Gateway Hardware MB3480 Dimensions D 3 2 mm h V O C O 10 100M 0 4 3 in L12 48 voc_ Ethernet E E Ready MB3480 E Ethernet e E CDR hM co E78 EI NO E ceo O E S E st Modbus Ethernet Serial Gateway eo e lt r Port 1 Port 2 Port 3 Port 4 RS 232 422 485 RS 232 422 485 RS 232 422 485 RS 232 422 485 h 80 mm 3 15 in 35 5 mm 1 4 in 43 3 mm 1 70 in 169 mm 6 67 in 181 mm 7 14 in 158 mm 6 22 in 5 3 MGate MB3000 Modbus Gateway Hardware MB3480 Jumpers SW1 for Port 1 SW for Port 2 SW3 for Port 3 SWA for Port 4 i EH i i it AAA HIS To add a 120 termination resistor set switch 3 on the port s assigned DIP switch to ON set switch 3 to OFF the default setting to disable the termination resistor To set the pull high low resistors to 150 KQ set switches 1 and 2 on the port s assigned DIP switch to OFF This is the default setting To set the pull high low resistors to 1 KQ set switches 1 and 2 on the port s assigned DIP switch to ON ATTENTION Do not use the 1 KQ pull high low setting on the MGate MB3000 when usi
62. t to begin live monitoring of the data passing through the selected MGate MB3000 unit All Exception only Slave ID only Source only Function code only Filter infa No Time ar Previous page Next page 9 27 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway To stop capturing the log press the Stop button Traffic Monitor MGate MB3270 192 168 35 194 3 All Exception only Slave ID only Source only Function code only Start C stop J Clea No Time Src amp Dst Type Slave Function Code Data Comment 1 0 000 192 168 33 26 59083 lt TCP Req 1 0x01 50 OE 00 00 00 06 01 01 00 630 Read coils 2 0 000 Porti RTU Req 1 0x01 010100 63 00 64 CD FF Read coils 3 0 020 Porti RTU Resp 1 0x01 01010D 00 00 00 00000000 Read coils 4 0 020 192 168 33 26 59083 gt TCP Resp 1 0x01 50 0E 00 00 00 10 01010D 00 Read coils 5 0 030 192 168 33 26 59083 lt TCP Reg 1 0x01 51 0E 00 00 00 06 010100630 Read coils 6 0 030 Porti RTU Reg 1 0x01 010100 63 00 64 CD FF Read coils E 7 0 055 Porti lt RTU Resp 1 0x01 0101 0D 00 00 00 00 00 00 00 Read coils 8 0 055 192 168 33 26 59083 gt TCP Resp 1 0x01 510E 000000 1001010D 00 Readcoils 9 0 055 192 168 33 26 59083 lt TCP Reg 1 0x01 52 0E 00 00 00 06 01 01 00 630 Read coils 10 0 060 Porti gt RTU Reg 1 0x01 0101 00 63 00 64 CD FF Read coils 11 0 090 Porti RTU Resp 1 0x01 01010D 00 00 00 0000000
63. ters which report certain information relating to factory environment or equipment However other Modbus serial slaves may be as complex as a manufacturing machine or a PLC controller When integrating these devices there may be issues if different serial environments are used for different devices One system may use a different baudrate than another or may use Modbus ASCII instead of Modbus RTU The MGate MB3000 allows the different Modbus systems to be integrated into one network regardless of the protocol or communication parameters SCADA SCADA E a TCP Master ms TCP Master in n TCP Slave UD RTU Master ER Weg Baudrate 9600 ASCII Slave RTU Slave Baudrate 4800 Baudrate 9600 Modbus Overview Introduction Modbus is one of the most popular automation protocols in the world It supports both serial and Ethernet devices Many industrial devices such as PLCs DCSs HMIs instruments meters motors and drivers use Modbus as their communication standard Devices are Either Masters or Slaves All Modbus devices are classified as either a master or a slave Masters initiate all communication with slaves and do not communicate to other masters Slaves are completely passive and communicate only by sending a response to a master s request 4 Master Jm Master d se ial TCP EE Slave EE Slave Slaves are Identified by ID Each Modbus slave in a system is assigned a unique ID betwee
64. the wall Place two screws in the wall and slide the unit onto the screws as shown The head of each screw 6 5 mm or less in diameter and the shaft should be 3 mm or less in diameter Make sure to leave about 2 mm of space between the head and the wall oco 10 100M 12 48 VDC RESET Mord 6 5 mm A MGate MB3180 6 6 Modbus Ethernet Serial Gateway 18 o om O Ethernet O Prine MOXA Port 1 RS 232 422 485 3 5 MGate MB3000 Modbus Gateway Specifications LAN Ethernet Protection Serial Interface Interface No of Ports Connector Type Signals Serial Line Protection RS 485 Data Direction Hardware MB3180 10 100 Mbps RJ45 Auto MDI MDIX Built in 1 5 kV magnetic isolation RS 232 422 485 1 port DB9 male RS 232 TxD RxD RTS CTS DTR DSR DCD GND RS 422 Tx Tx Rx Rx GND RS 485 2 wire Data Data GND RS 485 4 wire Tx Tx Rx Rx GND 15 kV ESD for all signals Patented ADDC Serial Communication Parameters Parity Data Bits Stop Bits Flow Control Transmission Speed Software Features Operation Mode Utilities Multi Masters and Multi Request Power Requirements Power Input Power Connector Power Consumption Environment Operating Temperature Storage Temperature Warranty Period None Even Odd Space Mark 7 8 1 2 RTS CTS XON XOFF 50 bps to 921 6 Kbps RTU Slave RTU Master ASCII Slave ASCII Master MGate Manager 16 simultaneous TCP masters 32 si
65. tomatically connects to all available MGate MB3000 units on the LAN for you Traffic monitoring functions help you troubleshoot Modbus communication problems by tracking items such as connection status and address translation errors 1 2 MGate MB3000 Modbus Gateway Introduction Package Checklist All models in the MGate MB3000 line are shipped with the following items Standard Accessories 1 MGate MB3000 Modbus gateway Document amp software CD Quick Installation Guide Power adaptor MB3180 only Product warranty statement Optional Accessories DK 35A DIN rail mounting kit 35 mm DR 4524 45W 2A DIN rail 24 VDC power supply with universal 85 to 264 VAC input DR 75 24 75W 3 2A DIN rail 24 VDC power supply with universal 85 to 264 VAC input DR 120 24 120W 5A DIN rail 24 VDC power supply with 88 to 132 VAC 176 to 264 VAC input by switch NOTE Notify your sales representative if any of the above items is missing or damaged Product Features Integration of Modbus TCP and Modbus RTU ASCII networks Up to 31 Modbus RTU ASCII slaves per serial port Up to 32 Modbus TCP connections with Modbus RTU ASCII masters Configuration over Ethernet with easy to use Windows utility 10 100M Fast Ethernet with automatic IP setting DHCP Software selectable RS 232 485 422 communication High speed serial interface supporting 921 6 Kbps Up to 16 Modbus TCP masters for Modbus RTU ASCII slaves Automatic slave ID routing on 2 and 4 port
66. unication gateway is needed as a bridge for integration In order to integrate Modbus networks the MGate MB3000 includes an Ethernet port and up to four serial ports that support RS 232 RS 422 and RS 485 communication It automatically and intelligently translates between Modbus TCP Ethernet and Modbus ASCII RTU serial protocols allowing Ethernet based PLCs to control instruments over RS 485 without additional programming or effort Powerful operation modes to handle almost any Modbus application With the Modbus protocol devices must be clearly defined as either masters or slaves Unlike other Modbus gateways the MGate MB3000 s operation modes allow users to select master or slave operation for each serial port Not only does the MB3000 allow Ethernet masters to control serial slaves it also allows serial masters to control Ethernet slaves In addition the advanced models MGate MB3170 allow both Ethernet and serial slaves to be controlled by both Ethernet and serial masters On multiport models each serial port s operation mode is independent of the other ports so that one port may be configured for slave mode and another port configured for master mode Extra address mapping and exception parameters are provided to ensure that most situations can be handled Windows utilities for easy setup and traffic monitoring A Windows utility is provided to make configuration and operation of the MGate MB3000 as easy as possible The utility au
67. unit s IP address and click OK Broadcast Search Specify IP Search C Connect through COM Port COM1 9 8 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway If the search is successful the unit will be listed in MGate Manager Click the unit to begin configuration cy Mate Manager Name Model MAC Address IP COM Firmware Version MG MB32 0 32704 MGate MB3270 00 30 E8 D0 32 74 192 168 35 194 Ver 2 1 Build 13032811 Device Identification Device Function Configuration Load Monitor Log ProCOM Mapping DC Language ATTENTION If Search IP Address fails to locate the MGate MB3000 the IP address that you entered might be incorrect Try doing the search again and re entering the IP address carefully Another possibility is that the MGate MB3000 is located on the same LAN as your PC but on a different subnet In this case you can modify your PC s IP address and or netmask so that it is on the same subnet as the MGate MB3000 After your PC and the MGate MB3000 are on the same subnet MGate Manager should be able to find the unit 9 9 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway Modifying the Configuration Once your unit is displayed in MGate Manager select it by clicking on it The Configuration button will become available Click Configuration to open the configuration window cy Mate Manager No Name Model MAC Address IP COM Status Firmware Version MG MB3270 3270
68. ure the accessibility parameters e Only one host with a specific IP address can access the MGate MB3000 Enter IP address 255 255 255 255 e g 192 1668 1 1 255 255 255 255 and activate the item by selecting the checkbox e Hosts on a specific subnet can access the MGate MB3000 Enter IP address 255 255 255 0 e g 192 168 1 0 255 255 255 0 and activate the item by selecting the checkbox e Any host can access the MGate MB3000 Disable this function by clearing the Enable the accessible IP list checkbox Configuration Man Accessible 7 Enable the Accessible IP list IP address El Active 197 158 1L Double dick item to activate unactivate Active IP address Netmask V 192 198 35 111 299 255 255 255 T 192 168 35 112 IIT 192 168 35 113 255 255 2535 0 9 22 MGate MB3000 Modbus Gateway Configuring the Modbus Gateway SNMP The SNMP function allows users to adjust SNMP related settings RTU Slave RTU Master ASCII Slave ASCII Master a Network Seal Slave 1D Map Priority Control Accessible 1P SNMP Enable Community Name public Contact Location To enable the SNMP function select the Enable checkbox Community Name This field specifies the read write community string used for the SNMP Agent This is a text password mechanism that is used to weakly authenticate queries to agents of managed network devices Contact This is an optional free text f
69. way Dimensions 43 3 mm 1 70 in se 80 mm 3 15 in z WwW e 9 E E Le o e e TE EEE E ko GK del Hi 10 mm 0 39 in 6 V 10 100M RESET P 2 48 voc Ethernet MB3280 Modbus Ethernet Serial Gateway 8 Ready di amp Ethernet ME lt 0 MOXA Port 1 Port 2 RS 232 422 485 RS 232 422 485 34mm 1 33 in A c Qmm 0 28 in E E iM ff mm 0 14 in p 111 mm 4 37 in D 0 20 215mm 34 mm 1 34 in a5 inj 77 mm 3 03 in 88 mm 3 46 in 100 mm 3 94 in 4 3 5 mm Hardware MB3280 MGate MB3000 Modbus Gateway Hardware MB3280 Jumpers To add a 120 termination resistor set switch 3 on the port s assigned DIP switch to ON set switch 3 to OFF the default setting to disable the termination resistor To set the pull high low resistors to 150 KQ set switches 1 and 2 on the port s assigned DIP switch to OFF This is the default setting To set the pull high low resistors to 1 KQ set switches 1 and 2 on the port s assigned DIP switch to ON Switch 4 on the port s assigned DIP switch is reserved ATTENTION Do not use the 1 KQ pull high low setting on the MGate MB3000 when using the RS 232 interface Doing so will degrade the RS 232 signals and reduce the effective communication distan

Download Pdf Manuals

image

Related Search

Related Contents

Schlage 46-101 605 Instructions / Assembly  llllllllllllll1|Illllllllllljllllll|||||lllllllllllllllllllllllllllllllll  GETTING STARTED GUIDE - X90  User manual Bedienungsanleitung Mode d'emploi Modo de  Kraft Druck Temperatur Schalten Service Force Pressure  Si desea información técnica y comercial, por favor contacte:  Système de revêtement extérieur conforme à la norme CAN  BENDIX PNU-102 User's Manual  Genius Luxepad 9000  

Copyright © All rights reserved.
Failed to retrieve file