background image

 

 

MES1A, MES1B 

Modbus TCP to Modbus ASCII/RTU Converters 

 

 

Summary of Contents for MES1A

Page 1: ...1 MES1A MES1B Modbus TCP to Modbus ASCII RTU Converters...

Page 2: ...neral Fax 815 433 5105 Website www bb elec com support bb elec com European Headquarters B B Electronics Westlink Commercial Park Oranmore Co Galway Ireland Phone 353 91 792444 Fax 353 91 792445 Websi...

Page 3: ...22 485 Switch MES1B only 14 Ethernet Port Connector 14 DB 9M Serial Port Connector MES1A only 14 RS 422 485 CONNECTOR MES1B ONLY 15 POWER CONNECTOR 18 CONNECTING THE HARDWARE 18 CHAPTER 3 GETTING STAR...

Page 4: ...SAVING CONFIGURATION SETTINGS 29 QUITTING WITHOUT SAVING 29 RECONFIGURING TO FACTORY SETTINGS 30 To Reconfigure the MES1A to Factory Settings 30 To Reconfigure the MES1B to Factory Settings 30 Network...

Page 5: ...n 44 Modbus Address From To 45 Slave IP Address 45 CHAPTER 5 USING OTHER DEVICE INSTALLER FEATURES 46 MANAGING DEVICE LISTS 46 Creating a New Device List 46 Saving Device Lists 47 Opening Device Lists...

Page 6: ...CHAPTER 6 MODBUS BASICS 59 MODBUS ASCII RTU 59 MODBUS TCP 60 HINTS AND TIPS 61 APPENDIX A DEFAULT CONFIGURATION SETTINGS 62 APPENDIX B PRODUCT SPECIFICATIONS 64 APPENDIX C DIMENSIONAL DIAGRAMS 68 APP...

Page 7: ...warranty or indemnity offered by B B Electronics Manufacturing Company but may be subject to the warranties of the other manufacturers Notwithstanding the foregoing under no circumstances shall B B E...

Page 8: ...ATION I THE IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE AND OF MERCHANTABILITY AND II ANY WARRANTY THAT THE PRODUCTS ARE DO NOT INFRINGE OR VIOLATE THE INTELLECTUAL PROPERTY RIGHTS OF ANY T...

Page 9: ...wire point to point interfaces or RS 485 four or two wire multi drop bus connections MES1A and MES1B Converters MES1A Converters allow new and legacy Modbus ASCII RTU slave devices with RS 232 serial...

Page 10: ...erts Modus ASCII RTU to Modbus TCP Small economical and configurable MES1A supports TD RD and GND RS 232 lines MES1B supports TDA TDB RDA RDB RS 422 485 lines LEDs on network connection indicate link...

Page 11: ...CP Converters are shipped with the following items included the MES1A or MES1B module a printed version of this user manual a printed version of the MES1A B Quick Start Guide a CD ROM disc with o Devi...

Page 12: ...ls Typically 12 VDC is used LED Indicators on the MES1A LINK LED When the Link LED located on the Ethernet jack is illuminated it indicates that a connection link integrity has been established betwee...

Page 13: ...een Bootup 10BaseT 100BaseT Activity Green Blinking Orange Data on the network Bootup LED Status Table RESET SWITCH The Reset switch is accessible on the top edge of the MES1A B same edge as the power...

Page 14: ...eceptacle that allows the converter to be connected to an Ethernet network Two indicator LEDs described above are built into the RJ 45 connector DB 9M SERIAL PORT CONNECTOR MES1A ONLY The Serial Port...

Page 15: ...S 422 485 connector on the MES1B is a five position removable terminal block with screw downs The connector provides screw connections for Terminal 1 RDB Terminal 2 RDA Terminal 3 TDB Terminal 4 TDA T...

Page 16: ...mode RS 422 485 switch in the left position its receive terminals are connected to the transmit terminals of the Modbus device it is communicating with Its transmit terminals are connected to the rec...

Page 17: ...485 switch in the right position the two wire RS 485 two wire communications cable pair is connected to Terminals TDB and TDA The communications cable ground shield is connected to GND RS 485 Two Wir...

Page 18: ...232 cable The MES1A is configured as a DTE If the connected Modbus device is configured as a DCE use a straight through cable If the connected Modbus device is configured as a DTE use a null modem ca...

Page 19: ...ed to the network via a hub switch or router using standard straight through CAT 5 cable If you are connecting the MES1A B directly to a PC s network interface a crossover Ethernet cable is required M...

Page 20: ...age It should contain The MES1A or MES1B unit A printed version of this user manual A printed version of the MES1A B Quick Start Guide Software CD with Device Installer software this manual Quick Star...

Page 21: ...re version information appears Press Enter to go into Setup Mode CONFIGURE THE MES1A B To change the IP Address Default Gateway or Netmask type 1 To configure Master Slave and serial Interface setting...

Page 22: ...configure the MES1A B on a network It detects all MES1A Bs on the network and allows you to configure the network and serial port settings It also allows you to monitor the MES1A B and verify its sta...

Page 23: ...THE DEVICE INSTALLER Run the Device Installer from the Start Programs Lantronix DeviceInstaller menu DISCOVERING DEVICES When Device Installer opens it automatically scans the network for MES1A B dev...

Page 24: ...The Device Installer Main Window GETTING DEVICE DETAILS The Device Installer provides a variety of information about the MES1A B under the Device Details tab To access the Device Details tab 1 Expand...

Page 25: ...plementation within the Device Installer software The Device Installer option provides an all in one user interface for working with the MES1A B To connect 3 Select the Telnet Configuration tab The ta...

Page 26: ...then changes to gray when it times out 5 Press the Enter key within five seconds to go into Setup Mode or it will time out and you will have to click Clear and repeat the process The MES1A B Configur...

Page 27: ...MES1A B is accomplished from the Configuration Menu which is accessed via a standard telnet window or through the telnet implementation within the Device Installer software Note The Web Configuration...

Page 28: ...ed Modbus Protocol Settings The following menu item 5 appears if the MES1A B is configured as a Modbus Master in section 2 Serial Protocol 10 Unit ID to IP Address Table Each section of the configurat...

Page 29: ...a menu item Select another section and continue the configuration process SAVING CONFIGURATION SETTINGS When all categories have been configured you must save your configuration to the MES1A B To Save...

Page 30: ...THE MES1B TO FACTORY SETTINGS 14 Type D at the Select Command or parameter set 1 4 to change prompt 15 Type 2 to enter the Serial Mode Settings section and set the Serial Mode for RS 485 Two Wire see...

Page 31: ...able to respond to the DHCP request the MES1A B will receive an IP address gateway address and subnet mask from the server A DHCP generated IP address will appear in the Device Tree Device List and at...

Page 32: ...Enter to accept the new IP address After the new settings have been accepted they will appear in the Configuration Menu After the Configuration has been saved to the MES1A B the new settings will appe...

Page 33: ...sk appropriate for the IP address being used The default value for this parameter is not set To change the Netmask setting 20 Press Enter to keep the current setting 21 Press Y to change the setting 2...

Page 34: ...ications parameters Serial Mode Settings Menu To configure Serial and Mode Settings type 2 at the Select Command or parameter set 1 4 to change prompt The Attached Device prompt appears PROTOCOL Proto...

Page 35: ...odbus devices communicate in either of two Serial Protocols ASCII or RTU Modbus ASCII protocol is slower and uses two ASCII characters to represent each 8 bit data byte Modbus RTU uses 8 bit binary da...

Page 36: ...ing the MES1A for anything other than RS 232 will prevent the device from operating correctly MES1B SERIAL INTERFACE The MES1B is designed with an RS 422 485 interface and can be configured for four w...

Page 37: ...ght position The multidrop bus is connected to Terminals 3 DataB to TDB terminal and 4 DataA to TDA terminal No jumpers are required to bridge transmit and receive lines on the terminal block SERIAL P...

Page 38: ...converters To configure RS485 Enable in the Modem Configurable Pin Settings section 33 Type 3 at the Select Command or parameter set 1 4 to change prompt The CP1 Function prompt appears 34 Type 4 to s...

Page 39: ...ndividually Standard Modbus RTU fields are encapsulated inside Modbus TCP messages Modbus RTU s Slave Address field is called the Unit ID in Modbus TCP The Unit ID is used to specify a particular Modb...

Page 40: ...onfigure the Slave Address field If Modbus TCP masters on your system use appropriate Unit ID addresses select 0 You will be able to connect multiple Modbus RTU slaves with RS 485 interfaces to an MES...

Page 41: ...ponses 1 No 2 Yes is disabled 1 No the MES1A B operates like a Modbus RTU slave It answers timeouts un configured slave addresses and CRC errors with silence 2 YES If the Use MB TCP 00BH 00AH Exceptio...

Page 42: ...etting this field to 1 No configures the MES1A B to allow pipeline operation This is considered the safest default setting It is recommended that you choose this option unless you are experiencing pro...

Page 43: ...isable their drivers and enable their receivers to receive the next request Typically this is not a concern and the default value is 0 The delay can be set to a maximum of 1275 milliseconds SWAP 4X 0H...

Page 44: ...ed length of idle time REDUNDANT ENTRY RETRIES AFTER The Redundant Entry Retries After field allows you to disable redundant retries or set a maximum length of time for retries If you configure this f...

Page 45: ...press Enter the Modbus Address To prompt appears 38 Type in an slave address number that reflects the range of slaves that will be found at the IP address that will be entered in the next step When yo...

Page 46: ...clude Console Mode via Serial port configuration Recover Firmware Tools menu Advanced selection Web Configuration MANAGING DEVICE LISTS This section included information on how to Create a New Device...

Page 47: ...S at the Default settings Save Quit without Save prompt To store the configuration in a Setup Record file see the procedure later in this chapter OPENING DEVICE LISTS To open an existing Device List o...

Page 48: ...NG ICONS On the View menu select Device List then select Icons Device List Icon View DISPLAY THE HARDWARE MAC ADDRESS On the View menu select Device Node Text then select Hardware Address Device Node...

Page 49: ...l you can also add a device to the network manually To do so you must know the IP address of the device Add Device Dialog Box To manually add a device to the Device List 39 On the Device menu select A...

Page 50: ...Address The Assign IP Address wizard appears If a specific MES1A B device is not selected in the Devices Tree the first page of the wizard will ask for the Hardware MAC Address of the device to be con...

Page 51: ...ted successfully click Finish 49 The new IP address appears in the Devices Tree Device Details tab and Telnet Configuration tab USING THE DEVICES DETAILS TAB The Device Details tab provides useful inf...

Page 52: ...m the B B Electronics website Device Installer provides a Device Upgrade Wizard which can be used to install updated firmware into the MES1A B To install firmware in the MES1A B On the Device menu sel...

Page 53: ...up file 54 In the Device Upgrade Wizard Step 4 of 5 dialog box click Next The Device Upgrade Wizard Step 5 of 5 dialog box appears and displays a bar graph indicating progress Succeeded appears next t...

Page 54: ...the Device List 56 On the File menu select Save Setup Records The Save Setup Records dialog box appears Save Setup Records Dialog Box 57 Select a Setup Record from the list and click Save The Save As...

Page 55: ...ce Upgrade Wizard Step 3 of 5 dialog box select Install setup records from a file then browse and select the previously saved Setup file 63 In the Device Upgrade Wizard Step 4 of 5 dialog box click Ne...

Page 56: ...Options on the Tools menu The Options dialog box opens Options Window Customization Tab 65 On the Customization tab select Activate logging during upgrading and Activate logging during searching Both...

Page 57: ...vice Installer window Ping provides the option of checking to see whether messages can be sent to and received from a device on the network at a specified IP address It also provides information on th...

Page 58: ...58 USING HELP You can access Device Installer Help files by selecting Contents on the Help menu Device Installer Help...

Page 59: ...became a defacto standard in the industry It supports asynchronous point to point and multidrop communications and can be used with a variety of serial interfaces RS 232 RS 422 RS 485 modems etc The...

Page 60: ...r reason e g it does not recognize the function code it will return a message containing an exception response MODBUS TCP Modbus TCP is a much more recent development created to allow Modbus ASCII RTU...

Page 61: ...n the network By using the IP address to specify the node and the Unit ID to specify a Modbus RTU device attached to that node multiple slaves can be located at a single IP address Unfortunately some...

Page 62: ...Netmask Not set Telnet Configuration Password Not set Attached Device Slave Serial Protocol Modbus RTU Slave Interface Type MES1A RS 232 MES1B RS 422 485 Serial Parameters 9600 8 N 1 CP1 Function MES...

Page 63: ...sts 2 no Use MB TCP 00BH 00AH Exception Responses 2 yes Disable Modbus TCP pipeline 1 no Character Timeout 50 milliseconds Message Timeout 5000 milliseconds Serial TX delay after RX 0 milliseconds Swa...

Page 64: ...DF of Quick Start guide Operating Systems supported Windows 98 ME 2000 XP NT 4 0 call B B Tech Support for other operating systems Dimensions MES1A MES1B 1 25 x 4 5 x 4 75 in 3 2 x 11 3 x 12 2 cm Powe...

Page 65: ...r Activity Indicator Green Orange LED on Ethernet connector Power Indicator Red LED Reset Switch Recessed momentary switch press for 1 second to reboot hardware reset Ethernet Connector Single RJ 45 f...

Page 66: ...DB 9M MES1B removable screw terminal 5 block with screw down Interface Lines Supported MES1A RS 232 TD RD GND MES1B RS 422 485 TDA TDB RDA RDB GND Serial Data Rates 300 600 1200 2400 3600 4800 9600 1...

Page 67: ...uration Modes Telnet XPort Device Installer with integrated Telnet Device Management SNMP RFC 1213 1215 1316 131 IP Address Assignment Static IP or DHCP IP is set to 0 0 0 0 Accessories DIN Panel moun...

Page 68: ...68 APPENDIX C DIMENSIONAL DIAGRAMS Dimensional Diagram of the MES1A...

Page 69: ...69 Dimensional Diagram of the MES1B...

Page 70: ...70 APPENDIX D SERIAL CONNECTIONS DB 9M Pin Signal RS 232 DTE 2 Receive Data RXD In 3 Transmit Data TXD Out 5 Signal Ground GND RS 232 Connections for DB 9 Connector...

Page 71: ...l Name Label Direction Terminal Receive Data RDB In 1 Receive Data RDA In 2 Transmit Data TDB Out 3 Transmit Data TDA Out 4 Signal Ground GND 5 MES1B Terminal Block Pin out for RS 422 485 Four Wire Op...

Page 72: ...72 Signal Name Label Direction Terminal Not used Not used 1 Not used Not Used 2 DataB TDB In Out 3 DataA TDA In Out 4 Signal Ground GND 5 MES1B Terminal Block Pin out for RS 485 Two Wire Operation...

Page 73: ...NS RJ 45 Pin Signal Wire Color RJ 45 Pin 1 TX White Green 1 2 TX Green 2 3 RX White Orange 3 4 Not used Blue 4 5 Not used White Blue 5 6 RX Orange 6 7 Not used White Brown 7 8 Not used Brown 8 Pin out...

Reviews: