Home

BMM-101 User's Manual - Alloy Computer Products

image

Contents

1. lt lt Serial Mode Message ESC return Space bar refresh page Connected 0 00 37 Auto detect 9600 8 N 1 SCROLL CAPS NUM Capture Print echo 1 2 Using Console Telnet and Web Server 192 168 1 1 HyperTerminal Sele File Edit View Call Transfer Help Dlo D B e Ethernet Direct Serial Port 1 Gateway type TCP Master to Serial Slave Serial Format RIU Character Timeout 1 K 10ms 0 65535 Message Timeout 10 X 1l0ms 0 65535 Inactive Timeout 0 X Sec 65535 Maximum Connection 1 Listening TCP port 5902 Use MBAP s UID Enable Use specific UID ss 10 Generate exception Disable IP Address filter A 200 200 20020 Serial Mode MODBUS Bridge Monitor Configuration FF N n n e NT m10 E Le IO ne e n ne me e n lt lt MODBUS Message ESC return Space bar refresh page Connected 0 00 37 Auto detect 9600 8 N 1 SCROLL CAPS NUM Capture Print echo 192 168 1 1 HyperTerminal File Edit View Call Transfer Help DOS 233 DB e Ethernet Direct Serial Port Port Number Protocol Connection Mode ruer TCP alive Timeout 9_ 0 255 min Serial Timeout 0 0 65535 sec Maximum Connection 1 Remote IP Address Pod ai 200 di Serial Mode MO
2. Note If you leave this page without saving all changes will be ignored To change other Modbus properties click MODBUS on the left side of the browser window The following 7 6 Using Console Telnet and Web Server page will appear E Operation Page gt C fi 0 192 168 1 1 modbus htm BMM101 Web Configuration BMM101 Note If you leave this page without saving all changes will be ignored Sia verial Format Char Timeout Message Timeout sut Inactive Timeout MODBUS FO DU 2 IE ha S ejei RO 3 RO Ro TUTT POETE Slave IP address T Note If you leave this page without saving all changes will be ignored Click Save to store changes to the Modbus Gateway Settings for each Port must be saved separately To change Bridge properties click Bridge on the left side of the browser window The following page will appear 1 1 Using Console Telnet and Web Server Operation Page x RI gt C fi 192 168 1 1 bridge htm wi a BMM101 Web Configuration BMM101 Server Serial Port 00 Se 15535 sec EA TCP alive Timeout Connection mode Connection at Maximum connection Remote IP address O UDP Destination IP address range to to to to Source IP address range to to to to Save Detaut Running Reset Note If you leave this page without saving all changes will be ignored Under Bridge all device server
3. This parameter defines the number of TCP connection to the gateway in either Modbus TCP master or slave mode The maximum number of the connection is 8 When BMM 101 is set as gateway of TCP master to serial slave it can accept Polling Query from up to 8 different TCP masters Each query will handle in sequence since Modbus serial interface can only handle one query at a time All other queries will be queued until the previous query is finished or timeout BMM 101 can queue up to 8 queries If there are more than 8 queries at one time those queries will be discarded and eventually TCP master will get a timeout Gateway Type Using Manager Utility This parameter defines what kind of Modbus devices which BMM 101 is connected to There are two types of connection R Modbus TCP master to Modbus serial slave z Modbus TCP slave to Modbus serial master The default setting is Modbus TCP master to Modbus serial slave Each serial port in BMM 101 can be configured into different gateway type Listening TCP port The default listening Modbus TCP port number is 502 It is recommended to use port number larger than 1024 if use TCP port number other than 502 Since most of TCP port number under 1024 are used by particular protocol Use MBAP s UID or Use Specific UID If this parameter is enabled BMM 101 will extract the UID in MBAP s header and convert the message into Modbus serial format with the extracted UID If this parameter is disable
4. 1101007942 Server Name BMM101 Password Version amp Date 1 9 9 amp 011110 Hardware ID NA Network Serial Hode MODBUS Bridge Monitor Configuration I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I l I I I I I I I I lt lt Server Message return Space bar refresh page Connected 0 00 37 Auto detect 9600 8 N 1 Using Console Telnet and Web Server 192 168 1 1 HyperTerminal DO File Edit View Call Transfer Help Dawe s na g Ethernet Direct Server Serial Mode MODBUS IP Address 192 166 1 1 Netmask M es ae Gateway 1927 768 4 208 MAC Address B0 0B B4 81 11 06 Link Status 100 Full Duplex Bridge Moni tor Configuration e lt lt Network Hessage Connected 0 00 37 Auto detect 9600 8 N 1 SCROLL CAPS NUM Capture Print echo 192 168 1 1 HyperTerminal File Edit View Call Transfer Help Dae es nag Ethernet Direct Serial Port Buad Rate Data Stop bits 8 1 Parity None Flow Control None Serial Port Hode RS 232 Operation Mode MODBUS MODBUS Bridge Monitor Configuration Tt ct_ t c tt tt t_t
5. occoooccccoccnccoccnccccncconcnononcnonocncnononononos 3 1 3 4 Modbus RTU ASCII Master to Modbus TCP Slaves i 3 1 39 Inactive Meola alii eil 3 1 LE ERE IE 4 1 Software Installafion ias riesi allea 4 1 421 NeWINSElRioRs sla acli aerei 4 1 422 Ubaagting an Exisfiing Instalialio Risale 4 2 A O 5 1 Using Manager UI cir aaa 5 1 5 1 Searching LAN TO BMME10 Leali 5 1 5 2 Configuring Gateway PropertieS iii 5 2 5 3 The Modbus Gateway Properties iii 5 2 5 3 1 SCIVO A E gg E E A 5 3 5 3 2 Eo AA e e aS a a a aaa a 5 3 5 3 3 Chill IOC 6 cit eri 5 4 5 3 4 Modbus Conig ratiOr dad dd a da 5 6 5 3 5 Bridge GonfiguratioA assiale ai 5 8 5 3 6 Una eve eh ee 5 8 Chapter o see nen nor ne ne er RE rn re ee er Se eee ee eee ee eee 6 1 Using Vital COM iaia 6 1 0 1 Installing Vrtal SOM Porta lea 6 1 6 2 Configuring Virtual COM PoOrt a a S E A 6 2 6 9 Uninstalling the virtusLCOM Poft oil aLe 6 4 Chapier calli ag E li i iii 7 1 Using Console Telnet and Web Server iii 7 1 21 Wslng Console alii 7 1 142 MUSING HOINGU case tenes ork soz connestyseshaucaravaneunpame nanan oa cane E sora E T E E T 1 4 13 UsingiWebsSs eterea 7 5 ERAplero acatar 8 1 Upgrading the Firmware A ono deus aaa 8 1 8 1 Upgrading the Modbus Gateway Firmware 8 1 PTOI CN td E Pues vce eet since bees A A iii A 1 SSIS CIFIC ALIO INS
6. which a master can communicate to multiple slaves using UID Modbus TCP sets up a point to point connection To communicate with multiple slave devices different TCP IP connection is needed for each slave device Also multiple polling queries messages can be pipelined or queued The response messages could be replied out of order by the slave devices Therefore a transaction ID is assigned to each polling message to avoid mixing up query and response message The BMM 101 Modbus gateway allows the legacy Modbus RTU ASCII devices to operate on a Modbus TCP network It allows either Modbus serial master or slave to communicate with Modbus TCP s slave or master Modbus TCP Masters to Modbus RTU ASCII Slaves Allows multiple Modbus TCP masters to communicate with a Modbus serial network Since Modbus serial network can only handle one query at one time queries from different masters are pipelined and processed one by one Modbus RTU ASCII Master to Modbus TCP Slaves When BMM 101 function as Modbus RTU ASCII master to Modbus TCP slave gateway BMM 101 can connect up to 8 Modbus TCP slave User can specify a UID range for each Modbus TCP slave Inactive timeout BMM 101 provides inactive timeout that allows user to specify a time period to disconnect TCP IP connection if there is no activity in the network It could be the peer of the connection is down if the connection does not tear down it would occupy one connection slot and prevent any another
7. Flow Using Virtual COM Control Protocol IP Address and Port Number will mirror the settings of the selected Modbus Gateway Highlight the desired COM port and select OK COMInst Map To Cancel E Flow Control fe None RATS CTS on oli Protocol TCP Pess I 927 168 1 1 Fort Number 4000 If any settings are changed in this part of the Virtual COM setup it will only affect the settings in the operating system Device Manager It will not change the settings in the BMM 101 The settings of the Virtual COM port in the Device Manager and the BMM 101 Configuration menu must match If the settings do not the software connecting to the Virtual COM port will be unsuccessful in opening the COM port Note In Windows XP a Hardware Installation window stating that the drivers have not been tested by Microsoft may appear Select Continue Anyway to proceed with the installation When finish click Cancel on the Found Server window To confirm installation go to the Device Manager and select Ports COM amp LPT The installed Virtual COM port will be displayed as BMM 101 COM Device Manager E E File Action View Help He 2 Monitors ES Network adapters PCMCIA adapters Ports COM amp LPT A Communications Port COM1 oo W ECP Printer Port LPT1 F ED COMID COM105 de Processors sound video and game controllers PU Saeckern devires 6 2 Conf
8. Gateway or click Searching Server for all reachable servers then OK The Searching window is shown until all active Modbus Gateway on the LAN are listed in the Modbus Gateway List window 9 2 9 3 Using Manager Utility ED Manager Ea fx server View Exit Help Y 2 O E Firmware Virtual Searching Uninstall Monitor Install Zigbee Upgrade COM Co Server Virtual Port Statue Virt Console IP address Protocol Pot COMname Status 192 168 1 1 MODBUS Mot mapped Not connected virtual COM List Serial Server List Ready Configuring Gateway Properties Highlight the Modbus Gateway in the Modbus Gateway List window and double click to open the Gateway Properties window The Gateway Properties window is used to configure and store the Server configuration settings Details for setting Properties are described in the next chapter After configuring as needed click Update to store the configuration in the server and click Yes to restart the server to make sure all settings are changed to conform to the desired application The Modbus Gateway Properties There are four ways to access the Server Properties and program the BMM 101 Manager Utiltiy Console mode Telnet or Web Server Instructions on how to move around in the user interface and change settings pertains to the Manager Utility are similar in others Using Manager Utility MODBUS Gateway Properties Server Network Serial Mod
9. Using Telnet Telnet can be used to configure the Modbus Gateway from any PC on the LAN The Telnet window displays the same configuration information shown in Console Mode and allows server properties to be configured See chapter 6 for details on Server Properties Ensure the PC and BMM 101 are connected to the LAN and the Modbus Gateway is in RS 232 RS 422 or RS 485 mode before you can telnet to it and access the configuration screens From the Desktop click Start then Run The Run dialogue box will open Type in Telnet and the IP address of the Modbus Gateway to be configured then click OK 7 4 7 3 Using Console Telnet and Web Server Type the name of a program Folder document or Internet resource and Windows will open it for you The Telnet window will open and the Server screen will appear as below See Using Console for configuration screens and navigation 192 168 1 1 HyperTerminal DER File Edit View Call Transfer Help D 5 aD amp Ethernet Direct Model Name BMM191 Serial Number 1101007942 Server Name BMM101 Password Version amp Date 1 9 9 011110 Hardware ID NA Network Serial Hode MODBUS Bridge Monitor Configuration I I I I I I I l I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I I lt lt Server Message ESC return Space bar refresh page Connected 0 00 37 Auto detect 9600 8 N 1 Using Web Server The
10. Web Server can be used to configure the Modbus Gateway from any web browser software such as Internet Explorer Gateway Properties can be set up using three browser pages See chapter 5 for details on Gateway Properties In Internet Explorer type the IP Address of the Modbus Gateway into the address field near the top of the window and press the Enter key The following window will appear 1 5 Using Console Telnet and Web Server Server Page e gt C 019216811 U U O BMM101 Web Configuration BMM101 Note If you leave this page without saving all changes will be ignored JUAS Server name IMIVI101 Serial Port Serial number 101007942 MODBUS Version Date 9 98 011110 Password ral DHCP Disable IP address 192 168 1 1 Netmask 255 255 255 0 Gateway 192 168 1 254 MAC address Link status Hardware ID Runnin Note If you leave this page without saving all changes will be ignored Navigate and change properties as required using the mouse and keyboard To change serial port properties click Serial Port on the left side of the browser window The following page will appear 2 Port Page x gt C fi 0191681 Ipoh ERAS BMM101 Web Configuration BMM101 Note If you leave this page without saving all changes will be ignored O Serial por EA Serial port mode M1 Baud rate EMMI Data Stop bits 81 Parity None hd Flow control None ha Port status Operation mode
11. allow the next connection Supports Telnet Serial consoles for device configuration Supports Windows utility for device configuration and management Management access password protected Supports loop back mode Firmware upgradeable Package Checklist BMM 101 is shipped with the following items eo 1x BMM 101 Industrial 1 Port High Speed Modbus Gateway eo 1x User s manual amp utility CD IF DC voltage is supplied by an external circuit please use a protection device on the power supply input 1 1 Chapter 2 Hardware amp Operational Modes 2 1 This chapter contains information on BMM 101 s dimensions and hardware amp Operational Modes Topics include Dimensions and Panel Layout LED Indicators Power Connection Serial Connection amp Serial Port Ethernet Connection Reset Button Dip Switches Serial Port Operational Modes DB9 Pin Configuration Dimensions and Panel Layout Dimensions of BMM 101 Industrial 1 Port High Speed Modbus Gateway are 85mm W x 23mm D x 115mm H Front Panel Side Panel Unit mm 10 100M sw DIRECT 2222 Link Ready BMM 101 Modbus Gateway 2 1 Hardware amp Operational Modes 2 2 LED Indicators There are diagnostic LEDs located on the front panel of BMM 101 They provide primary information on switch status as described in the table below LED Name LED Color LED Function Ready Of Power is off or no power is being supplied to the devi
12. connection Communication Modes again 4 1 Chapter 4 Software Installation This chapter contains information on BMM 101 s software installation procedures Topics include New Installation e Updating an Existing Installation It is recommended the user install the Manager Utility and do a search for all BMM 101s connected to the LAN When this is completed a window will list the devices making them available for configuration Configuring the Modbus Gateway to meet your LAN and application requirement is an easy process with the available setup menu in the Manager Utility New Installation The following procedure installs the ED Manager Utility n Inserting the Setup CD in the CD ROM and look for the setup exe file in Utility directory E The Install Shield Wizard window automatically displays to begin the setup procedure InstallShield Wizard Setup i preparing the InstallShield Wizard which will guide you through the rest of the setup process Please walt Welcome to the InstallShield Wizard for ED The InstallShield Wizard will install ED on your computer To continue click Next i Cancel a In the Choose Destination Location window select Next to install the Manager Utility in the default location Select Browse to install into a user selected directory Software Installation ED Setup Choose Destination Location Select folder where Setup will install files Setup will install ED in
13. settings must match or the upgrade will fail Port Settings Bits per second 115200 Data bits Parity Stop bits Cancel Upgrading the Firmware a A window showing the Upgrade progress will appear followed by a window indicating the Upgrade was successful Upgrade BMM 101 will reset itself to complete the upgrade process Appendix A Specifications BMM 101 Product Specifications are as follows Serial Ports 1 X RS 232 422 485 serial port DB9 male connector software RJ 45 Ports 1 X 10 100Base T X auto negotiation speed Full Half duplex RJ 45 LEDS LEDs Link Ready P1 Serial Specifications Signals RS 232 TxD RxD RTS CTS DTR DSR DCD GND RS 422 TxD TxD RxD RxD CTS CTS RTS RTS GND RS 485 Data Data GND Baud Rate 110bps to 230 4Kbps Parity None Even Odd Mark Space Operating Humidity 5 to 95 RH Non condensing Technology Specifications Network Protocol TCP UDP HTTP Telnet IP ICMP ARP DHCP client Modbus RTU ASCII Modbus TCP Modbus TCP masters to Modbus Operation Mode RTU ASCII slaves Modbus RTU ASCII master to Modbus TCP slaves Inactive timeout Virtual COM Mode Supports Windows 98 2000 XP Vista Configuration Mode Configure utility serial console Telnet console Regulatory Approvals FCC Class A EN 61000 4 2 EN 61000 4 3 EMS EN 61000 4 4 EN 61000 4 5 Specifications EN 61000 4 6 Appendix B Default Settings BMM
14. this section of the menu A dynamic address assigned by the DHCP server may change if the BMM 101 looses the Ethernet connection or power is removed The host client communication software requests a connection to the specific IP address of the Modbus Gateway If the DHCP reassigns a different IP address the software will not be able to communicate with the hardware lt is recommended to use a static IP address Using Manager Utility A static IP address is permanent and will not change unless changed in the menu In most cases the network administrator establishes the static address to be used Netmask The default LAN netmask is configured for a Class C address This maybe reconfigured by the user Gateway The gateway IP address allows users to access the Modbus Gateway from outside the LAN MAC Address The MAC address is not adjustable This is assigned in the factory Every Ethernet device manufactured has it own unique MAC address Link Status Link status automatically displays the type of Ethernet connection It will either display 10 Base T or 100Base TX in full duplex or half duplex This will depend on the LAN switches hubs used in the LAN topology MODBUS Gateway Properties Server Network Serial Mode MODBUS BRIDGE Duce TN IP address Netmazk Gateway MAC address Link status 5 3 3 Serial Mode Serial Port This field indicates the number of the port for with Modbus Gateway properties are currently bein
15. 101 System Default Settings System BMM101 Fixed see bottom label Blank Disable 192 168 1 1 255 255 255 0 192 168 1 254 Fixed see bottom label Server Name Serial Number Password DHCP IP Address Netmask Gateway MAC Address Version amp Date LEDs Serial Port Baud Rate 9600 19200 for Console Mode Data Stop Bits Parity Current firmware version number and date Link Ready P1 None None RS 232 Flow Control Serial Port Mode Modbus Parameters Da Dd A 3 Serial Data Format 10ms 100ms Inactive Timeout 0 minute Disabled Character Timeout Message Timeout Maximum Connection Gateway Type TCP Master to Serial Slave TCP Master to Serial Slave Listening TCP port 502 Use MBAP s UID Enable Use specific UID Generate Exception Remote IP Address Filter Gateway Type TCP Slave to Serial Master UID Range 1to8 Slaves IP Address 0 0 0 0 Destination TCP Pport 502 255 255 255 255 TCP Master to Serial Slave Appendix C RS 232 Loopback Connections Rs 232 Loopback Connections DTE Computer Loopback DBS correctione Ping D69 RS 232 Signal Names AS Signal EraundiCommon SIG 6 DCE Reack Data Set Ready DSR 7 Request to Send RTS 7 Seat Send a CBS Male 4 Outside C 1
16. DBUS Monitor Configuration _ I J lt lt Bridge Message ESC return Space bar refresh page Connected 0 00 37 Auto detect 9600 8 N 1 SCROLL CAPS NUM Capture Print echo 1 3 Using Console Telnet and Web Server 192 168 1 1 HyperTerminal Bo File Edit View Call Transfer Help Ethernet Direct Serial Port Tx Bytes Rx Bytes IP Address Connection Not connected DIRZRTS DCD DSR CTS 0 0 0 Serial Mode MODBUS Bridge W Configuration R lt lt Monitor Message ESC return Space bar refresh page Connected 0 00 37 Auto detect 9600 8 N 1_ 192 168 1 1 HyperTerminal Bo File Edit View Call Transfer Help D g l De Ethernet Direct Server Network Serial Mode MODBUS Bridge Monitor Configuration You must restart the device before the new setting will take effect Save now Le lt lt Enter to save settings refresh page Connected 0 00 37 Auto detect 9600 8 N 1 Once all the changes have been made move to the Configuration screen select Save and press Enter The restart message will appear Select Yes to save changes This is necessary to write the settings to the server
17. MOOSE BMM ATS Modbus Gateway SW 1 SV BMM 101 Industrial 1 Port High Speed Modbus Gateway User s Manual V1 9 10 12 2010 RoHS Moose Series Industrial Modbus over TCP Solutions BMM 101 Industrial 1 Port High Speed Modbus Gateway User s Manual Copyright Notice Copyright 2010 Ethernet Direct Corp All rights reserved Reproduction in any form or by any means without Ethernet Direct prior written permission is prohibited Table of Contents Chapter asias een a ee lire Ai 1 1 Introduction eee 1 1 A A a E 1 1 TZ Produc Feature S nae enie is 1 1 13 Package Checklist crisi elia 1 1 Chapter Zito io 2 1 Hardware amp Operational Modes atico 2 1 2 1 Dimensions and Panel LayOUt iii 2 1 2 2 wx BB MACAO A ibi ee ee 2 2 223 POV COMME os 2 2 2 4 Serial Connection amp Serial Ports iii 2 2 2 9 E Demet Connectionin lea es ea 2 2 2 6 Reset Button Power Reset Oniy nassib ii 2 2 2 1 DID WCE ala 2 2 2 8 Serial Port Operational Modes iii 2 3 Console Mod o o de O 2 3 Upgrade Modes eleva ae 2 3 Default Node iena ico 2 3 RO 232 OG Caries Sat andre cede ant li ii lid 2 3 eZ NOC sarria 2 3 FO ape gh chee ae Scag ace ete erg nc A a 2 3 bBIPINCONIGU dossi 2 4 Ghapter cristae see ssc ae 3 1 COMMUNICATION Modes 3 1 sl Modbus RTWASGC U io 3 1 Ss O A E i 3 1 3 3 Modbus TCP Masters to Modbus RTU ASCII Slaves
18. RS 232 serial port on the gateway E RS 422 When this mode is selected and the gateway is updated the selected serial port will become a RS 422 serial port on the gateway E RS 485 When this mode is selected and the gateway is updated the selected serial port will become a RS 485 serial port on the gateway m Console When this mode is selected and the gateway is updated a PC running a communication program such as Hyperterminal can communicate with the Modbus Gateway via the Console Mode serial port Port 1 on BMM 101 displaying the Gateway Properties screen and allowing configuration of the gateway and its ports m Upgrade When this mode is selected and the gateway is updated firmware can be uploaded into the Modbus Gateway via the Console Mode serial port or a virtual COM port mapped to the number of the Console Mode serial port E Default When this mode is selected and the gateway is updated it will revert the gateway to its default configuration Operation Mode 5 Modbus If Modbus is selected BMM 101 will function as a Modbus and all parameters in section 5 4 Modbus can be configured E Bridge If Bridge is selected BMM 101 will function as a device server and all parameters in section 5 5 Bridge can be configured Using Manager Utility MODBUS Gateway Properties Server Network Serial Mode MODBUS BRIDGE serial port aa tal Baud rate 9600 ti Datastop bite 8 1 Farite None Flow control Hone se
19. ce on Ethemetcabieisdisconnecied Blinking Green Data is transmitting via serial interface O No connection is made via serial interface Mo ges Green Connection is established via serial interface 2 3 Power Connection The BMM 101 has a two pins terminal block and power jack Power can apply on either terminal block or the power jack lt accepts 9 15VDC 500mA power supply When power is apply a green light label as run will flash every one second to indicate the system is up and running Note Do not insert in any power supplies that greater than 15VDC it might damage your devices 2 4 Serial Connection amp Serial Ports The BMM 101 has one DB 9 male connectors The serial port is configured as a DTE data terminal equipment device just as PC s COM ports Therefore a null modem cable is required to make a connection between the COM port on a PC and the BMM 101 serial port A straight through cable is required to connect the BMM 101 serial port to a DCE device The BMM 101 has one serial port The port can be configured as a Console Mode connection or as RS 232 RS 422 or RS 485 interface to the BMM 101 if all of the DIP switches are in the OFF position using the Manager Utility via Telnet or using the Web Server The RS 232 interfaces are configured as DTEs Data Terminal Equipment The connectors for all ports are DB 9M 2 5 Ethernet Connection A straight through Ethernet cable can be used to connect t
20. d BMM 101 sends the converted message to Modbus serial slave device with UID defined in the Use Specific UID field Generate Exception When this parameter is enabled BMM 101 will generate exception message when slave device does not response to the query command or message timeout Remote IP Address Filter This is a security feature that is activated when the IP address of the desired client is programmed into the remote IP Address setting of the menu This tells the BMM 101 to communicate with only the listed IP address and to filter out all other requests for connection This feature is only enabled at gateway type TCP Master to Serial Slave The default setting is 255 255 255 255 It is recommended not to change this setting until the application has been tested and is communicating properly At that point the address filtering feature of the BMM 101 can be activated UID Range BMM 101 use UID range to map a query from a Modbus serial master with an UID within this range to an IP address and a TCP port This is only used when the gateway type is Modbus TCP slave to Modbus serial master Slave IP Address and TCP port This is only used when the gateway type is Modbus TCP slave to Modbus serial master BMM 101 maps a message from Modbus serial master to a Modbus serial slave Using Manager Utility MODBUS Gateway Properties Server Network Serial Mode MODBUS BRIDGE Serial Port IE Maximum connection 1 Inact
21. e MODBUS BRIDGE Ethemet Direct Model Name serial Number server Name Password Version 42 Date Hardware ID 5 3 1 Server Server Name The server name is user configurable It is recommended users with more than one BMM 101 connected to the LAN assign a new name to each When the Manager Utility searches for servers on the LAN it will display the server name allowing the user to distinguish between BMM 101s Serial Number Each BMM 101 has a unique serial number This is fixed and cannot be changed Password Entering a password activates a security feature on the Modbus Gateway Once a password is entered it will be required to access the menu and make changes Version amp Date The currently loaded version of the firmware and when it was released are shown here 5 3 2 Network DHCP DHCP servers are a part of numerous LAN management systems The DHCP field has two selections Enable or Disable Arrow to the desired selection and select enter When enabled BMM 101 will send a DHCP request to the DHCP server which will assign a dynamic IP Address Netmask and Gateway to the BMM 101 If a DHCP server is not available on the network the BMM 101 will time out after 10 seconds and the default values will remain When DHCP is enabled the IP Address Netmask and Gateway fields become inaccessible and cannot be changed by the user IP Address A static IP address can also be assigned in
22. ect Uninstall Virtual COM button The Manager will ask for confirmation Select Yes to complete the uninstall procedure Removing the Virtual COM Port using Device Manager The screen shots were taken from a Windows XP operating system E On the Desktop select Start Settings Control Panel Select the System icon when the Manager window opens E Select Device Manager in the Systems Properties window In the Device Manger window select the next to Ports COM amp LPT to expand Using Virtual COM Es Device Manager Fie Action View Help e sa E 22 Monitors Network adapters eg PCMCIA adapters E Ports COM amp LPT 7 Sos Communications Port COMI oo he ECP Printer Port LPT1 3 ta F ED COMO CORIO ae Processors Sound video and game controllers tel ad suetem dewirec Highlight BMS COM to be removed go the Action tab at the top of window and select uninstall A confirm Device Removal window will appear Select OK to proceed Contirm Device Removal ED OMO 204101 Warning ou are about to uninstall this device from pour system E The BMS COM will be removed and the Device Manager window will refresh and display the remaining COM ports 7 1 Chapter 7 Using Console Telnet and Web Server This chapter contains information on how to use the Console Mode on BMM 101 Topics include Using Console Using Telnet e Using Web Server Using Console Before
23. g displayed Changing the number in this field will cause all the other fields to display the properties for the specified port Note however that before changing ports any change to properties must be Updated Saved or the Modbus Gateway will not retain them Baud Rate The serial port baud rate on the BMM 101 must match the serial baud rate of the connected device unless using Virtual COM mode In Virtual COM mode the application program can setup this parameter on the fly by sending normal COM command and BMM 101 will set it on the fly as if BMM 101 s serial port is one of PC s COM port Data Parity Stop This setting will have to match the data format of the connected device unless using Virtual COM mode In Virtual COM mode the application program can setup this parameter on the fly by sending normal COM Using Manager Utility command and BMM 101 will set it on the fly as if BMM 101 s serial port is one of PC s COM port Flow Control The flow control setting must match the connected serial device unless using Virtual COM mode In Virtual COM mode the application program can setup this parameter on the fly by sending normal COM command and BMM 101 will set it on the fly as if BMM 101 s serial port is one of PC s COM port Serial Port Mode This allows configuration of the Modbus Gateway for the following modes of operation E RS 232 When this mode is selected and the gateway is updated the selected serial port will become a
24. hapter 6 Using Virtual COM This chapter contains information on how to use the Virtual COM on ED Manager Utility Topics include installing Virtual COM Port e Configuring Virtual COM Port e Uninstalling the Virtual COM Port Installing Virtual COM Port The Virtual COM Port feature allows Windows platform software using standard API calls to be used in an Ethernet application Running the Install Virtual COM port software adds a COM Port in the Device Manager of the operating system The COM port will look like a standard COM port to Windows software used in most applications allowing the software to open a connection with the serial port located anywhere on the LAN When using the virtual COM port the BMM 101 is configured as a TCP or UDP Server a On the Desktop select Start Programs EthernetDirect Install Virtual COM BA Select the Search all reachable servers check box then click OK laa EthemetDirect Install Virtual COM GA ED Manager Search setup Search Specified Server IP Address W Search all reachable servers Cancel m The nstall Virtual COM program will automatically search the LAN for all available BMM 101 Modbus Gateways and display them in the Found Server window Highlight the desired Modbus Gateway and click Install Found Server IP address Protocol Pot Flow contro 192 168 1 1 Mot mapped Install a When the COMInst window opens select COM port to map the Modbus Gateway to The
25. he Modbus Gateway to an Ethernet hub switch or wall plate A crossover Ethernet cable can be used to make a connection directly to the NIC Network Interface Card on a PC or laptop 2 6 Reset Button Power Reset Only The reset button can be found between the switch and terminal block To reset the unit manually apply power insert a small plastic tool and press lightly depressing switch Hold for 3 seconds and release The Link and Run light will go out and turn back on 2 Dip Switches A double DIP switch allows the BMM 101 to be placed into Console Loop back Default Data Mode 2 8 Hardware amp Operational Modes OFF OFF Data When all these switches are moved into the ON position the BMM 101 enters Console Mode allowing configuration of the BMM 101 from a PC running a terminal program such as Hyperterminal When the BMM 101 enters Console Mode the Console Mode screen will appear in the Hyperterminal program window The serial port settings must be 8 N 1 at 19200 baud When the DIP switches are switched to the ON OFF position the BMM 101 will work at Loop back Mode all data is sent back immediately When the DIP switches are switched to the OFF ON position the BMM 101 will revert to its factory version firmware no matter what newer firmware has been upgraded When all of the DIP switches are switched back to the OFF position the BMM 101 will enter Data Mode RS 232 RS 422 or RS 485 Serial Port Operational M
26. iguring Virtual COM Port The Virtual COM port can be configured in the Device Manager of the operating system or the Manager Using Virtual COM software In either case the IP Address Port Protocol and Flow Control settings must match the BMM 101 settings for the software to open the Virtual COM port Configuration with Manager Software m At the Desk Top select Start Programs EthernetDirect ED Manager Double click the Virtual COM Configuration button ED Manager server Miew Exit Help al t A TE Firmware Virtual Searching Uninstall Monitor Install Zichee Uperade COM Co Server Virtual Port Status Virt Console COM name IP address Protocol Pot Flowcontal COMO 192168 1 1 4000 Hone Mot used Virtual COM List Serial Server List Ready A a Double click the COM displayed in the screen to open the configuration window Virtual COM Configuration Map To Flow Control Hone Protocal TEF hal IP Address i 932 168 1 1 Port Number 4000 a Make the adjustments and select OK to complete the changes Configuration with Device Manager Bi On the Desk Top select Start Settings Control Panel Select the System Icon when the Control Panel window opens a In the System Properties window select the Device Manager button a In the Device Manager select the button next to Ports COM amp LPT to expand and see the BMS COM Double click BMS COM to open the Propertie
27. ins information on how to use the BMM 101 s manager utility Topics include e Searching LAN for BMM 101 e Configuring Server Properties The Server Properties The Manager Utility performs several functions Searching for BMM 101 connected to the network eo Displaying and changing the configuration of BMM 101 Installing virtual COM ports on a computer Displaying and configuring virtual COM ports e Uninstalling virtual COM ports on a computer e Upgrading the BMM 101 firmware e Monitoring Port Status e Saving and Loading Configuration Files Once the BMM 101 is connected to the LAN the Manager Utility will be able to search the LAN for all connected BMM 101 servers and will display them in a window by name and IP address Searching LAN for BMM 101 Select ED Manager in the program file menu If the default location was selected during the installation the program will be found under Start Programs EthernetDirect Select ED Manager As soon as the ED Manager opens it will initiate Searching Server and after a few seconds the Modbus Gateway List will display all BMM 101 Modbus Gateways on the network To manually initiate a search for servers on the menu side bar select Searching Server button The Search Setup box will appear It provides two options for searching for servers on the network m Specify the IP address of the Modbus Gateway NW Search all reachable servers Enter the IP Address assigned to the desired Modbus
28. ive Timeout 0 ser Format ETU Char Timeout 11 100ms Message Timeout 110 100m Gateway Type TCF Master to terial Slave TCP Master to Serial Slave Listening TCP port 502 Remote IF addresvfilter 2595 255 255 255 4 Use MBAP s UID or specify an UID 10 0 255 Generate excepion TCP Slave to Serial Master MITI TTM 5 3 5 Bridge Configuration All device server parameters can be configured under Bridge For details please refer to chapter 6 Using Virtual COM of the user manual 5 3 6 Update Save Gateway Properties must be updated separately for each serial port Updating varies slightly depending on which of the four configuration user interfaces are used Updating the Gateway Properties in Manager Utilit From the Gateway Properties screen click the Update button to store the configuration settings for the currently selected port The vcomui dialogue box will appear indicating you must restart the device before the new settings will take effect Click Yes You must restart the device before the new settings will take effect Restart now Saving Configuration Data in Console Mode or Telnet Saving updating Gateway Properties is done from the Configuration screen Access the Configuration screen by tabbing through the list of screens on the left side of the window and highlighting Configuration There are four options shown on the right side of the Configuration screen Save Defa
29. odes Using the Manager Utility the BMM 101 Modbus Gateway can be put into Console Mode Default Mode or Upgrade Mode The serial ports can be configured for RS 232 RS 422 or RS 485 operation The BMM 101 Modbus Gateway also can be put into Console Mode by placing all the DIP switches into the ON position Console Mode The console mode allows access to the BMM 101 setup menu This is one way to reconfigure the default settings for the application A serial connection is made between a COM port on the PC and the BMM 101 serial port 1 with a null modem cable In console mode the serial port defaults to an RS 232 interface The BMM 101 serial port default settings are baud rate 9600 8 data bits no parity and 1 stop bit Hyper Terminal should be used for this type of setup Hyper Terminal s serial settings are configured the same as the mentioned default settings of the BMM 101 and must be set to VT100 emulation mode The default settings are used only if they have not been changed Note for Console Mode operation needs please setup the serial settings as follow baud rate 19200 8 data bits no parity 1 stop bit and no flow control Upgrade Mode The newest firmware can be installed on the BMM 101 using the PC s serial port or the Virtual COM port Default Mode When Default Mode is selected and the Server Properties are updated saved all configuration settings return to their factory default values RS 232 Mode The RS 232 suppo
30. on on BMM 101 s Communication Modes and other special features Topics include e Modbus RTU ASCII Modbus TCP Modbus TCP Masters to Modbus RTU ASCII Slaves Modbus RTU ASCII Master to Modbus TCP Slaves Inactive timeout The BMM 101 Modbus TCP to RTU ASCII gateway allows serial Modbus RTU ASCII to communicate and interoperate with Modbus TCP based device The early development of Modbus protocol is an asynchronous protocol designed to connect directly to computer s asynchronous serial ports Modbus has been extended to operate over Ethernet using the IP protocol This gateway converts between the Modbus TCP IP protocol and Modbus RTU ASCII protocols transparently Modbus RTU ASCII Emerged in the mid 1970s for linking terminals with Modicon PLC s using a master slave protocol The original Modbus serial line specification included two transmission modes RTU and ASCII The Modbus RTU uses binary coding and CRC error checking Modbus ASCII mode is more readable but less efficient because each byte is represented by two ASCII code and it uses less effective LRC error checking The communications are initiated by Modbus masters using polling query response protocol The master can send broadcast messages using a unit ID of 0 which all slaves accept but do not reply to Normally the master polls individual slaves sequentially Modbus TCP Is designed to allow Modbus protocol to be carries over TCP IP based networks Unlike Modbus RTU ASCII
31. parameters can be configured For detail of the device server parameters please refer to section 5 Gateway Properties of the user manual Using Console Telnet and Web Server Chapter 8 Upgrading the Firmware This chapter contains information on how to upgrade the firmware on BMM 101 Topics include e Upgrading the Modbus Gateway Firmware 8 1 Upgrading the Modbus Gateway Firmware New firmware may be available at times on our web site and may be downloaded and flashed to the BMM 101 currently in use The user can upgrade using a direct connection to the BMM 101 serial port or the Virtual COM port feature ES Download the new upgrade hex file and place in a folder a Set BMM 101 to Upgrade mode Ensure that the DIP switches on BMM 101 are all in the OFF position Connect a null modem cable between the PC and the BMM 101 When using the Virtual COM mode a cable is not required Open the Manager software and select the Firmware Upgrade button In the Serial Port selection options select the COM port number used to connect the PC to the BMM 101 If using the Virtual COM port select that number a Select Browse find the location of the firmware select Open and then select the upgrade button Upgrade Upgrade firmware through serial COM port alias Browse Serial Port COMI Upgrade Cancel E A serial menu will appear allowing the upgrade software to be setup the same as the BMM 101 serial settings The
32. rea cc A A 1 ADDENALE Bizarre ito B 1 ace A ore o II B 1 ADPENADEG naa a o a o o o do OD LEDS C 1 Ros23Z Loopback Connections st a cee oe C 1 1 1 Chapter 1 Introduction Welcome to Moose Series BMM 101 Industrial 1 Port High Speed Modbus Gateway This chapter includes the following topics o Overview eo Product Features o Package Checklist Overview The Moose BMM 101 is a single port Modbus gateway BMM 101 is designed for industrial applications to allow the legacy Modbus RTU ASCII devices to operate on a Modbus TCP network It allows either Modbus serial master or slave to communicate with Modbus TCP s slave or master BMM 101 allows multiple Modbus TCP masters to communicate with a Modbus serial network Since Modbus serial network can only handle one query at a time queries from different masters are pipelined and processed one by one When BMM 101 functions as Modbus RTU ASCII master to Modbus TCP slave gateway the device can connect up to 8 Modbus TCP slave Users can specify a UID range for each Modbus TCP slave Product Features BMM 101 has the following features High Performance Design Connects Modbus devices to TCP IP network Provides 1 RS 232 422 485 serial ports Supports 10 100Base T X Ethernet Supports 230 4kbps serial data rate Supports up to 8 Modbus TCP master to Modbus RTU ASCII Supports Modbus RTU ASCII master to link up to 8 Modbus TCP clients Supports inactive timeout to shutdown one connection to
33. rial port mode Rs232 Operation Mode Modbus 5 3 4 Modbus Configuration Format Serial format define the data format on the serial interface where it is RTU or ASCII The default setting is RTU Character Timeout In the Modbus RTU protocol character timeout is used to signal the end of a message If there is an improper timeout occurs during sending message time period it will cause a CRC checksum error and the message will be discarded To improve this situation whenever BMM 101 receives a byte from its serial port it will check the data in its buffer and estimate the message length Base on the message length BMM 101 calculates CRC checksum If the CRC checksum matches we know that is the end of the message Therefore even there is a timeout error with the message BMM 101 can correctly parse the message and convert the Modbus RTU packet into Modbus TCP packet Message Timeout This parameter allows you to set the time during for BMM 101 to wait for the response message When message timeout occurs BMM 101 would response an exception to Modbus master if generate exception is enabled Inactive Timeout Inactive timeout allows BMM 101 to tear down a TCP IP connection when there is no activity for a period of time In case there is a networks failure or power outage All the TCP IP connection resource would be occupied by previous connection that prevent from BMM 101 to accept further incoming connection Maximum Connection
34. rts 8 channels plus Signal Ground and is configured as DTE like a computer Signals are single ended and referenced to Ground To use handshaking Flow Control must be set to RTS CTS during Configuration Refer to the Pin out table for connections RS 422 Mode The RS 422 mode supports 4 channels with full duplex operation for Receive Transmit RTS Request To Send and CTS Clear To Send The data lines are in differential pairs Ground provides a common mode reference To use handshaking Flow Control must be set to RTS CTS during configuration Refer to the Pin out table for connections RS 485 Mode 2 9 Hardware amp Operational Modes The RS 485 mode supports the Transmit and Receive Channels using 2 wire half duplex operation The data lines are differential pair Ground provides a common mode reference Refer to the Pin out table for connections RS 485 Receiver Biasing can be implemented from the BMM 101 Modbus Gateway if the network does not supply it Remove the two side cover screws of the Modbus Gateway slide the cover off and re position the bias jumpers to enable biasing shorting DB9 Pin Configuration The RS 232 interfaces are configured as DTEs Data Terminal Equipment The connectors for all ports are DB 9 Male Pin R5232 RS 422 95 485 a peo RxD 2 RXD RXD 6 ose Jeso 7 rs ers refers arse fo fr es 3 3 3 5 Chapter 3 Communication Modes This chapter contains informati
35. s window Using Virtual COM Device Manager File Action View Help EY Monitors A Network adapters H A PCMCIA adapters 4 Ports COM amp LPT 4 sp A Communications Port COM co 14 ECP Printer Port LPT1 oY ED COMO COMIN n ssa Processore a H Sound video and game controllers El a Sachem devices ED COM10 COM10 Properties General Configuration Driver Flow Control Er Giles dee oi Protocal IF Address Port Number 4000 6 3 Uninstalling the Virtual COM Port The ED Manager Utility Uninstall Virtual Com port feature will remove the mapped COM port in the Device Manager of Windows 2000 and XP operating systems It may also be removed in the Device Manager of Windows 98 ME NT 2000 and XP Windows 98 users will also find a Remove Virtual COM feature in the programs file Removing the Virtual COM port with Manager Software a At the Desk Top select Start Programs EthernetDirect ED Manager E In the Manager window select Virtual COM Configuration Highlight the mapped COM port number to be removed Using Virtual COM ED Manager Server View Exit Help E t A mE El Firmware Virtual Searching Uninstall Monitor Install Zichee Uperade COM Co Server Virtual Port Status Virt Console COM name IP address Protocol Port Flow control Status 4000 Hone Not used Virtual COM List Serial Server List E Sel
36. the BMM 101 is installed on a LAN the Console Mode can be used to change the settings from the defaults Connect a null modem cable between the serial port on the BMM 101 and the COM port on the PC Apply power to the BMM 101 The Run LED will flash See chapter 5 for details on Gateway Properties Using Hyper Terminal open the connected PC COM port at a baud rate of 19200 Data bits 8 Parity None Stop bits 1 and Flow control None Ensure all the DIP switches are in the ON position for BMM 101 To view the menu hit the space bar There are six Console Mode screens Server Network Serial Mode Modbus Bridge Monitor and Configuration Tab Back Space and arrow keys can be used to highlight the desired function on the screen list Pressing Enter moves the cursor to the first field with the current screen The configuration fields can be changed by pressing Enter and selecting from the list that appears The Escape key moves the cursor back to the screen list Pressing the Space Bar refreshes the page Note The Consol Mode can be open up in either way below NW Setting up the Serial Port Mode to Console in the Server Properties and make sure you have pressed the Ok button the save the change and re boot the device Mi Setting up the hardware DIP switches both to ON position and re power on the device again 192 168 1 1 HyperTerminal File Edit View Call Transfer Help Ethernet Direct Model Name BMM101 Serial Number
37. the following folder To install to this folder click Next To install to a different folder click Browse and select another folder Destination Folder ea Files E thernetD rect Browse InstallShield xAapa_A A gt NmM AP _ _ O _WOoooooo i Cancel The installation progress will be shown until complete a Select Finish when the Install Shield Wizard Complete screen appears When the installation is complete the Install window closes allowing the user to access the Manager Utility in the program files If loaded in the default location Go to Start Programs EthernetDirect vcomui exe to open ED Setup InstallShield Wizard Complete Setup has finished installing ED on your computer Cancel Connect the BMM 101 to the LAN and apply power The Run LED will flash indicating power has been applied and communications with the unit can begin and the Link LED indicates an Ethernet connection has been made 4 2 Updating an Existing Installation If an older version of the Manager Utility is already installed the Modify repair or remove the program window will appear when the installation process is initiated The recommended procedure is to remove all installed components first Once the software has been removed install the new software Software Installation InstallShield Wizard Welcome Modify repair or remove the program installshield 9 1 Chapter 5 Using Manager Utility This chapter conta
38. ult Running and Reset Use Tab Backspace or arrow keys to move the cursor to the option position then press Enter Using Manager Utility 192 168 1 1 RAR JO PEZ fis fem INTO BRAD BAERCH D 23 28 Ethernet Direct onfiguration __ _ _ _ _ _ lt lt Configuration Save stores the configuration data to the Modbus Gateway flash memory and resets it Default restores the configuration data to factory default settings Running restores the configuration data to the last values stored in the flash memory Reset re boots the Modbus Gateway making it available for a client connection Web Server Interface The Web Server interface provides the same updating options as Console Mode and Telnet These are located at the bottom of all three Web Server pages If a field is changed you must click Save before leaving that page or the changes will be ignored Server Page e CA 192 168 1 1 BMM101 Web Configuration BMM101 Note lf you leave this page without saving all changes will be ignored Server Server name ET CA Serial number i ion mopsus Version amp Date ase 011110 Password Bridge DHCP Disable IP address 192 168 1 1 Netmask 255 255 255 0 Gateway 192 168 1 254 MAC address 00 0B B4 81 11 06 Link status Hardware ID Note If you leave this page without saving all changes will be ignored 5 9 6 1 C

Download Pdf Manuals

image

Related Search

Related Contents

VN-250TE VN-350TE VN-500TE VN-800TE VN-1KTAE    Jocel JSR-083 tumble dryer  

Copyright © All rights reserved.
Failed to retrieve file