CTC Union STE-10 Скачать руководство пользователя страница 32

Chapter 2: Application Examples

28

This page left blank intentionally.

Содержание STE-10

Страница 1: ...OPERATIONMANUAL ...

Страница 2: ......

Страница 3: ...ode 9 1 6 Telnet IAC Data Server Mode 16 1 7 Terminal Server Mode 17 1 8 Auto Connect After Power Up Mode 20 CHAPTER 2 2 0 Application Examples 23 2 1 Raw Data Server Application 23 2 2 Terminal Server Application 24 2 3 Auto Connect Application 26 APPENDIX A 1 RS 232 Port Pin Definition 29 A 2 RJ 45 Ethernet Pin Definition 29 A 3 Null Modem Cable Pinout 30 ...

Страница 4: ...Table of Contents ii This page left blank intentionally ...

Страница 5: ...AN Configuration may be performed either via the DB25 pin RS 232 port with an ASCII terminal or via Telnet and Ethernet connection on the RJ 45 LAN port The serial port is DTE which allows direct connection to DCE equipment such as Modems For connection to other DTE equipment such as a PC or terminal a NULL Modem or crossover cable is required One is provided with the unit 1 1 Features Low cost co...

Страница 6: ...M connector Baud rates 1200 2400 4800 9600 19200 38400 57600 115200 230400 or 460800 Data length 5 6 7 or 8 bits Parity None Odd or Even Stop bits 1 or 2 bits Handshaking None RTS CTS or Xon Xoff Software Flash ROM Boot without network host provision for easy software upgrades Protocols TCP IP ARP ICMP protocols Functions Telnet Reverse Telnet Configuration Telnet or ASCII terminal direct or via D...

Страница 7: ...peration 3 Ethernet connection straight cable to HUB crossover cable to NIC Ethernet activity indicator LED Connect to AC Adapter Power indicator LED RS 232 activity LED indicators RS 232 Async Port D type 25 pin Male Config Switch ...

Страница 8: ...ETUP and apply power If a serial terminal is not available a PC with Windows may be used along with the HyperTerminal program To start and configure HyperTerminal follow these simple steps Using your mouse browse to HyperTerminal Start Programs Accessories Communications HyperTerminal Double click the Hypertrm exe icon Enter a name such as STE 10 and choose an icon for the connection When the Conn...

Страница 9: ...ing under HyperTerminal An initial message like the one below will be displayed while the port checks whether it is connected to a modem followed by the main configuration menu display CHECKING MODEM ABOUT 10 SECOND CHECKING MODEM ABOUT 10 SECOND AT C1V1 AT C1V1 ...

Страница 10: ...nal mode Select option a Device Settings DEVICE SETTINGS DEVICE SETTINGS a DEVICE IP ADDRESS a DEVICE IP ADDRESS 192 168 2 1 192 168 2 1 b DEVICE SUBNET MASK b DEVICE SUBNET MASK 255 255 255 0 255 255 255 0 c DEVICE NAME c DEVICE NAME STE 10 STE 10 d DEVICE PASSWORD d DEVICE PASSWORD e MODE SETTINGS e MODE SETTINGS RAW SERVER RAW SERVER f GATEWAY ADDRESS f GATEWAY ADDRESS 0 0 0 0 0 0 0 0 g LOAD DE...

Страница 11: ...STE 10 d Sets a device password to secure access to the configuration screen from both a telnet host and a serial login There is no password set from the factory e Selects the mode of operation of the STE 10 This will be explained in detail later f Sets the Gateway IP to access hosts not in the local domain If your network has Internet Access this IP will be your IP router s address Please check w...

Страница 12: ...n 8 1 4 Configuration with Telnet Once the STE 10 has a valid IP address on your network configuration may also be accomplished by opening a telnet connection to the STE 10 The same entries apply as with configuration via the serial port ...

Страница 13: ...e to connect a Telnet device to communicate to a serial port of a host computer replacing a traditional serial terminal This example shows configuration via terminal on the RS 232 port of the STE 10 From the Device Settings menu select e MODE SETTINGS MODE SETTINGS a RAW DATA SERVER MODE a RAW DATA SERVER MODE b TELNET IAC DATA SERVER MODE b TELNET IAC DATA SERVER MODE c TERMINAL SERVER MODE c TER...

Страница 14: ...IAL PORT PROTOCOL q PREVIOUS MENU q PREVIOUS MENU SELECT SELECT The SERVER PARAMETER PORT SETTINGS page provides configuration parameters to set the TCP port number that you wish to assign to the serial port and the characteristics of the serial port A normal Telnet connection will connect to TCP port number 23 This is the method for configuration of the STE 10 via Ethernet By default the TCP port...

Страница 15: ...00 e 19200 e 19200 f 38400 f 38400 g 57600 g 57600 h 115200 h 115200 i 230400 i 230400 j 460800 j 460800 SELECT SELECT Set the communication speed parameter to suit your requirements Continue to set the remaining communication parameters The data length may be set to 5 6 7 or 8 bits Parity may be set to even odd or none The stop bits may be set to 1 or 2 bits ...

Страница 16: ...NLY WHEN DSR ON DISABLED DISABLED q PREVIOUS MENU q PREVIOUS MENU SELECT SELECT From the SERIAL PORT PROTOCOL menu select a FLOW CONTROL FLOW CONTROL a NONE a NONE b RTS CTS b RTS CTS c XON XOFF c XON XOFF SELECT SELECT Select between RTS CTS and Xon Xoff handshaking or none Then from the SERIAL PORT PROTOCOL menu select b RECEIVE DATA ONLY WHEN DSR ON RECEIVE DATA ONLY WHEN DSR ON a DISABLE a DIS...

Страница 17: ... EEPROM DATA UPDATE EEPROM DATA STEP 1 PREPARE DATA STEP 1 PREPARE DATA SUCCESS SUCCESS STEP 2 FLASH STEP 2 FLASH ERASE ERASE SUCCESS SUCCESS STEP 3 WRITE EEPROM DATA TO SERVER STEP 3 WRITE EEPROM DATA TO SERVER SUCCESS PRESS ANY KEY SUCCESS PRESS ANY KEY Press any key to return to the main menu set the switch to Normal mode and reboot power off on You can now establish a TCP connection to the ass...

Страница 18: ...Telnet window select Connect Remote System a dialogue box will appear Set the IP address and Port number Refer to the example below After entering the IP address and Port number click the Connect button The Telnet terminal will now connect to the serial port and display just as if it were a serial terminal If the serial device is a data acquisition device a host may access the device with a Telnet...

Страница 19: ...s socket number This may be a typical UNIX session or a Winsock application for Microsoft Windows NT or 98 95 host The host session is then connected to the serial port of the STE 10 In RAW mode the path is a clean 8 bit data path In IAC mode Telnet IAC interpretation is negotiated between the STE 10 and the host ...

Страница 20: ...he mode setting menu Select q Previous Menu to return to the Device Settings menu Select h Apply and Save Settings The following screen will advise you of successful completion UPDATE EEPROM DATA UPDATE EEPROM DATA STEP 1 PREPARE DATA STEP 1 PREPARE DATA SUCCESS SUCCESS STEP 2 FLASH STEP 2 FLASH ERASE ERASE SUCCESS SUCCESS STEP 3 WRITE EEPROM DATA TO SERVER STEP 3 WRITE EEPROM DATA TO SERVER SUCCE...

Страница 21: ...o Client mode to automatically establish a telnet connection to the host upon power up In Terminal Server Mode a serial device such as HyperTerminal on a PC may establish a telnet connection to a host through the STE 10 The host may be a Unix server or even another STE 10 serial port At the Device Settings menu Select e Mode Settings Select c Terminal Server Mode ...

Страница 22: ...ings to suit your requirements The Serial Port Protocol menu includes two extra items Logout When DSR Off and Data Mode The Logout enabled will provide for automatic disconnection when the serial DSR is off For Data Mode you may select between Raw or IAC mode data SERIAL PORT PROTOCOL SERIAL PORT PROTOCOL a FLOW a FLOW CONTROL CONTROL NONE NONE b RECEIVE DATA ONLY WHEN DSR ON b RECEIVE DATA ONLY W...

Страница 23: ...er a command line prompt to any attached terminal Help will show the available commands Show Status will show the current settings STE 10 help telnet help save change speed change parity change stopbits change charsize change ipaddress change gateway change netmask show status STE 10 show status speed 9600 parity NONE PARITY stopbits 1 STOP BIT charsize 8 BITS ipaddress 192 168 2 230 gateway 192 1...

Страница 24: ...net In the above application example the RAW mode STE 10 will establish an Ethernet link to the host s RS 232 port The STE 10 in AUTO TELNET mode will automatically establish a Telnet connection to the RAW server The result is a transparent RS 232 path over Ethernet Assume that we have already configured one STE 10 in RAW mode with IP Address 192 168 2 230 and have connected our host s serial port...

Страница 25: ...COL q PREVIOUS MENU q PREVIOUS MENU SELECT SELECT The Client Parameter Port Settings menu will then allow you to specify the remote IP address and port number that you wish to connect to as well as the serial port settings Enter the IP address of the remote RAW server and its Port number Configure the serial parameters accordingly and exit to the previous menu Apply and save the settings Switch th...

Страница 26: ...Chapter 1 Configuration and Operation 22 This page left blank intentionally ...

Страница 27: ... telnet terminal The configuration settings for the STE 10 are very straight forward Configure the STE 10 from the serial port to set IP address mask gateway etc Set the mode to Raw Data Server and set the data port to 9600 8 N 1 with no handshaking Then connect the device as shown in the above figure The ETU01 A s control port is DCE Therefore the STE 10 is connected with a straight serial connec...

Страница 28: ...iew of ETU01 A Terminal Mode via telnet connection and STE 10 2 2 Terminal Server Application Terminal Server allows Telnet connection via serial terminal Refer to the configuration setup for terminal server mode starting in Section 1 7 ...

Страница 29: ...COM1 The port settings were 9600 8 bits no parity one stop bit and no flow control The STE 10 provides a prompt on the terminal screen A telnet connection to the UNIX host is initiated Below is the screen captured STE 10 Terminal Server mode serial access to telnet The Raw Server mode can be used in conjunction with another STE 10 unit running in Auto Telnet mode to provide a transparent serial co...

Страница 30: ...e another STE 10 connected to Ethernet and configured to auto telnet to the ETU01 A side s STE 10 The next figure is a simple example of this application Auto Telnet and Raw Mode Access provides transparent connection The right side STE 10 unit is configured in Raw Mode set an IP address and port number with serial port configured for the ETU01 A 9600 8 N 1 no handshaking The left side STE 10 Term...

Страница 31: ... RS 232 link is established over the Ethernet medium How s that for RS 232 extention Using an Internet connection your remote serial device could be anywhere in the world Terminal display with serial connection over Ethernet So now we leave it up to you If you have serial devices and Ethernet then the STE 10 may provide just the solution you ve been dreaming of ...

Страница 32: ...Chapter 2 Application Examples 28 This page left blank intentionally ...

Страница 33: ... data OUT BA 3 RD Receive data IN BB 4 RTS Request to send OUT CA 5 CTS Clear to send IN CB 6 DSR Data set ready IN CC 7 GND Signal ground AB 8 DCD Carrier detect IN CF 15 TC Transmit clock IN DB 17 RC Receive clock IN DD 20 DTR Data term ready OUT CD 24 XTC DTE xmit clock OUT DA A 2 RJ 45 Ethernet Pin Definition 1 Tx 2 Tx 3 Rx 4 NC 5 NC 6 Rx 7 NC 8 NC ...

Страница 34: ...Appendix 30 A 3 Null Modem Cable Pinout DB25 Female DB25 Female PIN PIN 2 3 3 2 4 5 5 4 6 20 7 7 20 6 note This cable supplied with unit Use it to connect STE 10 to DTE device such as PC s COM port ...

Страница 35: ......

Страница 36: ... Co Ltd Far Eastern Edison Science and Technologies Center Nei Hu HI TEC Park 6F 3 Lane 360 Nei Hu Road Section 1 Nei Hu Taipei Taiwan Phone 886 2 2659 1021 Rep Fax 886 2 2799 1355 E mail ctcu ms2 hinet net http www ctcu com ...

Отзывы: