RS-232/422/485 to 100Base-FX Device Server User’s Manual
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.................................................
Monitor Menu ......................................................30 TFTP Firmware Upgrade Menu ..........................31 SNMP Configuration Menu .................................32 System Restart Menu .........................................34 Command Line Interface ....................................36 Command Definitions .........................................36 Web Browser Interface .......................................38 Appendix A .............................................................
1 Introduction About This Guide Welcome Thank you for selecting the RS-232/422/485 to 100Base-FX Device Server. This unit is designed to provide a RS-232/422/485 connection over twistedpair cable where the connected devices have RS232/422/485 interfaces. Enabling serial devices such as CNCs and PLCs to instantly connect to an existing Ethernet/ Fast Ethernet network, the Serial-toEthernet Device Server represents a robust solution for devices controllers for MIS personnel.
Features • • • • • • • • • • • Complies with EIA/TIA and IEEE standards 100Mbps Fast Ethernet fiber port 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 Extended distances up to 1.
Specifications Standards: IEEE 802.3 (10BASE-T Ethernet); IEEE 802.3u (100BASE-FX/ Fast Ethernet); EIA/TIA RS-232/422/485; EIA/TIA-574 Ports: 1x Fiber; Single Mode / Multi-Mode 1x 9-pin serial connector; D-sub, Male Max. Distance: Fiber: Up to 120,000 meters Serial: 15 meters (RS-232) 1,200 meters (RS-422, RS-485) Data Rates: Fiber: 100 Mbps Serial: 115.
Switches: DIP 1: Enables / disables console / data communication mode DIP 2: Enables / disables RS-232 DIP 3: Enables / disables RS- 422/485 (4-wire) DIP 4: Enables / disables RS-485 (2-wire) DIP 5: N/A DIP 5: N/A DIP 7: Enables / disables termination (TMR) Power: External power adapter; 9~32V DC @ 800mA Frequency: 47Hz to 63Hz Environment: Temperature: Operating: 0°C to 50°C Relative Humidity: 10% to 80%, non-condensing Storage: -20°C to 80°C Relative Humidity: 5% to 90%, non-condensing Emissions: FCC Pa
Package Contents The package should include the following: • • • • • • • One RS-232/422/485 to 100Base-FX 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 User’s Manual CD Serial IP Redirector software CD 5
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.
Product Illustrations Fiber RS-232/422/485 Serial Port LEDs F DIP Switches Power LED Power Connector Rear 7
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 8
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. 2. Install the Device Server in a location free from strong electromagnetic field generators (such as motors), vibration, dust, and direct exposure to sunlight. 3.
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. Din Rail Mount Installation The aluminum DIN Rail attachment plate should already be affixed to the back panel of the Device Server.
• • • 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. Do not place heavy objects on the Device Server. Warning Please exercise caution when using power tools.
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. Check the rear-panel LEDs as the device is powered on to verify that the Power LED is lit. If not, check that the power cable is correctly and securely plugged in. Note: For International use, you may need to change the AC power adapter cord.
Connecting Fiber Cable When connecting fiber cable to a 100BASE-FX port on the Device Server, be sure the correct type – ST, SC, or WDM - connector is used. Follow the steps below to properly connect fiber cable: 1. Remove and keep the ST/SC/WDM port's rubber cover. When not connected to a fiber cable, the rubber cover should be replaced to protect the optics. 2. Check that the fiber terminators are clean.
4. Check the corresponding port LED on the Device Server to be sure that the connection is valid. (Refer to the LED chart in next section) Warning Because invisible laser radiation may be emitted from the aperture of the fiber port when no cable is connected, avoid exposure to laser radiation and do not stare into the open apertures.
DB9 Male Connector Pin Assignments RS-422/485 4-wire (Fullduplex) PIN RS-232 (Fullduplex) 1 DCD 2 RX RX- 3 TX TX- 4 DTR 5 GND 6 DSR 7 RTS RX+ 8 CTS TX+ 9 RI RS-485 2-wire (Halfduplex) Signal Direction OUT **DATA B(-) IN OUT IN GND GND -OUT **DATA A(+) IN OUT IN NOTE: Bi-directional RS-485 BUS line.
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.
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 ‘realtime’ connectivity information.
5 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 Menudriven 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. The second section will describe CLI or Menu-driven via Telnet configuration.
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. Once connection is established, you will see a log in screen. 4. Press ENTER and on the following screen, type the default username admin, leave the password field blank since there is no default value and press ENTER to proceed. 5.
key or using the TAB key and pressing ENTER. A relevant Main Menu screen appears. 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 and workstation exists.
will appear. Use TAB key to move the cursor and to change the value. Once change the value, select 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.
Telnet Access The Device Server is accessible via a Telnet. At the command prompt type telnet 192.168.0.254 (If connecting with default IP). You will be prompted to 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.
(Note: We use IP 192.168.0.200 to write this manual) After successful login, select the System Info. option and following window will appear. Edit the required parameter and press Apply to save.
6 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’ address. System Information menu Once changes are made, move the cursor to by using TAB key and press Enter to save the settings. Change of IP will lead to restart the Device Server.
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. Select to apply the settings and to move to the previous menu.
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. (The TCP port number can be of any number from 1024 to 65535). RS-232/422/485 Transfer Configuration In case you are using a serial device with 2-wire RS485 application or Modbus RTU protocol, do not forget to “Enable” Packet mode of serial input.
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.
Monitor Menu This screen provides at-a-glance system status information.
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. Selecting will start downloading the newer firmware and system will restart to apply the firmware.
SNMP Configuration Menu Use the SNMP Configuration screen to display and modify parameters for the 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. Community strings control access rights to the agent module.
Use the and 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 Number assigned to each trap Status Disable or enable their alarm function accordingly IP Address Enter the IP address of computers for when abnormalities on a connection occur and an alarm to be sent.
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. Highlight the field and hit the key to execute.
device server. Highlight the System Restart field and hit the 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. exit: Type exit or logout and press ENTER to quit the program. help: To access help commands list. logout: To logout from the device server.
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 system and press ENTER to restart the system. show: Type show to display variety of device server settings.
set idle - (time in seconds) – set automatic logout. when the program or communication is idle set xfer - the command is for RS-232 configuration and data communication setting. The command syntax is as below. set xfer [arg_1 data_1] [arg_2 data_2] ... [arg_n data_n] [Argument List] Port........... Set TCP port number statistics..... Clear statistics upgrade - Use this command to upgrade the firmware. i.e upgrade firmware xxx.xxx.xxx.xxx Soft2.
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.
b) 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. a) 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.
In case you are using a serial device with 2-wire RS485 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. b) Serial Connect Status will show the serial port connection to the serial device. User can get the instant information about the connectivity.
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. User Config. This option will allow user to change the “username” and “user password” for the device server management. Type the new user name in the “User Name” and password to “User Password”.
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. VK413.bin. Once enter the parameters press “Start Upgrade by HTTP / TFTP” to upgrade the firmware.
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. The default Get and Set community strings for the Device Server are public and private respectively.
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 IP Address Description Enter the IP address of terminals for when abnormalities on a connection occur and an alarm to be sent.
System Restart Menu Users can restart/reset the system via software from a remote location. Restart Options 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. Right click the icon and select Configure, the following window will appear.
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” will allow you to enter IP address and port number. Enter the correct IP address and port number assigned to the Device Server.
button. If the On the following screen, press 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.
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. From the Serial IP “Port Monitor” option, you can see the connectivity status and IP address of the device server.
51
52