GridConnect Device Server MSS 485 User Manual

Rs422/485 serial to ethernet adapter
Table of Contents

Advertisement

Quick Links

NET485
RS422/485 Serial to

Ethernet Adapter

Revision C March 24, 2006
Part Number GC-800-240

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Device Server MSS 485 and is the answer not in the manual?

Questions and answers

Summary of Contents for GridConnect Device Server MSS 485

  • Page 1: Ethernet Adapter

    NET485 RS422/485 Serial to Ethernet Adapter Revision C March 24, 2006 Part Number GC-800-240...
  • Page 3: Copyright And Trademark

    Grid Connect and the Grid Connect logo, and combinations thereof are registered trademarks of Grid Connect, Inc. DSTni is a trademark of Lantronix, Inc. All other product names, company names, logos or other designations mentioned herein are trademarks of their respective owners.
  • Page 4: Disclaimer And Revisions

    Disclaimer and Revisions Operation of this equipment in a residential area is likely to cause interference in which case the user, at his or her own expense, will be required to take whatever measures may be required to correct the interference. Attention: This product has been designed to comply with the limits for a Class B digital device pursuant to Part 15 of FCC Rules.
  • Page 5: Warranty

    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 Technical Support, a Return Material Authorization (RMA) will be issued.
  • Page 6: Table Of Contents

    Contents Table of Contents 1. NET485 Overview ...1-1 1.1 Overview... 1-1 1.2 Overview of RS422 / RS485... 1-1 1.2.1 The RS485 Enable Signal ... 1-2 1.2.2 NET485 Wiring... 1-2 1.3 RS422 / RS485 Network connections... 1-4 1.3.1 RS422 Networks ... 1-4 1.3.2 RS485 Networks ...
  • Page 7 3.12.1 Telnet Connection...3-21 3.12.2 Telnet Messages ...3-22 3.13 Server Configuration (Option 0 Network Configuration) ...3-24 3.13.1 IP Address ...3-24 3.13.2 Set Gateway IP Address ...3-24 3.13.3 Netmask: Number of Bits for Host Part ...3-24 3.13.4 Change Telnet configuration password ...3-25 3.13.5 DHCP Naming...3-26 3.14 Channel 1 Configuration (Serial Port Parameters) ...3-26 3.14.1 Baudrate...3-26...
  • Page 8 Contents 3.18 Defaults ... 3-44 3.19 Exit Configuration Mode ... 3-44 4. Monitoring the Network ...4-1 4.1.1 Entering Monitor Mode via the Network Port ... 4-1 4.1.2 Monitor Mode Commands ... 4-1 5. Updating Firmware...5-1 5.1 Obtaining Firmware ... 5-1 5.1.1 Reloading Firmware...
  • Page 9 Contents List of Tables Table 1 - RS422/485 Signals ...2-2 Table 2 - NET485 LED Functions...2-3 Table 3 - Technical Specs...2-6 Table 4 - Standard IP Network Netmasks ...3-24 Table 5 - Netmask Examples...3-25 Table 6 - Interface Mode Options...3-27 Table 7 - Common Interface Mode Settings...3-27 Table 8 - Flow Control Options...3-27 Table 9 - Reserved Ports...3-28...
  • Page 11: Net485 Overview

    1. NET485 Overview 1.1 Overview The NET485 product allows you to connect to an RS422 / RS485 transceiver to enable remote 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. The NET485 is designed around the XPort-03 Serial to Ethernet device server.
  • Page 12: The Rs485 Enable Signal

    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 the data signals. A balanced line driver can have an optional input signal called an “Enable”...
  • Page 13: Figure 1 - Rs485 Transceiver

    The NET485 can handle both RS485 and RS422 communications. 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. 3.3V 3.3V XPort 485 3.3V Figure 1 - RS485 Transceiver The transmit section of the XPort is labeled TX on pin 4.
  • Page 14: Rs422 / Rs485 Network Connections

    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 master in a system sends a command to a slave device and the slave responds with data.
  • Page 15: Rs485 Networks

    1.3.2 RS485 Networks RS485 permits a balanced transmission line to be shared in a party 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.
  • Page 17: 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 Quick Start Guide. This section discusses the general details of the NET485.
  • Page 18: Serial Rs422/485 Interface

    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. Table 1 - RS422/485 Signals NET485 Signal 7-Pin Phoenix TXDA TXDB...
  • Page 19: Ethernet Interface

    2.4 Ethernet Interface The NET485 device contains the following LEDs: • 10BaseT/100BaseTX (Bi-color, Left LED) • Full/Half Duplex (Bi-color, Right LED) POWER LEFT Figure 6 - Ethernet Jack Table 2 - NET485 LED Functions Left LED Right LED Solid Amber Solid Green Blinking Amber Blinking Green...
  • Page 20: Product Cd

    Introduction 2.5 Product CD The CD sent with the NET485 contains Device Installer 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. If the CD does not launch automatically: a) Click the Start button on the Task Bar and select Run.
  • Page 21: Additional Documentation

    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 NET485 product. Title Description NET485 User This manual in PDF format. Guide Device Installer Information about installing and using User Guide Device Installer Utility.
  • Page 22: Technical Specifications

    Introduction 2.7 Technical Specifications Table 3 - Technical Specs The transceiver used in the NET485 is intended for balanced data transmission and complies with both EIA Standards RS-485 and RS-422. It contains a differential line driver and a differential line receiver, and is suitable for half-duplex transfer.
  • Page 23: Device Installer

    3. Device Installer 3.1.1 Microsoft NET Framework Microsoft .NET is the Microsoft strategy for connecting systems, information, and devices through Web services so people can collaborate and communicate more effectively. .NET technology is integrated throughout Microsoft products, providing the capability to quickly build, deploy, manage, and use connected, security-enhanced solutions through the use of Web services.
  • Page 24: Run Device Installer

    6. Restart your system. 3.1.3 RUN Device Installer Click the Start button on the Task Bar and select Programs\Lantronix\DeviceInstaller. From the list of options, select DeviceInstaller. The Device Installer main dialog box appears. Figure 8 - Device Installer Dialog Box Device Installer automatically locates and displays devices on the network.
  • Page 25: Assign Ip

    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 method. To assign a specific IP address, select the Assign a specific IP address button in the dialog box.
  • Page 26: Assignment

    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. The Ping Device dialog box shows the IP address of the selected unit.
  • Page 27: Using 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.
  • Page 28 Device Installer Online Status Non-configurable field. Displays the XPort’s status as online, offline, unreachable (the XPort is on a different subnet), or busy (the XPort is currently performing a task). Telnet Enabled Non-configurable field. Permits Telnet sessions. Telnet Port Non-configurable field. Displays the XPort’s port for telnet sessions. Web Enabled Non-configurable field.
  • Page 29: Configuration Using Web Manager

    Select an adapter and click OK. 2. Click the Search icon . The list of Lantronix device servers displays in the left pane. 3. Click on the XPort folder. The list of available XPorts displays.
  • Page 30: Network Configuration

    Device Installer 3.4 Network Configuration The unit’s network values display when you select Network from the main menu. The following sections describe the configurable parameters on the Network Settings page. 3.4.1 Automatic IP Address Configuration An IP address can be assigned automatically. You then enter related network settings. To assign an IP address automatically: 1.
  • Page 31: Static Ip Address Configuration

    Note: Disabling BOOTP, DHCP, and AutoIP (all three checkboxes) is not advised as the only available IP assignment method will then be ARP or serial port. 4. When you are finished, click the OK button. 5. On the main menu, click Apply Settings. 3.4.2 Static IP Address Configuration You manually assign an IP address to the unit and enter related network settings.
  • Page 32: Server Configuration

    Device Installer 3.5 Server Configuration The unit’s server values display when you 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. On the main menu, click Server. 2.
  • Page 33: Host List Configuration

    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.
  • Page 34: Channel 1 Configuration

    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. 2.
  • Page 35 Port Settings Protocol From the drop-down menu, select the protocol type for the selected channel. RS422/RS485 4-wire. Flow Control Flow control manages data flow between devices in a network to ensure it is processed efficiently. Too much data arriving before a device is prepared to manage it causes lost or retransmitted data.
  • Page 36: Connection Settings - Tcp

    Device Installer Flush Output Buffer (Network to Serial) With Active Connect Select Yes to clear the output buffer with a connection that is initiated from the device to the network. The default is No. With Passive Connec Select Yes to clear the output buffer with a connection initiated from the network to the device.
  • Page 37 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. The default is Yes. Password Required Determines whether a password is required for an incoming passive connection.
  • Page 38 Device Installer Use Hostlist If this option is set to True, the device server scrolls through the host list until it connects to a device listed in the host list table. Once it connects, the unit stops trying to connect to any others.
  • Page 39: Connection Settings - Udp

    The table is enabled when Datagram Type is set to FD. Enter values between 1 and 255 to identify units on the local network of device servers. Note: Lantronix Tech Support supports Datagram type 01. Datagram Type FD is for OEM use. 3. When you are finished, click the OK button.
  • Page 40: Email Settings

    Device Installer 3.8 Email Settings An XPort can send an email to multiple recipients when a specific trigger event 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 trigger. Each trigger is independent of the others. Each condition within an individual trigger must be met before the unit will send the email.
  • Page 41: Trigger Configuration

    3.8.1 Trigger Configuration The configurable pins are disabled if they are all set to None. If both the serial sequence and the configurable pins are disabled, the trigger is disabled. To configure the XPort’s email trigger settings: 1. On the main menu, click Trigger 1, Trigger 2, or Trigger 3 to configure the desired trigger settings. The Email Trigger Settings page opens.
  • Page 42: Configurable Pin Settings

    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. 2.
  • Page 43: Apply Factory Defaults

    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. The unit’s configuration is stored in nonvolatile memory and is retained without power.
  • Page 44: Telnet Messages

    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. 5.
  • Page 45: Figure 10 - Setup Mode Window

    ***************** 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. notification interval: 1 s Re-notification interval *** Trigger 2 Serial trigger input: disabled...
  • Page 46: Server Configuration (Option 0 Network Configuration)

    Device Installer 3.13 Server Configuration (Option 0 Network Configuration) These are the unit’s basic network parameters. The following parameters are displayed when you select Server(Option 0). IP Address : (000) .(000) .(000) .(000) Set Gateway IP Address (N) Netmask: Number of Bits for Host Part (0=default) Change telnet config password (N) Change DHCP device name (not set) ? (N) ? 3.13.1 IP Address...
  • Page 47: Change Telnet Configuration Password

    Table 5 - Netmask Examples Netmask Host Bits 255.255.255.252 NOT Recommended 255.255.255.248 255.255.255.240 255.255.255.224 255.255.255.192 255.255.255.128 255.255.255.0 255.255.254.0 255.255.252.0 255.255.248.0 255.255.240.0 255.255.224.0 255.255.192.0 255.255.128.0 255.255.0.0 255.254.0.0 255.252.0.0 255.248.0.0 255.240.0.0 255.224.0.0 255.192.0.0 255.128.0.0 255.0.0.0 3.13.4 Change Telnet configuration password Setting the Telnet configuration password prevents unauthorized access of the setup menu via a Telnet connection to port 9999 or through Web pages.
  • Page 48: Dhcp Naming

    Device Installer 3.13.5 DHCP Naming If a DHCP server has automatically assigned the IP address and network settings, you can discover the unit by using the Device Installer network search feature. There are 3 methods for assigning DHCP names to these products. 1) Default DHCP name.
  • Page 49: I/F (Interface) Mode

    3.14.2 I/F (Interface) Mode The Interface (I/F) Mode is a bit-coded byte that you enter in hexadecimal notation. Table 6 - Interface Mode Options I/F Mode Option RS-232C RS-422/485 RS-485 2-wire 7 Bit 8 Bit No Parity Even Parity Odd Parity 1 Stop bit 2 Stop bit (1) 2 stop bits are implemented by software.
  • Page 50: Port Number

    Device Installer 3.14.4 Port Number The setting represents the source port number in TCP connections. It is the number used to identify the channel for remotely initiating connections. Note: When using Comm Port Redirector software, use this port number. Default setting for Port 1 is 10001. Range: 1-65535 except for the following reserved port numbers: Table 9 - Reserved Ports Port Numbers Reserved for...
  • Page 51: Connect Mode

    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 hexadecimals yourself, look up the values in the Tech Notes guide.
  • Page 52 Device Installer INCOMING CONNECTION: Never Accept Incoming: Accept with DTR Active: Always Accept: RESPONSE: Character Response: ACTIVE STARTUP: No Active Startup: With Any Character: With DTR Active: With a Specific Start Char: Manual Connection: 3-30 Rejects all external connection attempts. Accept external connection requests only when the DTR input is asserted.
  • Page 53: Figure 11 - Hostlist Option

    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; connection is started with host 121.2.4.5, port 1 Connect to 129.1.2.5, port 1234 C28.10/12 Connect to 129.1.28.10, port 12 C0.0.0.0/0 Enter Monitor Mode Autostart (Automatic Connection):...
  • Page 54 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 edit the hostlist again. 4.
  • Page 55 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 answer to the commands received (or displaying what was typed).
  • Page 56: Send The Escape Sequence (+++) In Modem Mode

    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. The unit will respond affirmatively per the selected echo/response mode and drop the network connection.
  • Page 57: Remote Ip Address

    3.14.8 Remote IP Address This is the destination IP address used with an outgoing connection. Note: This option does not display when Hostlist 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. This parameter defines the port number on the target host to which a connection is attempted.
  • Page 58: Flush Mode (Buffer Flushing)

    Device Installer 3.14.11 Flush Mode (Buffer Flushing) Using this parameter, you can control line handling and network buffers with connection startup and disconnect. You can also select between two different packing algorithms. Table 14 - Flush Mode Options Function Input Buffer (Serial to Network) Clear with a connection that is initiated from the device to the network Clear with a connection initiated from the...
  • Page 59: Pack Control

    3.14.12 Pack Control Two firmware-selectable packing algorithms define how and when packets are sent to the network. The standard algorithm is optimized for applications in which the unit is used in a local environment, allowing for very small delays for single characters while keeping the packet count low. The alternate packing algorithm minimizes the packet count on the network and is especially useful in applications in a routed Wide Area Network (WAN).
  • Page 60: Send Characters

    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 these characters, it is sent immediately, along with any awaiting characters, to the TCP connection. This minimizes the response time for specific protocol characters on the serial line (for example, ETX, EOT, etc.).
  • Page 61: E-Mail Setup

    *** 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. notification interval (1 s): Re-notification interval (0 s): *** Trigger 3 Enable serial trigger input (N) ? Trigger input1 [A/I/X] (X) ? Trigger input2 [A/I/X] (X) ?
  • Page 62: Expert Settings

    Device Installer 3.16 Expert Settings Note: You can change these settings via Telnet or serial 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. TCP Keepalive time in s (1s –...
  • Page 63: Http Port Number

    Device Installer 3.16.6 HTTP Port Number This option allows changing the HTTP port number. The valid range is from 1 - 65535. The default value is 3.16.7 SMTP Port Number This option allows you to configure the SMTP (email) port number. Valid range is from 1 - 65535. The default value is 25.
  • Page 64: Security Settings

    Device Installer 3.17 Security Settings Note: You can change these settings via Telnet or serial connections only, not on the Web-Manager. We recommend that you set security over the dedicated network or over the serial setup. If you set parameters over the network (Telnet 9999), someone else could capture these settings.
  • Page 65: Disable Port 77Fe (Hex)

    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 from the network. Port 77FE is a setting that allows Device Installer, Web-manager, and custom programs to configure the unit remotely.
  • Page 66: Enable Enhanced Password

    To communicate successfully, products and applications on the peer side must use the same protocols and the same encryption key as the NET485. Lantronix Secure Com Port Redirector provides an encrypted connection from Windows-based applications to the NET485. Information about SCPR is at http://www.lantronix.com/device-networking/software-services/scpr.html...
  • Page 67: Monitoring The Network

    4. Monitoring the Network Monitor Mode is a command-line interface 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 port (9999). The following message appears: MAC address 00204A0113A3 Software version 01.8 (040806) XPT485 Press Enter to go into Setup Mode...
  • Page 69: Updating Firmware

    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. Firmware files are not freely distributed since changing the firmware of a device will change is operational features.
  • Page 71: Troubleshooting

    6. Troubleshooting This chapter discusses how you can diagnose and fix errors quickly without having to contact Grid Connect. When troubleshooting, always ensure that the physical connections (power cable, network cable, and serial cable) are secure. Note: Some unexplained errors might be caused by duplicate IP addresses on the network. Make sure that your unit's IP address is unique.
  • Page 72 Troubleshooting does not respond for a long time. The device server is not communicating with the serial device it is attached to. When you try to enter the setup mode on the device server via the serial port, you get no response.
  • Page 73: Binary To Hex Conversion

    7. Binary to Hex Conversion Many of the unit’s configuration procedures require assembling a series of options (represented as bits) into a complete command (represented as a byte). Convert the resulting binary value to a hexadecimal representation. Following are two simple ways to convert binary numbers to hexadecimals. 7.1.1 Conversion Table Hexadecimal digits have values ranging from 0 to F, which are represented as 09, A (for 10), B (for 11), etc.
  • Page 74 Tables Click Hex. The hexadecimal value displays. NET485 User Guide...

This manual is also suitable for:

Net485

Table of Contents