ICP DAS USA PDS-220F Series User Manual

Programmable serial-to-fiber device server
Hide thumbs Also See for PDS-220F Series:
Table of Contents

Advertisement

Quick Links

PDS-220Fx Series
User Manual
Programmable Serial-to-Fiber Device Server
W
ARRANTY
All products manufactured by ICP DAS are warranted
against defective materials for a period of one year
from the date of delivery to the original purchaser.
W
ARNING
ICP DAS assumes no liability for damages consequent
to the use of this product. ICP DAS reserves the right
to change this manual at any time without notice. The
information furnished by ICP DAS is believed to be
accurate and reliable. However, no responsibility is
assumed by ICP DAS for its use, nor for any
infringements of patents or other rights of third
parties resulting from its use.
C
OPYRIGHT
Copyright © 2018 by ICP DAS. All rights are reserved.
T
RADEMARKS
Names are used for identification purposes only and
may be registered trademarks of their respective
companies.
C
U
ONTACT
S
If you have any questions, please feel free to contact
us via email at:
service@icpdas.com, service.icpdas@gmail.com
Ver. 1.3
S
UPPORT
This manual relates to the following modules:
PDS-220FT, PDS-220FC,
PDS-220FCS and PDS-220FCS-60

Advertisement

Table of Contents
loading

Summary of Contents for ICP DAS USA PDS-220F Series

  • Page 1 PDS-220Fx Series User Manual Ver. 1.3 Programmable Serial-to-Fiber Device Server UPPORT ARRANTY This manual relates to the following modules: All products manufactured by ICP DAS are warranted PDS-220FT, PDS-220FC, against defective materials for a period of one year PDS-220FCS and PDS-220FCS-60 from the date of delivery to the original purchaser.
  • Page 2: Table Of Contents

    Programmable Serial-to-Fiber Device Server ABLE OF ONTENTS PACKING LIST................................5 MORE INFORMATION ..............................5 INTRODUCTION ..............................6 ELECTION UIDE ..............................7 IBER PTIC OLUTIONS ............................8 ECHNOLOGY ............................9 ERVER ECHNOLOGY ..........................11 HARDWARE INFORMATION .......................... 12 PECIFICATIONS ..............................12 EATURES ................................
  • Page 3 Programmable Serial-to-Fiber Device Server PDS-220F OGGING IN TO THE ERVER ..................... 30 ETWORK ETTING ............................32 COM P 4.2.1 IP Filter Setting ..............................36 ETTINGS ............................39 4.3.1 Operation Mode: M0, M1, M2 and M3 ......................43 4.3.2 Set Remote VCOM3 Connection ........................46 ODBUS ATEWAY ETTINGS...
  • Page 4 Programmable Serial-to-Fiber Device Server 7.3.14 MAC ................................ 87 7.3.15 NAME ..............................88 7.3.16 ALIAS ..............................88 7.3.17 DHCP ..............................89 7.3.18 UDP ................................ 89 7.3.19 VER ................................. 90 7.3.20 SAVE ............................... 90 7.3.21 LOAD ..............................91 7.3.22 CONFIG..............................93 7.3.23 RESET ..............................
  • Page 5: Packing List

    Programmable Serial-to-Fiber Device Server Packing List The shipping package includes the following items: One PDS-220Fx Series Module  One printed Quick Start Guide  PDS-220FT PDS-220FC Quick Start Note: If any of these items are missing or damaged, please contact the local distributor for more information.
  • Page 6: Introduction

    Programmable Serial-to-Fiber Device Server 1. Introduction The PDS-220Fx series is a family of Programmable Device Servers, also known as "Serial-to- Ethernet gateway”, that are designed for adding optical fiber connectivity to RS-232/422/485 devices. The user-friendly VxComm Driver/Utility allows users to easily turn the built-in COM ports of the PDS-220Fx series into standard COM ports on a PC.
  • Page 7: Election Uide

    Programmable Serial-to-Fiber Device Server 1.1 Selection Guide Model SRAM Flash Fiber Port Mode Distance COM1 COM2 100 Base-FX, Multi- PDS-220FT 2 km ST Connector mode 100 Base-FX, Multi- PDS-220FC 2 km SC Connector mode 5-wire RS-422 RS-232 RS-485 100 Base-FX, Single- PDS-220FCS 30 km...
  • Page 8: Fiber Optic Solutions

    Programmable Serial-to-Fiber Device Server 1.2 Fiber Optic Solutions The fiber-optic communications permits transmission over longer distances than other forms of communications because of the signals travel along them with less loss and no crosstalk. It has following important features: Immunity to electromagnetic interference (EMI) — Motors, relays, welders and other industrial equipment generate a tremendous amount of electrical noise that can cause major problems with copper cabling.
  • Page 9: Comm Technology

    Programmable Serial-to-Fiber Device Server 1.3 VxComm Technology In general, writing a TCP/IP program is more difficult than a COM port program, or the COM port communication system was built many years ago. As a result, a new technology, VxComm was developed to virtualize the COM ports of the PDS- 220Fx Series to allow up to 256 COM Ports to be used on the central computer.
  • Page 10 Programmable Serial-to-Fiber Device Server The VxComm driver controls all the details of the Ethernet TCP/IP programming technique; your COM port program will be able to access your serial devices through Ethernet in the same way as through COM port with the assistance of PDS-220Fx and VxComm technology. PDS-220Fx Series User Manual Version 1.3, Oct.
  • Page 11: Web Server Technology

    Programmable Serial-to-Fiber Device Server 1.4 Web Server Technology Web server technology enables the PDS-220Fx Series to be configured via a standard web browser interface, e.g. Google Chrome, Internet Explorer, or Firefox, etc. This means that it is easy to check the configuration of the PDS-220Fx Series via an Ethernet network without needing to install any other software tools, thereby reducing the learning curve required for maintaining the device.
  • Page 12: Hardware Information

    Programmable Serial-to-Fiber Device Server 2. Hardware Information This chapter provides a detailed description of the front panel, the hardware specifications, the pin assignments, the wiring notes and the dimensions for the PDS-220Fx Series. Specifications Models PDS-220Fx PDS-220FC PDS-220FCS PDS-220FCS-60 80186, 80 MHz or compatible SRAM 512 KB Flash...
  • Page 13: Features

    Programmable Serial-to-Fiber Device Server Features Adds optical fiber connectivity to serial devices  “Virtual COM” extends PC COM ports  Virtual COM for 32/64-bit Windows XP/7/10/2012/2016  Powerful Programmable Device Server  Watchdog Timer suitable for use in harsh environments ...
  • Page 14: Appearance

    Programmable Serial-to-Fiber Device Server 2.4 Appearance Front View Top View Init and Flash Lock Switch  LED Indicator  100 Base-Fx  Fiber Port DIN-Rail Mounting    COM1: RS-232 DC Power Input Connector  COM2: RS-422/485 1. LED Indicator Once power is supplied to the PDS-220Fx Series, the Sys.
  • Page 15: Com1: Rs-232

    Programmable Serial-to-Fiber Device Server 3. COM1: RS-232 For more detailed information regarding the pin assignments for the COM1 ports, refer to Section 2.6 “Pin Assignments”. 4. COM2: RS-422/485 For more detailed information regarding the pin assignments for the COM2 ports, refer to Section 2.6 “Pin Assignments”.
  • Page 16: Dc Power Input Connector

    Programmable Serial-to-Fiber Device Server 6. DC Power Input Connector The definition for “PWR” and “P.GND” for use as the power supply applies to PDS-220Fx Series. The valid power voltage range is from +12 to +48 V The definition for “F.G.” (Frame Ground): Electronic circuits are constantly vulnerable to Electrostatic Discharge (ESD), which becomes worse in a continental climate area.
  • Page 17 Programmable Serial-to-Fiber Device Server  Flash Lock Switch In factory default settings, the “Flash Lock” function is disabled. User can modify the program by yourself or update the firmware. But if need to avoid writing or erasing any file in the flash, user have to enable the “Flash Lock”...
  • Page 18: Dimensions

    Programmable Serial-to-Fiber Device Server 2.5 Dimensions The following diagrams provide the dimensions of the PDS-220Fx Series that can be used as a reference when defining the specifications for any custom enclosures. All dimensions are in millimeters. Left Side View Top View Front View Bottom View Right Side View...
  • Page 19: Pin Assignments

    Programmable Serial-to-Fiber Device Server 2.6 Pin Assignments Top View Front View PDS-220Fx Series User Manual Version 1.3, Oct. 2018 - 19 -...
  • Page 20: Wiring Notes For Rs-232/485/422 Interfaces

    Programmable Serial-to-Fiber Device Server 2.7 Wiring Notes for RS-232/485/422 Interfaces 2.7.1 RS-232 Wiring 3-wire RS-232 Wiring 9-wire RS-232 Wiring PDS-220Fx Series User Manual Version 1.3, Oct. 2018 - 20 -...
  • Page 21: Wiring

    Programmable Serial-to-Fiber Device Server 2.7.2 RS-422 Wiring 4-wire RS-422 Wiring 4-wire RS-422 Isolated Wiring 2.7.3 RS-485 Wiring 2-wire RS-485 Wiring PDS-220Fx Series User Manual Version 1.3, Oct. 2018 - 21 -...
  • Page 22 Programmable Serial-to-Fiber Device Server 2-wire RS-485 Isolated Wiring PDS-220Fx Series User Manual Version 1.3, Oct. 2018 - 22 -...
  • Page 23: Setting Up The Pds-220Fx Module

    Programmable Serial-to-Fiber Device Server 3. Setting up the PDS-220Fx Module This chapter provides detailed information about the “Self-Test” process, which is used to confirm that the PDS-220Fx Series is operating correctly. Before beginning the “Self-Test” process, the wiring test, Ethernet configuration and VxComm utility driver installation procedures must first be fully completed.
  • Page 24 Programmable Serial-to-Fiber Device Server Check that the Init Switch (SW1) is in the “Run” position. Supply power (+12 V ~ +48 V to the PDS-220Fx. Top Panel Figure 3-2 Power Supply (12 ~ 48 VDC) Verify that the System LED (Sys.) indicator is flashing on the PDS-220Fx. Figure 3-3 PDS-220Fx Series User Manual Version 1.3, Oct.
  • Page 25: Install Thev

    Programmable Serial-to-Fiber Device Server 3.2 Install the VxComm Utility The VxComm Utility can be obtained from either the ICP DAS FTP site or the ICP DAS web site. The location of the download addresses are shown below: http://ftp.icpdas.com/pub/cd/8000cd/napdos/driver/vxcomm_driver/windows/ ftp://ftp.icpdas.com/pub/cd/8000cd/napdos/driver/vxcomm_driver/windows/ 3.3 Configuring Network Settings Double click the VxComm Utility shortcut on the desktop.
  • Page 26: Configuring The Virtual Com P

    Programmable Serial-to-Fiber Device Server 3. Enter the network settings information, including the IP, Mask and Gateway addresses, and then click “OK” button. The new settings for the PDS-220Fx will take effect within 2 seconds. If you don’t know the correct network configuration information, contact your Network Administrator to obtain the details.
  • Page 27 Programmable Serial-to-Fiber Device Server 3. Click the “Add Server[s]” button. 4. Assign a COM Port number and click “OK” to save your settings.   Figure 3-7 5. Click on PDS-220Fx name, and then check the virtual COM port mappings on the PC. ...
  • Page 28: Testing Your

    Programmable Serial-to-Fiber Device Server 6. Click “Restart Driver” item in the “Tools” menu to display the “VxComm Utility: Restarting Driver” dialog box. 7. Click the “Restart Driver” button.  Figure 3-14 Figure 3-9  3.6 Testing your PDS-220Fx Module Right click Port 2 and choose the “Open COM Port”...
  • Page 29 Programmable Serial-to-Fiber Device Server 2. Check that the Configuration of the COM Port is correct and then click the “Open COM” button.  Figure 3-11 3. Type a string (e.g., $01M) in the “send” field. 4. Click the “Hex/Text” “Display” option in the section.
  • Page 30: Web Configuration

    Programmable Serial-to-Fiber Device Server 4. Web Configuration Once the PDS-220Fx has been correctly configured and is functioning on the network normally, the configuration details can be retrieved or modified using either the VxComm Utility or a standard web browser. 4.1 Logging in to the PDS-220Fx Web Server The embedded PDS-220Fx web server can be accessed from any computer that has an Internet connection.
  • Page 31 Programmable Serial-to-Fiber Device Server  Step 3: Log in to the PDS-220Fx Web Server After logging into the PDS-220Fx web server, the main page will be shows firmware information of the PDS-220Fx series module. If you update the firmware for the PDS-220Fx, this page can be used to check the software version information of the PDS-220Fx.
  • Page 32 Programmable Serial-to-Fiber Device Server 4.2 Network Setting The Network Settings section provides information related to most important network settings for IP Address, Subnet Mask Default Gateway the PDS-220Fx, including the values, etc. If they do not match, the PDS-220Fx will not operate correctly. If the settings are changed while the module is operating, any connection currently in use will be lost and an error will occur.
  • Page 33 Programmable Serial-to-Fiber Device Server The following is an overview of the parameters contained in the Network Settings section:  Item Description Default If no DHCP server is installed on the network, the network settings can be configured IP Address manually. This parameter is used to assign the subnet mask for the PDS-220Fx.
  • Page 34: Network

    Programmable Serial-to-Fiber Device Server Item Description Default Web Server This parameter is used to enable or disable Web Server function. If the web server has been disabled (Web Server=0), refer to FAQ: “How to enable web server for the PDS/7188EN Series module”...
  • Page 35 Programmable Serial-to-Fiber Device Server Item Default Description If the PDS-220Fx does not receive any data from any of the clients within the period of the “Network WDT timeout”, the module will reboot itself. This setting is the same as “SystemTimeout” setting (unit: ms) on Console/Telnet command, and is the same as “/STxxx”...
  • Page 36: Ip Filter Setting

    Programmable Serial-to-Fiber Device Server 4.2.1 IP Filter Setting The Set IP Filter limits which client PCs are able to link to the PDS-220Fx via specific IP addresses. When one or more IP addresses are set in the filter table, only client PCs where the IP address is included in the range listed of the filter table will be able to connect to the PDS-220Fx.
  • Page 37 Programmable Serial-to-Fiber Device Server The following is an overview of the parameters contained in the IP Filter Setup Page section:  Item Description Set a single IP address, the IP address entered in the “IP1” and “IP2/MASK” text fields will be the same, as the image below shows. Only clients who’s IP address is included in the filter table are able to connect to the PDS-220Fx.
  • Page 38 Programmable Serial-to-Fiber Device Server Item Description If the “UPDATE” button is clicked with checking “Save to EEPROM” option, the new Save to EEPROM settings will be saved to the PDS-220Fx only and the new settings will be valid after the next power-on. If the “UPDATE”...
  • Page 39: Com Port Settings

    Programmable Serial-to-Fiber Device Server 4.3 COM Port Settings The COM Port Settings section provides functions allowing items such as baud rate, data format, data transmission mode and pair-connection settings, etc. to be configured, each of which will be described in more detail below. PDS-220Fx Series User Manual Version 1.3, Oct.
  • Page 40 Programmable Serial-to-Fiber Device Server The COM Port Settings list is saved in the EEPROM on the PDS-220Fx.  The Currently Used COM Port Settings list.  The COM Port Settings area.  PDS-220Fx Series User Manual Version 1.3, Oct. 2018 - 40 -...
  • Page 41 Programmable Serial-to-Fiber Device Server The following is an overview of the parameters contained in the COM Port Settings section:  Item Description Default Port (COM0 for ALL PORTS) The COM Port number on the PDS-220Fx. COM1 Baud Rate This parameter is used to set the Baud Rate for the COM ports. 9600 Data Bits This parameter is used to set the Data Size for the COM ports.
  • Page 42 Programmable Serial-to-Fiber Device Server Item Description Default M1 (Slave Mode), the slave mode timeout setting is use to set the waiting time after last character of the request sent to the device. If the device does not respond within the timeout value, Slave Timeout 200 ms the PDS-220Fx will return a timeout error and process next...
  • Page 43: Operation Mode: M0, M1, M2 And M3

    Programmable Serial-to-Fiber Device Server 4.3.1 Operation Mode: M0, M1, M2 and M3 M0: Transparent Mode (Multi-echo, shared) M0 is used for Virtual COM and TCP/IP connections. In this mode, data is transmitted to each client that is connected to the PDS-220Fx. Condition 1: One client sends a request to the PDS-220Fx to access a device.
  • Page 44 Programmable Serial-to-Fiber Device Server M1: Slave Mode (Single-echo, Non-shared) M1 is used for Virtual COM and TCP/IP connections. In this mode, data is transmitted to the specific client that requested the service. If the client does not send a request to the COM port of the 220Fx, then the module won't return any data to it.
  • Page 45 Programmable Serial-to-Fiber Device Server M2: Half-Slave Mode (Is situated between M0 and the M1 mode) M2 is used for Virtual COM and TCP/IP connections. If only one client connects to the PDS-220Fx, the operation mode same as M0 mode (Multi-echo, shared), refer to Section “M0: Transparent Mode”.
  • Page 46: Set Remote Vcom3 Connection

    Programmable Serial-to-Fiber Device Server 4.3.2 Set Remote VCOM3 Connection Clicking the “Set Remote VCOM3 Connection” will display the PDS Remote Vcom3 connection Setup Page allowing your enable and configure the pair connections for the PDS-220Fx, which will be described in more detail below. The following is an overview of the parameters contained in the Remote Vcom3 connection Setup Page section: Item...
  • Page 47 Programmable Serial-to-Fiber Device Server Item Description If the “MODBUS gateway” checked, the serial port is specified as gateway MODBUS gateway from the Modbus RTU or Modbus ASCII (Master) to Modbus TCP for the remote device (Slave) Delete # “Number” Delete a specific # “Number” from the Pair-connection List. Delete All Delete all items from the pair-connection List.
  • Page 48: Modbus Gateway Settings

    Programmable Serial-to-Fiber Device Server 4.4 Modbus Gateway Settings The “Modbus Gateway Settings” section provides sets the Modbus Gateway functions for PDS- 220Fx, including the Modbus device ID, Modbus Protocol, TCP/UDP port and timeout values, etc., which will be described in more detail below. The more detailed information regarding Modbus Gateway applications settings, refer to Chatper 6 “Modbus Testing and Protocol”.
  • Page 49 Programmable Serial-to-Fiber Device Server Check the Modbus Device ID of PDS-220Fx.  Note: This ID setting is not used for your Modbus slave device. Check the COM Port for Modbus Gateway settings:  The COM Port Settings section:  The following is an overview of the parameters contained in the Configure COM Port section: ...
  • Page 50 Programmable Serial-to-Fiber Device Server Item Description This parameter is used to set the slave device ID offset. ID offset for this Port For example: Virtual Device ID (Device ID of Modbus command) = 3, Offset = 2, Physical Device ID (Modbus Device) = 5 If the PDS series does not receive any data from RTU Slave for a certain period, Timeout (default = 300 ms) the PDS-220Fx will return a timeout error to PC based on the configured timeout...
  • Page 51: Misc. Settings

    Programmable Serial-to-Fiber Device Server 4.5 Misc. Settings The Miscellaneous Settings provides functions allowing items such as the alias name, Web read only, restore factory default and change password to be configured, each of which will be described in more detail below. The following is an overview of the parameters contained in the Misc.
  • Page 52: Disable The "Web Read Only" Function

    Programmable Serial-to-Fiber Device Server 4.5.1 Disable the “Web Read Only” Function The following instructions guide you to disable the “Web Read Only” function. Step 1: Click the “Login” tab at the PDS-220Fx Misc Setup Page to proceed to the Login Page. ...
  • Page 53 Programmable Serial-to-Fiber Device Server Step 4: Check that the current the “Web Read Only” = 0. Step 5: Click “Logout” to complete the operation.   PDS-220Fx Series User Manual Version 1.3, Oct. 2018 - 53 -...
  • Page 54: Change Password

    Programmable Serial-to-Fiber Device Server 4.5.2 Change Password To change a password of the Login Page, follow the procedure described below: Step 1: Click the “Login” tab at the PDS-220Fx Misc Setup Page to proceed to the Login Page.  Step 2: Enter the password in the “PASSWORD:” field (use the default password “admin”) and click the “LOGIN”...
  • Page 55: Restore To Factory Default Settings

    Programmable Serial-to-Fiber Device Server 4.5.3 Restore to Factory Default Settings Use the following procedure to reset all parameters to their original factory default settings: Step 1: Click the “Login” tab at the PDS-220Fx Misc Setup Page to proceed to the Login Page. Step 2: Enter the password in the “PASSWORD:”...
  • Page 56: Typical Applications

    Programmable Serial-to-Fiber Device Server 5. Typical Applications 5.1 Virtual COM Application The PDS-220Fx is designed to link RS-232/422/485 devices to an Ethernet network. The VxComm utility allows the built-in PDS-220Fx COM Port to be virtualized to a standard COM Port of a host PC, as shown below: In the configuration above, Meter-1 is virtualized to link to COM3 of the host PC.
  • Page 57: Fiber I/O Applications

    Programmable Serial-to-Fiber Device Server 5.2 Fiber I/O Applications The PDS-220Fx series provides fiber optic I/O solution:  Linking to I-7000 series modules The I-7000 series provides a variety of I/O operations, such as D/I, D/O, A/D, D/A, Counter and Frequency Measurement, etc. The I-7000 series was originally designed to be used with RS-485 networks, so the RS-485 of COM on the PDS-220Fx can be used to link to I-7000 series modules.
  • Page 58 Programmable Serial-to-Fiber Device Server 2: Configure the system connection as shown below and click the “Start” button to begin logging data. 3: Open the log file in MS Excel to view the log data as shown in the example below: PDS-220Fx Series User Manual Version 1.3, Oct.
  • Page 59 Programmable Serial-to-Fiber Device Server By using the I-7000 DCON utility and MS Excel in conjunction with VxComm technology, the signal data originating from I-7000 modules via the Ethernet network can be analyzed without the need to write custom programs. For more information about the log function, refer to the online help feature (English and Traditional Chinese) of the DCON utility.
  • Page 60: Pair-Connection Applications

    Programmable Serial-to-Fiber Device Server 5.3 Pair-connection Applications PDS-220Fx can be used to create a pair-connection application (as well as serial-bridge or serial- tunnel), and then route data between two serial devices via TCP/IP, which is useful when connecting mainframe computers, servers or other serial devices that do not themselves have Ethernet capability.
  • Page 61 Programmable Serial-to-Fiber Device Server 1. Confirm that the PDS-220Fx are functioning correctly. Refer to Chapter 3 “Setting up the PDS- 220Fx Module” for more details.  Step 1: Configuring the PDS-220Fx #1 in Client Mode 2. Enter the configuration of PDS-220Fx (Client) web server (refer to Section 4.1 “Logging in to the PDS-220Fx Web Server”) and then check your firmware version is v3.2.31 [Jun 19 2009] or later.
  • Page 62 Programmable Serial-to-Fiber Device Server 4. Check the “Save current settings to EEPROM” and “Apply Current settings” options, and then click the “SET COM PORT” button to finish configuration. 5. Click “Set Remote VCOM3 connection” to precede to the PDS-220Fx #1(Client) Remote Vcom3 connection Setup Page (Pair-connection settings).
  • Page 63 Programmable Serial-to-Fiber Device Server ※ If the remote device isn’t our product and doesn’t support command port 10000, refer to the following to configure pair-connection function. 6. Select “Add COM” and type in the COM port of the PDS-220Fx #1 (Client) which you want to use. Type the appropriate IP address and TCP Port of the PDS-220Fx #2 (Server) settings in the relevant fields, for example “IP: 10.0.8.130”...
  • Page 64 Programmable Serial-to-Fiber Device Server  Step 2: Configuring the PDS-220Fx #2 in Server Mode 1. Enter the URL address of the PDS-220Fx #2 in the address bar of the browser or click the “Web” button in the VxComm Utility to log in to the web configuration page. 2.
  • Page 65: Modbus Testing And Protocol

    Programmable Serial-to-Fiber Device Server 6. Modbus Testing and Protocol The PDS-220Fx can works as a Modbus TCP to RTU/ASCII gateway that supports most SCADA/HMI communications based on the Modbus/TCP protocol. This chapter provides detailed information about the Self-Test process, which is used to confirm that the PDS-220Fx is operating correctly. Here, the M-7022 module is used as an example.
  • Page 66: Modbus/Tcp To Modbus/Rtu Gateway

    Programmable Serial-to-Fiber Device Server 6.1 Modbus/TCP to Modbus/RTU Gateway  Step 1: Configuring Baud Rate and Data Format Enter the URL address of the PDS-220Fx in the address bar of the browser to log in to the web configuration pages. ...
  • Page 67 Programmable Serial-to-Fiber Device Server  Step 2: Configuring COM Ports for Modbus Gateway Click the “Modbus Gateway Settings” in the web page to configure the COM ports. Select appropriate COM Port from the “Port (COM0 for ALL PORTS)” drop down options, for example “COM2”.
  • Page 68 Programmable Serial-to-Fiber Device Server  Step 3: Test Modbus/TCP to Modbus/RTU Gateway In the VxComm Utility, select the “Modbus TCP Master” item from the “Tools” menu to open the Modbus TCP Master Utility. Note: This function is only supported by the VxComm driver version v2.12.15 [Dec.
  • Page 69 Programmable Serial-to-Fiber Device Server Refer to “Protocol Description” and type Modbus command in the “command” field. Note: The Modbus command settings depends on your Modbus device. Click the “Send Command” button. If the response data is correct, it means the test is success. ...
  • Page 70 Programmable Serial-to-Fiber Device Server 6.2 Access Modbus Device via Virtual COM Ports If you want to use Modbus/RTU command to access the Modbus device through Virtual COM Ports, you can refer to below steps.  Step 1: Configuring COM Ports for Virtual COM Enter the URL address of the PDS-220Fx in the address bar of the browser to log in to the web configuration pages.
  • Page 71 Programmable Serial-to-Fiber Device Server Select appropriate COM Port from the “Port (COM0 for ALL PORTS)” drop down options, for example “COM2”. Select the appropriate Baud Rate and Data Format settings from the relevant drop down options depending on your Modbus device, for example Baud Rate: 19200, Data Bits: 8, Parity: None, Stop Bits: 2.
  • Page 72 Programmable Serial-to-Fiber Device Server Run VxComm Utility program to the configuring the Virtual COM Ports of the PDS-220Fx, refer Chapter 3 “Setting up the PDS-220Fx Module” for detail information.  Figure 6-2-3  Step 2: Testing Modbus Device through Virtual COM Ports In the VxComm Utility, select the “Modbus RTU Master”...
  • Page 73 Programmable Serial-to-Fiber Device Server Select your virtual COM port, Baud Rate and Data Format on PDS-220Fx and then click “Open” button to connect the PDS-220Fx, for example virtual Port: COM3, Baud Rate: 19200, Line control: N, 8, 2.  Figure 6-2-5 Refer to “Protocol Description”...
  • Page 74: How Do I Disable The M3 Mode (Modbus Gateway)

    Programmable Serial-to-Fiber Device Server 6.2.1 How do I disable the M3 Mode (Modbus Gateway) Follow the procedure described below: 1. Click the “Modbus Gateway Settings” in the web page. 2. Select the appropriate COM Port from the “Port (COM0 for ALL PORTS)” drop down options, for example “COM0”...
  • Page 75: Console/Telnet Commands List

    Programmable Serial-to-Fiber Device Server 7. Console/Telnet Commands List 7.1 Operation Flowchart PDS-220Fx Power OFF Init PDS-220Fx Power ON PDS-220Fx Power ON Run Mode Init Mode *for Virtual COM applications *for MiniOS7 Commands *for Downloading Firmware Run Firmware (vc6_3232/autoexec) Init Console Mode *for Console Commands PDS-220Fx Series User Manual Version 1.3, Oct.
  • Page 76: Comparison Sheet

    Programmable Serial-to-Fiber Device Server 7.2 Comparison Sheet (Init, Run and Console Modes) Mode Firmware VCOM Commands Telnet Commands Console Commands Stop Init Mode is used to upgrade firmware and accepts MiniOS7 commands (from PDS.COM1) only. Init Running Run Mode is used for Virtual COM applications, and accepts Virtual COM commands (TCP port 10000) and Telnet commands (TCP port 23).
  • Page 77: Command List

    Programmable Serial-to-Fiber Device Server 7.3 Command List Section Command Description 7.3.1 IPFILTER Retrieves/Sets the IP addresses that are allowed to access the PDS-220Fx. 7.3.2 IPCONF Queries the network configuration. (IP/Mask/Gateway/MAC addresses). Lists all the status of sockets (Listen/Not Used Yet) together with the type of each 7.3.3 SOCKET socket (TCP Server: Port No./UDP/Unused).
  • Page 78: Ipfilter

    Programmable Serial-to-Fiber Device Server 7.3.1 IPFILTER This command is used to query or edit IP filter table. The IP filter table restricts the access of packets based on the IP header. If one or more IP addresses are saved into the IP filter table, only clients whose IP is specified in the IP filter table can access the PDS-220Fx.
  • Page 79: Ipconf

    Programmable Serial-to-Fiber Device Server 7.3.2 IPCONF This command is used to display the network configuration information, such as IP address, Mask Address, Gateway address and MAC address and the status of DHCP, ACK_Delay, Free Memory and Socket status. Effect: Immediate Command Arguments Description...
  • Page 80: Socket

    Programmable Serial-to-Fiber Device Server 7.3.3 SOCKET This command lists the status of all sockets (Listen/Not Used Yet) together with the type of each socket (TCP Server: Port No./UDP/Unused) If stat = 1, the socket is used. If stat = 0, the socket is not yet used. Effect: Immediate Command Arguments...
  • Page 81: Com

    Programmable Serial-to-Fiber Device Server 7.3.4 COM This command queries or sets the configuration of the COM Ports (Baud Rate/Parity/Stop bits). Effect: Immediate Command Arguments Description Queries the configuration of all COM Ports. Queries configuration of COM Port “n”. If n = 0, the configuration of all COM Ports will be listed in the same way as using the command “com”...
  • Page 82: Systemtimeout

    Programmable Serial-to-Fiber Device Server 7.3.6 SystemTimeout This command queries or sets the system timeout value. If the SystemTimeout is greater than zero, and the PDS-220Fx does not receive any packets from any client for longer than the SystemTimeout period, the PDS-220Fx will reboot itself. Effect: Immediate Command Arguments...
  • Page 83 Programmable Serial-to-Fiber Device Server 7.3.8 M This command is used to query or set the echo mode. Effect: Immediate Command Arguments Description Queries the echo mode settings. Sets the Multi-echo mode to enable. When set to multi-echo mode, the PDS-220Fx echoes data from a device to all clients that are connected.
  • Page 84: Echocmdno

    Programmable Serial-to-Fiber Device Server 7.3.9 EchoCmdNo This command is used to query or set the EchoCmdNo parameter. The EchoCmdNo parameter is used to set whether the PDS-220Fx prefixes the Virtual COM command to the corresponding response. (Virtual COM commands are used to configure a PDS- 220Fx through TCP port 10000) Effect: Immediate Command...
  • Page 85: Endchar

    Programmable Serial-to-Fiber Device Server 7.3.10 EndChar This command is used to query or set the EndChar parameter. PDS-220Fx sends out the response string from serial port to TCP client immediately when it received a char on the response string that matching the EndChar. Set EndChar = 00 to disable the EndChar feature.
  • Page 86: Mask

    Programmable Serial-to-Fiber Device Server 7.3.11 IP This command is used to query or set the IP address. Effect: After the next reboot. Command Arguments Description Queries the IP address. = xxx.xxx.xxx.xxx Sets the IP address. The figure illustrates is an example of a IP configuration. Figure 7-3-11: 7.3.12 MASK This command is used to query or set the subnet Mask value.
  • Page 87: Gateway

    Programmable Serial-to-Fiber Device Server 7.3.13 GATEWAY This command is used to query or set the outgoing Gateway address of the subnet. Effect: After the next reboot. Command Arguments Description Gateway Queries the subnet Gateway value. Gateway = xxx.xxx.xxx.xxx Sets the subnet Gateway value. The figure illustrates is an example of a Gateway configuration.
  • Page 88: Name

    Programmable Serial-to-Fiber Device Server 7.3.15 NAME This command is used to query the name of a PDS-220Fx. Effect: Setting the address is not allowed. Command Arguments Description NAME Queries the name of a PDS-220Fx. The figure illustrates is an example of a NAME configuration. Figure 7-3-15: 7.3.16 ALIAS This command is used to query or set the alias of a PDS-220Fx.
  • Page 89: Dhcp

    Programmable Serial-to-Fiber Device Server 7.3.17 DHCP This command is used to set the DHCP client to either enabled or disabled. DHCP function will get a dynamic IP address setting for PDS-220Fx automatically. Thus it's recommended to disable DHCP function and use a static IP address setting. This prevents you to configure virtual COM mappings again and again.
  • Page 90: Ver

    Programmable Serial-to-Fiber Device Server 7.3.19 VER This command is used to query the version information for a PDS-220Fx. Effect: Setting the version information is not allowed. Command Arguments Description Queries the version information. The figure illustrates is an example of a VER configuration. Figure 7-3-19 7.3.20 SAVE This command is used to set the PDS-220Fx to backup or no-backup “autoexec.bat”...
  • Page 91: Load

    Programmable Serial-to-Fiber Device Server 7.3.21 LOAD This command is used to loads file to the built-in flash disk on PDS-220Fx. It should be used to update firmware only. Effect: Immediate Command Arguments Description load The command is coordinated with the MiniOS7 “load” command and can be used to renew the “vcom3230.exe”, “vcom.ini”...
  • Page 92 Programmable Serial-to-Fiber Device Server : The figure illustrates is an example of a Save = 1 configuration. Figure 7-3-21 Save=1 Load vp6_3230.exe ※ When save = 1, system will back up the "autoexec.bat" and "vcom.ini" files to memory first, clear all files in the flash disk, and then load the "autoexec.bat" and "vcom.ini" files from memory and run the “load”...
  • Page 93: Config

    Programmable Serial-to-Fiber Device Server 7.3.22 CONFIG This command is used to clear the settings in the EEPROM. Effect: Immediate Command Arguments Description config = RESET Clears the settings in the EEPROM. After reboot, the firmware will use the new (default) settings on EEPROM. Note: "RESET"...
  • Page 94: Reset

    Programmable Serial-to-Fiber Device Server 7.3.23 RESET This command is used to reboot the PDS-220Fx. Effect: Immediate Command Arguments Description reset Reboot the PDS-220Fx. The figure illustrates is an example of a RESET configuration. Figure 7-3-23 7.3.24 QUIT This command is used to stop and quit the firmware of PDS-220Fx. Effect: Immediate Command Arguments...
  • Page 95: Appendix A: Linking To A Development Pc

    Programmable Serial-to-Fiber Device Server Appendix A: Linking to a Development PC Step 1: Switch off the Power to the PDS-220Fx module. Step 2: Connect the COM1 (RS-232) connector on PDS-220Fx to COM Port on host PC using the CA- Note: CA-0910N is a 3-wire Null-modem cable (optional). 0910N cable.
  • Page 96 Programmable Serial-to-Fiber Device Server Step 5: Unzip the “7188XW_yyyymmdd.zip” file on the PC. “7188XW_yyyymmdd.zip” can be obtained from either the ICP DAS FTP site or the ICP DAS web site. The location of the download addresses are shown below: ftp://ftp.icpdas.com/pub/cd/8000cd/napdos/minios7/utility/ http://ftp.icpdas.com/pub/cd/8000cd/napdos/minios7/utility/ Step 6: Execute 7188XW.EXE/C#, and change the Baud Rate to 115200 bps, N81.
  • Page 97 Programmable Serial-to-Fiber Device Server Step 9: The configuration of the PDS-220Fx as follows can be changed. Please setting for with your PC same network region IP/Mask/Gateway addresses. This example: 192.168.41.1/255.255.255.0/192.168.41.4 Settings configuration command ip [new ip]  mask [new mask] ...
  • Page 98 Programmable Serial-to-Fiber Device Server Step 11: Execute ping you setting IP (Example: ping 192.168.255.1 –t) using a run command. Follow the procedure described below: 1. Click the “Start” button and then click “Run” to open the “Run Command” dialog box. 2.
  • Page 99: Appendix B: Glossary

    Programmable Serial-to-Fiber Device Server Appendix B: Glossary 1. ARP (Address Resolution Protocol) The Address Resolution Protocol (ARP) is a telecommunication protocol that is used to convert an IP address to a physical address, such as an Ethernet address. Consider two machines A and B that share the same physical network. Each has an assigned IP address IP and IP , and a MAC address, MAC...
  • Page 100: Ethernet

    Programmable Serial-to-Fiber Device Server 3. Ethernet The term Ethernet generally refers to a standard published in 1982 by Digital Equipment Corp., Intel Corp. and Xerox Corp. Ethernet is the most popular physical layer Local Area Network (LAN) technology in use today. 4.
  • Page 101: Ip (Internet Protocol) Address

    Programmable Serial-to-Fiber Device Server 8. IP (Internet Protocol) Address Each interface on the Internet must have a unique IP address (also called an Internet address). These addresses are 32-bit numbers, and are normally written as four decimal numbers, one for each byte of the address for example “192.168.41.1”.
  • Page 102: Socket

    Programmable Serial-to-Fiber Device Server Socket Each TCP segment contains a source and destination port number that can be used to identify the sending and receiving application. These two values, along with the source and destination IP addresses in the IP header, uniquely identify each connection. The combination of an IP address and a port number is called a socket.
  • Page 103: Appendix C: Revision History

    Programmable Serial-to-Fiber Device Server Appendix C: Revision History This chapter provides revision history information to this document. The table below shows the revision history. Revision Date Function Jun. 2010 Initial issue Dec. 2012 Update manual of style typesetting Apr. 2015 1.Remove the package CD 2.

This manual is also suitable for:

Pds-220ftPds-220fcPds-220fcsPds-220fcs-60

Table of Contents