KTI Networks KSC-361 User Manual

Industrial ethernet to serial media converters
Table of Contents

Advertisement

Quick Links

KSC-361
Industrial
Ethernet to Serial
Media Converters
Firmware
Rev1.00
up
User's Manual
DOC.170725
-1-

Advertisement

Table of Contents
loading

Summary of Contents for KTI Networks KSC-361

  • Page 1 KSC-361 Industrial Ethernet to Serial Media Converters Firmware Rev1.00 User’s Manual DOC.170725...
  • Page 2 (such as translation or transformation) without permission from KTI Networks Inc. KTI Networks Inc. reserves the right to revise this documentation and to make changes in content from time to time without obligation on the part of KTI Networks Inc. to provide notification of such revision or change.
  • Page 3 The information contained in this document is subject to change without prior notice. © Copyright All Rights Reserved. T RADEMARKS 1 1 2 Ethernet is a registered trademark of Xerox Corp. FCC NOTICE This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) This device must accept any interference received, including the interference that may cause undesired operation.
  • Page 4: Table Of Contents

    Table of Contents 0 B 1 . Introduction ..............................7 1.1 Features ..........................8 1.2 Product Panels ........................8 1.3 LED Indicators ........................10 1.4 Specifications ........................10 1 B 2 . Installation ..............................15 1 0 B 2 .1 Unpacking .......................... 15 2.2 Safety Cautions ........................
  • Page 5 3.1 Remote COM Mode ......................33 3.2 Pair Connection Mode ......................34 3.3 Serial Server Mode ......................34 3.4 Serial Broadcasting Mode ....................35 3.5 Reverse Telnet Mode ......................35 4. Configuring IP Address & Password ......................36 4.1 IP Address & Password ...................... 36 4.2 Configuring IP Address &...
  • Page 6 6.2 Console Command Sets..................... 54 Appendix 1. RS-422 / RS-485 ..........................57 A1.1 RS-422 Point-to-Point Circuit ................... 58 A1.2 RS-422 Multi-drop Network ....................58 A1.3 RS-485 Multi-drop Network ....................58 A1.4 RS-485 Half-duplex 2-wire Network ................. 59 A1.5 RS-485 Full-duplex 4-wire Network .................. 59 Appendix 2.
  • Page 7: Introduction

    1 . Introduction T he KSC-361 product series are industrial rated Ethernet to serial media converters. Two models are described 1 3 1 in this documentation. They are: Model KSC-361-S2 KSC-361-S4 Number Ethernet 10/100Mbps RJ-45 10/100Mbps RJ-45 Interface 10BASE-T, 100BASE-TX...
  • Page 8: Features

     Remote COM driver support for Windows PC  Web-based and serial-based console configuration  Event notification over SMTP and SNMP traps 1.2 Product Panels The following figure illustrates the front panel and rear panel of the models: KSC-361-S2 Front panel...
  • Page 9 KSC-361-S2 Top Panel KSC-361-S4 Front panel KSC-361-S4 Top Panel...
  • Page 10: Led Indicators

    1.3 LED Indicators Function POWER Power status Serial interface activity status Powered by PoE input Fiber SFP is selected ALARM Alarm status (& Diagnostic status during boot-up) Ethernet interface link & activity status 1.4 Specifications Ethernet Copper Port 10/100 RJ-45 Compliance IEEE 802.3 10Base-T, IEEE 802.3u 100Base-TX Connector...
  • Page 11 Network cables MMF 50/125 60/125, SMF 9/125 Eye safety IEC 825 compliant RS-232 Serial Interface (KSC-361-S2) Interface RS-232 Connector Male DB9 Isolation Galvanic isolated Pin assignment DTE type 10/100 Baud Rate Support Up to 230K baud Connector Shield Connect to chassis ground...
  • Page 12 SGND SGND Configuration Switches (SW) KSC-361-S2 RS-232 model Name Function Serial interface console mode setting Reserved KSC-361-S4 RS-422/485 model Name Function Serial interface console mode setting 2W-4W 2-wire or 4-wire network setting 2W-4W 2-wire or 4-wire network setting Receiver terminator...
  • Page 13 Ethernet port link fault TCP server connection failure DC Power Jack Connector DC Jack (-D6.3mm/+D2.0mm) for external AC-DC power adapter Center contact DC+ D2.0mm Outer contact DC- D6.3mm Operating voltages DC input +8V ~ +30V Power consumption 2W max. @24V Power over Ethernet Function on RJ-45 Standard IEEE 802.3af PD (Powered Device)
  • Page 14 EMC Class A VCCI Class A Safety / LVD IEC 60950-1 -14-...
  • Page 15: Installation

    2 . Installation 2 .1 Unpacking 1 0 B The product package contains:  The device unit  One product CD-ROM 2.2 Safety Cautions To reduce the risk of bodily injury, electrical shock, fire and damage to the product, observe the following precautions: Do not service any product except as explained in your system documentation.
  • Page 16: 2 B 2 .3 Din-Rail Mounting

    Install the mounting bracket onto the switch unit as shown below: 1 2 8 7 B KSC-361-S2 (RS-232 model) KSC-361-S4 (RS-422/485 model) A ttach bracket to the lower edge of the DIN rail and push the unit upward a little bit until the bracket can 1 2 8 8 B clamp on the upper edge of the DIN rail.
  • Page 17 Dimensions: KSC-361-S2 (RS-232 model) KSC-361-S4 (RS-422/485 model) -17-...
  • Page 18: 3 B 2 .4 Panel Mounting

    The mounting steps are: Install the mounting bracket on the switch unit. 1 2 9 0 B KSC-361-S2 (RS-232 model) KSC-361-S4 (RS-422/485 model) S crew the bracket on the switch unit. 1 2 9 1 B S crew the device on a panel.
  • Page 19 Dimensions: KSC-361-S2 (RS-232 model) KSC-361-S4 (RS-422/485 model) -19-...
  • Page 20: 4 B 2 .5 Applying Power

    2 .5 Applying Power 1 4 B T he devices can support three different power input types. Use only one for your installation. 1 7 3 B Power input types Type Connector Voltage input rating Connect Terminal block TB Pin 1, 2 +8VDC ~ +60VDC External DC power supply Power Jack...
  • Page 21: Direct Power Via Dc Power Jack

    2.5.2 Direct Power via DC Power Jack Find an external AC-DC power adapter that can match the following specifications. Specifications Polarity: center positive Center contact: 2.0mm Outer contact: 6.3mm Voltage rating: +8 ~ +30VDC Note that most of the AC-DC power adapters in the market are provided for commercial use generally. Check the environment conditions before use it.
  • Page 22: Poe Via Rj-45

    2.5.3 PoE via RJ-45 The Ethernet RJ-45 port supports PoE connection for receiving power over Cat.5 cable. The specifications are:  IEEE 802.3af compliant PD  Type 1 Class 3 PD  Input voltage range: +36V ~ +57V  Pins to receive power: +: Pin 4, 5 -: Pin 7, 8 Connect PoE mid-span injector over Cat.5 cable...
  • Page 23: Alarm Relay Output

    2.6 Alarm Relay Output Alarm relay output is provided for reporting failure events to a remote alarm relay monitoring system. The replay output is provided with three contacts (support two logic types) in the terminal block connector next Vdc interfaces. Alarm Relay output pins and logic: Alarm relay output, NO (Normal Open) contacts Open: Normal, Shorted: Alarm...
  • Page 24: Reset Button

    2.7 Reset Button The reset button is used to perform a reset to the device. It is not used in normal cases and can be used for diagnostic purpose. If any network hanging problem is suspected, it is useful to push the button to reset the device without turning off the power.
  • Page 25: Making Rj-45 Port Connections

    2.8 Making RJ-45 Port Connections The 10/100 RJ-45 Ethernet copper port supports the following connection types and distances: Network Cables 10BASE-T: 2-pair UTP Cat. 3, 4, 5 , EIA/TIA-568B 100-ohm 100BASE-TX: 2-pair UTP Cat. 5, EIA/TIA-568B 100-ohm Link distance: Up to 100 meters for all above Auto MDI/MDI-X Function This function allows the port to auto-detect the twisted-pair signals and adapts itself to form a valid MDI to MDI-X connection with the remote connected device automatically.
  • Page 26: Making Sfp Fiber Connection

    2.9 Making SFP Fiber Connection The SFP slot must be installed with an SFP fiber transceiver for making fiber connection. Type of the SFP Fiber transceivers supported: 100Mbps based 100BASE-FX SFP transceivers Installing SFP Fiber Transceiver T o install an SFP fiber transceiver into SFP slot, the steps are: 2 1 7 B 1.
  • Page 27: Selection Of Copper Rj-45 Or Fiber Sfp

    RJ-45 is selected if SFP has no transceiver installed RJ-45 RJ-45 is selected always. SFP is selected always. Change of this configuration will be effective in next boot-up. 2.11 Setting DIP Switches KSC-361-S2 (RS-232 model) Name Setting Function Serial port serves console configuration. Serial port serves standard functions.
  • Page 28: 4-Wire/2-Wire Bus

    RX-B1 RX+ line bias is ON. RX+ line bias is OFF. RX-B2 RX- line bias is ON. RX- line bias is OFF. 2.11.1 4-Wire/2-Wire Bus [2W] setting activates the internal connection between driver and receiver in RS-422/485 interface. It simplifies the installation of the converter in a 2-wire bus. RS-422 usually uses 2-wire topology only. RS-485 supports both 2-wire and 4-wire topology.
  • Page 29: Adc

    If the internal 120 Ohm terminator is not appropriate for your application, set [RTM] OFF to disable it and use an external one. 2.11.3 ADC ADC method involves special circuitry that senses when data is being transmitted and automatically enables the RS-422/485 driver as well as disabling the receiver within one data byte length till the end of transmission.
  • Page 30: Making Rs-232 Connection

    2.12 Making RS-232 Connection RS-232 interface: Male DB9, DTE The connection is illustrated as follows: 2.12.1 Making PC Connection via COM Port Device’s RS-232 interface: Male DB9, DTE PC COM ports: Male DB9, DTE RS-232 cable: Null modem without handshaking female DB9 to female DB9 -30-...
  • Page 31: Making Rs-422/485 2-Wire Connection

    2.13 Making RS-422/485 2-Wire Connection The figure below illustrates the device connects a LAN, via Cat.5 or fiber cable alternatively, and a 2-wire serial bus topology. 2.14 Making RS-485 4-Wire Connection The figure below illustrates the device connects a LAN, via Cat.5 or fiber cable alternatively, and a 4-wire serial bus topology.
  • Page 32: Led Indication

    2.15 LED Indication Function Color State Interpretation POWER Power status Green The power is supplied to the switch. The power is not supplied to the switch. Serial port activity status Green Blink Tx or Rx on serial port No data traffic PoE power status Green The device is powered by PoE input.
  • Page 33: Application Modes

    3. Application Modes 3.1 Remote COM Mode The converter can serve like a local COM port of a Windows PC virtually over LAN. The connection is illustrated as follows: The serial interface can be RS-232 or RS-422/485 bus which more serial devices are connected depending on the product model is used.
  • Page 34: Pair Connection Mode

    3.2 Pair Connection Mode Two converters are connected over a LAN and support two serial devices communicate over a LAN remotely. 3.3 Serial Server Mode The converter is featured with a mode which the device operates as a serial server. Under this mode, the device forwards the serial data stream received from a client over TCP/IP network to the serial interface.
  • Page 35: Serial Broadcasting Mode

    3.4 Serial Broadcasting Mode Under this operating mode, one converter serves “Master” and more than one converter serve “Slave”. The master can broadcast serial data received from serial port to all slave converters via UDP over IP network. The number of slave converters can be up to 10. 3.5 Reverse Telnet Mode The converter’s reverse telnet mode allows a PC host to access another device’s console port (serial port) through the converter remotely over a network as illustrated below.
  • Page 36: Configuring Ip Address & Password

    4. Configuring IP Address & Password The converter supports the following methods to configure the device as follows:  Use CLI via the console mode of the serial port (SW [CM] setting ON)  Use web interface over TCP/IP network via LAN port 4.1 IP Address &...
  • Page 37 URL: http:/192.168.0.2/ Login to the device When browser software connects to the device successfully, a Login page is provided for you to login to the device as below: Enter password in the login page: Default password: 123 Click Apply to login into the converter. Web Page after a Successful Login Use [System Host] page to configure IP address and password for the device.
  • Page 38: Web Management

    5. Web Management 5.1 Login Factory default password: 123 Note that the user is requested to make a login again when the inactivity timeout, 10 minutes is expired with no user’s operation in Web UI. 5.2 Main Menu -38-...
  • Page 39: System Host Configuration

    5.3 System Host Configuration This page is used to show device information and configure the basic operating settings for authentication, IP address, LAN port and Alarm relay. Configuration Description MAC Address Ethernet MAC address of the device Software Version The revision number of the embedded firmware currently operating Hardware Version The hardware version of the device Name...
  • Page 40: Application Configuration

    otherwise TP is used TP – RJ-45 copper FX – SFP fiber Alarm Relay Alarm relay output when any of the configured events occurs LAN Port Link Down Check to enable it as an alarm relay event. TCP server connection failure Check to enable it as an alarm relay event. Click to save the changes.
  • Page 41: Tcp Control Configuration

    5.5 TCP Control Configuration This is used to set the device operating as TCP server or TCP client in application. TCP Server TCP Client Configuration Description Application Select a matched application if you need a simplified configuration. Server –This converter will operate as a TCP server. Operating Mode Client –...
  • Page 42 (Client’s setting) Client Keep Alive Time The client sends “keep-alive” message to the remote server in a period of this time setting when it is in idle state. (Client’s setting). The message can notify the remote server that the client is still alive and just in idle state. Server Alive Time TCP connection is closed if there is no TCP activity in the given time duration.
  • Page 43: Selecting Application Mode

    5.5.1 Selecting Application Mode For easy configuration, you may select an application mode that matches your application exactly. The web UI will give minimum settings required for the selected application. The applications provided are:  Pair Connection: Two converters connected over a LAN are used to extend the distance between two serial devices.
  • Page 44: Udp Control Configuration

    5.6 UDP Control Configuration This configuration is used only for “Serial Broadcasting” application mode. There are Master device and Slave devices involved in this application. Each is provided with different configuration interface as shown in following two sections. 5.6.1 UDP Master Configuration Configuration Description Application...
  • Page 45: Udp Slave Configuration

    Master – The master sends received serial data stream to all slave devices over UDP. Operation Mode Slave – The slave receives the UDP data sent by the master and forwards it to its serial port. Disable – no UDP configuration Local Port Number The port number used by the master to receive data over UDP Remote Slaves...
  • Page 46: Serial Port Control Configuration

    5.7 Serial Port Control Configuration This web UI is used to configure the parameters for the serial interface. The configuration also includes the control rules used in operation of forwarding received data from serial port to LAN port. Configuration Description Baudrate The data rate configured by the serial port, Options: 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 (Default),...
  • Page 47 Delimiter Rule Delimiters are some special data codes embedded in received serial data stream. For example, ASCII code CR (0A ) and LF (0D ) are often used as end of line in serial communication. They are common delimiters. Upon received, the delimiters are used as time indicator to forward the packed data in queue to LAN port in one Ethernet frame Options:...
  • Page 48: Event Notification

    5.8 Event Notification Some events can be configured with notification when they occur. The notification can be sent via SMTP Email and SNMP trap. 5.8.1 Notification via SNMP Trap and Email Configuration Description Trap Destination Address The destination IP address to which a notification SNMP trap is sent SMTP Simple Mail Transfer Protocol complaint Email Enabled...
  • Page 49: Notification Events

    5.8.2 Notification Events Configuration Description Events Events that are listed with notification SNMP Trap Notification via SNMP trap Email Server Notification via SMTP Email Cold Start The device is boot-up by power-up. Warm Start The device is reboot by web UI command. LAN Port Link Up Link up on LAN port Authentication Failure (Web) Authentication failed in web login...
  • Page 50: Ping

    Connected. Remote IP is xx.xx.xx.xx Wait for Disconnect Client Connection Failure Count Counting the number that TCP client failed to connect TCP server Update the status and counter every three seconds automatically. Auto Refresh Click to switch to Manual Refresh The status and counter display will not be updated.
  • Page 51: Restore Default

    5.12 Restore Default This command is used to restore the configuration with factory default settings. Click [Yes] to proceed with the operation. Note: IP and password configuration are not changed after this command.. 5.13 Firmware Update Firmware update operation is divided into several steps as follows: 1.
  • Page 52 5. Click [Upload] to start image uploading. The message is displayed: 6. When upload completed, OK is displayed and the device starts a reboot. The reboot takes 10 seconds. 7. Click [Continue] to enter web login page. 8. Web login page Note: In the case that the device was powered down accidentally during erasing flash, you may turn the device on to let it enter...
  • Page 53: Logout

    5.14 Logout Click to confirm logout. -53-...
  • Page 54: Console Commands

    2. Connect PC COM port as described in Section 2.12.1. 3. Execute Hyper terminal utility on the PC. 4. Console output system information as below: /*==== KSC-361 Ethernet to Serial Converter ====*/ CPU & PHY Check: OK!! MAC Address : 00 40 f6 d1 00 02...
  • Page 55 at+set cccc=ssss (cccc: command string, ssss: setting string) 3. Direct command at&cccc  (cccc: command string) Note: No command prompt is provided in the console mode. System Host Command Set Command Options Description at+set sys name=nm nm – xxxx (20C) Device name at+set sys password=pw Password...
  • Page 56 at+ set tcp server at=at Server alive time at - 0 (disabled), 1~99 (unit: minutes) UDP Control Command Set Command Options Description Application mode ap - advanced, pair connection, serial at+set application=ap server, remote com, serial broadcast, reverse telnet om - disabled, tcp client, tcp server, Device operation mode at+set operation mode=om udp slave, udp master...
  • Page 57: Appendix 1. Rs-422 / Rs-485

    Appendix 1. RS-422 / RS-485 EIA-485 [TIA-485] Balanced (differential) interface; defines the Physical layer, signaling protocol is not defined. EIA-485 specifies bidirectional, half-duplex data transmission. Up to 32 transmitters and 32 receivers may be interconnected in any combination, including one driver and multiple receivers (multi-drop), or one receiver and multiple drivers.
  • Page 58: A1.1 Rs-422 Point-To-Point Circuit

    A1.1 RS-422 Point-to-Point Circuit This is the simplest configuration, just one driver and one receiver. If termination is used, it is only required at the receiver end. Most RS-422 cables used to connect telecom or data-com equipment are point to point links. A1.2 RS-422 Multi-drop Network In this topology there is only one driver sending to one or more receivers.
  • Page 59: A1.4 Rs-485 Half-Duplex 2-Wire Network

    A1.4 RS-485 Half-duplex 2-wire Network This is the typical RS-485 topology. It takes advantage of RS-485 capability to support multiple drivers on a bus. RS-422 devices should not be used in this configuration. This topology enables bidirectional communication from many nodes over long distances at low to medium data rates, all on a single pair of wires (2-wire).
  • Page 60: Appendix 2. Vcom Program For Windows

    Appendix 2. VCOM Program for Windows Ethernet VCOM software program is contained in the product CD of the converter. It is free and used to map the serial port of a remote converter to a COM port number for Windows PC such that a remote converter’s serial port can be accessed (read/write serial data) like a local physical COM port over a LAN topology.
  • Page 61 3. Follow the steps for WinPcap installation: 4. Installation complete. -61-...
  • Page 62: A2.3 Vcom Program Operation

    A2.3 VCOM Program Operation VCOM provides “Device Info” and “COM Mapping” operations as follows: Device Info Two buttons are provided to: 1. Search: Click to search all VCOM compatible devices in network. 2. Search by IP: Click to search the devices in the specified IP ranges. -62-...
  • Page 63 COM mapping Click to create a COM mapping. Select the target device for your mapping from the search list. Delete COM Mapping Specify the existing COM port number to be deleted first in the list. Click to remove the specified COM port mapping from the list. -63-...
  • Page 64: A2.4 Alternative Solution Beside Vcom Program

    Auto Start for Windows Click “Auto-start Setting” command in Main menu, as illustrated below, to get VCOM enabled to auto start for Windows. A2.4 Alternative Solution beside VCOM Program Refer to https://www.eltima.com/products/serial-over-ethernet/ for professional solution with similar features provided by VCOM program. -64-...

Table of Contents