Sena PS100 User Manual

Hellodevice pro series
Table of Contents

Advertisement

HelloDevice Pro Series
User Guide
PS100/PS200/PS400
Version 1.0.5
2003-06-24
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PS100 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Sena PS100

  • Page 1 HelloDevice Pro Series User Guide PS100/PS200/PS400 Version 1.0.5 2003-06-24...
  • Page 2 This device is not approved for life-support or medical systems. Changes or modifications to this device not explicitly approved by Sena Technologies will void the user's authority to operate this device.
  • Page 3: Table Of Contents

    1.3 Product Specification......................8 1.4 Terminologies and acronyms ....................9 2: Getting Started 2.1 Panel Layout ........................11 2.1.1 PS100 Panel Layout....................11 2.1.2 PS200 Panel Layout....................12 2.1.3 PS400 Panel Layout....................13 2.2 Connecting the Hardware ..................... 15 2.2.1 Connecting the power....................15 2.2.2 Connecting to the network ..................
  • Page 4 4.1.5 UDP tunneling mode operations ................. 38 4.1.6 UDP server mode operations..................39 4.1.7 Modem emulation mode operations................40 4.2 UART configuration ......................42 4.2.1 Type........................... 43 4.2.2 Baud rate ........................44 4.2.3 Data bits, Stop bits, Parity................... 44 4.2.4 Flow control........................ 45 4.2.5 DTR/DSR behavior.....................
  • Page 5 A.4 Serial Wiring Diagram ......................63 Appendix B: Well-known port numbers Appendix C: Troubleshooting C.1 Power/LED status troubleshooting ..................66 C.2 Serial console troubleshooting ..................... 66 C.3 Remote console troubleshooting..................66 C.4 IP address troubleshooting ....................67 C.5 DHCP troubleshooting ......................67 C.6 TCP server operation troubleshooting ..................
  • Page 6: 1: Introduction

    The PS100 is a versatile single-port serial-Ethernet communication device. The PS200 and PS400 are two-port and four-port serial-Ethernet communication devices respectively expanding the capabilities of the PS100. The HelloDevice Pro Series supports RS232, RS422 or RS485 on each serial port allowing virtually any asynchronous serial device to be accessed over a network.
  • Page 7: Package Check List

    1.2 Package Check List - HelloDevice Pro Series external box - 110V or 230V Power supply adapter - Serial data cable - A hardcopy of Quick Start Guide - CD-ROM including the HelloDevice-IDE, HelloDevice Manager and User Guide...
  • Page 8: Product Specification

    1.3 Product Specification PS100 PS200 PS400 1-port 2-port 4-port Serial Interface RS232/422/485 RS232/422/485 RS232/422/485 Male DB9 Male DB9 Male DB9 Serial speeds 1200bps to 115Kbps Flow Control: None, Hardware RTS/CTS Signals: RS232 Rx, Tx, RTS, CTS, DTR, DSR, GND RS422...
  • Page 9: Terminologies And Acronyms

    1.4 Terminologies and acronyms The Internetworking related terminologies used frequently in this manual are defined clearly to help your better understanding of the HelloDevice Pro Series. MAC address On a local area network or other network, the MAC (Media Access Control) address is the computer's unique hardware number.
  • Page 10 Table 1-1 Acronym Table Internet Service Provider Personal Computer Network Interface Card Media Access Control Local Area Network Unshielded Twisted Pair Asymmetric Digital Subscriber Line ADSL Address Resolution Protocol Internet Protocol Internet Control Message Protocol ICMP User Datagram Protocol Transmission Control Protocol Dynamic Host Configuration Protocol DHCP Simple Mail Transfer Protocol...
  • Page 11: 2: Getting Started

    2.1 Panel Layout 2.1.1 PS100 Panel Layout The PS100 has five LED indicator lamps for status display as shown in Figure 2-1. Two lamps on the upper side indicate statuses of 10 Base-T Ethernet Link and Act. Next lamp indicates statuses of receive and transmit of the serial port for data communication.
  • Page 12: Ps200 Panel Layout

    Figure 2-1. The panel layout of the PS100 Table 2-1. LED indicator lamps of the PS100 Lamps Function Turned on to Green if connected to 10 Base-T Ethernet network 10 Base-T LINK Blink whenever there is any activities such as incoming or outgoing packets...
  • Page 13: Ps400 Panel Layout

    (a) The front panel of the PS200 (b) The rear panel of the PS200 Figure 2-2. The panel layout of the PS200 Table 2-2. LED indicator lamps of the PS200 Lamps Function Turned on to RED if power is supplied System Status Power Turned on to Green if system is running...
  • Page 14 (a) The front panel of the PS400 (b) The rear panel of the PS400 Figure 2-3. The panel layout of the PS400 Table 2-3. LED indicator lamps of the PS400 Lamps Function Turned on to RED if power is supplied System Status Power Turned on to Green if system is running...
  • Page 15: Connecting The Hardware

    Connect the power jack to the HelloDevice Pro Series power jack using DC power adapter included in the package. If the power is properly supplied, the [Power] lamp will maintain solid red. (a) Connecting the power to the PS100 (b) Connecting the power to the PS200/400 Figure 2-4.
  • Page 16: Connecting To The Device

    (a) Connecting a network cable to the PS100 (b) Connecting a network cable to the PS200/400 Figure 2-5. Connecting a network cable to the HelloDevice Pro Series 2.2.3 Connecting to the device Connect the serial data cable between the HelloDevice Pro Series and the serial device. If necessary, supply the power to the serial device attached to the HelloDevice Pro Series.
  • Page 17: Accessing Console Port

    Connect the one end of the serial console cable to the console port on the HelloDevice Pro Series. (a) Connecting a serial console cable to the PS100 (b) Connecting a serial console cable to the PS200 (c) Connecting a serial console cable to the PS400...
  • Page 18 Connect the other end of the cable to the serial port of user’s computer. Run a terminal emulator program such as HyperTerminal. Set up the serial configuration parameters of the terminal emulation program as follows: 9600 Baud rate, Data bits 8, Parity None, Stop bits 1, Hardware flow control (RTS/CTS) Press [ENTER] key.
  • Page 19: Using Remote Console

    2.3.2 Using Remote console The IP address of the HelloDevice Pro Series must be known before users can access the remote console port (See IP Address Configuration in chapter 3 for details). Remote console access function is optional, and can be disabled in the remote access option on the menu (See Remote Host Access Control in section 5.1 for details).
  • Page 20 Welcome to PS-400 Configuration Console#1 (Serial) : Not Connected Console#2 (Telnet) : Available (NULL) Console#3 (Telnet) : Available (NULL) Console#4 (Telnet) : Established (192.168.0.16) login : admin Password : ***** Figure 2-10. Users’ logging into the HelloDevice Pro Series (PS400) If the user logged into the HelloDevice Pro Series successfully, the same main menu screen as the one of serial console will be displayed.
  • Page 21: 3: Ip Address Configuration

    3: IP Address Configuration A valid IP address of the HelloDevice Pro Series needs to be assigned before it starts to work in the user's network environment. A network system administrator may provide the user with this IP address setting information for the network. The IP address must be unique within the network. Otherwise, the HelloDevice Pro Series will not have a valid connection to the network.
  • Page 22: Ip Address

    3.1.2 IP address In the Static IP mode, the IP address is an identification number assigned to a computer as a permanent address on the network. Computers use IP addresses to identify and talk to each other on the network. Choose the proper IP address which is unique and valid on the network environment. --->...
  • Page 23: Primary And Secondary Dns

    DNS is the way that Internet domain names are identified and translated into IP addresses. Domain name is the form of alphanumeric name such as sena.com and it is usually easier to remember. A DNS server is a host that can translate such text-based domain names into the numeric IP addresses for TCP/IP connection.
  • Page 24: Dhcp Setting

    servers will be automatically configured when the IP address is assigned in DHCP mode. DHCP uses the concept of a "lease" or amount of time for which a given IP address will be valid for a computer. All the parameters required to assign an IP address are configured on DHCP server side, and each DHCP client computer receives this information when the IP address is provided at its boot-up.
  • Page 25: Pppoe

    HelloDevice Pro Series will attempt to make a new PPPoE connection by requesting the new connection. (a) Installation of the PS100 with ADSL connection (b) Installation of the PS200/400 with ADSL connection Figure 3-7. Installation of the HelloDevice Pro Series with ADSL connection...
  • Page 26: Pppoe Setting

    3.3.2 PPPoE setting To make the HelloDevice Pro Series work in PPPoE mode, users need to configure the PPPoE username and password for their ADSL account. --------------------------------------------------------------------------- IP configuration --------------------------------------------------------------------------- Select menu 1. IP mode : PPPoE 2. Change PPPoE username : whoever 3.
  • Page 27: 4: Serial Port Configuration

    - Options: Timer related parameters for data communication The following picture shows the initial screen of Serial Port configuration menu of the PS400. With the PS100, only port#1 settings menu will be shown, while with the PS200, port#1 and port#2 settings menu will be shown.
  • Page 28 --------------------------------------------------------------------------- Serial configuration --> port #1 --------------------------------------------------------------------------- Select menu 1. Host mode configuration 2. UART Configuration 3. Cryptography Configuration 4. Option <ESC> Back, <ENTER> Refresh -----> Figure 4-2. Initial screen for each serial port configuration Table 4-1. Hierarchical view of the Serial Port Configuration menu items Host Mode TCP Server Local Port...
  • Page 29: Host Mode Configuration

    4.1 Host mode configuration 4.1.1 Overview Host mode represents the operating session mode of the HelloDevice Pro Series. Several host modes are available for the data communication between serial devices and remote hosts. Since TCP is connection-oriented protocol, server, client, server/client modes are provided. Other than those TCP based modes, UDP mode is provided for connectionless communication.
  • Page 30 A factory default host mode is TCP Server, and users can select the mode by using the menu, Serial Port Configuration–host mode Configuration–Host mode. --------------------------------------------------------------------------- serial configuration -->port#1 --> TCP/IP --------------------------------------------------------------------------- Select menu 1. Host mode : TCP Server 2. Local port : 6000 <ESC>...
  • Page 31: Tcp Server Mode Operations

    - Data When it is in [Established] state, data from a host will be transferred to the other one. For easier understanding of the TCP session operation, we called the state as [Data] state when actual data transfer is performed. Actually, the [Data] mode is a part of [Established] state as is described in the RFC 793 [Transmission Control Protocol].
  • Page 32 IP address filtering The HelloDevice Pro Series will not accept the incoming connection request from the remote hosts which are not in the host list (See Remote Host Access Control in section 5.1 for details). Figure 4-4 shows the State Transition Diagram of the session operations in TCP server mode. Incoming TCP connection request Listen Sync-Recvd...
  • Page 33: Tcp Client Mode Operations

    --------------------------------------------------------------------------- serial configuration -->port#1 --> TCP/IP --------------------------------------------------------------------------- Select menu 1. Host mode : TCP Server 2. Local port : 6000 <ESC> Back, <ENTER> Refresh -----> 2 Enter local port number : 6001 Figure 4-5. Changing Local TCP Port number 4.1.3 TCP client mode operations The HelloDevice Pro Series works as a TCP client, and the default TCP state is [Closed] in this mode.
  • Page 34 or when no data transfer activity is found through the serial port for certain amount of time, which is “Inactivity timeout” (See Options in section 4.4 for details on Inactivity timeout). All the data remained in the serial port buffer will be cleared when it is disconnected. Connection request from remote host All the incoming TCP connection requests will be rejected in TCP client mode.
  • Page 35 The format of remote host information is as follows. [IP address (or domain name)]:[TCP Port number] e.g.) 211.116.20.197:1221 : IP address 211.116.20.197, Port 1221 : domain name ser.sena.com, Port 6001 ser.sena.com:6001 --------------------------------------------------------------------------- serial configuration -->port#1 --> TCP/IP...
  • Page 36: Tcp Server/Client Mode Operations

    --------------------------------------------------------------------------- serial configuration -->port#1 --> TCP/IP --------------------------------------------------------------------------- Select menu 1. Host mode : TCP Client 2. Destination IP & port : 192.168.1.200:6001 3. Cyclic connection : Disable <ESC> Back, <ENTER> Refresh -----> 3 Enter cyclic connection interval in minute(0=disable) : 10 --------------------------------------------------------------------------- serial configuration -->port#1 -->...
  • Page 37 mode. See section 4.1.2 and 4.1.3 for more details on each session mode. TCP connection request rejected Or internal TCP time-out Sync-Sent In-coming TCP Close request TCP connection request accepted Inactivity time-out Incoming data via serial port Data Established Incoming data Closed from remote host Accept...
  • Page 38: Udp Tunneling Mode Operations

    --------------------------------------------------------------------------- serial configuration -->port#1 --> TCP/IP --------------------------------------------------------------------------- Select menu 1. Host mode : TCP Server & client 2. Local port : 6000 3. Destination IP & port : 192.168.1.200:6001 4. Cyclic connection : 10 Min <ESC> Back, <ENTER> Refresh -----> Figure 4-10.
  • Page 39: Udp Server Mode Operations

    3. Destination IP & port : 192.168.1.200:6001 <ESC> Back, <ENTER> Refresh -----> Figure 4-11. Set up parameters for UDP tunneling mode 4.1.6 UDP server mode operations While UDP tunneling mode allows only one remote host for UDP communications, UDP server mode allows any remote host to access the HelloDevice Pro Series.
  • Page 40: Modem Emulation Mode Operations

    4.1.7 Modem emulation mode operations In modem emulation mode, the serial port process acts as if it is a modem attached to the serial device. It accepts AT modem commands and answers to them, as modems would do. It also handles the modem signals correctly.
  • Page 41 K3: RTS/CTS flow control (default) K4: Xon/Xoff (if supported) S, S0: DSR(PC) always high AT&Sn S1: DSR(PC) shows TCP connection I, I0 : display “Sena Technologies, Inc.” ATIn I3 : display model number Others : display “OK” Set inactivity timer to n minutes...
  • Page 42: Uart Configuration

    HelloDevice Serial Pro Series Device Command mode TCP connection Request ATDT ATDT TCP connection Established. CONNECT DATA…. DATA…. TCP mode DATA…. DATA…. Request TCP disconnection Command mode disconnection NO CARRIER Figure 4-13. Typical case of command/data flow of modem emulation mode --------------------------------------------------------------------------- serial configuration -->port#1 -->...
  • Page 43: Type

    configuration-UART configuration menu screen. --------------------------------------------------------------------------- Serial configuration --> port#1 ---> UART --------------------------------------------------------------------------- Select menu 1. Type : RS232 2. Baud rate : 9600 3. Data bits : 8 4. parity : None 5. Stop Bits : 1 6. Flow control : Hardware 7.
  • Page 44: Baud Rate

    Figure 4-16. Set up Serial communication type 4.2.2 Baud rate The valid baud rate for the HelloDevice Pro Series is as follows. 1200, 2400, 4800, 9600, 14400, 19200, 38400, 57600 and 115200 The baud rate can be changed by selecting the menu of Serial port configuration-UART configuration–Baud rate.
  • Page 45: Flow Control

    Figure 4-18. Set up the data bits, stop bits, parity 4.2.4 Flow control The factory default setting of the flow control is None. Only hardware flow control using RTS/CTS is supported by the HelloDevice Pro Series. Hardware flow control method controls data communication flow by sending signals back and forth between two connected devices.
  • Page 46: Cryptography Configuration

    (not UDP mode). By setting the cryptography method as 3DES, the HelloDevice Pro Series can communicate with other HelloDevice Pro Series in encrypted sessions. If you need your PC to communicate with HelloDevice Pro Series using encryption, please contact Sena technical support.
  • Page 47: Options

    Figure 4-22. Set up the cryptography method and cryptography key string 4.4 Options 4.4.1 Inactivity timeout The purpose of this parameter is to maintain the TCP connection state as Closed or Listen in TCP host modes or to close UDP virtual connection in UDP server mode unless there is any data transfer between the serial device and the HelloDevice Pro Series.
  • Page 48 10 (bits) / 1200 (bits/s) * 1000 (ms/s) = 8.3 ms. Therefore, you have to set inter-character timeout to be larger than 8.3 ms. The inter-character timeout is specified in milliseconds and must be larger than 10 ms. If users want to send the series of characters into a packet, serial device attached to the HelloDevice Pro Series should send characters without time delay larger than inter-character timeout between characters and the total length of data must be smaller than or equal to the HelloDevice Pro Series internal buffer size.
  • Page 49: 5: Advanced Options Configurations

    5: Advanced Options Configurations With advanced options, you can configure remote host access control, locating server configuration and manual DNS server settings. Table 5-1 shows the hierarchical view of advanced options. --------------------------------------------------------------------------- Advanced options --------------------------------------------------------------------------- Select menu 1. Remote host access control 2.
  • Page 50: Configuration Access

    5.1.1 Configuration access The HelloDevice Pro Series remote console access feature can be enabled or disabled by selecting submenu 1.Remote configuration by Telnet. Factory default setting of this feature is “Enabled”. If the remote configuration feature is enabled, you can specify a host or hosts allowed to access the HelloDevice Pro Series for configuration by selecting submenu 2.Allowed remote hosts for configuration.
  • Page 51: Manual Dns Configuration

    -----> 2 (or 3, 4, 5, 6) Enter IP address or network of hosts allowed to access Format) IP-address/subnet-mask Ex1) 192.168.1.0/255.255.255.0 to allow hosts of 192.168.1.* Ex2) 192.168.1.99/255.255.255.255 to allow hosts of 192.168.1.99 Ex3) 0.0.0.0 / 0.0.0.0 to allow any remote host ----->...
  • Page 52: Locating Server Configuration

    HelloDevice Pro Series can be configured to send its IP address information whenever it is assigned a new IP address or periodically to a specific server called locating server. You can operate a specific host as your locating server or you can use your client host as a locating server simultaneously. No special library or toolkit to implement locating server is provided.
  • Page 53: Locating Server Communication Protocol

    Local ports: Each 2 byte data represent current local port setting of the corresponding serial port. Local ports data length of PS100 should be 2 bytes, while 4 bytes and 8 bytes for PS200 and PS400 respectively. Configured local TCP (or UDP) port numbers for each serial port are filled with network-order bytes, (i.e. higher bytes first). If the host mode of a serial port is set to client mode, the local port number is regarded as 0.
  • Page 54: 6: System Status And Log

    6: System Status and Log The HelloDevice Pro Series provides system status display and log data display for management. System status includes Ethernet status and status of each serial port. In addition, the HelloDevice Pro Series can be configured to deliver log data automatically by email to a specific recipient. Users can use or configure these features by selecting menu 3.System status &...
  • Page 55: Display Log Data

    F/W REV. : V1.00 MAC Address : 00-01-95-04-04-33 Cur Status : Running Current time : 2038/05/10 04:34:10 --------------------------------------------------------------------------- IP information --------------------------------------------------------------------------- IP Mode : Static IP Expiration : N/A IP Address : 192.168.2.100 Subnetmask : 255.255.0.0 Gateway : 192.168.1.1 Receive/Transmit errors : N/A Primary DNS : 211.172.129.198 Secondary DNS : 211.172.129.199 ---------------------------------------------------------------------------...
  • Page 56 SMTP servers check sender’s mail address with host domain name’s validity only. Consequently, for the device mail address, you can use arbitrary username with registered hostname such as arbitrary_user@yahoo.com or anybody@sena.com. -----> 5 Select email log send option ( 1 = Enable, 2 = Disable) : 1...
  • Page 57: 7: System Administration

    7: System administration Users configure system administration parameters selecting menu 4.System administration in the main menu screen. In this menu, users can configure administrator username, password, current date and time information. 7.1 User name and password Users can change the administrator’s username and password as they want. The maximum character length for the both is 31.
  • Page 58: Date And Time Settings

    7.2 Date and time settings The HelloDevice Pro Series has current date and time information, which is backed up by internal battery power. Users can change current date and time by selecting submenu 3 or 4. --------------------------------------------------------------------------- User Administrator --------------------------------------------------------------------------- Select menu 1.
  • Page 59: 8: System Tools

    Firmware of the HelloDevice Pro Series can be upgraded both by serial console or remote console. The latest firmware can be obtained from our web site: http://www.sena.com/support/downloads/. For firmware upgrade, your terminal emulation program must support Zmodem transfer protocol. After firmware upgrade, previous settings will be reset to factory default settings except IP configuration settings.
  • Page 60 3) Select firmware upgrade menu. 4) Follow the step as guided by online messages. -----> 3 Are you sure to start firmware upgrade ? (y/n) : y Preparing for firmware upgrade. Wait a moment... Transfer firmware by zmodem using your terminal application. **B01ff000005b157 Figure 8-2.
  • Page 61: Ping Test

    8.3 Ping test You can test your network configuration by sending ICMP echo messages (ping) to remote hosts in 4.Ping Test menu. Figure 8-5 shows how to use ping test function to check network connection. -----> 4 Enter IP Address or Hostname to ping : 192.168.1.1 to 192.168.1.1 pining 4times..
  • Page 62: Appendix A: Connections

    Appendix A: Connections A.1 Ethernet Pin outs The HelloDevice Pro Series uses standard Ethernet connector, which is a shielded connector compliant with AT&T258 specifications. Table A-1 shows the pin assignment and the wire color. Figure A-1 Pin layout of the RJ45 connector Table A-1.
  • Page 63: Ethernet Wiring Diagram

    A.3 Ethernet Wiring Diagram HelloDevice Remote Host Rx+(1) Rx+(1) Rx-(2) Rx-(2) Tx+(3) Tx+(3) Tx-(6) Tx-(6) Figure A-3 Ethernet direct connection using crossover ethernet cable HelloDevice Rx+(1) Rx+(1) Rx-(2) Rx-(2) Tx+(3) Tx+(3) Tx-(6) Tx-(6) Remote Host Rx+(1) Rx+(1) Rx-(2) Rx-(2) Tx+(3) Tx+(3) Tx-(6) Tx-(6)
  • Page 64 RS485 Data-(1) Data- Device 120 Ω 120 Ω HelloDevice N=max 31 Data+(9) Data+ Data- Data+ Data- Data+ … Device Device Figure A-6 RS485 wiring diagram RS422 Tx-(1) 120 Ω 120 Ω Tx+(9) Device HelloDevice Rx-(3) N=max31 120 Ω 120 Ω Rx+(4) Rx- Rx+ Tx- Tx+ Rx- Rx+ Tx- Tx+...
  • Page 65: Appendix B: Well-Known Port Numbers

    Appendix B: Well-known port numbers The port numbers are divided into three ranges: the Well Known Ports, the Registered Ports, and the Dynamic and/or Private Ports. The Well Known Ports are those from 0 through 1023. The Registered Ports are those from 1024 through 49151. The Dynamic and/or Private Ports are those from 49152 through 65535.
  • Page 66: Appendix C: Troubleshooting

    Appendix C: Troubleshooting C.1 Power/LED status troubleshooting Problem Cause Action Power LED does Power cable is not Check power connection not light up connected Link LED does not Ethernet cable is not Check Ethernet cable connection light up connected Invalid Ethernet cable is There are two types of Ethernet cables: Straight-through cable used and crossover cable.
  • Page 67: Ip Address Troubleshooting

    Maximum number of Retry after one of the other remote consoles is finished. remote consoles already established Cannot login to Invalid username and/or Use valid username and password. If username and/or console password password are lost, perform factory default reset using factory reset switch.
  • Page 68: Serial Communication Troubleshooting

    The HelloDevice Pro Change the remote host access control parameter using serial Series is configured to or remote console to allow the IP address of the PC reject IP address of the TCP connection with Close established TCP connection or connect later the other host is established already C.7 Serial communication troubleshooting...

Table of Contents