All products manufactured by ICP DAS are under warranty regarding defective materials for a
period of one year, starting from the date of delivery to the original purchaser.
Warning
ICP DAS assumes no liability for damages resulting from 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.
Copyright
Copyright 2008 by ICP DAS. All rights are reserved.
Trademark
The names used for identification only may be registered trademarks of their respective
companies.
PDS Series User Manual ( V1.4, Oct. 2009) ----- 1
Table of Contents
1. INTRODUCTION 6
1.1.
W
HY ETHERNET SOLUTIONS
1.2.
W
HY VXCOMM TECHNOLOGY
1.3.
W
HY WEB SERVER TECHNOLOGY
2. TYPICAL APPLICATIONS FOR THE PDS 11
2.1. RS-232/485/422 D
2.2.
E
THERNET
2.3.
L
INKING
2.4.
C
ONFIGURABLE ETHERNET DATA LOGGER
3. HARDWARE INFORMATION 16
3.1.
F
EATURES
3.2.
S
PECIFICATIONS
3.3.
PDS C
3.4.
P
IN ASSIGNMENTS
3.5.
PDS W
I-7000 S
16
OMPARISON TABLE
IRING CONNECTIONS
EVICE NETWORKING
I/O A
PPLICATIONS
ERIES MODULES TO AN ETHERNET NETWORK
17
29
? 7
? 8
? 10
11
12
13
13
25
63
3.6.
D
IMENSIONS AND MOUNTING
3.7.
PDS
SERIES DIAGNOSTICS
4. SETTING UP THE PDS MODULE 74
5. CONFIGURATION WITH WEB BROWSER 81
5.1.
C
ONNECTING TO THE
5.2.
N
ETWORK SETTINGS
5.3.
IP
FILTER SETTING
5.4.
COM P
5.5.
P
5.6.
M
6. MODBUS TESTING & PROTOCOL 96
6.1.
M
6.2.
T
7. VIRTUAL I/O 103
ORT SETTINGS
AIR CONNECTION SETTING
ISCELLANEOUS SETTINGS
ODBUS
/TCP
TO MODBUS
ESTING MODBUS DEVICE THROUGH VIRTUAL
PDS S
82
85
65
70
ERIES MODULE
86
?92
94
/RTU G
ATEWAY
81
97
COM P
ORTS
100
7.1.
7.2.
T
ESTING THE VIRTUAL
V
IRTUAL
I/O C
OMMANDS TEST
I/O 103
107
PDS Series User Manual ( V1.4, Oct. 2009) ----- 2
7.3.
P
ROGRAMMING ON A PC CLIENT
109
8. VIRTUAL I/O COMMANDS 117
8.1.
$AA5 119
8.2.
$AA6 120
8.3.
$AAC 121
8.4.
$AACN 122
8.5.
$AAGCN 123
8.6.
$AALS 124
8.7.
$AAF 125
8.8.
$AAM 126
8.9.
@AA 127
8.10. @AA(D
8.11. #AAN 129
8.12. #AA00DD 130
8.13. #AA1
8.14. ~** 132
8.15. ~AA0 133
ATA
) 128
NDD
131
8.16. ~AA1 134
8.17. ~AA2 135
8.18. ~AA3
8.19. ~AA4P 138
8.20. ~AA4S 139
8.21. ~AA5P 140
8.22. ~AA5S 141
8.23. A
9. CONSOLE / TELNET COMMANDS LIST 145
9.1.
9.2.
9.3.
9.4.
APPENDIX A: LINKING TO A DEVELOPMENT PC 172
APPENDIX B: FRAME GROUND 175
EFF
136
PPLICATION NOTES
O
PERATION FLOWCHART
R
EGULATE INIT/NORMAL MODE
C
OMPARISON SHEET (INIT/RUN/CONSOLE MODES
C
OMMAND LIST
142
145
146
150
) 149
GLOSSARY 177
1. E
2. I
THERNET
NTERNET
177
177
PDS Series User Manual ( V1.4, Oct. 2009) ----- 3
3. TCP/IP 177
4. TCP (T
5. UDP (U
6. G
7. IP (I
8. MAC (M
9. S
10.
11.
12.
13.
14.
15.
16.
17.
FAQ 181
RANSMISSION CONTROL PROTOCOL
SER DATAGRAM PROTOCOL
ATEWAY
UBNET MASK
ARP (A
RARP (R
ICMP (I
P
P
S
C
F
177
NTERNET PROTOCOL) ADDRESS
EDIA ACCESS CONTROL) ADDRESS
178
DDRESS RESOLUTION PROTOCOL
EVERSE ADDRESS RESOLUTION PROTOCOL
NTERNET CONTROL MESSAGES PROTOCOL
ING
179
ACKET
179
OCKET
179
LIENTS AND SERVERS
IRMWARE
180
180
) 177
178
) 177
178
) 178
) 179
) 179
1. H
2. H
3. D
4. D
5. W
6. D
DEVICE SERVERS
7. W
8. C
PORT
9. H
10.
SOLVE IT
OW TO ACCESS THE REMOTE
OW TO OPEN A VIRTUAL
OES VXCOMM DRIVER
OES VXCOMM DRIVER
HY DOESN'T THE VXCOMM DRIVER
OES THE TRANSMISSION SPEED BECOME FASTER WHEN THE SERIAL DEVICE WORKING WITH SERIAL TO ETHERNET
HY DOES THE
AN I USE THE SETCOMMSTATE ( )
? 189
OW MANY PCS CAN BE CONNECTED TO A SINGLE
C
? 191
PDS
THAT PLACED BEHIND AN
COM
PORT THAT LARGER THAN
(PC) V2.00
(PC)
WORK WITH VXCOMM SERVER V
SUPPORT AUTO-RECONNECTION AFTER FIXING A NETWORK BREAK
(PC)
RECEIVE DATA FROM THE
NAT
"COM 9"
OR FIREWALL
BY CALLING CREATEFILE() WIN32
? 181
API? 182
2.6.00? 183
? 183
PDS
SERIES MODULE
? 184
? 185
PDS
SERIES MODULE FAIL ON A (PUBLIC) INTERNET CONNECTION
AN I SEARCH OR CONNECT TO
API
TO CHANGES THE BAUD RATE/DATA FORMAT SETTINGS OF A VIRTUAL
PDS
PDS
WHEN MY
DEVICE
PC’S IP
? 189
ADDRESS IS NOT IN THE IP FILTER LIST OF
? 187
PDS? H
COM
OW CAN I
PDS Series User Manual ( V1.4, Oct. 2009) ----- 4
1.
3.
Packing List
The package includes the following items:
One (Programmable) Device Server hardware module
One companion DVD
One RS-232 download cable, CA-0910
(Only for
PDS(M)-700(D), PPDS(M)-700(D)-MTCP
)
One Quick Start Guide
2.
4.
Quick Start
Note:
If any of these items are missed or damaged, contact the local distributors for more
information. Save the shipping materials and cartons in case you want to ship in the future.
The PDS-700 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-700 series into standard COM ports on a PC.
By virtue of its protocol independence, a small-core OS and high flexibility, the PDS700 series is able to meet the demands of every network-enabled application.
The PDS-700 series includes a powerful and reliable Xserver programming structure
that allows you to design your robust Ethernet applications in one day. The built-in,
high-performance MiniOS7 boots the PDS-700 up in just one second and gives you
fastest responses.
The PPDS-700-MTCP series features true IEEE 802.3af-compliant (classification,
Class 1) Power over Ethernet (PoE) using a standard category 5 Ethernet cable to
receive power from a PoE switch like the NS-205PSE. The PPDS-700-MTCP also
works as a Modbus/TCP to Modbus/RTU gateway that supports most SCADA/HMI
communications based on the Modbus/TCP protocol. The PDSM-700 is the PDS-700
with Metal Case (RoHS) and the PPDSM-700-MTCP is the PPDS-700-MTCP with
Metal Case (RoHS). Metal Case version includes stronger protection than PDS-700
and PPDS-700-MTCP.
PDS Series User Manual ( V1.4, Oct. 2009) ----- 6
1.1. Why Ethernet Solutions?
Nowadays, the Ethernet protocol has become the de-facto standard for local area
networks. Via the Internet, connectivity is occurring everywhere, 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 multivendor machines; it also provides a cost-effective solution for
industrial control networks.
PDS Series User Manual ( V1.4, Oct. 2009) ----- 7
1.2. Why VxComm Technology?
In general, writing a TCP/IP program is more difficult than a COM port program, or the
COM port communication system was built many years ago.
As a result, a new technology, VxComm was developed to virtualize the COM ports
of the PDS to allow up to 256 COM Ports to be used on the central computer. The
VxComm driver saves time when accessing serial devices through the Ethernet without the
need for reprogramming the COM port software on the PC.
PDS Series User Manual ( V1.4, Oct. 2009) ----- 8
The VxComm driver controls all the details of the Ethernet TCP/IP programming
technique; your COM port program will be able to access your serial devices through
Ethernet in the same way as through COM port with the assistance of PDS and VxComm
technology.
PDS Series User Manual ( V1.4, Oct. 2009) ----- 9
1.3. Why Web Server Technology?
Web server technology enables configuration of the PDS via a standard web browser
interface, e.g. Internet Explorer, FireFox or Mozilla, etc. This means that it is easy to
check the configuration of the PDS via an Ethernet network without needing to install any
other software tools; thereby reducing the user’s learning carve.
PDS Series User Manual ( V1.4, Oct. 2009) ----- 10
COM3/4 of
the
host
PC
COM5/6 of
the
host
PC
2. Typical Applications for the PDS
2.1. RS-232/485/422 Device Networking
--- Using Virtual COM Technology ---
The PDS series is designed to link RS-232/485/422 devices to an Ethernet network. The
VxComm utility allows the built-in PDS COM Port to be virtualized to a standard COM
Port of the host PC as shown below:
The original COM1/2
of the host PC
COM1/2 of the PDS-
700 is mapped to
COM1/2 of the PDS-
700 is mapped to
In the configuration above, Meter-1 is virtualized to link to COM3 of the host PC.
Therefore a program original designed for the MS-COMM standard can access the meter
without any modification.
PDS Series User Manual ( V1.4, Oct. 2009) ----- 11
2.2. Ethernet I/O Applications
The PDS series provides 2 types of Ethernet I/O solutions:
1. Linking to I-7000 series modules
2. 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. The I-7000 series was originally designed to be
used with RS-485 networks, so COM2 on the PDS-700 can be used to link to I-7000 series
modules.
By using VxComm technology, programs that on the host PC support serial devices
can be upgraded from a RS-485 network to an Ethernet network without requiring any
modifications to the program. Refer to Sec. 2.1 for more information.
Built-in DIO
The DCON protocol is a request
/reply communication. Protocol that
is defined using a simple ASCII
format, such as $AAN, $AASi6,
#AAN, etc. and is used to access
PDS and I-7000/8000/ 87k series I/O
modules.
The DCON protocol command
set for the PDS is introduced in Sec.
7. The protocol allows access the
built-in I/O through the virtual COM Ports mapped to the Port I/O of the PDS in the
VxComm Utility.
PDS Series User Manual ( V1.4, Oct. 2009) ----- 12
2.3. Linking I-7000 Series Modules 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 I7000 modules to an Ethernet combines the advantages of both RS-485 and Ethernet
solutions and expands RS-485 applications to the whole world.
The VxComm approach provides an MS-COMM-compatible interface. Therefore,
previously developed programs should still function without the need for any
modifications.
2.4. Configurable Ethernet Data Logger
Using the VxComm driver, PDS + 7000 modules can be virtualized to become COM
Port + 7000 modules located on the host-PC, and then the Data Logger in the DCON
Utility can be used to access data of I-7000 from the Ethernet. Signal data originating from
the I-7000 modules can be analyzed using MS-Excel without the need to write any custom
programs
1: The DCON utility includes a log function, as show below:
PDS Series User Manual ( V1.4, Oct. 2009) ----- 13
2: Configure the system connection as shown below and click the “Start” button to begin
logging data.
3: Open the log file in Excel to read the log data as shown in the example below:
PDS Series User Manual ( V1.4, Oct. 2009) ----- 14
By using the I-7000 DCON utility and MS Excel in conjunction with the VxComm
technology, the signal data of I-7000 modules from the Ethernet network can be analyzed
without the need to write custom programs. For more information about the log function
refer to the online help feature (English and Traditional Chinese) of the DCON utility.
PDS Series User Manual ( V1.4, Oct. 2009) ----- 15
3. Hardware information
3.1. Features
Incorporate Serial Devices in an Ethernet network
"Virtual COM" Extend COM Ports
Virtual COM on Windows NT 4.0, 2000/XP/2003 and Vista32
Watchdog Timer suitable for use in harsh environments
Power Reverse Polarity Protection
Serial Port +/-4 kV ESD Protection Circuit
Self-Tuner ASIC Controller on the RS-485 Port
RoHS Compliant with no Halogen
Built-in High Performance MiniOS7 from ICP DAS
10/100 Base-TX Ethernet, RJ-45 Port
(Auto-negotiating, auto MDI/MDI-X, LED indicator)
ODM Service Is Available
Low power consumption
Palm-Sized with multiple Serial Ports
Made from fire retardant materials (UL94-V0 Level)
(Metal for "M" versions)
Supports D/I, Latched D/I and Counter Functions on some models
High Performance Device Server
Powerful (Programmable) Device Server
Models PPDS(M)-700(D)-MTCP only
Supports Modbus/TCP and Modbus/RTU
Supports PoE (IEEE 802.3af, Clas
Models PDS(M)-700D/PPDS(M)-700D-MTCP only
5-digit LED Display
s 1)
PDS Series User Manual ( V1.4, Oct. 2009) ----- 16
3.2. Specifications
System Specifications
PDS(M)-700(D)/PPDS(M)-700(D)-MTCP
CPU
CPU 80186-80 MHz or compatible
SRAM 512 KB
Flash Memory Flash ROM: 512 KB; Erase unit is one sector (64 KB); 1000,000 erase/write cycles
EEPROM 16 KB; Data retention: 40 years; 1,000,000 erase/write cycles
Built-in Watchdog Timer Yes
Communication Interface
Models PDS(M)-700(D) PPDS(M)-700(D)-MTCP
Non-isolated
Ethernet 10/100 Base-TX, RJ-45 port (Auto-negotiating, auto MDI/MDI-X, LED indicator)
PoE - IEEE 802.3af
COM Port Formats
Data Bit
Parity None, Even, Odd, Mark, Space
Stop Bit 1: for COM1, COM2
Baud Rate 115200 bps Max.
LED Indicators
Models PDS(M)-700(D) PPDS(M)-700(D)-MTCP
5-digit 7 Segment Yes (Display for "D" versions)
System Red
PoE - Green