ICPDAS PDS-811 User Manual

Pds-8x1 series; programmable device server with i/o expansion slot

Advertisement

Quick Links

PDS-8x1 Series
User Manual
Programmable Device Server with I/O Expansion Slot(s)
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 © 2014 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.1.2
S
UPPORT
This manual relates to the following modules:
PDS-811 and PDS-821

Advertisement

Table of Contents
loading

Summary of Contents for ICPDAS PDS-811

  • Page 1 UPPORT infringements of patents or other rights of third This manual relates to the following modules: parties resulting from its use. PDS-811 and PDS-821 OPYRIGHT Copyright © 2014 by ICP DAS. All rights are reserved. RADEMARKS Names are used for identification purposes only and may be registered trademarks of their respective companies.
  • Page 2: Table Of Contents

    PPLICATIONS ............................... 14 PPEARANCE ................................ 16 IMENSIONS ..............................18 SSIGNMENTS 2.6.1 PDS-811 and PDS-821 ............................18 2.6.2 I-8112iW ................................19 2.6.3 I-8114W ................................20 2.6.4 I-8114iW ................................21 2.6.5 I-8142iW ................................22 2.6.6 I-8144iW ................................23 RS-232/485/422 I ....................24...
  • Page 3 Programmable Device Server with I/O Expansion Slot(s) 4.3.2 Set Remote VCOM3 Connection ........................51 ..............................53 ETTINGS 4.4.1 Disable the “Web Read Only” Function ......................54 4.4.2 Change Password .............................. 56 4.4.3 Restore to Factory Default Settings ........................57 TYPICAL APPLICATIONS ............................. 59 COM A ..........................
  • Page 4 Programmable Device Server with I/O Expansion Slot(s) APPENDIX A: LINKING TO A DEVELOPMENT PC ......................95 APPENDIX B: GLOSSARY ............................100 ARP (A ) ........................100 DDRESS ESOLUTION ROTOCOL ............................. 100 LIENTS AND ERVERS ................................101 THERNET ................................101 IRMWARE ................................101 ATEWAY ICMP (I ) .......................
  • Page 5: Packing List

    Packing List The shipping package includes the following items: Note: If any of these items are missing or  One PDS-811 or PDS-821 series hardware controller damaged, please contact the local  One software utility CD distributor for more information.
  • Page 6: Introduction

    The PDS-811 has one I/O expansion slot, while PDS-821 has two I/O expansion slots that can be used to attach various 2- or 4-port serial communication modules. Therefore, a maximum of 4 serial ports can be installed on the PDS-811 or a maximum of 8 serial ports can be installed on the PDS-821.
  • Page 7: Selection Guide

    Programmable Device Server with I/O Expansion Slot(s) 1.1 Selection Guide  PDS-8x1 Series controllers Selection Guide Model PDS-811 PDS-821 Slots 80186 80186 (80 MHz) (80 MHz) RAM/Flash Disk 512 KB/512 KB 512 KB/512 KB Ethernet 2-Port Ethernet Switch 2-Port Ethernet Switch...
  • Page 8: Ethernet Solutions

    Programmable Device Server with I/O Expansion Slot(s) 1.2 Ethernet Solutions Nowadays, the Ethernet protocol has become the foremost standard for local area networks. Connectivity via the Internet is now common in many of the latest applications from home appliances, to vending machines, to testing equipment, to UPS, etc. An Ethernet network can link office automation and industrial control networks, access remote systems and share data and information between machines from multiple vendors, and also provides a cost-effective solution for industrial control networks.
  • Page 9: Vxcomm Technology

    Programmable Device Server with I/O Expansion Slot(s) 1.3 VxComm Technology In general, writing a TCP/IP program is more difficult than writing a COM Port program. Another issue is that perhaps the existing the COM Port communication system was built many years ago and is now outdated.
  • Page 10 Programmable Device Server with I/O Expansion Slot(s) The VxComm driver controls all the details of the Ethernet TCP/IP programming technique, meaning that, with the assistance of PDS-8x1 controller and VxComm technology, your COM Port program will be able to access your serial devices through the Ethernet in the same way as through a COM Port.
  • Page 11: Web Server Technology

    Programmable Device Server with I/O Expansion Slot(s) 1.4 Web Server Technology Web server technology enables the PDS-8x1 controller 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-8x1 controller 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

    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-8x1 controller. 2.1 Specifications Models PDS-811 PDS-821 80186-80 MHz or compatible SRAM 512 KB...
  • Page 13: Features

    Programmable Device Server with I/O Expansion Slot(s) 2.2 Features  Incorporate Serial Devices in an Ethernet network  Virtual COM for 32-bit and 64-bit Windows XP/2003/Vista/7/8  Watchdog Timer suitable for use in harsh environments  2-port 10/100 Base-TX Ethernet Switch (Auto-negotiating, auto MDI/MDI-X, LED indicator) ...
  • Page 14: Appearance

    Therefore, a maximum of 4 serial ports can be installed on the PDS-811 or a maximum of 8 serial ports can be installed on the PDS-821. LED indicator Once power is supplied to the PDS-8x1 controller, the system LED indicator will illuminate. An...
  • Page 15 Programmable Device Server with I/O Expansion Slot(s) Operating Mode Switch Init Mode: Uses factory settings and allows the firmware to be updated Run Mode: Firmware operation mode For PDS-8x1 controller, the operating mode switch is set to the position by default. In order to update the firmware for the PDS-8x1 controller, the switch must be moved from the position to the Init...
  • Page 16: Dimensions

    Programmable Device Server with I/O Expansion Slot(s) 2.5 Dimensions  PDS-811 : Units: mm Front View Left Side View Right Side View Rear View Top View Bottom View PDS-8x1 Series User Manual, Version 1.1.2, Apr. 2015 - 16 -...
  • Page 17 Programmable Device Server with I/O Expansion Slot(s)  PDS-821 : Units: mm Left Side View Front View Right Side View Rear View Top View Bottom View PDS-8x1 Series User Manual, Version 1.1.2, Apr. 2015 - 17 -...
  • Page 18: Pin Assignments

    Programmable Device Server with I/O Expansion Slot(s) 2.6 Pin Assignments 2.6.1 PDS-811 and PDS-821 PDS-8x1 Series User Manual, Version 1.1.2, Apr. 2015 - 18 -...
  • Page 19: I-8112Iw

    Programmable Device Server with I/O Expansion Slot(s) 2.6.2 I-8112iW The I-8112iW is an optional serial module that provides 2 isolated RS-232 serial ports. PDS-8x1 Series User Manual, Version 1.1.2, Apr. 2015 - 19 -...
  • Page 20: I-8114W

    Programmable Device Server with I/O Expansion Slot(s) 2.6.3 I-8114W The I-8114W is an optional serial module that provides 4 non-isolated RS-232 serial ports. PDS-8x1 Series User Manual, Version 1.1.2, Apr. 2015 - 20 -...
  • Page 21: I-8114Iw

    Programmable Device Server with I/O Expansion Slot(s) 2.6.4 I-8114iW The I-8114iW is an optional serial module that provides 4 isolated RS-232 serial ports. PDS-8x1 Series User Manual, Version 1.1.2, Apr. 2015 - 21 -...
  • Page 22: I-8142Iw

    Programmable Device Server with I/O Expansion Slot(s) 2.6.5 I-8142iW The I-8142iW is an optional serial module that provides 2 isolated RS-422/485 serial ports. PDS-8x1 Series User Manual, Version 1.1.2, Apr. 2015 - 22 -...
  • Page 23: I-8144Iw

    Programmable Device Server with I/O Expansion Slot(s) 2.6.6 I-8144iW The I-8144iW is an optional serial module that provides 4 isolated RS-422/485 serial ports. PDS-8x1 Series User Manual, Version 1.1.2, Apr. 2015 - 23 -...
  • Page 24: Wiring Notes For Rs-232/485/422 Interfaces

    Programmable Device Server with I/O Expansion Slot(s) 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 Note: 1. For 3-Wire RS-232 connections, it is recommended to short unused signals such as RTS/CTS and DTR/DSR, since some system may still check the CTS and DSR status. 2.
  • Page 25: Wiring

    Programmable Device Server with I/O Expansion Slot(s) 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-8x1 Series User Manual, Version 1.1.2, Apr. 2015 - 25 -...
  • Page 26 Programmable Device Server with I/O Expansion Slot(s) 2-wire RS-485 Isolated Wiring Note: 1. Usually, you have to connect all signal grounds of RS-422/485 devices together to reduce common-mode voltage between devices. 2. Twisted-pair cable must be used for the DATA+/- wires. 3.
  • Page 27: Setting Up The Pds-8X1 Controller

    Programmable Device Server with I/O Expansion Slot(s) 3. Setting up the PDS-8x1 Controller This chapter provides detailed information about the “Self-Test” process, which is used to confirm that the PDS-8x1 controller 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 28 Programmable Device Server with I/O Expansion Slot(s) Connect both the PDS-8x1 and the Host computer to the same sub-network or the same Ethernet Switch. Short the RxD and TxD pins of the PDS-8x1 controller for self-test. Short the TxD1 (Pin 19) and RxD1 (Pin 37) pins of the 4-Port I-8114iW module (RS-232 bus) for example of self-test.
  • Page 29 DAS web site. The location of the install files on the CD and the download addresses are shown below: CD:\\ NAPDOS\DRiver\VxComm_Driver\2k\ http://ftp.icpdas.com/pub/cd/8000cd/napdos/driver/vxcomm_driver/2 Step 3: Search for the PDS-8x1 controller on the Ethernet network Open the VxComm Utility and then click the “Search Servers”...
  • Page 30 Programmable Device Server with I/O Expansion Slot(s) Enter the network settings information, including the IP, Mask and Gateway addresses, and then click “OK” button. The new settings for the PDS-8x1 controller 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 31 Programmable Device Server with I/O Expansion Slot(s) 2. Click the “Add Server*s+” button. Assign a COM Port number and click “OK” to save your settings. Assign a COM Port number 3. Click on PDS-8x1 controller name or slot that your module plugged in, and then check the virtual COM port mappings on the PC.
  • Page 32 Programmable Device Server with I/O Expansion Slot(s) “Tools”  “Restart 4. Click Driver”, and then click the “Restart Driver” button. Step 5: Testing your PDS-8x1 controller 1. Click on PDS-8x1 controller name and right click Port 1 then choose the “Open COM Port”...
  • Page 33 Programmable Device Server with I/O Expansion Slot(s) 2. Check that the configuration of the COM Port is correct and then click the “Open COM” button. Check that the configuration is correct and then click the “Open COM” button 3. Type a string in the send field then click the “Send”...
  • Page 34 Programmable Device Server with I/O Expansion Slot(s) Step 5: Testing your Serial Modules (Optional) 1. Click on serial modules (Slot) and right click Port 10 then choose the “Open COM Port” item. Right Click 2. Check that the configuration of the COM Port is correct and then click the “Open COM”...
  • Page 35 Programmable Device Server with I/O Expansion Slot(s) 3. Type a string in the send field then click the “Send” button. If a response is received, it will be displayed in the received field. The response is displayed Note: While using RS-485 modules (e.g. I-8144iW), you should wire the Data1+ with Data2+ signals, and wire the Data1- with Data2- signals for self-test.
  • Page 36: Web Configuration

    Programmable Device Server with I/O Expansion Slot(s) 4. Web Configuration Once the PDS-8x1 controller 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-8x1 Web Server The embedded PDS-8x1 controller web server can be accessed from any computer that has an Internet connection.
  • Page 37 Programmable Device Server with I/O Expansion Slot(s) Step 3: Log in to the PDS-8x1 Web Server After logging into the PDS-8x1 web server, the main page will be shows firmware information of the PDS-8x1 controller. PDS-8x1 Series User Manual, Version 1.1.2, Apr. 2015 - 37 -...
  • Page 38: Network Setting

    Programmable Device Server with I/O Expansion Slot(s) 4.2 Network Setting The Network Settings section provides information related to most important network settings for the PDS-8x1 controller, including the IP Address, Subnet Mask Default Gateway values, etc. If they do not match, the PDS-8x1 controller 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 39 Programmable Device Server with I/O Expansion Slot(s) 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 IP Address can be configured manually. This parameter is used to assign the subnet mask for the PDS-8x1 Subnet Mask controller.
  • Page 40 Programmable Device Server with I/O Expansion Slot(s) Web Server This parameter is used to enable or disable Web Server function. 0 = Disabled, 1 = Enabled Telnet Server This parameter is used to enable or disable Telnet Server function. 0 = Disabled, 1 = Enabled Ping Gateway at start If the setting is 1 (enabled), the PDS-8x1 controller will send a ping packet to the gateway during the power-...
  • Page 41 Programmable Device Server with I/O Expansion Slot(s) When user uses “config=RESET” Console/Telnet command to clear the EEPROM, the “Network WDT timeout” (SystemTimeout, /ST) setting will also be cleared to 0. Users have to configure this setting again by “SystemTimeout” Console/Telnet command. 0 = Disabled, Min.
  • Page 42: Ip Filter Setting

    Programmable Device Server with I/O Expansion Slot(s) 4.2.1 IP Filter Setting The IP filter setting limits which client PCs are able to link to the PDS-8x1 controller 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-8x1 controller.
  • Page 43 Programmable Device Server with I/O Expansion Slot(s) 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 Set IP1 only connect to the PDS-8x1 controller.
  • Page 44 Programmable Device Server with I/O Expansion Slot(s) If the “UPDATE” button is clicked with checking “Save to EEPROM” Save to EEPROM option, the new settings will be saved to the PDS-8x1 controller only and the new settings will be valid after the next power-on. If the “UPDATE”...
  • Page 45: Com Port Settings

    Programmable Device Server with I/O Expansion Slot(s) 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. PDS-8x1 Series User Manual, Version 1.1.2, Apr. 2015 - 45 -...
  • Page 46 Programmable Device Server with I/O Expansion Slot(s)  The COM Port Settings list is saved in the EEPROM on the PDS-8x1 controller.  The Currently Used COM Port Settings list.  The COM Port Settings area. PDS-8x1 Series User Manual, Version 1.1.2, Apr. 2015 - 46 -...
  • Page 47 Programmable Device Server with I/O Expansion Slot(s) The following is an overview of the parameters contained in the COM Port Settings section: Item Description Default Port (COM0 for ALL The COM Port number on the PDS-8x1 controller. COM1 PORTS) This parameter is used to set the Baud Rate for the COM Baud Rate 9600 ports.
  • Page 48 Programmable Device Server with I/O Expansion Slot(s) In 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, the PDS-8x1 controller will return a timeout error and process next request.
  • Page 49: Operation Mode: M0, M1 And M2

    Programmable Device Server with I/O Expansion Slot(s) 4.3.1 Operation Mode: M0, M1 and M2  M0: Transparent Mode (Multi-echo mode) Condition 1: One client sends a request to the PDS-8x1 controller to access each device. The PDS-8x1 controller echoes the data from each device to each connected client.
  • Page 50 Programmable Device Server with I/O Expansion Slot(s) Condition 2: No clients send any requests to the PDS-8x1 controller. The PDS-8x1 controller doesn’t echo any data from the devices to any client.  M2: Half-Slave Mode (Is situated between M0 and the M1 mode) If only one client connects to the PDS-8x1 controller, the operation mode same as M0 mode, please refer to page 48 (M0: Transparent Mode);...
  • Page 51: Set Remote Vcom3 Connection

    Programmable Device Server with I/O Expansion Slot(s) 4.3.2 Set Remote VCOM3 Connection The “Set Remote VCOM3 Connection” section provides sets the pair-connection functions, the more detailed information regarding pair-connection applications settings, please refer to the Section 5.3 Pair-connection Applications. The following is an overview of the parameters contained in the Remote Vcom3 connection Setup Page section: Item Description...
  • Page 52 Programmable Device Server with I/O Expansion Slot(s) Item Description Delete # “Number” Delete a specific # “Number” from the Pair-connection List. Delete All Delete all items from the pair-connection List. If the “submit” button is clicked with checking “Save to EEPROM”...
  • Page 53: Misc. Settings

    Programmable Device Server with I/O Expansion Slot(s) 4.4 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. Item Description Click the this tab to proceed to the Login page that can disable “Web Read Only”...
  • Page 54: Disable The "Web Read Only" Function

    Programmable Device Server with I/O Expansion Slot(s) 4.4.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-8x1 Misc Setup Page to proceed to the Login Page. Step 2: Enter the password in the “PASSWORD:”...
  • Page 55 Programmable Device Server with I/O Expansion Slot(s) Step 4: Check that the current the “Web Read Only” = 0 and then click “Logout” to complete the operation. Check PDS-8x1 Series User Manual, Version 1.1.2, Apr. 2015 - 55 -...
  • Page 56: Change Password

    Programmable Device Server with I/O Expansion Slot(s) 4.4.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-8x1 Misc Setup Page to proceed to the Login Page. Step 2: Enter the password in the “PASSWORD:”...
  • Page 57: Restore To Factory Default Settings

    Programmable Device Server with I/O Expansion Slot(s) 4.4.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-8x1 Misc Setup Page to proceed to the Login Page. Step 2: Enter the password in the “PASSWORD:”...
  • Page 58 Programmable Device Server with I/O Expansion Slot(s) Step 4: Click the “Logout” to complete the operation, and then power-on reboot the PDS-8x1 controller. The following is an overview of the factory default settings: Factory Default Settings Network Settings IP Address 192.168.255.1 Gateway Address 192.168.0.1...
  • Page 59: Typical Applications

    Programmable Device Server with I/O Expansion Slot(s) 5. Typical Applications 5.1 Virtual COM Application The PDS-8x1 controller is designed to link RS-232/422/485 devices to an Ethernet network. The VxComm utility allows the built-in PDS-8x1 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 60: Ethernet I/O Applications

    Programmable Device Server with I/O Expansion Slot(s) 5.2 Ethernet I/O Applications 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-8x1 can be used to link to I-7000 series modules.
  • Page 61 Programmable Device Server with I/O Expansion Slot(s) Configure 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: 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.
  • Page 62: Pair-Connection Applications

    Programmable Device Server with I/O Expansion Slot(s) 5.3 Pair-connection Applications PDS-8x1 controller 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 63 Programmable Device Server with I/O Expansion Slot(s) The following are examples of pair-connection tests: Pair-connection Settings: Port Settings Pair-connection Settings (default) Model Baud Data Remote Remote TCP Port Port Rate Format Server IP (default) PDS-8x1 #1 IP Address of PDS-8x1 #2 COM1 9600 10001...
  • Page 64 Programmable Device Server with I/O Expansion Slot(s) Figure 5-3.1 The image below shows an example of the setup for a pair-connection test: Step 2: Configuring the Ethernet Settings Contact your Network Administrator to obtain the correct and functioning network configuration for the PDS-8x1 controllers (including the IP Address, Mask and Gateway details).
  • Page 65 Programmable Device Server with I/O Expansion Slot(s) Step 3: Configuring the Pair-connection (Client Mode) on the Web Server for PDS-8x1 #1 1. Enter the URL address of the PDS-8x1 #1 in the address bar of the browser or click the “Web” button in the VxComm Utility to log in to the web configuration page.
  • Page 66 Programmable Device Server with I/O Expansion Slot(s) 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 proceed to the PDS-8x1 Remote Vcom3 connection Setup Page (Pair-connection settings).
  • Page 67 Programmable Device Server with I/O Expansion Slot(s) ※ 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-8x1 #1 (Client) which you want to use.
  • Page 68 Programmable Device Server with I/O Expansion Slot(s) Step 4: Configuring the Pair-connection (Server Mode) on the Web Server for PDS-8x1 #2 1. Enter the URL address of the PDS-8x1 #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.
  • Page 69 Programmable Device Server with I/O Expansion Slot(s) Step 5: Testing the Pair-connection Functions 1. The Test2COM.exe program is located at: CD:\Napdos\multiport\utility http://ftp.icpdas.com/pub/cd/iocard/pci/napdos/multiport/utility/ 2. Execute the Test2COM.exe program. 1. Type 5. Check COM1\COM2 Baud Rates: 9600 2. Check Data Bits: 8 3.
  • Page 70 Programmable Device Server with I/O Expansion Slot(s) 3. Get the test result. Complete 9. Test Results: “Failed Test: 0 ” PDS-8x1 Series User Manual, Version 1.1.2, Apr. 2015 - 70 -...
  • Page 71: Console/Telnet Commands List

    Programmable Device Server with I/O Expansion Slot(s) 6. Console/Telnet Commands List 6.1 Operation Flowchart PDS-8x1 Power OFF Init PDS-8x1 Power ON PDS-8x1 Power ON Run Mode Init Mode *for Virtual COM applications *for MiniOS7 Commands *for Downloading Firmware Run Firmware (vp8_3230/autoexec) Init Console Mode...
  • Page 72: Comparison Sheet (Init, Run And Console Modes)

    Programmable Device Server with I/O Expansion Slot(s) 6.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 Init PDS.COM1) only. Running Run Mode is used for Virtual COM applications, and accepts Virtual COM commands (TCP port 10000) and Telnet commands (TCP port 23).
  • Page 73: Command List

    Programmable Device Server with I/O Expansion Slot(s) 6.3 Command List Section Command Description 6.3.1 IPFILTER Retrieves/Sets the IP addresses that are allowed to access the PDS-8x1. 6.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 6.3.3 SOCKET type of each socket (TCP Server: Port No./UDP/Unused).
  • Page 74: Ipfilter

    Programmable Device Server with I/O Expansion Slot(s) 6.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-8x1.
  • Page 75 Programmable Device Server with I/O Expansion Slot(s) Figure 6-3.1: The following is an example of a IPFILTER configuration. PDS-8x1 Series User Manual, Version 1.1.2, Apr. 2015 - 75 -...
  • Page 76: Ipconf

    Programmable Device Server with I/O Expansion Slot(s) 6.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...
  • Page 77: Socket

    Programmable Device Server with I/O Expansion Slot(s) 6.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 78: Com

    Programmable Device Server with I/O Expansion Slot(s) 6.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 79: Broadcast

    Programmable Device Server with I/O Expansion Slot(s) 6.3.5 Broadcast This command is used to Enable/Disable listening broadcast packets on PDS-8x1. Effect: Immediate Command Arguments Description Broadcast Queries the Broadcast settings. Broadcast Sets Broadcast = 1. The system is able to receive broadcast packets. Broadcast Sets Broadcast = 0.
  • Page 80: Systemtimeout

    Programmable Device Server with I/O Expansion Slot(s) 6.3.6 SystemTimeout This command queries or sets the system timeout value. If the SystemTimeout is greater than zero, and the PDS-8x1 does not receive any packets from any client for longer than the SystemTimeout period, the PDS-8x1 will reboot itself. Effect: Immediate Command Arguments...
  • Page 81: Sockettimeout

    Programmable Device Server with I/O Expansion Slot(s) 6.3.7 SocketTimeout This command is used to query or set the SocketTimeout parameter. If the SocketTimeout is greater than zero, and the PDS-8x1 does not receive any data from a client PC for longer than the SocketTimeout period, the PDS-8x1 will close the socket connection between itself and the client PC.
  • Page 82 Programmable Device Server with I/O Expansion Slot(s) 6.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-8x1 echoes data from a device to all clients that are connected.
  • Page 83: Echocmdno

    Programmable Device Server with I/O Expansion Slot(s) 6.3.9 EchoCmdNo This command is used to query or set the EchoCmdNo parameter. The EchoCmdNo parameter is used to set whether the PDS-8x1 prefixes the Virtual COM command to the corresponding response. (Virtual COM commands are used to configure a PDS-8x1 through TCP port 10000) Effect: Immediate Command...
  • Page 84: Endchar

    Programmable Device Server with I/O Expansion Slot(s) 6.3.10 EndChar This command is used to query or set the EndChar parameter. PDS-8x1 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 85: Mask

    Programmable Device Server with I/O Expansion Slot(s) 6.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. Figure 6-3.11: The following is an example of a IP configuration.
  • Page 86: Gateway

    Programmable Device Server with I/O Expansion Slot(s) 6.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.
  • Page 87: Name

    Programmable Device Server with I/O Expansion Slot(s) 6.3.15 NAME This command is used to query the name of a PDS-8x1 controller. Effect: Setting the address is not allowed. Command Arguments Description NAME Queries the name of a PDS-8x1 controller. Figure 6-3.15: The following is an example of a NAME configuration.
  • Page 88: Dhcp

    Programmable Device Server with I/O Expansion Slot(s) 6.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-8x1 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 89: Udp

    Programmable Device Server with I/O Expansion Slot(s) 6.3.18 UDP This command is used to configure the UDP Search function. UDP is used to set the action mode for when a PDS-8x1 receives a UDP search command. Effect: Immediate Command Arguments Description Rejects UDP search commands.
  • Page 90: Ver

    Programmable Device Server with I/O Expansion Slot(s) 6.3.19 VER This command is used to query the version information for a PDS-8x1. Effect: Setting the version information is not allowed. Command Arguments Description Queries the version information. Figure 6-3.19: The following is an example of a VER configuration. 6.3.20 SAVE This command is used to set the PDS-8x1 to backup or no-backup “autoexec.bat”...
  • Page 91: Load

    Programmable Device Server with I/O Expansion Slot(s) 6.3.21 LOAD This command is used to loads file to the built-in flash disk on PDS-8x1. It should be used to update firmware only. Effect: Immediate Command Arguments Description The command is coordinated with the MiniOS7 “load” command load and can be used to renew the “vcom3230.exe,”...
  • Page 92 Programmable Device Server with I/O Expansion Slot(s) Figure 6-3.21: The following is an example of a Save = 1 configuration. Save=1 Load vp8_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"...
  • Page 93: Config

    Programmable Device Server with I/O Expansion Slot(s) 6.3.22 CONFIG This command is used to clear the settings in the EEPROM. Effect: Immediate Command Arguments Description Clears the settings in the EEPROM. config = RESET After reboot, the firmware will use the new (default) settings on EEPROM.
  • Page 94: Reset

    Programmable Device Server with I/O Expansion Slot(s) 6.3.23 RESET This command is used to reboot the PDS-8x1 controller. Effect: Immediate Command Arguments Description Reboot the PDS-8x1 controller. reset Figure 6-3.23: The following is an example of a RESET configuration. 6.3.24 QUIT This command is used to stop and quit the firmware of PDS-8x1 controller.
  • Page 95: Appendix A: Linking To A Development Pc

    Programmable Device Server with I/O Expansion Slot(s) Appendix A: Linking to a Development PC Step 1: Connect the download-cable (CA0910), between the PDS-8x1 controller and COM 1 of the development PC. 1-1: Connect the connector of CA-0910 download cable to your host computer. 1-2: Wire the CA-0910 to PDS-8x1 controller, as follows: Connect the CA-0910.TX with PDS-8x1.TxD Connect the CA-0910.RX with PDS-8x1.RxD...
  • Page 96 ICP DAS web site. The location of the install files on the CD and the download addresses are shown below: CD:\\ 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. “/C#” is the COM Port of the development PC.
  • Page 97 Programmable Device Server with I/O Expansion Slot(s) Step 8: Read the configuration of the PDS-8x1 (The following is a default value). Read configuration command   Mask  Gateway   setcom port Step 9: The configuration of the PDS-8x1 as follows can be changed. Please setting for with your PC same network region IP/Mask/Gateway addresses.
  • Page 98 Programmable Device Server with I/O Expansion Slot(s) Step 10: Set the Init/Run Switch in “Run Mode” position, and then power-on reboot the PDS-8x1 controller. Step 11: Execute ping you setting IP (Example: ping 10.0.8.246 –t) using a run command. Follow the procedure described below: 1.
  • Page 99 Programmable Device Server with I/O Expansion Slot(s) Note: 1. 192.168.255.1 is the default IP of the PDS-8x1 controller. The IP address can be changed using the instructions in step 8. 2. If the PDS-8x1 cannot be successfully pinged from the PC, refer to step 8 to change the configuration of the PDS-8x1 controller.
  • Page 100: Appendix B: Glossary

    Programmable Device Server with I/O Expansion Slot(s) 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.
  • Page 101: Ethernet

    Programmable Device Server with I/O Expansion Slot(s) 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.
  • Page 102: Ip (Internet Protocol) Address

    Programmable Device Server with I/O Expansion Slot(s) 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 103: Rarp (Reverse Address Resolution Protocol)

    Programmable Device Server with I/O Expansion Slot(s) 12. RARP (Reverse Address Resolution Protocol) RARP provides a method of dynamically mapping 48-bit MAC address to the corresponding 32-bit IP address. RARP has now been replaced by the Bootstrap Protocol (BOOTP) and the modern Dynamic Host Configuration Protocol (DHCP).
  • Page 104: Tcp/Ip

    Programmable Device Server with I/O Expansion Slot(s) 16. TCP/IP The Transmission Control Protocol (TCP) and the Internet Protocol (IP) are standard network protocols that are almost always implemented and used together in a formation is known as TCP/IP. TCP/IP can be used to communicate across any set of interconnected networks. 17.

This manual is also suitable for:

Pds-821

Table of Contents