Lantronix Hub manual RS-485 Configuration, Two-Wire Mode

Page 41

MSS User Guide

4: Configuration

RS-485 Configuration

Note: This section applies to MSS models MSS-VIA and MSS4 only.

The RS-485 standard allows a serial connection to be shared like a "party line." As many as 32 devices can share the multidrop network. Typically, one device is the master and the other devices are slaves. There are a few important things to note about RS-485 networking with the MSS.

‹MSS-VIA allows for a serial connection on one port. MSS4 allows for a serial connection on all four ports; specify the port when entering RS-485 commands.

‹The MSS can be used in either two-wire or four-wire mode. Refer to the following sections to determine which mode to use.

‹The maximum RS-485 network cabling length (without repeaters) is 4,000 feet. Lantronix recommends the use of shielded twisted-pair cabling.

Note: A large number and variety of protocols run over RS-485. However, the MSS does not convert or interpret serial data. It only moves data between serial and Ethernet. Any RS-485 protocol will have to be implemented by host software either on the end device or running internally using the Software Development Kit (SDK) . See 7:Pinouts for information about the RS-485 DB25 connector.

To enable RS-485 mode on the MSS, enter the Change RS485 Enabled command. RS- 232 mode is enabled by default.

Figure 4-19: Enabling RS-485 Mode for MSS4

Local> CHANGE RS485 PORT 2 ENABLED

Figure 4-20. Enabling RS-485 Mode for MSS-VIA

Local> CHANGE RS485 ENABLED

Two-Wire Mode

In two-wire mode, the MSS operates in half duplex: one pair of wires shares transmit and receive signals, and an optional third wire can be used for shield/ground. The main advantage of using two-wire mode is reduced cabling costs.

Figure 4-21: Example Two-Wire Mode Network

On a two-wire RS-485 network, the MSS must turn its transmitter on when it is ready to send data and then off a certain period of time after the data has been sent so that the

4-8

Image 41
Contents MSS User Guide Sales Offices Lantronix Corporate HeadquartersTechnical Support Disclaimer & Revisions Contents Configuration Using the MSS Compliance and Warranty Information Introduction to the MSS Family MSS Family FeaturesProtocols About The Documentation TermsMSS User Guide Introduction to the MSS Family Components InstallationMSS-VIA Installation MSS-VIA LEDs MSS-VIA Rear PanelExample Wired Network Layout Installation ProcedureMSS User Guide Installation Pinging the MSS Power power cube adaptor MSS-VIA SpecificationsTemperature HumidityMSS4 Components MSS4 InstallationMSS Connected to a Serial Device and Network MSS4 LEDsMSS User Guide Installation MSS4 Specifications 10 MSS100 Front Panel MSS100 Installation12 MSS Network Layout MSS100 LEDs13 MSS Connected to Serial Device and Ethernet 14 Pinging the MSS MSS100 SpecificationsPrivileged User Status Getting StartedUsing EZWebCon IP Address ConfigurationUsing a Web Browser From the Action menu, select Assign IP AddressEntering ARP and Ping Unix Using ARP and PingUsing the Serial Console Using a DHCP, BOOTP, or Rarp ReplyLogin Password Incoming LoginsIncoming TCP/IP Logins Web Browser Login and ConfigurationEZWebCon Login and Configuration Serial Port LoginsRlogin TelnetIncoming LAT Logins Changing the Login PasswordRemote Console Logins Logout Outbound ConnectionsRebooting the MSS ConfigurationNormal Reboot OverviewTCP/IP Configuration Protocol ConfigurationFactory Defaults Name Server Specifying a Gateway for MSS-VIA and MSS4Supported Mibs IP SecurityConfiguring Snmp IPX NetWare ConfigurationSnmp Trap Support Routing and EncapsulationLoadhost Internal Network NumberService Groups LAT ConfigurationCircuit Timer Server IdentificationTwo-Wire Mode RS-485 Configuration22 Enabling Two-Wire RS-485 Mode for MSS4 Four-Wire ModeTermination TXDriveAutostart Serial Port ConfigurationAccess Mode Serial Data 36 Configuring an Autostart Character for MSS-VIA and MSS4Character Size, Parity, and Stop Bits Baud RateFlow Control Modems and Modem SignalingDSRLogout Signal CheckingModem Control DTRWait LogoutsDedicated Host ConfigurationPreferred Host Region Enabling 802.11 NetworkingMAC Address Extended Service Set ID EssidChannel Network ModeSetting the WEP Key and Index Number Encrypted Traffic Formatting an ATA Flash CardModem Cards Outgoing Calls Incoming CallsSocket Connections Using the MSSIncoming Connections TCP/IP Socket Connections Interactive ConnectionsOutbound Connections Session Control Break Key and Local SwitchBackward, Forward, and Switches Disconnect and Resume Status DisplaysSession Limits ShowSerial Tunnel UDP Configuration TCP ConfigurationEnabling Multihost Mode Multihost ModeRemoving Hosts Modem Emulation ModeAdding Hosts 17. Enabling Modem Mode for MSS100 Modem Mode CommandsCOM Port Redirector Sequential Hostlist ModeWiring Requirements Power-up Problems and Error Messages TroubleshootingPower-up Troubleshooting Bootp Troubleshooting Dhcp TroubleshootingDhcp Troubleshooting Bootp TroubleshootingTftp Troubleshooting Rarp TroubleshootingModem Configuration Checklist Rarp TroubleshootingInit Entering Commands at the Boot PromptChange Bootp Enabled, Disabled Change Hardware Change Dhcp Enabled, DisabledChange Ipaddress ipaddress Change Loadhost ipaddressTechnical Support Europe, Middle East, and Africa Technical SupportMSS VIA Connectors Ethernet ConnectorSerial Connectors PinoutsRS-485 DB9 Connectors MSS4 ConnectorsRS-232 DB9 Connector RS-232 DB9 Connectors MSS100 ConnectorsDB25 Connector DTR Data Terminal Ready Modem WiringDSR Data Signal Ready versus CD Carrier Detect Obtaining Software Updating SoftwareReloading Software Via the Web Via FTPFTP NetWare Troubleshooting Flash ROM UpdatesFlash ROM Troubleshooting MSS User Guide Updating Software Compliance Information Compliance and Warranty InformationWarranty