Table of Contents

Advertisement

Programmable Serial-to-Ethernet Device Servers
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. 2.5
S
UPPORT
This manual relates to the following
modules:
PDS-5000 Series Module:
PDS-5105D-MTCP
DS-700/PDS-700 Series Modules:
DS-712, DS-715, PDS-720(D), PDS-721(D),
PDS-732(D), PDS-734(D), PDS-742(D), PDS-
743(D),
762(D), PDS-782(D), PDS-782(D)-25.
PDSM-700 Series Modules:
PDSM-721(D), PDSM-732(D), PDSM-734(D),
PDSM-742(D), PDSM-743(D), PDSM-752(D),
PDSM-755(D), PDSM-762(D), PDSM-782(D).
PPDS-700-MTCP Series Modules:
PPDS-720(D)-MTCP, PPDS-721(D)-MTCP,
PPDS-732(D)-MTCP, PPDS-734(D)-MTCP,
PPDS-742(D)-MTCP, PPDS-743(D)-MTCP,
PPDS-752(D)-MTCP, PPDS-755(D)-MTCP,
PPDS-762(D)-MTCP, PPDS-782(D)-MTCP.
PPDSM-700-MTCP Series Modules:
PPDSM-720(D)-MTCP, PPDSM-721(D)-MTCP,
PPDSM-732(D)-MTCP, PPDSM-734(D)-MTCP,
PPDSM-742(D)-MTCP, PPDSM-743(D)-MTCP,
PPDSM-752(D)-MTCP, PPDSM-755(D)-MTCP,
PPDSM-762(D)-MTCP, PPDSM-782(D)-MTCP.
PPDS-700-IP67 Series Modules:
PPDS-741-IP67, PPDS-742-IP67,
PPDS-743-IP67
PDS-752(D),
PDS-755(D),
PDS-

Advertisement

Table of Contents
loading

Summary of Contents for ICP DAS USA PDS-5000 Series

  • Page 1 All products manufactured by ICP DAS are This manual relates to the following warranted against defective materials for a period modules: of one year from the date of delivery to the PDS-5000 Series Module: original purchaser. PDS-5105D-MTCP DS-700/PDS-700 Series Modules: ARNING...
  • Page 2: Table Of Contents

    Programmable Serial-to-Ethernet Device Server ABLE OF ONTENTS PACKING LIST................................7 MORE INFORMATION ..............................8 INTRODUCTION ..............................9 PDS S ERIES OMPARISON ABLE ......................... 10 THERNET OLUTIONS ............................12 ECHNOLOGY ............................13 ERVER ECHNOLOGY ..........................15 HARDWARE INFORMATION .......................... 16 PECIFICATIONS ..............................
  • Page 3 Programmable Serial-to-Ethernet Device Server 2.4.13 DS-715 ..............................39 2.4.14 PDS-5105D-MTCP ..........................40 2.4.15 PPDS-700-IP67 ............................41 IRING OTES ..............................43 2.5.1 RS-232 Wiring ..............................43 2.5.2 RS-422 Wiring ..............................44 2.5.3 RS-485 Wiring ..............................44 2.5.4 Digital Output Wiring ............................45 2.5.5 Digital Input Wiring ............................
  • Page 4 Programmable Serial-to-Ethernet Device Server ETWORK ETTINGS ............................83 COM P 4.2.1 Set IP Filter ............................... 87 ETTINGS ............................90 4.3.1 Operation Mode: M0, M1, M2 and M3 ......................94 4.3.2 Set Remote VCOM3 Connection ........................97 ODBUS ATEWAY ETTINGS ..........................99 ETTINGS ..............................
  • Page 5 Programmable Serial-to-Ethernet Device Server $AAL $AAF ................................153 ................................152 $AAM ................................154 @AA................................155 8.10 @AA(D ) ..............................156 8.11 8.12 #AA00 ................................157 8.13 #AA1 ............................... 158 8.14 ~** ................................. 160 ............................... 159 8.15 ~AA0 ................................161 8.16 ~AA1 ................................
  • Page 6 Programmable Serial-to-Ethernet Device Server 9.3.17 DHCP ..............................189 9.3.18 UDP ..............................190 9.3.19 VER ............................... 191 9.3.20 SAVE ..............................191 9.3.21 LOAD ..............................192 9.3.22 CONFIG..............................194 9.3.23 RESET ..............................195 9.3.24 QUIT ..............................195 MODBUS INFORMATION ..........................196 10.1 ODBUS ESSAGE TRUCTURE .........................
  • Page 7: Packing List

    Programmable Serial-to-Ethernet Device Server Packing List The shipping package includes the following items: Model Hardware Quick CA-0910 Screw Plastic Waterproof Waterproof Module Start Download Driver Rack Terminal Power Plug RJ-45 Cable Connector DS-700 Series (P)PDS-700(D) 16 or 32 (-MTCP) Series (Note1) (P)PDSM-700(D) 16 or 32...
  • Page 8: More Information

    Programmable Serial-to-Ethernet Device Server More Information Documentation DS/PDS-700 Series :  http://ftp.icpdas.com/pub/cd/8000cd/napdos/pds/ds_pds-700/document/ PDS-5105D-MTCP :  http://ftp.icpdas.com/pub/cd/8000cd/napdos/pds/pds-5105d/document/ Firmware : DS/PDS-700 Series :  http://ftp.icpdas.com/pub/cd/8000cd/napdos/pds/ds_pds-700/firmware/ PDS-5105D-MTCP :  http://ftp.icpdas.com/pub/cd/8000cd/napdos/pds/pds-5105d/firmware/ OS Image (MiniOS7): DS/PDS-700 Series :  http://ftp.icpdas.com/pub/cd/8000cd/napdos/pds/ds_pds-700/OS_image/ PDS-5105D-MTCP :  http://ftp.icpdas.com/pub/cd/8000cd/napdos/pds/pds-5105d/OS_image/ Demo : DS/PDS-700 Series : ...
  • Page 9: Introduction

    Programmable Serial-to-Ethernet Device Server 1. Introduction The PDS series is a family of Programmable Device Servers, also known as "Serial-to-Ethernet gateway", that are designed for linking RS-232/422/485 devices to an Ethernet network. The user- friendly VxComm Driver/Utility allows users to easily turn the built-in COM ports of the PDS series into standard COM ports on a PC.
  • Page 10 Programmable Serial-to-Ethernet Device Server 1.1 PDS Series Comparison Table PDS(M)-700(D)/PPDS(M)-700(D)-MTCP Series Programmable Device Servers  Models -7 □ □ RS-232 RS-485 DI/DO -7 □ □ -MTCP RS-422/485 Programmable Metal Modbus/TCP Device Server Display -720 D 1 RS-232 PPDS -720 D -MTCP 1 RS-485 PDS M -721 D 1 RS-232...
  • Page 11 Programmable Serial-to-Ethernet Device Server DS-700 Series Non-Programmable Device Servers  Models RS-232 -7 □ □ RS-485 DI/DO RS-422/485 Device Server Modbus/TCP -712 1 RS-232 -715 1 RS-422/485 PPDS-700-IP67 Series Programmable Device Servers  Models RS-232 -7 □ □ -IP67 RS-485 DI/DO Programmable RS-422/485...
  • Page 12: Ethernet Solutions

    Programmable Serial-to-Ethernet Device Server 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 13: Vxcomm Technology

    Programmable Serial-to-Ethernet Device Server 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. As a result, a new technology, VxComm was developed to virtualize the COM Ports of the PDS series to allow up to 256 COM Ports to be used on a central computer.
  • Page 14 Programmable Serial-to-Ethernet Device Server The VxComm driver controls all the details of the Ethernet TCP/IP programming technique, meaning that, with the assistance of PDS series 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 15: Web Server Technology

    Programmable Serial-to-Ethernet Device Server 1.4 Web Server Technology Web server technology enables the PDS 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 series via an Ethernet network without needing to install any other software tools, thereby reducing the learning curve required for maintaining the device.
  • Page 16: Hardware Information

    Programmable Serial-to-Ethernet 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 series. 2.1 Specifications 2.1.1 PDS(M)-700(D)/PPDS(M)-700(D)-MTCP System Specifications:  Models PDS(M)-700(D) PPDS(M)-700(D)-MTCP...
  • Page 17 Programmable Serial-to-Ethernet Device Server I/O Specifications:  Models PDS(M)-700(D) PPDS(M)-700(D)-MTCP Digital Output Output Type Open Collector (Sink/NPN) Load Voltage 30 V max. Load Current 100 mA max. Isolated Voltage Non-isolated Digital Input Input Type Source (Dry Type), Common Ground Off Voltage Level +1 V max.
  • Page 18: Ds-700

    Programmable Serial-to-Ethernet Device Server 2.1.2 DS-700 System Specifications:  Models DS-700 80186-80 MHz or compatible SRAM 512 KB Flash ROM: 512 KB; Erase unit is one sector (64 KB); Flash Memory 1000,000 erase/write cycles EEPROM 16 KB; Data retention: 40 years; 1000,000 erase/write cycles Built-in Watchdog Timer COM Port Formats Data Bit...
  • Page 19: Pds-5105D-Mtcp

    Programmable Serial-to-Ethernet Device Server 2.1.3 PDS-5105D-MTCP 80186 or compatible (16-bit and 80 MHz) SRAM 512 KB 512 KB; Erase unit is one sector (64 KB); Flash Memory 1000,000 erase/write cycles EEPROM 16 KB Watchdog Timer Yes (0.8 seconds) Communication Ports Non- COM1 RS-232 (TxD, RxD, GND)/RS-485(D1+,D1-), Self-tuner ASIC inside...
  • Page 20: Ppds-700-Ip67

    Programmable Serial-to-Ethernet Device Server 2.1.4 PPDS-700-IP67 Models PPDS-741-IP67 PPDS-742-IP67 PPDS-743-IP67 80186-80 MHz or compatible SRAM 512 KB Flash ROM: 512 KB; Erase unit is one sector (64 KB); Flash Memory 1000,000 erase/write cycles EEPROM 16 KB; Data retention:40 years; 1000,000 erase/write cycles Built-in Watchdog Timer Communication Interface COM1...
  • Page 21 Programmable Serial-to-Ethernet Device Server Models PPDS-741-IP67 PPDS-742-IP67 PPDS-743-IP67 Mechanical Fire-Retardant Materials (UL94-V0 Level) Flammability Casing Plastic casing with IP67 waterproof protection Dimensions (W x H x D) 85 mm x 76 mm x 137 mm (89 mm x 90 mm x 138 mm for /DIN versions) Installation Wall mounting (DIN-Rail mounting for /DIN versions) Environment...
  • Page 22: Features

    Programmable Serial-to-Ethernet Device Server 2.2 Features Incorporates serial devices in an Ethernet network  Provides Virtual COM for 32-bit and 64-bit Windows XP/7/8/2012/10  Supports Modbus TCP to RTU/ASCII Gateway  Powerful programmable device server with lib and sample programs ...
  • Page 23: Appearance

    Programmable Serial-to-Ethernet Device Server 2.3 Appearance 2.3.1 DS-700/PDS-700(D)/PPDS-700(D)-MTCP          Description Description RJ-45 Jack for 10/100 M Ethernet and Frame Ground PoE (Power over Ethernet, for PPDS versions) COM1: RS-232 (Command Port) DIN-Rail Lock COM2: RS-485 DC Power Input (Vs+, GND) 7-Segment 5-digit LED display (for D versions),...
  • Page 24: Pdsm-700(D)/Ppdsm-700(D)-Mtcp

    Programmable Serial-to-Ethernet Device Server 2.3.2 PDSM-700(D)/PPDSM-700(D)-MTCP       Description Description RJ-45 Jack for 10/100 M Ethernet and The number of serial COM Ports available PoE (Power over Ethernet, for PPDSM depends on the type of PDS series. Refer to versions) Section 2.4 for detail information.
  • Page 25: Ppds-700-Ip67

    Programmable Serial-to-Ethernet Device Server 2.3.3 PPDS-700-IP67      Description Description RJ-45 Jack for 10/100 M Ethernet and The number of serial COM Ports available PoE (Power over Ethernet) depends on the type of PPDS-700-IP67 series. Refer to Section 2.4.15 for detail information.
  • Page 26: Pds-5105D-Mtcp

    Programmable Serial-to-Ethernet Device Server 2.3.4 PDS-5105D-MTCP         Description Description 2-Port 10/100 Base-TX Ethernet Switch with Serial COM Ports. Refer to Section 2.4.14 LAN Bypass detail information. COM1: RS-232 (Command Port) Ethernet and System LED indicator. COM2: RS-485 DC Power Input (PWR, GND) Init/Normal Operating Mode.
  • Page 27: Pin Assignments

    Programmable Serial-to-Ethernet Device Server 2.4 Pin Assignments 2.4.1 PDS-720(D)/PPDS-720(D)-MTCP INIT* Initialization pin (for enabling/disabling AUTOEXEC.BAT) V+ Pin for the power supply. (R)Vs+ PDS-700(D) series: +10 ~ +30 V unregulated; PPDS-700(D)-MTCP series: +12 ~ +48 V unregulated (B)GND GND Pin for the power supply (COM1 GND) PDS Series User Manual, Version 2.5, Mar.
  • Page 28: Pds(M)-721(D)/Ppds(M)-721(D)-Mtcp

    Programmable Serial-to-Ethernet Device Server 2.4.2 PDS(M)-721(D)/PPDS(M)-721(D)-MTCP INIT* Initialization pin (for enabling/disabling AUTOEXEC.BAT) V+ Pin for the power supply. (R)Vs+ PDS(M)-700(D) series: +10 ~ +30 V unregulated; PPDS(M)-700(D)-MTCP series: +12 ~ +48 V unregulated (B)GND GND Pin for the power supply (COM1 GND) DO.PWR Power Input for Digital Output.
  • Page 29: Pds(M)-732(D)/Ppds(M)-732(D)-Mtcp

    Programmable Serial-to-Ethernet Device Server 2.4.3 PDS(M)-732(D)/PPDS(M)-732(D)-MTCP INIT* Initialization pin (for enabling/disabling AUTOEXEC.BAT) V+ Pin for the power supply. (R)Vs+ PDS(M)-700(D) series: +10 ~ +30 V unregulated; PPDS(M)-700(D)-MTCP series: +12 ~ +48 V unregulated (B)GND GND Pin for the power supply (COM1 GND) DO.PWR Power Input for Digital Output.
  • Page 30: Pds(M)-734(D)/Ppds(M)-734(D)-Mtcp

    Programmable Serial-to-Ethernet Device Server 2.4.4 PDS(M)-734(D)/PPDS(M)-734(D)-MTCP INIT* Initialization pin (for enabling/disabling AUTOEXEC.BAT) V+ Pin for the power supply. (R)Vs+ PDS(M)-700(D) series: +10 ~ +30 V unregulated; PPDS(M)-700(D)-MTCP series: +12 ~ +48 V unregulated (B)GND GND Pin for the power supply (COM1 GND) DO.PWR Power Input for Digital Output.
  • Page 31: Pds(M)-742(D)/Ppds(M)-742(D)-Mtcp

    Programmable Serial-to-Ethernet Device Server 2.4.5 PDS(M)-742(D)/PPDS(M)-742(D)-MTCP INIT* Initialization pin (for enabling/disabling AUTOEXEC.BAT) V+ Pin for the power supply. (R)Vs+ PDS(M)-700(D) series: +10 ~ +30 V unregulated; PPDS(M)-700(D)-MTCP series: +12 ~ +48 V unregulated (B)GND GND Pin for the power supply (COM1 GND) PDS Series User Manual, Version 2.5, Mar.
  • Page 32: Pds(M)-743(D)/Ppds(M)-743(D)-Mtcp

    Programmable Serial-to-Ethernet Device Server 2.4.6 PDS(M)-743(D)/PPDS(M)-743(D)-MTCP INIT* Initialization pin (for enabling/disabling AUTOEXEC.BAT) V+ Pin for the power supply. (R)Vs+ PDS(M)-700(D) series: +10 ~ +30 V unregulated; PPDS(M)-700(D)-MTCP series: +12 ~ +48 V unregulated (B)GND GND Pin for the power supply (COM1 GND) DO.PWR Power Input for Digital Output.
  • Page 33: Pds(M)-752(D)/Ppds(M)-752(D)-Mtcp

    Programmable Serial-to-Ethernet Device Server 2.4.7 PDS(M)-752(D)/PPDS(M)-752(D)-MTCP INIT* Initialization pin (for enabling/disabling AUTOEXEC.BAT) V+ Pin for the power supply. (R)Vs+ PDS(M)-700(D) series: +10 ~ +30 V unregulated; PPDS(M)-700(D)-MTCP series: +12 ~ +48 V unregulated (B)GND GND Pin for the power supply (COM1 GND) PDS Series User Manual, Version 2.5, Mar.
  • Page 34: Pds(M)-755(D)/Ppds(M)-755(D)-Mtcp

    Programmable Serial-to-Ethernet Device Server 2.4.8 PDS(M)-755(D)/PPDS(M)-755(D)-MTCP INIT* Initialization pin (for enabling/disabling AUTOEXEC.BAT) V+ Pin for the power supply. (R)Vs+ PDS(M)-700(D) series: +10 ~ +30 V unregulated; PPDS(M)-700(D)-MTCP series: +12 ~ +48 V unregulated (B)GND GND Pin for the power supply (COM1 GND) PDS Series User Manual, Version 2.5, Mar.
  • Page 35: Pds(M)-762(D)/Ppds(M)-762(D)-Mtcp

    Programmable Serial-to-Ethernet Device Server 2.4.9 PDS(M)-762(D)/PPDS(M)-762(D)-MTCP INIT* Initialization pin (for enabling/disabling AUTOEXEC.BAT) V+ Pin for the power supply. (R)Vs+ PDS(M)-700(D) series: +10 ~ +30 V unregulated; PPDS(M)-700(D)-MTCP series: +12 ~ +48 V unregulated (B)GND GND Pin for the power supply (COM1 GND) DO.PWR Power Input for Digital Output.
  • Page 36: Pds(M)-782(D)/Ppds(M)-782(D)-Mtcp

    Programmable Serial-to-Ethernet Device Server 2.4.10 PDS(M)-782(D)/PPDS(M)-782(D)-MTCP INIT* Initialization pin (for enabling/disabling AUTOEXEC.BAT) V+ Pin for the power supply. (R)Vs+ PDS(M)-700(D) series: +10 ~ +30 V unregulated; PPDS(M)-700(D)-MTCP series: +12 ~ +48 V unregulated (B)GND GND Pin for the power supply (COM1 GND) PDS Series User Manual, Version 2.5, Mar.
  • Page 37: D)-25/D6

    Programmable Serial-to-Ethernet Device Server 2.4.11 PDS-782(D)-25/D6 PDS Series User Manual, Version 2.5, Mar. 2019 - 37 -...
  • Page 38: Ds-712

    Programmable Serial-to-Ethernet Device Server 2.4.12 DS-712 INIT* Initialization pin (for enabling/disabling AUTOEXEC.BAT) (R)Vs+ V+ Pin for the power supply (+12 ~ +48 V unregulated) (B)GND GND Pin for the power supply (COM1 GND) PDS Series User Manual, Version 2.5, Mar. 2019 - 38 -...
  • Page 39: Ds-715

    Programmable Serial-to-Ethernet Device Server 2.4.13 DS-715 INIT* Initialization pin (for enabling/disabling AUTOEXEC.BAT) (R)Vs+ V+ Pin for the power supply (+12 ~ +48 V unregulated) (B)GND GND Pin for the power supply (COM1 GND) PDS Series User Manual, Version 2.5, Mar. 2019 - 39 -...
  • Page 40: Pds-5105D-Mtcp

    Programmable Serial-to-Ethernet Device Server 2.4.14 PDS-5105D-MTCP V+ pin for the power supply (+12 ~ +48 V unregulated) P.GND GND pin for the power supply F.G. Frame Ground pin PDS Series User Manual, Version 2.5, Mar. 2019 - 40 -...
  • Page 41: Ppds-700-Ip67

    Programmable Serial-to-Ethernet Device Server 2.4.15 PPDS-700-IP67 The following is an overview and pin assignments of the serial port, power supply and LED  indicators: PPDS-741-IP67 PPDS-742-IP67 PPDS-743-IP67 PDS Series User Manual, Version 2.5, Mar. 2019 - 41 -...
  • Page 42 Programmable Serial-to-Ethernet Device Server The following is an overview and pin assignments of the CA-RJ0903 Cable (optional):  9-pin Male D-sub and RJ-45 Cable, length 30 cm This cable do not meet IP67 waterproof, but can be used with PPDS-700-IP67 for configuration purposes. The pin assignments and mapping table for the PPDS-700-IP67 module and the CA- RJ0903 cable are as follows: PPDS-700-IP67...
  • Page 43: Notes

    Programmable Serial-to-Ethernet Device Server 2.5 Wiring Notes 2.5.1 RS-232 Wiring 3-wire RS-232 Wiring 9-wire RS-232 Wiring PDS Series User Manual, Version 2.5, Mar. 2019 - 43 -...
  • Page 44: Wiring

    Programmable Serial-to-Ethernet Device Server 2.5.2 RS-422 Wiring 2.5.3 RS-485 Wiring PDS Series User Manual, Version 2.5, Mar. 2019 - 44 -...
  • Page 45: Digital Output Wiring

    Programmable Serial-to-Ethernet Device Server 2.5.4 Digital Output Wiring 2.5.5 Digital Input Wiring PDS Series User Manual, Version 2.5, Mar. 2019 - 45 -...
  • Page 46: Dimensions

    Programmable Serial-to-Ethernet Device Server 2.6 Dimensions 2.6.1 PDS-700(D)/PPDS-700(D)-MTCP Series Unit: mm Top View Bottom View Front View Din-Rail Mounting Bracket Back View Side View PDS Series User Manual, Version 2.5, Mar. 2019 - 46 -...
  • Page 47: Pdsm-700(D)/Ppdsm-700(D)-Mtcp Series

    Programmable Serial-to-Ethernet Device Server 2.6.2 PDSM-700(D)/PPDSM-700(D)-MTCP Series Unit: mm PDS Series User Manual, Version 2.5, Mar. 2019 - 47 -...
  • Page 48: Ppds-700-Ip67 Series

    Programmable Serial-to-Ethernet Device Server 2.6.3 PPDS-700-IP67 Series Unit: mm PDS Series User Manual, Version 2.5, Mar. 2019 - 48 -...
  • Page 49: Pds-5105D-Mtcp

    Programmable Serial-to-Ethernet Device Server 2.6.4 PDS-5105D-MTCP Unit: mm Front View Back View Top View Left Side View Right Side View Bottom View PDS Series User Manual, Version 2.5, Mar. 2019 - 49 -...
  • Page 50: Din-Rail Mounting

    Programmable Serial-to-Ethernet Device Server 2.7 DIN-Rail Mounting The PDS Series modules can be mounted by attaching the bottom of the chassis to a DIN-Rail, the wall or if can be piggybacked to another module.  DIN-Rail Mounting The PDS series module contains simple rail clips to enable it to be reliably mounted on a standard 35 mm DIN rail.
  • Page 51 Programmable Serial-to-Ethernet Device Server  DIN-Rail Mountable Model There are three Din-Rail versions available that enable a variety of ICP DAS devices to be mounted. Each is made of stainless steel and has a ground wire attached at one end. Part number Maximum number of modules Dimensions...
  • Page 52 Programmable Serial-to-Ethernet Device Server 2.8 PDS Series Diagnostics (LED Indicator) This section provides detailed information about the LED functions and behavior are given below. Step 1: Apply power (+Vs, GND) to the PDS Series module. PDS(M)-700 series power supply can range from +10 to +30 V ※...
  • Page 53 Programmable Serial-to-Ethernet Device Server Step 3: Check the 5-digit 7-SEG LED. Data will be shown as follows: Note: Only D-version modules have a 5-digit 7-SEG LED. Information related to the PDS series module can be classified into 4 main areas: Group ID 11111: The IP address information for the PDS series ...
  • Page 54 Programmable Serial-to-Ethernet Device Server The format for the PDS IP address information is as follows: 5-Digit LED Group ID: 11111  LED -1: indicator, which can be either 1, 2, 3 or 4  LED -2~5: IP address  TCP command port (Default = 10000) ...
  • Page 55 Programmable Serial-to-Ethernet Device Server The format for the COM Port Data Format configuration information is as follows: 5-digit LED Group ID: 33333  LED-1: COM Port number  LED-3: Data Bit: 5 , 6 , 7 or 8  LED-4: Parity Bit: n = no parity, E = even parity, O = odd parity, M = mark parity or ...
  • Page 56 Programmable Serial-to-Ethernet Device Server When the PDS is first powered-up or if it has just been reset, the reset state = 1. If any client connects to the PDS, the reset state will be changed to 0. In addition, the number of free sockets will be decreased and the number of used sockets will be increased.
  • Page 57: Init/Normal Operating Mode

    Programmable Serial-to-Ethernet Device Server Init/Normal Operating Mode Init Mode: Configuration mode  Normal Mode: Firmware operation mode (Factory Default)  For PDS series modules, the operating mode switch is set to the Normal position by default. In order to update the firmware for the PDS series modules, the switch must be moved from the Normal position to the Init position.
  • Page 58: Ds-700/Pds-782(D)-25 Series

    Programmable Serial-to-Ethernet Device Server 2.9.2 DS-700/PDS-782(D)-25 Series 2.9.3 PDSM-700(D)/PPDSM-700(D)-MTCP Series Init Mode: Short INIT* and GND Normal Mode: Open INIT* PDS Series User Manual, Version 2.5, Mar. 2019 - 58 -...
  • Page 59: Ppds-700-Ip67 Series

    Programmable Serial-to-Ethernet Device Server 2.9.4 PPDS-700-IP67 Series Normal Mode: Open INIT* Init Mode: Short INIT* and GND 2.9.5 PDS-5105D-MTCP PDS Series User Manual, Version 2.5, Mar. 2019 - 59 -...
  • Page 60: Flash Protection Function

    Programmable Serial-to-Ethernet Device Server 2.10 Flash Protection Function In factory default settings, the “flash protection” 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 protection”...
  • Page 61: Pds(M)-700(D)/Ppds(M)-700(D)-Mtcp Series

    Programmable Serial-to-Ethernet Device Server 2.10.2 PDS(M)-700(D)/PPDS(M)-700(D)-MTCP Series  Step 1: Remove the screw  Step 2: Remove the top shell  Step 3: Carefully pick up PDS Series User Manual, Version 2.5, Mar. 2019 - 61 -...
  • Page 62 Programmable Serial-to-Ethernet Device Server  Step 4: Factory Default is Non-Lock position  Step 5: Flash Lock PDS Series User Manual, Version 2.5, Mar. 2019 - 62 -...
  • Page 63: Ds-700/Pds-782(D)-25 Series

    Programmable Serial-to-Ethernet Device Server 2.10.3 DS-700/PDS-782(D)-25 Series  Factory Default is Normal position (Flash Non-Lock)  Flash Lock PDS Series User Manual, Version 2.5, Mar. 2019 - 63 -...
  • Page 64: Waterproofing Attachment Installation For Ppds-700-Ip67 S

    Programmable Serial-to-Ethernet Device Server 2.11 Waterproofing Attachment Installation for PPDS-700-IP67 Series 2.11.1 Power Plug Installation Waterproofing Power Plug (4SI01K0000013)  Step 1: Prepare a Power Cable  Step 2: Check the item 1 of IP67 power plug Correct Wrong PDS Series User Manual, Version 2.5, Mar. 2019 - 64 -...
  • Page 65 Programmable Serial-to-Ethernet Device Server  Step 3: Insert into the power cable  Step 4: Weld power plug and wires Welding (see Section 2.4.15 for pin-assignment of PPDS-700-IP67)  Step 5: Assemble item 1 and 2 1&2  Step 6: Assemble item 3 and 4 3&4 PDS Series User Manual, Version 2.5, Mar.
  • Page 66 Programmable Serial-to-Ethernet Device Server  Step 7: Assemble item 1&2 and 3&4 1&2&3&4 3&4 1&2  Step 8: Assemble item 1&2&3&4 and 5 1&2&3&4&5 1&2&3&4  Step 9: Make sure to tighten firmly  Step 10: Connect the Power cable to PPDS-700-IP67 on Power plug The fool-proofing groove (as red circle) is useful for easy connection of power cable and power plug.
  • Page 67: Plug Installation

    Programmable Serial-to-Ethernet Device Server 2.11.2 RJ-45 Plug Installation Waterproofing RJ45 Plug (4SASO-0001)  Step 1: Prepare a RJ45 Cable  Step 2: Insert into the RJ45 cable  Step 3: Assemble item RJ45 connector and RJ45 cable Section 2.4.15 for pin-assignment of PPDS-700-IP67 PDS Series User Manual, Version 2.5, Mar.
  • Page 68: Pds Series User Manual, Version 2.5, Mar

    Programmable Serial-to-Ethernet Device Server  Step 4: Assemble item 2 and 3 2&3  Step 5: Assemble item 1 and 2&3 2&3 1&2&3  Step 6: Assemble item 1&2&3 and 4 1&2&3&4 1&2&3 PDS Series User Manual, Version 2.5, Mar. 2019 - 68 -...
  • Page 69 Programmable Serial-to-Ethernet Device Server  Step 7: Assemble item 1&2&3&4 and RJ45 Plug RJ-45 Plug 1&2&3&4  Step 8: Remove the protective cover of COM Port on IP67 module  Step 9: Connect the RJ45 Plug to COM Port on IP67 RJ-45 Plug PDS Series User Manual, Version 2.5, Mar.
  • Page 70 Programmable Serial-to-Ethernet Device Server  Step 10: Assemble item 5 and RJ45 Plug RJ-45 Plug  Step 11: Make sure to tighten firmly -Complete- PDS Series User Manual, Version 2.5, Mar. 2019 - 70 -...
  • Page 71: Setting Up The Pds Series Module

    Programmable Serial-to-Ethernet Device Server 3. Setting up the PDS Series Module This chapter provides detailed information about the “Self-Test” process, which is used to confirm that the PDS 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 72 Programmable Serial-to-Ethernet Device Server DC Power Input (Non-PoE) The definition for “(R)Vs+” and “(B)GND” for use as the DC power supply to all types of PDS series, refer to the table below for the valid voltage range for PDS series. DS-700 Series PDS-782-25 PDS-700 Series...
  • Page 73 Programmable Serial-to-Ethernet Device Server  Figure 3-2: PDS-5105D-MTCP: Host PC Ethernet Cable Power Supply Hub/Switch Short TxD and RxD  Figure 3-3: PPDS-700-IP67 series: RJ-45 Wiring Cable Short TxD and RxD Host PC Power Supply Ethernet Cable Power Cable Hub/Switch PDS Series User Manual, Version 2.5, Mar.
  • Page 74 Programmable Serial-to-Ethernet Device Server PoE Power Supply The Ethernet port supports PoE (Power-over-Ethernet) functions for PPDS-700-MTCP, PPDSM-700- MTCP and PPDS-700-IP67 series modules only.  Figure 3-4: PPDS-700-MTCP and PPDSM-700-MTCP series: Host PC Ethernet Cable Power over Ethernet PoE Switch Short TxD and RxD ...
  • Page 75: Install The Vx

    Programmable Serial-to-Ethernet Device Server Verify that the System LED indicator is flashing (Red) on the PDS Series. If your PDS series module is a D-version module, the 5-digit 7-SEG LED will be used to indicate the system information described in the Section 2.8 “PDS Series Diagnostics (LED Indicator)”.
  • Page 76: Configuring Network Settings

    Programmable Serial-to-Ethernet Device Server 3.3 Configuring Network Settings Open the VxComm Utility and then click the “Search Servers” button to search for the PDS series. Once the search process is complete, double-click the name of the PDS series to open the “Configure Server”...
  • Page 77: Configuring The Virtual Com P

    Programmable Serial-to-Ethernet Device Server 3.4 Configuring the Virtual COM Ports 1. Wait 2 seconds and then click the “Search Servers” button again to ensure that the PDS series is working correctly with the new configuration. 2. Click your PDS series on the list to select it. ...
  • Page 78 Programmable Serial-to-Ethernet Device Server 5. Click on PDS series name or slot that your module plugged in and check the virtual COM port mappings on the PC.  Click Check the COM Port 6. Click “Tools”  “Restart Driver” and click the “Restart Driver” button. ...
  • Page 79: Module

    Programmable Serial-to-Ethernet Device Server 3.5 Testing your PDS Series Module 1. Click on PDS series name. 2. Right click Port 1 then choose the “Open COM Port” item.   Click Right Click 3. Check that the configuration of the COM Port is correct and click the “Open COM” button. ...
  • Page 80 Programmable Serial-to-Ethernet Device Server 4. Type a string (default: $01M) in the “send” field. 5. Select “Hex/Text” item in the “Display” area. 6. Click the “Send” button.    7. If a response is received, it will be displayed in the received field. ...
  • Page 81: Web Configuration

    Programmable Serial-to-Ethernet Device Server 4. Web Configuration Once the PDS series 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 Web Server The embedded PDS series web server can be accessed from any computer that has an Internet connection.
  • Page 82 Programmable Serial-to-Ethernet Device Server  Step 3: Log in to the PDS Web Server After logging into the PDS web server, the main page will be shows firmware information of the PDS series module. If you update the firmware for the PDS series, this page can be used to check the version information of the PDS software.
  • Page 83: Network Settings

    Programmable Serial-to-Ethernet Device Server 4.2 Network Settings The Network Settings section provides information related to most important network settings for the PDS series, including the IP Address, Subnet Mask and Default Gateway values, etc., each of which will be described in more detail below. If they do not match, the PDS series will not operate correctly.
  • Page 84 Programmable Serial-to-Ethernet 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 IP Address configured manually. This parameter is used to assign the subnet mask for the PDS series. The Subnet Mask subnet mask indicates which portion of the IP address is used to identify the local network or subnet.
  • Page 85 Programmable Serial-to-Ethernet Device Server Item Description Default This parameter is used to enable or disable Web Server function. If the web server has been disabled (Web Server=0), refer to Web Server FAQ: “How to enable web server for the PDS/7188EN Series module”...
  • Page 86 Programmable Serial-to-Ethernet Device Server Item Description Default If the PDS series 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 87: Set Ip Filter

    Programmable Serial-to-Ethernet Device Server 4.2.1 Set IP Filter The Set IP Filter limits which client PCs are able to link to the PDS series 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 series.
  • Page 88 Programmable Serial-to-Ethernet 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 series.
  • Page 89 Programmable Serial-to-Ethernet Device Server Description Item If the “UPDATE” button is clicked with checking “Save to EEPROM” option, the new settings will be saved to the PDS series only and the new settings will be Save to EEPROM valid after the next power-on. If the “UPDATE”...
  • Page 90: Com Port Settings

    Programmable Serial-to-Ethernet 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 Series User Manual, Version 2.5, Mar.
  • Page 91 Programmable Serial-to-Ethernet Device Server The COM Port Settings list is saved in the EEPROM on the PDS series.  The Currently Used COM Port Settings list.  The COM Port Settings area.  PDS Series User Manual, Version 2.5, Mar. 2019 - 91 -...
  • Page 92 Programmable Serial-to-Ethernet Device Server The following is an overview of the parameters contained in the Configure COM Port section: Item Description Default Port (COM0 for ALL PORTS) The COM Port number on the PDS series. COM1 This parameter is used to set the Baud Rate for the COM Baud Rate 9600 ports.
  • Page 93 Programmable Serial-to-Ethernet 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 Slave Timeout the device. If the device does not respond within the timeout 200 ms value, the PDS series will return a timeout error and process next request.
  • Page 94: Operation Mode: M0, M1, M2 And M3

    Programmable Serial-to-Ethernet 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 series module. Condition 1: One client sends a request to the PDS series to access a device.
  • Page 95 Programmable Serial-to-Ethernet 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 PDS series module, then the module won't return any data to it.
  • Page 96 Programmable Serial-to-Ethernet 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 series, the operation mode same as M0 mode (Multi-echo, shared), refer to Section “M0: Transparent Mode”.
  • Page 97: Set Remote Vcom3 Connection

    Programmable Serial-to-Ethernet 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 series, 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 98 Programmable Serial-to-Ethernet Device Server 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” Save to EEPROM option, the new settings will be saved to the PDS series only and the new settings will be valid after the next power-on.
  • Page 99: Modbus Gateway Settings

    Programmable Serial-to-Ethernet Device Server 4.4 Modbus Gateway Settings The “Modbus Gateway Settings” section provides sets the Modbus Gateway functions for PDS series, 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 100 Programmable Serial-to-Ethernet Device Server Check the Modbus Device ID of PDS series module  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: ...
  • Page 101 Programmable Serial-to-Ethernet Device Server The following is an overview of the parameters contained in the Configure COM Port section: Item Description This parameter is used to configure the device ID of PDS series. Note: This ID setting is not used for your Modbus slave device. Device ID for PDS The default Device ID = 255 (0xFF) This parameter is used to select the COM Port number on the PDS series.
  • Page 102: Misc. Settings

    Programmable Serial-to-Ethernet 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 Setup Page section: Item Description...
  • Page 103: Disable The "Web Read Only" Function

    Programmable Serial-to-Ethernet 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 Misc Setup Page to proceed to the Login Page. ...
  • Page 104 Programmable Serial-to-Ethernet Device Server Step 4: Check that the current the “Web Read Only” = 0. Step 5: Click “Logout” to complete the operation.   PDS Series User Manual, Version 2.5, Mar. 2019 - 104 -...
  • Page 105: Change Password

    Programmable Serial-to-Ethernet 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 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 106: Restore To Factory Default Settings

    Programmable Serial-to-Ethernet 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 Misc Setup Page to proceed to the Login Page. Step 2: Enter the password in the “PASSWORD:”...
  • Page 107: Typical Applications

    Programmable Serial-to-Ethernet Device Server 5. Typical Applications 5.1 Virtual COM Application The PDS series is designed to link RS-232/422/485 devices to an Ethernet network. The VxComm utility allows the built-in PDS series 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 108: Ethernet I/O Applications

    Programmable Serial-to-Ethernet Device Server 5.2 Ethernet I/O Applications The PDS series provides 2 types of Ethernet I/O solutions:  Linking to I-7000 series modules  Built-in DIO (if the module supports the DIO function) 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.
  • Page 109: Linking I-7000 To An Ethernet

    Programmable Serial-to-Ethernet Device Server 5.3 Linking I-7000 to an Ethernet Network The I-7000 family was originally designed for use with an RS-485 network. They are very robust and work well under the harsh industrial environments. The PDS enables I-7000 modules to be upgraded to an Ethernet solution. Linking I-7000 modules to an Ethernet combines the advantages of both RS-485 and Ethernet solutions and expands RS-485 applications to the whole world.
  • Page 110 Programmable Serial-to-Ethernet Device Server 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 111: Pair-Connection Applications

    Programmable Serial-to-Ethernet Device Server 5.5 Pair-connection Applications PDS series 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 112 Programmable Serial-to-Ethernet Device Server Follow the procedure described below:  Step 1: Connecting to a network, PC and Power 1. Confirm that the PDS series are functioning correctly. Refer to Chapter 3 “Setting up the PDS Series Module” for more details. 2.
  • Page 113 Programmable Serial-to-Ethernet Device Server  Step 2: Configuring the Ethernet Settings Contact your Network Administrator to obtain the correct and functioning network configuration for the PDS series (including the IP Address, Mask and Gateway details). Also refer to Chapter 3 “Setting up the PDS Series Module”...
  • Page 114 Programmable Serial-to-Ethernet Device Server 3. Click the “COM Port Settings” tag to enter the settings page, and select the appropriate COM Port number, Baud Rate and Data Format settings from the relevant drop down options depending on the model and type of module being used as the Modbus slave device, for example “9600”, “8”, “None”...
  • Page 115 Programmable Serial-to-Ethernet Device Server 6. Select “Add COM” and type in the COM port of the PDS-700 #1 (Client) which you want to use. Type the appropriate COM Port number, IP address and command port of the PDS-700 #2 (Server) settings in the relevant fields, for example “COM: 1”, “IP: 10.0.8.200” and “cmd port: 10000”.
  • Page 116 Programmable Serial-to-Ethernet Device Server 8. Check the Local COM Port/Remote COM port area for pair-connection setting.  9. Reboot PDS-700 #1(Client) and then setting is complete.  Step 4: Configuring the PDS-782 (PDS-700 #2) in Server Mode 1. Enter the URL address of the PDS-700 #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 117 Programmable Serial-to-Ethernet Device Server 5. Confirm that the Local COM port/Remote COM port area of the PDS-700#2 (Server) is “None”.  Step 5: Testing the Pair-connection Functions 1. Download the Test2COM.exe, you can get it from the following ICP DAS web: http://ftp.icpdas.com/pub/cd/iocard/pci/napdos/multiport/utility/ 2.
  • Page 118 Programmable Serial-to-Ethernet Device Server 3. Get the test result. PDS Series User Manual, Version 2.5, Mar. 2019 - 118 -...
  • Page 119: Modbus Testing And Protocol

    Programmable Serial-to-Ethernet Device Server 6. Modbus Testing and Protocol The PDS series module 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 series is operating correctly.
  • Page 120: Modbus/Tcp To Modbus/Rtu Gateway

    Programmable Serial-to-Ethernet Device Server  Figure 6-2: PPDS-700-IP67 series RS-485 Wiring RJ-45 Wiring Cable Power Supply Note: Please refer to the pin definitions of PPDS-700-IP67 (see Section 2.4.15) to make RJ-45 wiring and power cables. 6.1 Modbus/TCP to Modbus/RTU Gateway ...
  • Page 121 Programmable Serial-to-Ethernet Device Server Click the “COM Port Settings” in the web page to configure the COM ports. Select the appropriate COM Port, Baud Rate and Data Format settings from the relevant drop down options depending on your Modbus device, for example Port: COM2, Baud Rate: 19200, Data Bits: 8, Parity: None, Stop Bits: 2.
  • Page 122 Programmable Serial-to-Ethernet Device Server Select Modbus type from the “Type (0: ASCII, 1: RTU)” field, for example “1 (Modbus RTU)”. Checked the “Save to EEPROM” and “Apply the current setting” and then click the “Update” button to update it to PDS series. ...
  • Page 123 Programmable Serial-to-Ethernet Device Server Enter the IP address of PDS series and click “Connect” button to connect the PDS series. 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”...
  • Page 124 Programmable Serial-to-Ethernet 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 series in the address bar of the browser to log in to the web configuration pages.
  • Page 125 Programmable Serial-to-Ethernet 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 126 Programmable Serial-to-Ethernet Device Server Run VxComm Utility program to the configuring the Virtual COM Ports of the PDS series, refer to Chapter 3 “Setting up the PDS Series Module” for detail information.   Step 2: Testing Modbus Device through Virtual COM Ports In the VxComm Utility, select the “Modbus RTU Master”...
  • Page 127 Programmable Serial-to-Ethernet Device Server Select your virtual COM port, Baud Rate and Data Format on PDS series and then click “Open” button to connect the PDS series, for example virtual Port: COM3, Baud Rate: 19200, Line control: N, 8, 2. Refer to “Protocol Description”...
  • Page 128: How Do I Disable The M3 Mode (Modbus Gateway)

    Programmable Serial-to-Ethernet 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 129: Virtual I/O

    Programmable Serial-to-Ethernet Device Server 7. Virtual I/O PDS series modules provide digital I/O lines, including PDS(M)-721(D), PPDS(M)-721(D)-MTCP, PDS(M)-732(D), PPDS(M)-732(D)-MTCP, PDS(M)-734(D), PPDS(M)-734(D)-MTCP, PDS(M)-743(D), PPDS(M)-743(D)-MTCP, PDS(M)-762(D) and PPDS(M)-762(D)-MTCP. The DI is 0 ~ 30 V wide range Digital Input, while the DO is 30 V/100 mA (max.), current sink, open collector digital output. These digital I/O lines can be used to control relays, actuators, switches, etc.
  • Page 130 Programmable Serial-to-Ethernet Device Server 3. Open the VxComm Utility and click the “Search Servers” button to search for the PDS series module. 4. Click the name of the PDS series module (e.g. PDS-721) to select it. 5. Click the “Add Server[s]” button. ...
  • Page 131 Programmable Serial-to-Ethernet Device Server 8. Click “Tools”  “Restart Driver”, and click the “Restart Driver” button.  9. Check the Virtual COM Port number shown in the Port I/O field in the right-hand pane of VxComm Utility.   Step 2: Install the DCON Utility V4.5.0 (or later) The DCON Utility can be obtained from either the ICP DAS FTP site, or the ICP DAS web site.
  • Page 132 Programmable Serial-to-Ethernet Device Server  Step 3: Testing the Virtual I/O 1. Run the DCON Utility, and click the “COM Port” option on the toolbar 2. Select the Virtual I/O Port number (the same as Port I/O field in the VxComm Utility). Check 115200 and 9600 as the Baud Rate, DCON as the protocol, checksum disabled, parity as none, and then click the “OK”...
  • Page 133 Programmable Serial-to-Ethernet Device Server Click the “Start Search” button to start searching for the PDS series module   4. The PDS series module is found and is displayed in the DCON Utility. 5. Click the “Stop Search” button to stop the search ...
  • Page 134 Programmable Serial-to-Ethernet Device Server 7. Click the “Digital Output” icon to change the high/low status of the DO.  Since all DI lines are connected to DO lines, the DI read value will be 0 when the DO sends a high state, where as the DI read value will be 1.
  • Page 135: Virtual I/O Command Test

    Programmable Serial-to-Ethernet Device Server 7.2 Virtual I/O Command Test The DCON protocol is a request/reply communication protocol; it defines a simple ASCII format protocol, such as $AAN, $AASi6 and #AAN, etc. used to access the PDS and I-7000/8000/87K series I/O modules. The Virtual I/O command sets are part of the DCON protocol used to access the digital I/O lines of the PDS from the virtualized COM Port mapped to the I/O port.
  • Page 136 Programmable Serial-to-Ethernet Device Server Step 4: Receive a response from the PDS module that the command was sent successfully. PDS Series User Manual, Version 2.5, Mar. 2019 - 136 -...
  • Page 137: Programming On Apc Client

    Programmable Serial-to-Ethernet Device Server 7.3 Programming on a PC Client The General DCON Application Programming Interface kit is a set of DLL (lib) functions designed to run on Windows 98/2000/XP that allow access to remote I/O modules such as the PDS-700, I-7000, I-8000 and I-87k series.
  • Page 138 Programmable Serial-to-Ethernet Device Server 4. Set the total number of DI and DO channels on your PDS series module. For instance, the PDS-732 is equipped with 4 DI channels and 4 DO channels.  5. Set the Output value and then click the “Write DO” button to transmit the data. ...
  • Page 139 Programmable Serial-to-Ethernet Device Server The functions in the General DCON API kit can be used to access the I/O lines on the PDS series module: Section Categorization Dll and lib Call condition Starting function Uart.dll Called once when the program starts 7.3.1 Open_Com() Uart.lib...
  • Page 140: Open_Com()

    Programmable Serial-to-Ethernet Device Server 7.3.1 Open_Com() This function opens the specified COM Port. Syntax:  Open_Com(unsigned char cPort, DWORD dwBaudrate, char cData, char cParity, char cStop); Parameters:  cPort COM Port number (1 ~ 255) dwBaudrate Communication Baud Rate cData Data bit, (8 for PDS) cParity 0 = No parity...
  • Page 141: Send_Receive_Cmd

    Programmable Serial-to-Ethernet Device Server 7.3.3 Send_Receive_Cmd() This function sends a DCON command string and receives the response. Syntax:  Send_Receive_Cmd(unsigned char cPort, char szCmd[ ], char szResult[ ], WORD wTimeOut, WORD wChksum, WORD *wT); Parameters:  cPort COM Port number (1 ~ 255) szCmd[ ] The send string, 1024 bytes maximum, without a zero (0x0D) character szResult[ ]...
  • Page 142: Dcon_Write_Do()

    Programmable Serial-to-Ethernet Device Server 7.3.4 DCON_Write_DO() This function sends a group of digital output data to the PDS series module. Syntax:  DCON_Write_DO(unsigned char cComPort, short iAddress, short iSlot, short iDO_TotalCh, unsigned long lDO_Value, short iCheckSum, short iTimeOut); Parameters:  cComPort COM Port number 1 to 255 iAddress...
  • Page 143: Dcon_Write_Do_Bit()

    Programmable Serial-to-Ethernet Device Server 7.3.5 DCON_Write_DO_Bit() This function sends one bit of digital output data to the PDS series module. Syntax:  DCON_Write_DO_Bit(unsigned char cComPort, short iAddress, short iSlot, short iChannel, short iDO_TotalCh, short iBitValue, short iCheckSum, short iTimeOut); Parameters: ...
  • Page 144: Dcon_Read_Dio

    Programmable Serial-to-Ethernet Device Server 7.3.6 DCON_Read_DIO() This function reads the DO and DI lines status. Syntax:  DCON_Read_DIO(unsigned char cComPort, short iAddress, short iSlot, short iDI_TotalCh, short iDO_TotalCh, short iCheckSum, short iTimeOut, unsigned long *lDI_Value, unsigned long *lDO_Value, char *cDI_BitValue, char *cDO_BitValue);...
  • Page 145: Virtual I/O Commands

    Programmable Serial-to-Ethernet Device Server 8. Virtual I/O Commands Command Format: (Leading)(Address)(Command)[CHK](cr) Response Format: (Leading)(Address)(Data)[CHK](cr) (Address) 2-character, “01” for PDS virtual I/O [CHK] 2-character checksum, no checksum for PDS virtual I/O (cr) carriage return (0x0D) for ending character of command  Checksum Calculation: 1.
  • Page 146 Programmable Serial-to-Ethernet Device Server  General Command Sets Section Command Response Description $AA5 !AAS Reads the Reset Status $AA6 !AA(Data) Reads the Digital I/O Status $AAC Clears the Latched Digital Input $AACn Clears the Digital Input Count $AAGCN >AA(Data) Retrieves the I/O Channel Count $AALs !(Data) Reads the Latched DI...
  • Page 147: Aa5

    Programmable Serial-to-Ethernet Device Server 8.1 $AA5 This function reads the reset status Syntax:  $AA5[CHK](cr) A delimiter character The address of the module (01 only for PDS) A command for reading the status Response:  Valid Command: !AAs[CHK](cr) Invalid Command: ?AA[CHK](cr) *There will be no response if there is a syntax error or a communication error.
  • Page 148 Programmable Serial-to-Ethernet Device Server 8.2 $AA6 This function reads the status of the digital I/O channels Syntax:  $AA6[CHK](cr) A delimiter character The address of the module (01 only for PDS) A command for reading the digital I/O status Response: ...
  • Page 149: Aac

    Programmable Serial-to-Ethernet Device Server 8.3 $AAC This function clears the latched status of the digital Input Syntax:  $AAC[CHK](cr) A delimiter character The address of the module (01 only for PDS) A command for clearing latched digital inputs Response:  Valid Command: !AA[CHK](cr) Invalid Command: ?AA[CHK](cr) *Syntax error or a communication error will result in no response.
  • Page 150: Aacn

    Programmable Serial-to-Ethernet Device Server 8.4 $AACn This function clears the digital input counter Syntax:  $AACn[CHK](cr) A delimiter character The address of the module (01 only for PDS) A command for clearing the digital input count The digital input channel number Response: ...
  • Page 151: Aagcn

    Programmable Serial-to-Ethernet Device Server 8.5 $AAGCN This function reads the digital input/output channel count Syntax:  $AAGCN[CHK](cr) A delimiter character The address of the module (01 only for PDS) A command for reading the digital input/output channel count Response:  Valid Command: >DINxxDONxx[CHK](cr) Valid Command: >DONxx[CHK](cr) (DO only) Invalid Command: ?AA[CHK](cr)
  • Page 152: Aals

    Programmable Serial-to-Ethernet Device Server 8.6 $AALs This function reads the latched digital Input Syntax:  $AALs[CHK](cr) A delimiter character The address of the module (01 only for PDS) A command for reading the latched digital input data 1 = read latch-high data 0 = read latch-low data Response: ...
  • Page 153: Aaf

    Programmable Serial-to-Ethernet Device Server 8.7 $AAF This function reads the firmware version details Syntax:  $AAF[CHK](cr) A delimiter character The address of the module (01 only for PDS) A command for reading the firmware version details Response:  Valid Command: !AA(Data)[CHK](cr) Invalid Command: ?AA[CHK](cr) *A Syntax error or a communication error will result in no response.
  • Page 154: Aam

    Programmable Serial-to-Ethernet Device Server 8.8 $AAM This function reads the module name Syntax:  $AAM[CHK](cr) A delimiter character The address of the module (01 only for PDS) A command for reading the module name Response:  Valid Command: !AA(Data)[CHK](cr) Invalid Command: ?AA[CHK](cr) *A syntax error or a communication error will result in no response.
  • Page 155 Programmable Serial-to-Ethernet Device Server 8.9 @AA This function reads the status of the digital input/output Syntax:  @AA[CHK](cr) A delimiter character The address of the module (01 only for PDS) Response:  Valid Command: >(Data)[CHK](cr) Invalid Command: ?AA[CHK](cr) *A syntax error or a communication error will result in no response. >...
  • Page 156: Aa(Data)

    Programmable Serial-to-Ethernet Device Server 8.10 @AA(Data) This function sets the digital output Syntax:  @AA(Data)[CHK](cr) A delimiter character The address of the module (01 only for PDS) (Data) The output value 1. (Data) is one character for output channels less than 4 For the PDS(M)-762(D) modules, this will be from 0 to 3 For the PDS(M)-732(D), 734(D), 743(D) modules, this will be from 0 to F 2.
  • Page 157: Aan

    Programmable Serial-to-Ethernet Device Server 8.11 #AAn This function reads digital input counter from channel n Syntax:  #AAn[CHK](cr) A delimiter character The address of the module (01 only for PDS) The digital channel number (from 0) Response:  Valid Command: !AA(Data)[CHK](cr) Invalid Command: ?AA[CHK](cr) *A syntax error or a communication error will result in no response.
  • Page 158: Aa00

    Programmable Serial-to-Ethernet Device Server 8.12 #AA00dd This function sets the multi-channel Output Syntax:  #AA00dd[CHK](cr) A delimiter character The address of the module (01 only for PDS) A command used to set multi-channel output The output value Response:  Valid Command: >[CHK](cr) Invalid Command: ?[CHK](cr) Ignored Command: ![CHK](cr) *A syntax error or a communication error will result in no response.
  • Page 159: Aa1Ndd

    Programmable Serial-to-Ethernet Device Server 8.13 #AA1ndd This function sets the output of a single channel Syntax:  #AA1ndd[CHK](cr) A delimiter character The address of the module (01 only for PDS) The command used to set the output of a single channel. n is the digital output channel number.
  • Page 160 Programmable Serial-to-Ethernet Device Server 8.14 This function is used to let other modules know that the Host is OK Syntax:  ~**[CHK](cr) A delimiter character The command for all modules Response:  No response Example:  Command Response No response Related Topics: ...
  • Page 161 Programmable Serial-to-Ethernet Device Server 8.15 ~AA0 The function reads the status of the Host Watchdog Syntax:  ~AA0[CHK](cr) A delimiter character The address of the module (01 only for PDS) The command used to read the status of the module Response: ...
  • Page 162 Programmable Serial-to-Ethernet Device Server 8.16 ~AA1 This function clears the status of the Host Watchdog Syntax:  ~AA1[CHK](cr) A delimiter character The address of the module (01 only for PDS) The command used to reset the status of the module Response: ...
  • Page 163 Programmable Serial-to-Ethernet Device Server 8.17 ~AA2 This function reads the Host Watchdog Timeout Value Syntax:  ~AA2[CHK](cr) A delimiter character The address of the module (01 only for PDS) The command used to read the Host Watchdog Timeout Value Response: ...
  • Page 164: Aa3Eff

    Programmable Serial-to-Ethernet Device Server 8.18 ~AA3eff This function sets the Host Watchdog Timeout Value Syntax:  ~AA3eff[CHK](cr) A delimiter character The address of the module (01 only for PDS) The command used to read the Host Watchdog Timeout Value 1 = Enabled, 0 = Disabled The timeout value, from 01 to FF, the unit is 0.1 second Response: ...
  • Page 165 Programmable Serial-to-Ethernet Device Server No response If the ~** command is not sent within 10 seconds, the LED on the module will begin to flash. The LED indicates that the status of the Host Watchdog Timeout is set. ~010 !0104 Read the status of the module.
  • Page 166: Aa4P

    Programmable Serial-to-Ethernet Device Server 8.19 ~AA4P This function reads the Power-on Values for the DO Syntax:  ~AA4P[CHK](cr) A delimiter character The address of the module (01 only for PDS) The command used to read the power-on value for the DO Response: ...
  • Page 167: Aa4S

    Programmable Serial-to-Ethernet Device Server 8.20 ~AA4S This function reads the Safe Values for the DO Syntax:  ~AA4S[CHK](cr) A delimiter character The address of the module (01 only for PDS) The command used to read the power-on value for the DO Response: ...
  • Page 168: Aa5P

    Programmable Serial-to-Ethernet Device Server 8.21 ~AA5P This function sets the Power-on Value for the DO Syntax:  ~AA5P[CHK](cr) A delimiter character The address of the module (01 only for PDS) The command used to read the power-on value for the DO Response: ...
  • Page 169: Aa5S

    Programmable Serial-to-Ethernet Device Server 8.22 ~AA5S This function sets the Safe Value for the DO Syntax:  ~AA5S[CHK](cr) A delimiter character The address of the module (01 only for PDS) The command used to set the safe value for the DO Response: ...
  • Page 170: Application Notes

    Programmable Serial-to-Ethernet Device Server 8.23 Application Notes Hot Watchdog Status  The Power On Reset or Module Watchdog Reset will return all output settings to Power On Values. The Host Watchdog Timeout will return all output values to Safe Values. Additionally, the status of the Host Watchdog, which can be read using the ~AA0 command, will be recorded as 04, and output commands will be ignored until the status is cleared to 0 by using command ~AA1.
  • Page 171 Programmable Serial-to-Ethernet Device Server Digital Output  The output status of the module has three different conditions: Safe Value: If the Host Watchdog Timeout status is set, the output is set to the Safe Value. If the module receives an output command, such as @AA(Data) or #AABBDD, the module will ignore the command and return ‘!’, and will not change the output to the output command value.
  • Page 172: Console/Telnet Commands List

    Programmable Serial-to-Ethernet Device Server 9. Console/Telnet Commands List 9.1 Operation Flowchart PDS Power OFF Short Init* and GND pins Open Init* pin PDS Power ON PDS Power ON Normal Mode Init Mode *for Virtual COM applications *for MiniOS7 Commands *for Downloading Firmware Run Firmware (vc6_3230/autoexec) Short...
  • Page 173: Comparison Sheet

    Programmable Serial-to-Ethernet Device Server 9.2 Comparison Sheet (Init, Run and Console Modes) VCOM Telnet Console Mode Firmware Init* and GND Pins Commands Commands Commands Stop Init Init Mode is used to upgrade firmware and accepts MiniOS7 commands (from PDS.COM1) only. Running Open Run Mode is used for Virtual COM applications, and accepts Virtual COM commands (TCP port...
  • Page 174: Command List

    Programmable Serial-to-Ethernet Device Server 9.3 Command List Section Command Description 9.3.1 IPFILTER Retrieves/Sets the IP addresses that are allowed to access the PDS. 9.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 9.3.3 SOCKET socket (TCP Server: Port No./UDP/Unused).
  • Page 175: Ipfilter

    Programmable Serial-to-Ethernet Device Server 9.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.
  • Page 176 Programmable Serial-to-Ethernet Device Server Figure 9-3.1: The following is an example of a IPFILTER configuration. PDS Series User Manual, Version 2.5, Mar. 2019 - 176 -...
  • Page 177: Ipconf

    Programmable Serial-to-Ethernet Device Server 9.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 178: Socket

    Programmable Serial-to-Ethernet Device Server 9.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 179: Com

    Programmable Serial-to-Ethernet Device Server 9.3.4 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 180: Broadcast

    Programmable Serial-to-Ethernet Device Server 9.3.5 Broadcast This command is used to Enable/Disable listening broadcast packets on PDS. 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 181: Systemtimeout

    Programmable Serial-to-Ethernet Device Server 9.3.6 SystemTimeout This command queries or sets the system timeout value. If the SystemTimeout is greater than zero, and the PDS does not receive any packets from any client for longer than the SystemTimeout period, the PDS will reboot itself. Effect: Immediate Command Arguments...
  • Page 182: Sockettimeout

    Programmable Serial-to-Ethernet Device Server 9.3.7 SocketTimeout This command is used to query or set the SocketTimeout parameter. If the SocketTimeout is greater than zero, and the PDS does not receive any data from a client PC for longer than the SocketTimeout period, the PDS will close the socket connection between itself and the client PC.
  • Page 183: 183

    Programmable Serial-to-Ethernet Device Server 9.3.8 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 echoes data from a device to all clients that are connected.
  • Page 184: Echocmdno

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

    Programmable Serial-to-Ethernet Device Server 9.3.10 EndChar This command is used to query or set the EndChar parameter. PDS 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 186: Mask

    Programmable Serial-to-Ethernet Device Server 9.3.11 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 9-3.11: The following is an example of a IP configuration. 9.3.12 MASK This command is used to query or set the subnet Mask value.
  • Page 187: Gateway

    Programmable Serial-to-Ethernet Device Server 9.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. Figure 9-3.13: The following is an example of a Gateway configuration.
  • Page 188: Name

    Programmable Serial-to-Ethernet Device Server 9.3.15 NAME This command is used to query the name of a PDS. Effect: Setting the address is not allowed. Command Arguments Description NAME Queries the name of a PDS. Figure 9-3.15: The following is an example of a NAME configuration. 9.3.16 ALIAS This command is used to query or set the alias of a PDS.
  • Page 189: Dhcp

    Programmable Serial-to-Ethernet Device Server 9.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 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 190: Udp

    Programmable Serial-to-Ethernet Device Server 9.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 receives a UDP search command. Effect: Immediate Command Arguments Description Rejects UDP search commands. The PDS will not reply to the UDP search command, and can not be searched again.
  • Page 191: Ver

    Programmable Serial-to-Ethernet Device Server 9.3.19 VER This command is used to query the version information for a PDS. Effect: Setting the version information is not allowed. Command Arguments Description Queries the version information. Figure 9-3.19: The following is an example of a VER configuration. 9.3.20 SAVE This command is used to set the PDS to backup or no-backup “autoexec.bat”...
  • Page 192: Load

    Programmable Serial-to-Ethernet Device Server 9.3.21 LOAD This command is used to loads file to the built-in flash disk on PDS. It should be used to update firmware only. Effect: Immediate Command Arguments Description The command is coordinated with the MiniOS7 “load” command and load can be used to renew the “vcom3230.exe,”...
  • Page 193 Programmable Serial-to-Ethernet Device Server Figure 9-3.21: The following is an example of a Save = 1 configuration. Save=1 Load vc6_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 194: Config

    Programmable Serial-to-Ethernet Device Server 9.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 195: Reset

    Programmable Serial-to-Ethernet Device Server 9.3.23 RESET This command is used to reboot the PDS. Effect: Immediate Command Arguments Description Reboot the PDS. reset Figure 9-3.23: The following is an example of a RESET configuration. 9.3.24 QUIT This command is used to stop and quit the firmware of PDS. Effect: Immediate Command Arguments...
  • Page 196: Modbus Information

    Programmable Serial-to-Ethernet Device Server Modbus Information What is Modbus TCP/IP? Modbus is a communication protocol developed by Modicon in 1979. You can also visit http://www.modbus.org to find more valuable information. The Different versions of Modbus used today include Modbus RTU (based on serial communication interfaces such as RS485 and RS232), Modbus ASCII and Modbus TCP, which is the Modbus RTU protocol embedded into TCP packets.
  • Page 197 Programmable Serial-to-Ethernet Device Server Leading 6 bytes of Modbus/TCP protocol: Byte 00 Byte 01 Byte 02 Byte 03 Byte 04 Byte 05 Length field (upper Length field (lower Transaction identifier Protocol identifier byte ) byte) Transaction identifier: Assigned by Modbus/TCP master (client) Protocol identifier: 0 Length field (upper byte): 0 (since all messages are smaller than 256) Length field (lower byte): Number of following RTU data bytes...
  • Page 198 Programmable Serial-to-Ethernet Device Server Function Code: specifies the message type.  The second byte in the frame structure of the Modbus RTU is the function code. The function code describes what the slave is required to do. Valid function codes are between 1 and 255. The slave uses the same function code as the request to answer it.
  • Page 199: 0X01) Read Coils Status (Readback Dos)

    Programmable Serial-to-Ethernet Device Server 01 (0x01) Read Coils Status (Readback DOs) This function code is used to read the current coils status or the current digital output readback value. [Request] Byte Description Size Value Net ID (Station number) 1 Byte 1 ~ 247 Function code 1 Byte...
  • Page 200 Programmable Serial-to-Ethernet Device Server For example: Function 01 (0x01), Readback DOs Reads digital output value of PPDS-721D-MTCP: [Leading 6 bytes] [Request] Command: 01 02 00 00 00 06 01 01 00 00 00 07 [Leading 6 bytes] [Response] Response: 01 02 00 00 00 04 01 01 01 04 Descriptions as follows: Command:...
  • Page 201: 0X02) Read Input Status (Read Dis)

    Programmable Serial-to-Ethernet Device Server 02 (0x02) Read Input Status (Read DIs) This function code is used to read the current digital input value. [Request] Byte Description Size Value Net ID (Station number) 1 Byte 1 ~ 247 Function code 1 Byte 0x02 Refer to Modbus Address table for PPDS series.
  • Page 202 Programmable Serial-to-Ethernet Device Server For example: Function 02 (0x02), Read DIs Reads digital input value of PPDS-721D-MTCP: [Leading 6 bytes] [Request] Command: 01 02 00 00 00 06 01 02 00 00 00 06 [Leading 6 bytes] [Response] Response: 01 02 00 00 00 04 01 02 01 3B Descriptions as follows: Command:...
  • Page 203: 0X05) Force Single Coil (Write Do)

    Programmable Serial-to-Ethernet Device Server 05 (0x05) Force Single Coil (Write DO) This function code is used to set a single coil status or a single digital output value. [Request] Byte Description Size Value Net ID (Station number) 1 Byte 1 ~ 247 Function code 1 Byte 0x05...
  • Page 204 Programmable Serial-to-Ethernet Device Server For example: function 05 (0x05), Write DO Sets the DO2 to ON of PPDS-721D-MTCP [Leading 6 bytes] [Request] Command: 01 02 00 00 00 06 01 05 00 02 FF 00 [Leading 6 bytes] [Response] Response: 01 02 00 00 00 06 01 05 00 02 FF 00 Descriptions as follows:...
  • Page 205: 0X0F) Force Multiple Coil (Write Dos)

    Programmable Serial-to-Ethernet Device Server 15 (0x0F) Force Multiple Coil (Write DOs) This function code is used to set multiple coils status or write multiple digital output value. [Request] Byte Description Size Value Net ID (Station number) 1 Byte 1 ~ 247 Function code 1 Byte 0x0F...
  • Page 206 Programmable Serial-to-Ethernet Device Server For example: function 0F (0x0F), Write DOs Sets DO0 ~ DO6 to NO of PPDS-721D-MTCP [Leading 6 bytes] [Request] Command: 01 02 00 00 00 08 01 0F 00 00 00 07 01 7F [Leading 6 bytes] [Response] Response: 01 02 00 00 00 06...
  • Page 207: Modbus Message Map

    Programmable Serial-to-Ethernet Device Server 10.2 Modbus Message Map The nDI and nDO parameters of each model used in the following Modbus address tables are shown as follows: Number of DO channels Number of DI channels Model name (nDO) (nDI) PDS(M)-721(D), PPDS(M)-721(D)-MTCP PDS(M)-732(D), PPDS(M)-732(D)-MTCP PDS(M)-734(D), PPDS(M)-734(D)-MTCP PDS(M)-743(D), PPDS(M)-743(D)-MTCP...
  • Page 208: Appendix A: Linking To A Development Pc

    Programmable Serial-to-Ethernet Device Server Appendix A: Linking to a Development PC Step 1: Connect the download-cable (CA0910), between the PDS 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, as follows: Connect the CA-0910.TX with PDS.TxD Connect the CA-0910.RX with PDS.RxD Connect the CA-0910.GND with PDS.GND...
  • Page 209 Programmable Serial-to-Ethernet Device Server Step 4: Verify that the System LED indicator is flashing on the PDS. If your PDS series module is a D-version module, the 5-digit 7-SEG LED will be used to indicate the system information described in Section 2.8 “PDS Series Diagnostics (LED Indicator)”.
  • Page 210 Programmable Serial-to-Ethernet Device Server Step 8: Read the configuration of the PDS (The following is a default value). Read configuration command  Mask  Gateway   setcom port  Step 9: The configuration of the PDS as follows can be changed. Please setting for with your PC same network region IP/Mask/Gateway addresses.
  • Page 211 Programmable Serial-to-Ethernet Device Server Step 10: Disconnect the INIT* pin from the GND pin. Step 11: Execute ping you setting IP (e.g., ping 10.0.8.246 –t) using a run command. Follow the procedure described below: 1. Click the “Start” button and then click “Run”...
  • Page 212 Programmable Serial-to-Ethernet Device Server Notes: 1. 192.168.255.1 is the default IP of the PDS. The IP address can be changed using the instructions in step 8. 2. If the PDS cannot be successfully pinged from the PC, refer to step 8 to change the configuration of the PDS.
  • Page 213: Appendix B: Frame Ground

    Programmable Serial-to-Ethernet Device Server Appendix B: Frame Ground Electronic circuits are constantly vulnerable to Electro Static Discharge (ESD), which becomes worse in a continental climate area. PDS series modules feature a new design for the frame ground, which provides a path for bypassing ESD, allowing enhanced static protection (ESD) capability and ensures that the module is more reliable.
  • Page 214: Appendix C: Glossary

    Programmable Serial-to-Ethernet Device Server Appendix C: 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 215: Firmware

    Programmable Serial-to-Ethernet Device Server 4. Firmware Firmware is an embedded software program or set of instructions programmed on a device that provides the necessary instructions for how the device communicated with other computer hardware, and is located or stored in a semi-permanent storage area, e.g., ROM, EEPROM, or Flash memory.
  • Page 216: Mac (Media Access Control) Address

    Programmable Serial-to-Ethernet Device Server 9. MAC (Media Access Control) Address To allow a computer to determine which packets are meant for it, each device attached to an Ethernet network is assigned a 48-bit integer known as its MAC address (also called the Ethernet address, the hardware address or the physical address).
  • Page 217: Socket

    Programmable Serial-to-Ethernet 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 218: Appendix D: Revision History

    Programmable Serial-to-Ethernet Device Server Appendix D: Revision History This chapter provides revision history information to this document. The table below shows the revision history. Revision Date Function Initial issue 2.2.2 Dec. 2014 Delete Appendix: FAQ Delete the Modbus Utility and change the use Modbus 2.2.5 Nov.

Table of Contents