Instruction/ maintenance manual of the product Device Server MSS 485 Lantronix
Go to page of 74
NET485 RS422/485 Serial to Ethernet Adapter Revision C March 24, 2006 Part Number GC-800-240.
.
Copyright and Trademark Copyright © 2005, Grid Connect, Inc. All rights reserved. No part of this manual may be reproduced or tran smitted in any form for any purpose other than the purchaser's personal use, without the express written permission of Grid Connect, Inc.
Disclaimer and Revisions Operation of this equipment in a residential ar ea is likely to cause interference in which case the user, at his or her own expense, will be require d to take whatever measures may be required to correct the interference.
Warranty Grid Connect warrants each product to be free from defects in material and workmanship for a period of ONE YEAR after the date of shipment. During this period, if a customer is unable to resolve a product problem with Grid Connect Tec hnical Support, a Return Material Authorization (RMA) will be issued.
Contents Table of Contents 1. NET485 Overview ............................................................................................................ 1-1 1.1 Overview ...............................................................................
Contents 3.12.1 Telnet Connection............................................................................3-21 3.12.2 Telnet Messages ..............................................................................3-22 3.13 Server Configuration (Op tion 0 Net work Configuration) .
Contents 3.18 Defaults ........................................................................................................... 3-44 3.19 Exit Configuration Mode ................................................................................ 3-44 4.
Contents List of Tables Table 1 - RS422/485 Signals ..................................................................................................2-2 Table 2 - NET485 LED Functions ..................................................................
.
Overview 1. NET485 Overview 1.1 Overview The NET485 product allows you to connect to an RS422 / RS485 transceiver to enable rem ote serial communications over long distances (up to 4,000 ft.). Using RS485 two-wire mode, you can also connect the NET485’s serial interface to multiple devices in a multi-drop network.
Overview 1.2.1 The RS485 Enable Signal In a balanced differential system the data signals are produced by a line driver. The line driver generates a voltage across a pair of signal wires that transmits th e data signals. A balanced line driver can have an optional input signal called an “Enable” signal.
Overview The NET485 can handle both RS485 and RS422 comm unicati ons. This is done by connecting the XPort to a pair of RS485 transceivers. The following schematic demonstrates how the circuit is wired for RS422 and RS485. D R Vc c 3. 3V DE DI RO RE GN D 8 3 4 1 2 5 7 6 6 D R Vc c 3.
Overview 1.3 RS422 / RS485 Network connections 1.3.1 RS422 Networks A typical RS422 application uses a four-wire interface (two twisted pairs) and a shield. RS422 networks are often used in a half-duplex mode, where a single mast er in a system sends a command to a slave device and the slave responds with data.
Overview 1.3.2 RS485 Networks RS485 permits a balanced transmission line to be shared in a part y line or multi-drop configuration. As many as 32 driver / receiver pairs can share a multi-drop network on a single two wire bus. The length of the network is limited to 4,000 ft.
.
Introduction 2. Introduction The NET485 product allows you to connect an RS422 / RS485 transceiver to the Ethernet. Using RS485 two-wire mode, you can connect the NET485’s serial interface to multiple devices in a multi-drop network. To quickly setup the NET485, please refer to the Qu ick Start Guide.
Introduction 2.2 Serial RS422/485 Interface The table below lists the RS422/485 signals for the NET485. The RS422/485 and power interface is a 7-pin removable Phoenix connector, with two of the pins used for power.
Introduction 2.4 Ethernet Interface The NET485 device contains the following LEDs: • 10BaseT/100BaseTX (Bi-color, Left LED) • Full/Half Duplex (Bi-color, Right LED) LEF T LED POWER LED Figure 6 - .
Introduction 2.5 Product CD The CD sent with the NET485 contains Device Instal ler software and technical manuals to support the NET485. Device Installer allows for fast and easy configuration of the NET485. 1. Insert the CD into your CD-ROM drive. The CD will automatically start and display the main window.
Introduction 2.6 Additional Documentation The following guides are available on the product CD. There are several other manuals on the CD, however, they do not apply to the N ET485 product. Title Description File Name NET485 User Guide This manual in PDF format.
Introduction 2.7 Technical Specifications Table 3 - Technical Specs The transceiver used in the NET485 is intended for ba lanced data transmission and complies with both EIA Standards RS-485 and RS-422. It contains a differentia l line driver and a differential line receiver, and is suitable for half-duplex transfer.
Device Installer 3. Device Installer 3.1.1 Microsoft NET Framework Microsoft .NET is the Microsoft strategy for connec ting systems, information, and devices through Web services so people can collaborate and communicate more effectively.
Device Installer 2. Click the NET485 Software button. 3. Device Installer requires Microsoft .NET Framework be installed on your s ystem. If your system does not have this installed, click the NET Framework button to install it. 4. Click the Device Installer button.
Device Installer 3.1.5 Assign IP Click the Assign IP icon , select Assign IP Address from the Device menu or press the F7 key. You are then asked to select an assignment me thod. To assign a specific IP address, select the Assign a specific IP address button in the dialog box.
Device Installer 3.1.6 Assignment Click the Assign button and wait until the progress bar shows the task is complete. Click the Finish button to return to the main Device Installer dialog. Select the device from the main window list and select Ping from the Tools menu.
Device Installer 3.2 Using Device Installer Device Installer is used to locate all devices that use a Lantronix device server. The NET485 uses the XPort- 03 device server. To configure the unit via a Web browser, double-click on one of the devices listed in the Device Installer window.
Device Installer Online S tat us Non-configurable field. Displays the XPort’s st atus as online, offline, unreachable (the XPort is on a different subnet), or busy (t he XPort is currently performing a task). Telnet Enable d Non-configura ble field.
Device Installer 3.3 Configuration Us ing Web Manager Yo u m us t co n fi g u r e t h e u ni t s o th at i t c an co m m u ni c at e on a network with yo ur serial device. For example , you must set the way the unit w ill respond to serial and ne twor k traffi c, how it wi ll handle serial packets, and when to start or close a c onnection.
Device Installer 3.4 Network Configuration The unit ’s network values d isplay when you sele ct Network from the main menu. The following sections describe the configurable paramete rs on the Network Settings page. 3.4.1 Automatic IP Address Configuration An IP address can be assigned automatically.
Device Installer Note: Disabling BOOTP, DHCP, and AutoIP (all three checkboxes) is not a dv i se d a s th e o n ly a v ai l ab l e I P assignment method w ill then be ARP or serial port. 4. When you are finished, click the OK button. 5. On the main menu, click Apply Settings.
Device Installer 3.5 Server Configuration The unit’s serv er values display when y ou select Server from the main menu. The following sections describe the configurable parameters on the Server Settings page. To configure the XPort’s device server settings: 1.
Device Installer 3.6 Host List Configuration The XPort scrolls through the host list until it connects to a device listed in the host list table. After a successful connection, the unit stops trying to connect to any others. If this connection fails, the unit continues to scroll through the table until the next successful connection.
Device Installer 3.7 Channel 1 Configuration The Channel 1 configuration defines how the serial port responds to network and serial communication. Serial Settings To configure the channel’s serial settings: 1. On the main menu, click Serial Settings (under Channel 1 ) to display the Serial Settings window.
Device Installer Port Settings Protocol From the drop -down menu, select the protocol ty pe for the selected channel. For the NET485, this MUST be RS485 2-w ire or RS422/RS485 4-wire. Flow Contr ol Flow control manages data flow betw een devices in a ne twork to ensure it is processed effi ciently .
Device Installer Flush Output Buffer (Network to Serial) With A c tiv e Connec t Select Yes to clear the output buffe r wi th a connection that is i nitiated from the device to the ne twork. The default is No . With Passive Connec Select Yes to clear the outpu t buffe r w ith a connection ini tiated from the network to the d evice.
Device Installer 2. In the available fields, enter or modify the following information: Connect Protocol Protocol From the drop -down menu, select TCP. Connect Mode: Passive Connection Accept Incoming Select Yes to accept incoming connections. Th e default is Yes .
Device Installer Use Hostlist If this option is set to Tr ue , the device server scrolls through the host list until it connects to a device lis ted in the host list table.
Device Installer 3.7.2 Connection Settings - UDP To configure a channel’s UDP settings: 1. On the main menu, click Connection . The Connection Settings window for t he selected channel displays. 2. In the available fields, enter or modify the following information: Connect Protocol Protocol Select UDP fro m the drop-dow n menu.
Device Installer 3.8 Email Settings An XPort can send an email to multiple recipients wh en a specific trigger even t occurs. There are three separate triggers, based on any combination of the configurable pins selected as user I/O functions. Optionally, use a two-byte serial string to initiate a tri gger.
Device Installer 3.8.1 Trigger Configuration The configurable pins are disabled if they are all set to None. If both th e serial sequenc e and the c onfigurabl e pins are disabled, the trigger is disabled. To configure the XPort’s email trigger settings: 1.
Device Installer 3.9 Configurable Pin Settings There are three configurable hardware pins on the XPort device server inside the NET485. To configure the NET485, select Configurable Pin CP0. 1. On the main menu, click Configurable Pins . The Configurable Pins page opens.
Device Installer 3.11 Apply Factory Defaults Click the Apply Factory Defaults button to set the device server back to the default settings. 3.12 Configuration Using Telnet You must configure the unit so that it can communicate on a network with your serial device.
Device Installer 3.12.2 Telnet Messages 3. The window displays: MAC address 00204A82CCAA Software version V6.1.0.2 (060217) XPTEXE Press Enter for Setup Mode 4. To enter the Setup Mode, you must press Enter within 5 seconds . The configuration settings will appear.
Device Installer ***************** E-mail ***************** Mail server: 0.0.0.0 Unit : Domain : Recipient 1: Recipient 2: *** Trigger 1 Serial trigger input: disabled Channel: 1 Match: 00,00 Trigger input1: x Trigger input2: x Trigger input3: x Message : Priority: L Min.
Device Installer 3.13 Server Configuration (Option 0 Network Configuration) These are the unit’s basic network parameters. The fo llowing parameters ar e displayed when you select Server (Option 0).
Device Installer Table 5 - Netmask Examples Netmask Host Bits 255.255.255.252 NOT Recom mended 255.255.255.248 3 255.255.255.240 4 255.255.255.224 5 255.255.255.192 6 255.255.255.128 7 255.255.255.0 8 255.255.254.0 9 255.255.252.0 10 255.255.248.0 11 255.
Device Installer 3.13.5 DHCP Naming If a DHCP server has automatically assigned the IP addr ess and network settings, y o u c a n d i s c o v e r t h e u n i t b y u s i n g t h e D e v i c e I n s t a l l e r network search feature. There are 3 methods for assigning DHCP names to these products.
Device Installer 3.14.2 I/F (Inter face) Mode The Interface (I/F) Mode is a bit-coded byte that you enter in hexadecim al notation. Table 6 - Interface Mode Options I/F Mode Option 7 6 5 4 3 2 1 0 RS-.
Device Installer 3.14.4 Port Number The setting represents the source port number in TCP c onnections. It is the number used to identify the channel for remotely initiating connections. Note: When using Comm P ort Redirector software, use this port number.
Device Installer 3.14.5 Connect Mode Connect Mode defines how the unit makes a connection, and how it reacts to incoming connections over the network. Enter Connect Mode options in hexadecimal notation. Note: If you do not want to convert the binary numbers to hex adeci mals yourself, look up the values in the Tech Notes guide.
Device Installer INCOMING C ONNECTION : Never Accept Incoming: Rejects all external connection attempts. Accept with DTR Active: Accept external connection requests only when the DTR input is asserted. Cannot be used with Modem Mode. Always Accept: Accept any inco ming connection when a connection is not already established.
Device Installer Table 11 - Manual Connection Address Example Command String Result if remote IP is 129.1.2.3 and remote port is 1234 C121.2.4.5/1 Complete override; connecti on is started with host 121.2.4.5, port 1 C5 Connect to 129.1.2.5, port 1234 C28.
Device Installer 2. To delete, modify, or add an entry, select Yes . If you enter an IP address of 0.0.0.0, that entry and all others after it are deleted. 3. After completing the hostlist, repeat the previous step if necessary to ed it the hostlist again.
Device Installer Without Echo: In Modem Mode, echo refers to the echo of all of the characters entered in command mode; it does not mean to echo data that is transferred. Quiet Mode (without echo) refers to the modem not sending an answ er to the commands received (or displaying what was typed).
Device Installer 3. No serial data is received for one second after the last + character. At this time the unit will respond affirmatively per the selected echo/response mode. 4. The character string ATH is received, terminated with a carriage return.
Device Installer 3.14.8 Remote IP Address This is the destination IP address used with an outgoing connection. Note: This option does not display w hen H ostlist is enabled from the ConnectMode prompt. 3.14.9 Remote Port The remote TCP port number must be set for the unit to make outgoing connections.
Device Installer 3.14.11 Flush Mode (Buffer Flushing) Using this parameter, you can control line handlin g and network buffers with connection startup and disconnect.
Device Installer 3.14.12 Pack Control Two firmware-selectable packing algor ithms define how and when packets are sent to the network. The standard algorithm is optimized for applications in wh ich the unit is used in a local environment, allowing for very small delays for single characters while k eeping the packet count low.
Device Installer 3.14.14 Send Characters You can enter up to two characters in hexadecimal representation in the parameters "sendchar." If a character received on the serial line matches one of the se characters, it is sent immediately, along with any awaiting characters, to the TCP connection.
Device Installer *** Trigger 2 Enable serial trigger input (N) ? Trigger input1 [A/I/X] (X) ? Trigger input2 [A/I/X] (X) ? Trigger input3 [A/I/X] (X) ? Message (): Priority (L): Min.
Device Installer 3.16 Expert Settings Note: You can change these settings via Tel n et or se rial connections only, not on the Web-Manager. These parameters should only be changed if you are an expert and definitely know the consequences the changes might have.
Device Installer 3.16.6 HTTP Port Number This option allows changing the HTTP port number. Th e valid range is from 1 - 65535. The default value is 80. 3.16.7 SMTP Port Number This option allows you to configure the SMTP (em a il) port number. Valid range is from 1 - 65535.
Device Installer 3.17 Security Settings Note: You can change these settings via Tel net or serial c onnections only, not on the Web-Mana ger. We recommend that you set security over the dedicated network or over t he serial setup. If you set parameters over the netw ork (Telne t 9999), someone else could ca pture these s ettings.
Device Installer 3.17.5 Disable Port 77FE (Hex) Note: If you choose to disable this option, keep in mind that disabling both Telnet Setup and Port 77FE will prevent users from accessing the setup menu fro m the netw ork. Port 77FE is a setting that allows Device Installer, Web-ma nager, and custom programs to configure the unit remotely.
Device Installer Generally, one of two situations applies: Encrypted NET485-to-NET485 communication. Be sure to configure both NET485 devices with the same encryption key. Third-party application to NET485-encrypted communication: NET485 uses standard AES encryption protocols.
Monitor Mode 4. Monitoring the Network Monitor Mode is a command-line inte rface used for diagnostic purposes. 4.1.1 Entering Monitor Mode via the Network Port To enter Monitor Mode using a Telnet connection: 1. Establish a Telnet session to the configuration po rt ( 999 9) .
.
Firmware 5. Updating Firmware 5.1 Obtaining Firmware You can obtain the most up-to-date firmware and release notes for the unit from Grid Connect. Do not upgrade firmware unless directed by Technical Support. 5.1.1 Reloading Firmware Reloading the firmware of a device will destroy all settings and configurations.
.
Troubleshooting 6. Troubleshooting This chapter discusses how you can diagnose and fix errors quickly without having to c o n t a c t G r i d C o n n e c t . When troubleshooting, always ensure that the physi cal connections (power cable , network cable, and serial cable) are secure.
Troubleshooting does not respond for a long time. The device server may not have a network connection. Make sure that the Link L ED is li t. If the Link LED is not lit, then th e device server does not have a network connection. The device server is not communicating w ith the serial device it is attached to .
Tables 7. Binary to Hex Conversion Many of the unit’s configuration procedures require a ssembling a series of options (represented as bits) into a complete command (represented as a b yte). Convert the resulting binary value to a hexadecimal representation.
Tables Click Hex. The hexadecimal value displays. 7-2 NET485 User Guide.
An important point after buying a device Lantronix Device Server MSS 485 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Lantronix Device Server MSS 485 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Lantronix Device Server MSS 485 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Lantronix Device Server MSS 485 you will learn all the available features of the product, as well as information on its operation. The information that you get Lantronix Device Server MSS 485 will certainly help you make a decision on the purchase.
If you already are a holder of Lantronix Device Server MSS 485, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Lantronix Device Server MSS 485.
However, one of the most important roles played by the user manual is to help in solving problems with Lantronix Device Server MSS 485. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Lantronix Device Server MSS 485 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center