Application Note. Terminal Server G6



Similar documents
Application Note: Connecting to a 2500 Series Processor using PLC Workshop

Application Note 2. Using the TCPDIAL & TCPPERM Commands to Connect Two TransPort router Serial Interfaces Over TCP/IP.

IP SERIAL DEVICE SERVER

1. MOXA NPort Express TCP/IP to RS-232 server

ETHERNET WEATHER STATION CONNECTIONS Application Note 33

RJ45 Shielded (standard) port pinout. CS9000, Jetstream , Lanstream 2000, RTA8/RJX, RRC16, MTA8/RJX & SXDC8/RJX

Quick Note 32. Using Digi RealPort with a Digi TransPort Router. UK Support September 2012

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

One Port Serial Server Users Manual Model ESP901, ESP901E

To perform Ethernet setup and communication verification, first perform RS232 setup and communication verification:

POS Integration. Prepared by: Binh Nguyen

LAN / WAN Connection Of Instruments with Serial Interface By Using a Terminal Server

3.1 RS-232/422/485 Pinout:PORT1-4(RJ-45) RJ-45 RS-232 RS-422 RS-485 PIN1 TXD PIN2 RXD PIN3 GND PIN4 PIN5 T PIN6 T PIN7 R+ PIN8 R-

Hardware Reference. Linux Device Server IGW/922 with DIL/NetPC ADNP/9200

User Manual Revision English Converter / Adapter Ethernet to RS232 / RS485 (Order Code: HD HD M HD HD M)

RS-232 COMMUNICATIONS

DSA-1000 / PRT-1000 Device Server / Thermal Printer

50-Port 10/100/1000Mbps with 4 Shared SFP. Managed Gigabit Switch WGSW Quick Installation Guide

Cable Pinouts. SRP I/O Module

Connecting and Setting Up Your Laptop Computer

How To Connect A Directsofl To A Powerpoint With An Acd With An Ctel With An Dm-Tel Modem On A Pc Or Ipad Or Ipa (Powerpoint) With A Powerline 2 (Powerline

User s Manual TCP/IP TO RS-232/422/485 CONVERTER. 1.1 Introduction. 1.2 Main features. Dynamic DNS

EMG Ethernet Modbus Gateway User Manual

Communication with BushingGard using computer USB port

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme Alle Rechte vorbehalten

Metasys System Direct Connection and Dial-Up Connection Application Note

USER GUIDE. Ethernet Configuration Guide (Lantronix) P/N: Rev 6

Schneider OS-Loader usage via Ethernet or USB.

MODBUS TCP to RTU/ASCII Gateway. User s Manual

DOORKING SYSTEMS 1830 SERIES NETWORK WORKSHOP LAN APPLICATIONS ACCESS CONTROL SOLUTIONS LOCAL AREA NETWORK (LAN) CONNECTION REV 04.

Liebert IntelliSlot Web Cards

T3 Mux M13 Multiplexer

Using IDENT M System T with Modbus/TCP

SSL (Secure Socket Layer)

USING THE XPERT2 / 9210B ON A TCP/IP NETWORK

Follow these steps to prepare the module and evaluation board for testing.

GSM Interfacing Board

TRP-C31M MODBUS TCP to RTU/ASCII Gateway

Wifi Web Server Module w TF Socket User s Guide

Industrial L2+ Managed Gigabit/ 10 Gigabit Ethernet Switch. IGS-5225 Series. Quick Installation Guide

Iridium Extreme TM Satellite Phone. Data Services Manual

NPort s Ethernet Modem Mode

UPS Network Interface. Quick InstallationGuide

First Steps. Remote Access Gateway IGW/922. with DIL/NetPC ADNP/9200

User Manual. NetCom PRO/WLAN. Edition: April 2012

PePWave Surf Series PePWave Surf Indoor Series: Surf 200, AP 200, AP 400

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

GV-Data Capture V3 Series User's Manual

Why you need to monitor serial communication?

USR-TCP232-T Hard Version: V2.0 Doc Version: V

Ethernet Interface Manual Thermal / Label Printer. Rev Metapace T-1. Metapace T-2 Metapace L-1 Metapace L-2

LevelOne VOI H.323 VoIP Gatekeeper. User Manual

TOSR0X-D. USB/Wireless Timer Relay Module. User Manual. Tinysine 2013 Version 1.0

Setup Manual and Programming Reference. RGA Ethernet Adapter. Stanford Research Systems. Revision 1.05 (11/2010)

HP Security Modules. Software Upgrade Guide. Part number: Document version: 6PW

RN-XV-RD2 Evaluation Board

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

LS-101 LAN to Serial Device server. User s Manual

ezvsp User's Manual ( Version 2.1d ) Sollae Systems Co., Ltd.

USER MANUAL GUIMGR Graphical User Interface Manager for FRM301/FRM401 Media Racks

1.1 Connection Direct COM port connection. 1. Half duplex RS232 spy cable without handshaking

How to deploy console cable to connect WIAS-3200N and PC, to reset setting or check status via console

VPNC Interoperability Profile

FTP Automation Guide

Programming and Using the Courier V.Everything Modem for Remote Operation of DDF6000

The Clavinova-Computer Connection

PRILINK PRI Management System

Securely manage data center and network equipment from anywhere in the world.

Option nv, Gaston Geenslaan 14, B-3001 Leuven Tel Fax Page 1 of 14

FabulaTech Products Advanced Communications Solutions

Making a DB to RJ45 adapter.

Connectors and Cables

SIP Proxy Server. Administrator Installation and Configuration Guide. V2.31b. 09SIPXM.SY2.31b.EN3

Guideline for setting up a functional VPN

Connecting the Console Port to a PC

Software installation and configuration IEC-line series

Configuring the Switch with the CLI Setup Program

Keri USB-A Connection and Configuration

Starting Guide - Poseidon 3265 First steps for remote monitoring with Poseidon & GSM

Pre-lab and In-class Laboratory Exercise 10 (L10)

IP Serial Server. User Manual

1 Serial RS232 to Ethernet Adapter Installation Guide

PortShare Software Quick Start Guide. PortShare

OpenCPN Garmin Radar Plugin

Encore Controller to Router Connections

Data Bulletin. Communications Wiring for POWERLINK G3 Systems Class 1210 ABOUT THIS BULLETIN APPLICATION INTRODUCTION.

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

Ethernet 241 (USB/Serial) Quick Start Guide

Applicazioni Telematiche

NPort DE-311 Hardware Installation Guide

Cisco Expressway CE500 Appliance

Ethernet Radio Configuration Guide

Interfacing Basler GigE Cameras With Cognex VisionPro 7.2

Cabling Guide for Console and AUX Ports

Prestige 314 Read Me First

Installation and operation manual

SEC 4100 SYSTEM MONITOR Programmable Serial Interface Card Series 2

isco Connecting Routers Back to Back Through the AUX P

Quick Start Guide. Quick Start Guide. taskit GmbH. for Portux920T EU / SW Portux Mini-PC Portux Panel-PC Panel-Card MoLUX Stamp

Transcription:

MICROSENS GmbH & Co. KG Küferstr. 16 59067 Hamm/Germany Tel. +49 2381 9452-0 FAX +49 2381 9452-100 E-Mail info@microsens.de Web www.microsens.de

Summary As of firmware version v10.6 MICROSENS Generation 6 (G6) switches will comprise of an internal terminal server functionality. This feature expands G6 switches with the ability to integrate single serial devices into LAN infrastructures. With a G6 switch operating in server, client or virtual COM port mode it is possible to realize a wide variety of applications for converting LAN communication into serial data communication and vice versa. This application note illustrates the configuration of MICROSENS switches as terminal server with documented examples. - 2 -

Table of Contents SUMMARY... 2 TABLE OF CONTENTS... 3 1 INTRODUCTION... 4 1.1 Operation Modes... 4 1.2 Connector Pinouts... 4 2 SERVER MODE... 5 2.1 Scenario... 5 2.2 Configuration... 5 2.2.1 Web Manager... 5 2.2.2 CLI Commands... 6 3 CLIENT MODE... 7 3.1 Scenario... 7 3.2 Configuration... 7 3.2.1 Web Manager... 7 3.2.2 CLI Commands... 8 4 COM PORT MODE... 9 4.1 Scenario... 9 4.2 Configuration... 9 4.2.1 Web Manager... 9 4.2.2 CLI Commands...10 4.3 COM Port Driver...11 5 CONFIGURATION OF PUTTY... 12 DISCLAIMER... 13 Graphical Conventions Graphical Element Explanation Work step(s) in the Web Manager (GUI) Work step(s) in the Command Line Interface (CLI) - 3 -

1 Introduction A terminal server basically works as a converter for conveying data from the switches serial port (RS-232 standard) to its LAN port (using the Telnet protocol, RFC 854) and vice versa. Thus it is possible to integrate serial devices (like scanners, printers, sensors etc.) into LAN infrastructures. For this reason this functionality is called "device server" as well. 1.1 Operation Modes There are three operation modes possible: Server mode: For transferring data from a LAN participant (e. g. a PC) to a serial port device (e. g. a printer with RS-232 port) the switch operates in server mode. Besides, this mode is used for accessing a serial device with a console line interface over LAN (e. g. with PuTTY on a PC). Client mode: For tunneling data from a serial port device to another over LAN one switch has to operate in server mode, the remote switch has to operate in client mode. COM port emulation mode: In special environments it could be necessary to emulate a serial port on a physical IP port of a serial tunneling partner (i. e. for lack of a physical serial port). To process those special serial data packets wrapped in IP packets the MICROSENS switch has to operate in COM port mode. For every serial device to be attached to the LAN a respective switch is needed. For a switch it is not possible to connect more than one serial device directly to its serial port. 1.2 Connector Pinouts Depending on the MICROSENS Switch model the serial port is accessible through a mini- USB connector (i. e. MICROSENS G6 Micro Switch) or an RJ-45 connector (i. e. MICROSENS G6 Industrial Switch). To connect a serial device directly to the serial port of the respective switch it is necessary to use a RS-232 null-modem interface or a cable with cross-over pinout. G6 Micro Switch (microusb) G6 Industrial Switch (RJ-45) Pin Signal Pin Signal 1 n.n. 1 n.n. 2 TXD 2 DC+ 3 RXD 3 TXD 4 DC+ 4 GND 5 GND 5 GND 6 RXD 7 n.n. 8 n.n. Table 1: Connector Pinouts - 4 -

2 Server Mode 2.1 Scenario For accessing a serial device (e. g. printer, controller etc.) over LAN using a TCP/IP socket application the serial device has to be connected directly to the switches serial port over a null modem connection (i. e. cross over cable). Configured as device server in server mode the switch listens to incoming serial communication data on its Ethernet port and transmits it to its serial port. After the connection is established both the serial device and the PC can exchange further serial data. 2.2 Configuration Figure 1: Server Mode Scenario 2.2.1 Web Manager Take the following steps to configure the switch for server mode using the Web Manager: Open the Web Manager. Select the System screen, then select the tab Reboot & System. In the section System Configuration select the entry "Terminal Server" in the drop-down list for Serial Port to activate the terminal server. Changing the mode from terminal server to any other value during serial operation will stop the terminal server. Select the Misc screen, then select the tab Terminal Server. For Mode select "Server" from the drop-down list. For TCP Port enter the respective port. The default value is "1000". This port number has to correspondent to the respective application setting on the LAN device (i. e. PuTTY). For Data Rate select the respective rate from the drop-down list. Please refer to the serial devices documentation to determine its baud rate. - 5 -

2.2.2 CLI Commands Take the following steps to configure the switch for server mode using the command line interface: Enable the switches serial port for terminal server use: Device.System.serial_port = TERMINAL_SERVER Changing the mode from terminal server to any other value during serial operation will stop the terminal server. For configuring the terminal server parameters change to path Management.Misc.terminal_server_config Configure the parameters as follows: Management.Misc.terminal_server_config.mode = SERVER Management.Misc.terminal_server_config.tcp_port = <serial device TCP port> The default value is "1000". This port number has to correspondent to the respective application setting on the LAN device (i. e. PuTTY). Management.Misc.terminal_server_config.data_rate = <serial device baud rate> Please refer to the serial devices documentation to determine its baud rate. For more information about configuring all serial parameters with CLI please refer to the "MICROSENS Product Manual FW G6", chapter "Misc Function" available from the Web Manager. Now it is possible to access the serial device with every TCP based client like Telnet or Rlogin (command line) or PuTTY (GUI based). For more information about configuring PuTTY for connecting the switch refer to section 5. - 6 -

3 Client Mode 3.1 Scenario For connecting two serial devices over LAN one switch has to be configured in server mode while another switch has to be configured in client mode. Both switches communicate over LAN with each other. Because the serial devices seem to communicate over LAN this concept is called "serial tunneling" as well. Figure 2: Client Mode Scenario 3.2 Configuration For configuring the server mode please refer to the server mode example in section 2.2. 3.2.1 Web Manager Take the following steps to configure the switch for client mode using the Web Manager: Open the Web Manager. Select the System screen, then select the tab Reboot & System. In the section System Configuration select the entry "Terminal Server" in the drop-down list for Serial Port to activate the terminal server. Changing the mode from terminal server to any other value during serial operation will stop the terminal server. Select the Misc screen, then select the tab Terminal Server. For Mode select "Client" from the drop-down list. For Remote IP of the associated remote partner enter the respective IP address. For Data Rate select the respective rate from the drop-down list. Please refer to the serial devices documentation to determine its baud rate. - 7 -

3.2.2 CLI Commands Take the following steps to configure the switch for client mode using the command line interface: Enable the switches serial port for terminal server use: Device.System.serial_port = TERMINAL_SERVER Changing the mode from terminal server to any other value during serial operation will stop the terminal server. For configuring the terminal server parameters change to path Management.Misc.terminal_server_config Configure the parameters as follows: Management.Misc.terminal_server_config.mode = CLIENT Management.Misc.terminal_server_config.remote_ip = <IP address of switch working in server mode> Management.Misc.terminal_server_config.data_rate = <serial device baud rate> Please refer to the serial devices documentation to determine its baud rate. For more information about configuring all serial parameters with CLI please refer to the "MICROSENS Product Manual FW G6", chapter "Misc Function" available from the Web Manager. Now it is possible to access the serial device with every TCP based client like Telnet or Rlogin (command line) or PuTTY (GUI based). For more information about configuring PuTTY for connecting the switch refer to section 5. - 8 -

4 COM Port Mode 4.1 Scenario If a serial tunneling partner doesn't have a physical serial interface (e. g. an application in need of a serial port used on a modern PC), it is possible to emulate a virtual serial port on an IP port on this device. A special COM port driver maps the IP port of the PC to a virtual COM port emulating a serial connection. The driver envelops the serial data into IP packets and sends them through the devices physical IP interface. To cope with these IP packets by unpacking and forwarding the inside serial data packets to the serial port the switch has to operate in COM port mode. In COM port mode the switch acts as TCP client because most COM port emulators run a TCP server. 4.2 Configuration Figure 3: COM Port Mode Scenario 4.2.1 Web Manager Take the following steps to configure the switch for COM port mode using the Web Manager: Open the Web Manager. Select the System screen, then select the tab Reboot & System. In the section System Configuration select the entry "Terminal Server" in the drop-down list for Serial Port to activate the terminal server. Changing the mode from terminal server to any other value during serial operation will stop the terminal server. Select the Misc screen, then select the tab Terminal Server. For Mode select "COM Port" from the drop-down list. - 9 -

For TCP Port enter the respective port. The default value is "1000". This port number has to correspondent to the respective application setting on the LAN device (i. e. PuTTY). Leaving it as default value probably won't work because this is not a standardized default value for virtual COM ports. For Data Rate select the respective rate from the drop-down list. Please refer to the serial devices documentation to determine its baud rate. 4.2.2 CLI Commands Take the following steps to configure the switch for COM port mode using the command line interface: Enable the switches serial port for terminal server use: Device.System.serial_port = TERMINAL_SERVER Changing the mode from terminal server to any other value during serial operation will stop the terminal server. For configuring the terminal server parameters change to path Management.Misc.terminal_server_config Configure the parameters as follows: Management.Misc.terminal_server_config.mode = COM_PORT Management.Misc.terminal_server_config.tcp_port = <serial device TCP port> The default value is "1000". This port number has to correspondent to the respective application setting on the LAN device. Leaving it as default value probably won't work because this is not a standardized default value for virtual COM ports. Management.Misc.terminal_server_config.data_rate = <serial device baud rate> Please refer to the serial devices documentation to determine its baud rate. For more information about configuring all serial parameters with CLI please refer to the "MICROSENS Product Manual FW G6", chapter "Misc Function" available from the Web Manager. - 10 -

4.3 COM Port Driver There are lots of possible applications for creating virtual serial ports, either open source, shareware or commercial. For the correct installation and configuration of these applications please refer to the respective user documentation. Some hardware manufacturers offer a proprietary COM port emulating software with their products. Normally these applications work with every other device too. Bear in mind that sometimes it could be necessary to disable special software features which are used to optimize the applications interaction with the manufacturers hardware. - 11 -

5 Configuration of PuTTY Take the following steps to configure PuTTY for communicating with the serial device that is attached to the MICROSENS switch in server mode. 1. Open PuTTY on your PC. 2. Open the Session dialog, enable Telnet and enter the switches IP address and the TCP port used for serial communcation. Figure 4: PuTTY Session Dialog 3. Open to the Terminal dialog and in the section Line discipline options change the setting to "Force off" for both local echo and local line editing. Figure 5: PuTTY Terminal Dialog 4. Click Open to start connecting the serial device. - 12 -

- 13 -

Disclaimer All information in this document is provided as is and subject to change without notice. MICROSENS GmbH & Co. KG disclaims any liability for the correctness, completeness or quality of the information provided, fitness for a particular purpose or consecutive damage. Any product names mentioned herein may be trademarks and/or registered trademarks of their respective companies 2015 MICROSENS GmbH & Co. KG, Küferstr. 16, 59067 Hamm, Germany. All rights reserved. This document in whole or in part may not be duplicated, reproduced, stored or retransmitted without prior written permission of MICROSENS GmbH & Co. KG. Document ID: AN-15003_2015-11-12-14 -