Page 1
Longshine Technologie Europe GmbH LCS-C844 Device Server www.longshine.de...
Page 2
RS-232/422/485 to 10/100Base-TX Device Server User’s Manual...
Page 3
COPYRIGHT All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, whether electronic, mechanical, photo copying, recording or otherwise, without the prior written permission of the publisher. FCC WARNING This equipment has been tested and found to comply with the limits for class A device, pursuant to part 15 of FCC rules.
Table of Contents 1 Introduction .............1 About This Guide ..........1 Features..............2 Specifications............3 Package Contents ..........5 2 Hardware Description..........6 Product Overview..........6 Product Illustrations ..........7 3 Installation ...............8 Location ..............9 Wall Mount Installation........10 Din Rail Mount Installation ........10 Powering On Unit..........12 Connecting Copper Cable ........13 DB9 Male Connector Pin Assignments ....14 Serial Connection ..........15 Definition of DIP Switches ........15...
Page 5
Monitor Menu ............29 TFTP Firmware Upgrade Menu ......30 SNMP Configuration Menu .........31 System Restart Menu .........33 Command Line Interface ........35 Command Definitions .........35 Web Browser Interface ........37 Appendix A ...............46 Serial IP Redirector..........46...
1 Introduction About This Guide Welcome Thank you for selecting the RS-232/422/485 to 10/100Base-TX Device Server. This unit is designed to provide a RS-232/422/485 connection over twisted- pair cable where the connected devices have RS- 232/422/485 interfaces. Enabling serial devices such as CNCs and PLCs to instantly connect to an existing Ethernet/ Fast Ethernet network, the Serial-to- Ethernet Device Server represents a robust solution...
Features • Complies with EIA/TIA and IEEE standards • Supports 4 wires full duplex asynchronous serial data transmission (RS-422/485) • Supports 2 wires half-duplex asynchronous serial data transmission (RS-485) • Supports serial port asynchronous data rates up to 115.2 Kbps •...
Package Contents The package should include the following: • One RS-232/422/485 to 10/100 Base-TX Device Server unit • One power adapter (please check connector type and input power specification) • Four self-adhesive pads • DIN Rail Kit • Screws for wall-mount installation •...
2 Hardware Description Product Overview The Device Server features complete Ethernet and TCP/IP network support that allows devices in industry with RS-232/422/485 connectors such as milling machines, measurement instruments, and robots to connect to LAN based automation. Other devices typically found on campus networks such as card readers, code readers, lab equipment, medical equipment, and other similar serial devices can now instantly migrate to a TCP/IP network.
3 Installation To install your Device Server, please see the following procedures: • Location • Desktop Installation • Powering On Unit • Connecting Copper Cables • DB9 Male Connector Pin Assignment • Serial Connection • Ethernet Connection...
Location The location selected for installing the Device Server may greatly affect its performance. When selecting a site, we recommend considering the following rules: 1. Install the Device Server in a fairly cool and dry place. See Technical Specifications for the acceptable temperature and humidity operating ranges.
Wall Mount Installation The Device Server can also be installed by wall mounting. The backside casing provides space for two screws each side. Identify the exact location at wall by placing the Device Server and marking the screw positions. Use the screw (include in the package) and snug them well to fix the Device Server.
Page 16
• The surface must support at least 500 gm for the Device Server. • The power outlet should be within 1.82 meters (6 feet) of the Device Server. • Visually inspect the power adapter and make sure that it is properly connected. Make sure that there is proper heat dissipation from and adequate ventilation around the Device Server.
Powering On Unit The Device server uses external power supply 9~32V DC @ 0.8A 50~60 Hz. 1. Insert the power cable plug directly into the receptacle located at the back of the device. 2. Plug the power adapter into an available socket. 3.
Connecting Copper Cable The 10/100BASE-TX RJ-45 Ethernet port fully supports auto-sensing and auto-negotiation. 1. Insert one end of Category 5 twisted pair cable into an available RJ-45 port on the Device Server and the other end into the port of the network node.
Serial Connection This Device Server features DIP switches on the rear panel that sets the unit to the correct type of cable configuration to support connection with a RS-232 / 422 / 485 device. Definition of DIP Switches Dip description Default ON: Console / OFF: Data RS-232...
Page 21
Always use Cross Over cable, if using Straight Through, you must use “Null Modem” to use Telnet option.
4 LED Indicators This Device has LED indicators located at the front of the device. The LEDs have been designed to give easy at-a-glance network status, and provides ‘real- time’ connectivity information. Please see below for an interpretation of their functions: LED Indicators Condition Status...
Configuration There are two separate methods for configuring this Device Server for use. In the first section of this chapter, the Command line Interface (CLI) or Menu- driven interface via the Console Port to set the device IP and TCP configuration to monitor/managed the attached serial device via Serial IP Redirector software.
Page 24
window will appear, assign the connection name. Then select the correct available COM port (COM1 or COM2). After this enter the port settings as below. Bits per seconds: 38400 Data bits: 8 Parity: None Stop bits: 1 Flow Control: None 3.
Page 25
The Device Server is preset with a factory IP address (192.168.0.254) that must be configured to the user’s individual IP address. It is important to do this so that the device server doesn’t conflict with other devices with the same defaults. NOTE: Prior to following the instructions for HyperTerminal Configuration, ensure that a serial cable connection between the device server...
<Enter> to change the value. Once change the value, select <SAVE> to apply the changes. After entering the new IP address. The system will confirm whether the operation is successful. NOTE: Copy the new address down on a piece of paper. You will need the address when you are going to use Telnet or set up data transfer/communication connection.
Enter user name and password as mentioned and shown in the topic Console Port Access. Use CLI or Menu-driven interface to perform the changes. NOTE: The only limitation of Telnet Access is that users can not assign new IP address to device server. Please use Console Port Access or Web Access to assign new IP address.
Page 28
After successful login, select the System Info. option and following window will appear. Edit the required parameter and press Apply to save.
Management Via Menu-Driven (Console Port & Telnet) The figure below shows the Main Menu screen. From this screen the configuration options available provide the user to quickly access and adjust the device server settings as required. Main Menu Screen Use TAB key to move the cursor to different fields and press Enter to select/edit the option.
System Information Menu From this menu, the user can view some system related information and default IP address. The user should set up appropriate IP address, subnet mask and Gateway for his own network. After entering a new IP address, Telnet and data communication will be based on the ‘new’...
DHCP Configuration Menu DHCP(Dynamic Host Configuration Protocol) allows the Device Server to obtain an IP address from DHCP server automatically. NOTE: A DHCP server must exist and be available in your local network prior to enabling the DHCP client. DHCP Configuration menu Use Spacebar to enable the DHCP Client settings.
Page 32
transfer mode option for the Device Server, move the DIP Switch 1 to OFF position. You can assign the TCP port number to monitor and access the serial device via device server over the network/Internet from a workstation using Serial IP Redirector software.
Page 33
Warning Changes to the settings are saved to a system flash memory and do NOT take effect until a system reset or reboot has occurred. This action validates the new settings.
TFTP Firmware Upgrade Menu From this menu, the user can upgrade the existing firmware to newer firmware available from a TFTP server. Simply enter the file name of the updated firmware in the file name field and enter the IP address of the TFTP server in the IP address field to perform the upgrade.
SNMP Configuration Menu Use the SNMP Configuration screen to display and modify parameters Simple Network Management Protocol (SNMP). The Device Server includes an onboard SNMP agent that monitors the status of its hardware as well as the traffic passing through its ports. A computer attached to the network, called a Network Management Station (NMS), can be used to access this information.
Page 37
Use the <Tab> and <Enter> keys as previously. Enter the IP address of computers for when abnormalities on a connection occur and an alarm to be sent. Enter their community names and disable or enable their alarm function accordingly. See descriptions below: Parameter Description Index...
System Restart Menu This menu allows users to restore the factory default setting for the Device Server and/or to reset the system manually. Selecting this option will lead to another window with the following two options to select. System Restart Menu Restore Factory Default Settings Selecting this option will lead to restore factory default settings to the device server.
Page 39
device server. Highlight the System Restart field and hit the <ENTER> key to reset the unit. Warning After each configuration session, be sure to set DIP switch 1 to the ‘OFF’ position. Otherwise, the device server will not transmit any data.
Command Line Interface Once you logged in and select the option of Command Line Interface, a window with command prompt will appear. Type ? or help and it will show you the command list. Command List Command Definitions backup: Use this command to save configuration settings to file.
Page 41
ping: Type ping followed by a space, and then the IP address of the device to send a test signal. If a response is received, then the device is connected. To view a full list of ping options, type ping and press ENTER. reset: Type reset config and press ENTER to load factory default settings, or type reset...
set idle - (time in seconds) – set automatic logout. when the program or communication is idle set xfer - the command is for RS-232 configuration data communication setting. command syntax is as below. set xfer [arg_1 data_1] [arg_2 data_2] ... [arg_n data_n] [Argument List] Port...
Page 43
Please see the topic “Web Access” in previous chapter to log-in the Device Server via web browser. Once you logged in the following main screen will appear. System Details This category has two options of System Info and Master Info. System information is as shown above, will show IP Address, Subnet Mask and Gateway...
Page 44
settings. After editing the setting press Apply to implement the settings. Master Info will show the hardware and firmware version. Configuration: User can monitor the serial port status and configure TCP port number from this menu. Serial Port Config. window will show you the serial port configuration and allow to assign the TCP port number to operate via Serial IP Redirector software.
Page 45
In case you are using a serial device with 2-wire RS- 485 application or Modbus RTU protocol, do not forget to “Enable” Packet mode of serial input. Also put appropriate inter-packet timeout value to allow the smooth data communication. Serial Connect Status will show the serial port connection to the serial device.
Page 46
Byte Counts to Network: Displaying the number of bytes received to TCP/IP network. Byte Counts From Network: Displaying the number of bytes transmitted from Network. Byte Counts to UART: Displaying the number of bytes received to serial device. Mgmt. Configuration This category offers multiple management options.
Page 47
Firmware Download The user can download the newer/latest firmware to upgrade the device server once available. The user has two options, either they can upgrade via HTTP with browse option to select the firmware file. If using TFTP method, user must provide the valid IP address of TFTP server and the file name, i.e.
Page 48
Station to use the same community string. This management method, in fact, uses two community strings: the Get community string and the Set community string. If the SNMP Network Management Station only knows the Set community string, it can read and write to the MIBs. However, if it only knows the Get community string, it can only read MIBs.
Page 49
Click on each parameter field to modify the desired setting, then click on Undo to restore previously saved configurations or click on Save to retain newly entered information. See descriptions below: Parameter Description Enter the IP address of terminals for when abnormalities on a connection occur and an IP Address alarm to be sent.
Page 50
Clicking on the Restore button will set the device server back to factory defaults. All saved configurations will be lost.
Appendix A Serial IP Redirector Install the Serial IP Redirector software from CD-Rom. Once it’s installed, you can read the “documentation” to get assistance related to Serial IP Redirector. The documentation will be installed to your PC with the software. The serial IP icon can be found at the right corner of system tray.
Page 52
Click on Select Ports option to configure the Virtual COM ports. You can select up to 256 virtual COM ports. COM1 and COM2 are normally physical ports, so will not appear here. The selected ports will be shown on the left top corner of the Configure screen. Selecting the “Connect to server”...
Page 53
On the following screen, press button. If the link is function well, the following screen will appear. If the link has trouble, the error message will appear. To solve the problem, please check the following: a) Whether IP address and Port numbers are correct.
Page 54
b) DIP Switch 1 is at OFF position for data transfer mode. c) DIP Switch 2, 3 and 4 are correctly selected as per the serial device attached. Once the link is established, you can manage the serial device attached to the device server from remote workstation installed Serial IP Redirector software.