pds (programmable device servers) -- serial devices to ethernet gateways --

59
P.1 PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways -- Gary Lin ICP DAS Co., Ltd. Jun.02, 2009

Upload: istas

Post on 12-Jan-2016

77 views

Category:

Documents


1 download

DESCRIPTION

PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --. Gary Lin ICP DAS Co., Ltd. Jun.02, 2009. Agenda. What is PDS? Serial Devices Networking Programmable PDS Products and Features PDS-700 PDS-782(D)-25 (DB-9 Connectors) DS-700 (Non-programmable) - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.1

PDS(Programmable Device Servers)

-- Serial Devices to Ethernet Gateways --

PDS(Programmable Device Servers)

-- Serial Devices to Ethernet Gateways --

Gary Lin

ICP DAS Co., Ltd.

Jun.02, 2009

Page 2: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.2

Agenda

What is PDS? Serial Devices Networking Programmable

PDS Products and Features PDS-700 PDS-782(D)-25 (DB-9 Connectors) DS-700 (Non-programmable) PPDS-700-IP67 (IP67 waterproof casing)

PDS Applications

Appendix

Page 3: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.3

Legacy Communications (Stand-alone)

Serial DevicesSerial Printer, Bar Code ReaderRFID Reader, Meters, SensorsGPS Receiver, Modem, Function GeneratorPLC, Data Logger, Machine, …

PLC

I/O

Sensor I/OSensor

MeterI/O

Computer

LCD/LED

Card Reader

UPS

PLC

POS

Page 4: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.4

Networking Requirement

Sensor

MeterI/O

ComputerPLC

I/O

Sensor I/O

Data Center

ERP, CRM

RemoteMonitor

Local Control

Control

Data

Management

Decision

Page 5: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.5

Serial Devices Networking (Built-in VxComm Firmware)

GPSReceiver

Data Logger

NS-208 IndustrialSwitch HUB

Power Meter

Function Generator

RFID Reader

Bar Code Reader

Machine

Serial Printer

PLC

Ethernet

10/100M

RS-232

RS-232

RS-485

RS-232

RS-232

Ethernet

10/100M

PDS-800

RS-485

RS-232

Ethernet

10/100M

PDS-700Data Center

Page 6: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.6

Programmable Requirements

ICP DAS XServer Framework Royalty Free, many sample programs with source code

Programmable Applications Data Monitor, Data Filter Encode, Decode Data Sharing with Cache Bus Converter, Protocol Translator …

System Integrator (SI) Value-Added Applications Exclusive and none replaceable solutions for your customer Solution price, not components price

Domain Knowledge

Solutions

Page 7: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.7

So, PDS is…

PDS stands for“Programmable Device Server”

Main Functions: Serial Device Networking

(Built-in VxComm firmware) Programmable

(Users can write customized firmware)

Page 8: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.8

PDS Products and Features

PDS-700

DS-700

(Non-programmable)

PDS-782(D)-25

PPDS-700-IP67

Page 9: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.9

PDS-700 Front View

Robust, Insulated andFire Retardant Case

COM2: RS-485

COM1: RS-232

RJ-45 Jack for10/100M Ethernet

7-Segment LED

Wiring Information

LED Indicator

Wiring Information

DI/DO Channels Removable Terminal Block for Easy Wiring

DIN-Rail for Easy Mounting

Serial Ports

Page 10: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.10

PDS-700 Back View

Frame Ground

RoHS Compliance(for PCB/device)

CE Certification(for PCB/device)

Frame Ground

DIN-Rail Mounting

Robust, Insulated andFire Retardant Case

DIN-Rail Lock

Page 11: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.11

PDS-782(D)-25

DB-25 to 6-Port DB-9 Cable

DB-25 Connector

PDS-782(D)-25

DB-9 Connectorfor 3-Wire RS-232(TXD, RXD, GND)

Page 12: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.12

DS-712 and DS-715 (Non-Programmable)

DS-712 with one port RS-232 DS-715 with one port RS-485

Page 13: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.13

PPDS-700-IP67

PoE (Power over Ethernet) RJ-45 Connectors

with IP67 protection

DIN-Rail Mounting

IP67 Waterproof Casing

Page 14: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.14

PDS-700 Features (hardware)

Incorporate Serial Devices in an Ethernet network

Built-in Watchdog Timer suitable for use in harsh environments

Power reverse polarity protection

Serial port +/-4 kV ESD protection

Self-tuner ASIC controller on the RS-485 port

10/100 Base-TX Ethernet, RJ-45 Port (Auto-negotiating, Auto MDI/MDI-X, LED indicators)

5-digit LED Display (for versions with a display)

Palm-size with multiple serial ports

Low-Power consumption

Made from fire retardant materials (UL94-V0 Level)

RoHS compliant with no Halogen

Page 15: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.15

PDS-700 Features (software)

Built-in high performance MiniOS7 operating system from ICP DAS

Supports Web, Telnet, Console, TCP, UDP Configuration

Supports Virtual COM for Windows NT/2K/XP/2003 and Vista32.

Supports Virtual I/O (with DCON protocol)

Supports Easy Data Logger and DCON Utility

Programmable with XServer SDK and Sample Programs

Page 16: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.16

PDS-700 Fire Retardant Materials (UL94-V0 Level)

HB: slow burning on a horizontal specimen; burning rate < 76 mm/min for thickness < 3 mm.

V2 burning stops within 30 seconds on a vertical specimen; drips of flaming particles are allowed.

V1: burning stops within 30 seconds on a vertical specimen; no drips allowed.

V0: burning stops within 10 seconds on a vertical specimen; no drips allowed.

5VB: burning stops within 60 seconds on a vertical specimen; no drips allowed; plaque specimens may develop a hole.

5VA: burning stops within 60 seconds on a vertical specimen; no drips allowed; plaque specimens may not develop a hole

Page 17: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.17

PDS-700 Frame Ground and ESD Protection

+/- 4 kV ESD(Eelectro-Static Discharge)

Earth Ground

Frame GroundProvides a path for ESD to

Earth Ground

Page 18: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.18

Data Sharing

Total 32 Sockets for Command Port Serial Port Digital I/O Port

Each port requires 1 socket for listen

(TCP port 9999 ~ 10008) 1 socket for connection

Share Mode Single-Echo

1-to-1 communication Multi-Echo

1-to-M communication

Hub

Total 32 TCP Sockets

Serial Device

Ethernet

Multiple clients sharing a single data source.

Client A Client B Client C

PDS-700

Page 19: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.19

Virtual COM Technology

7000 #01 7000 #FF

. . . . . PDS-700(IP-1)

COM1

COM2

7000 #01 7000 #FF

. . . . . PDS-700(IP-2)

COM1

COM2

7000 #01 7000 #FF

. . . . . PDS-700(IP-n)

COM1

COM2

COM 3

COM 4

COM 5

COM 6

COM 254

COM 255

PC + VxComm

Ethernet10/100M

NS-208 Industrial

Switch HUB Ethernet 10/100M

Page 20: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.20

Virtual COM

Direct TCP/IP Connection TCP/IP Port 9999 (I/O): Controls I/O on PDS-700 TCP/IP Port 10000: VxComm Commands TCP/IP Port 10001 ~ : Serial Ports on PDS-700 WinSock Programming

Virtual COM Ports Standard Win32 COM port interface Serial Programming (MSCOMM.ocx…) Connection-Broken detection Auto-reconnect.

WinSock Program

PDS-700

DCON Utility,

EZ DataloggerVirtual COM for I/O

Serial

TCP/IP

TCP/IP

Serial Program Virtual COMSerial

Important!!!

Port 10001~

Port 9999~

Page 21: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.21

Block Diagram: Virtual COM

Computer

Client Program

Virtual COM Port

PDS

Ethern

et Serial

Device

Transparent

VxCommSerial Device

Protocol

CO

M P

ort Inte

rface

Virtual COM Port

PDS

Ethern

et

Serial

DeviceTransparent

VxCommSerial Device

Protocol

Serial Port

Serial Port

Virtual COM Port

Serial

Device

Serial Port

Serial

Page 22: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.22

Dynamic COM Port Mapping (DynaCOM )

Virtual COM3, COM4Virtual COM3, COM4

Virtual COM3, COM4Virtual COM3, COM4

Virtual COM3, COM4Virtual COM3, COM4

Virtual COM3, COM4Virtual COM3, COM4

Special Feature

from ICP DAS

Page 23: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.23

Virtual I/O Technology

I/O Lines

COM 5

(Virtual COM)

COM 5

(Virtual COM)

PC + VxComm

Ethernet 10/100M

NS-208 Switching HUB

PDS

Digital I/O DevicesActuatorON/OFF SwitchHigh/Low DeviceRelayAlarmCounter

DCON DLL, OCXDCON UtilityEZ Data Logger…

Special Feature

from ICP DAS

Page 24: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.24

VxComm Utility

Virtual COM for I/O

Virtual COM for Serial Ports

Page 25: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.25

Block Diagram: Virtual I/O technology

Computer

Client Program

Virtual COM Port

Virtual COM Port

PDS

Ethern

et

DI/D

O

Ethern

et

DI/D

O

I/O

Device

I/O

Device

Transparent

VxComm

Transparent

VxComm

CO

M P

ort Inte

rface

DCON

DCON

I/O

PDS

Page 26: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.26

Virtual COM vs. Virtual I/O

Computer

Client Program

Virtual COM Port

Virtual COM Port

PDS

Ethern

et

Serial

Device

I/O

Device

Transparent

Transparent

VxComm

DCON Protocol

Serial Device

Protocol

CO

M P

ort Inte

rface

Serial Port

Serial Port

Virtual COM PortSerial

Device

Digital

I/O Lines

I/O

Serial

Virtual COM Port

Ethernet

Serial Port Serial

Device

Page 27: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.27

PDS-700 Web Configuration

Firmware InformationNetwork Setting

IP, Sub-net Mask, Gateway setting DHCP, UDP Search

COM Port Setting Baud rate, data format End Char, DBDT (Data buffer delay timeout) /M0 (Transparent mode), /M1 (Slave mode) setting

Misc. Setting Default password : admin Set alias name Set Web read only

Page 28: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.28

PDS-700 Web Configuration : Network Setting

/STxxx parameter

允許連線的 IP Address

Page 29: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.29

UDP Flood Attack Protection

Disable “Broadcast” to prevent UDP Flood Attack.

S75 DVB-S

Satellite Data Receiver

DVB Carrier(Digital Video Broadcast)

Single-Board

Computer (SBC)

Device

Device

Device

DeviceAp

plicatio

n

VCOM12

VCOM13

VCOM14

VCOM15

Ethe

rne

t

UDP Broadcast

NS-208

PDS-700

Page 30: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.30

Master IP, IP Filter

Master IP Allow Change Configuration

IP Filter Allow Accessing Ports

NS-208 PDS-700

Master IP

IP Filter

Change Setting

Send/Receive

Send/Receive

Connections

are rejected

by PDS-700.

Special Feature

from ICP DAS

Page 31: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.31

PDS-700 Built-in MiniOS7

High-performance OS (DOS-Like)

Developed by ICP DAS

Optimized for ICP DAS products

Tiny size in memory

Instant system boots up (less than 1 second)

Supports UDP function

Special Feature

from ICP DAS

Page 32: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.32

PDS-700 Naming Convention

PDS-7 X YX: Number of Total Ports

Y: Serial Ports Type (on 14-Pin Terminal Block)

2: RS-2324: RS-4225: RS-485

COM1, COM2

COM3 ~ COM8, DIO

Page 33: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.33

PDS-700 Selection GuideModel DI/DO COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8

PDS-720PDS-720D

- 5-wireRS-232

2-wireRS-485

- - - - - -

PDS-721PDS-721D

6/7 5-wireRS-232

2-wireRS-485

- - - - - -

PDS-732PDS-732D

4/4 5-wireRS-232

2-wireRS-485

5-wireRS-232

- - - - -

PDS-734PDS-734D

4/4 5-wireRS-232

2-wireRS-485

4-wireRS-422

- - - - -

PDS-742PDS-742D

- 5-wireRS-232

2-wireRS-485

5-wireRS-232

9-wireRS-232

- - - -

PDS-743PDS-743D

4/4 5-wireRS-232

2-wireRS-485

3-wireRS-232

3-wireRS-232

- - - -

PDS-752PDS-752D

- 5-wireRS-232

2-wireRS-485

5-wireRS-232

5-wireRS-232

5-wireRS-232

- - -

PDS-755PDS-755D

- 5-wireRS-232

2-wireRS-485

2-wireRS-485

2-wireRS-485

2-wireRS-485

- - -

PDS-762PDS-762D

1/2 5-wireRS-232

2-wireRS-485

3-wireRS-232

3-wireRS-232

3-wireRS-232

3-wireRS-232

- -

PDS-782PDS-782D

- 5-wireRS-232

2-wireRS-485

3-wireRS-232

3-wireRS-232

3-wireRS-232

3-wireRS-232

3-wireRS-232

3-wireRS-232

I-7188E2

I-7188E3-232

I-7188E3

I-7188E4

I-7188E5

I-7188E5-485

I-7188E8

Page 34: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.34

PDS Applications

Entrance Control Kiosk Managing Server Managing Protocol Converter Data Monitoring & Filtering …

Page 35: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.35

VPN

Internet Accessing

7000 #01 7000 #FF

:

:

. . . . . PDS-700(IP-1)

7000 #01 7000 #FF

. . . . .PDS-700(IP-2)

7000 #01 7000 #FF

. . . . .PDS-700(IP-n)

RS-485

RS-485

RS-485

TCP/IP

TCP/IP

TCP/IP

TCP/IP

RS-232

HUB

HUB

NAT

NS-208 Industrial

Switching HUB

Internet

ROUTER

ROUTER

Page 36: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.36

Traditional OPC Application

Ethernet

PC + OPC Server

Serial Device

Serial DevicesPC with OPC Client(HMI/SCADA)

Serial Device

PC + OPC Server

PC + OPC Server

Page 37: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.37

OPC through Virtual COM

Ethernet (for Virtual COM)

PDS PDS

PDS

Serial Device

Serial DevicesPC with VxCommand OPC Serversand OPC Client(HMI/SCADA)

Serial Devices

Page 38: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.38

Block Diagram: OPC Application

Computer

OPC Client

(HMI/SCADA)

Virtual COM Port

Virtual COM Port

OPC Server

OPC Server

OP

C

Interface

Ethern

et

Se

rial

Po

rt

Ethern

et

Se

rial

Po

rt

Serial

Device

Serial

Device

Transparent

VxComm

Transparent

VxComm

COM Port Interface

PDS

PDS

Page 39: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.39

Server Managing (Console Management)

Ethernet10/100M

RS-232 Console Management

Server Room OfficeNS-208 Switching HUB

RS-232 Console ManagementEthernet

10/100M

Console Management

Servers

Routers

Gateways

UPS Status

NS-208 Switching HUB

Ethernet10/100M

Ethernet10/100M

PDS

PDS

Page 40: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.40

Protocol Converter (Programmable Application)

PLC Special Protocol

PLC

PDS

Protocol Converter

Data Center

Ethernet

10/100M

NS-208 Industrial

Switch HUB

Unified Protocol

Device

Protocol

Power Meter

RFID Reader

Machine

ASCII Protocol

RAW Data

Unified Protocol

PDS

Protocol Converter

Page 41: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.41

Protocol Converter (Programmable Application)

Serial

串口

PLC

PLC

PC Protocol Converter

Serial

Serial

PLC

PLC PDS

Protocol Converter

D/O Local

Alarm

I/O Card

D/O

Local

Alarm

Page 42: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.42

Comparison Table: Protocol Converter Solutions

PC Solution PDS-700 SolutionHuge size

Expensive

Routine maintenance (Unstable hard disk & fragile fan)

Unstable OS

Slow boot-up (Minutes)

High power consumption (hundreds Watt)

Virus issues

Less COM ports (1~2 ports)Only support RS-232

Environment temperature : 0 ~ +50 Deg.C

Palm size & Easy DIN-Rail mount

Cost-effective

Eliminating maintenance(No hard disk & fan-less)

Stable and high-performance OS (MiniOS7)

Fast boot-up (Less than one second)

Low power consumption (About 3 Watt)

Eliminating virus issue

Plenty of COM ports, 2~8 ports (Support RS-232/422/485)

Environment temperature: -25 ~ +75 Deg.C

Built-in DI/DO

Programmable

Built-in watchdogs

Page 43: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.43

Data Monitoring and Filtering (Programmable Applications)

Raw Data:

Debug Messages

System Status

External Device Status

Warning Messages

Event Messages

PLC

PDSData Monitor and Filter

D/O

Local

Alarm

Data Center

Ethernet

10/100M

NS-208 Industrial

Switching HUB

Information

System Status

Warning Messages

(Remove Duplicated Messages)

Serial

D/IEngineer Response

PLC/Machine

Page 44: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.44

Appendix

Page 45: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.45

PDS-700 Evolution

7188 (40 MHz CPU)

7188EX (40 MHz CPU)+ 10 Mbps Ethernet+ Expansion Bus

7188EN (40 MHz CPU)+ 10 Mbps Ethernet

+ Serial Ports(No RTC)

7186EX (80 Mhz CPU)+ 10/100 Mbps Ethernet+ Expansion Bus

PDS-700 (80 MHz CPU)+ 10/100 Mbps Ethernet

+ Serial Ports+ DI/DO channels

(No RTC)

PDS-700 is the enhanced version of 7188EN

Page 46: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.46

PDS-700 and I-7188EN Comparison Table

I-7188EN PDS-700

OS MiniOS7 MiniOS7

CPU 80188-40 MHz 80186-80 MHz

SRAM/Flash 384 KB/512 KB 512 KB/512 KB

Ethernet 10 Mbps 10/100 Mbps

EEPROM 2 KB 16 KB

Frame Ground --- Yes

Total Models 8 10+

Models with DI/DO 2 5

Virtual COM Yes Yes

Virtual I/O --- Yes

Performance Max. 115200bps x 2 ports 115200bps x 4 ports

Page 47: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.47

PDS-700 Specifications

CPU: 80186-80MHzSRAM/Flash: 512KB/512KBEthernet: 10/100M Base TX (Auto-negotiating, Auto MDI/MDI-X, LED)COM1: 5-Wire RS-232 (RXD, TXD, CTS, RTS, GND)UART: 16c550 or compatible

FIFO: 16-byte Baud Rate: 115200bps Max.

Display: 7-Segment LED Display for D VersionPower Input: +10~ 30VDCFrame Ground: YesMounting: DIN-Rail MountingFor module with DI/DO:

D/I: Sink, Common Ground, Low: 0~1V, High: 3.5~30V D/O: Open Collector, Sink/NPN, 30V/100mA Max.

Operating Temperature: -25 °C ~ 75 °C

Page 48: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.48

PDS-700 Digital I/O Specification

For PDS-721(D), PDS-732(D), PDS-734(D), PDS-743(D) and PDS-762(D)

Digital Input (Non-Isolation) Sink, Common Ground, Low: 0 ~ 1 V, High: 3.5 ~ 30 V Supports Counter

Max. Count: 16-bit (65535) Max. Input Frequency: 100 Hz Min. Signal Width: 5 ms

Digital Output (Non-Isolation) Open Collector, Sink/NPN, 30 V/100 mA Max. Power-on Value Watchdog with Safe-value

Page 49: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.49

PDS-800 Build-in Ethernet Switch

PDS-800PDS-800NS-208

Industrial Switch Hub

NS-208

Industrial Switch Hub

Ethernet

10/100M

Ethernet

10/100M

Ethernet

10/100M

Ethernet

10/100M

Ethernet

10/100M

Ethernet

10/100M

Page 50: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.50

Programmable Solution

PDS Built-in Features (No extra coding required) Networking Solution Internet Accessing Solution Sharing Data Solution Virtual COM Solution Virtual I/O Feature

PDS Programmable Features (for Power User with Programming Skill)

Supports XServer framework Provides TC/BC/MSC (for DOS) sample program with source codes Provides download utility/program Royalty free for ICP DAS products Applications:

Data Filter, Encode/Decode Data Sharing with cache or agent (Auto-scan) Bus Converter/Repeater, Protocol Translator

Page 51: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.51

Block Diagram: XServer

VxComm.exeInitialize

Update7-SEG LEDs

Refresh Watchdog &Scan COM port

Read command

New SocketReady ?

User command(19) ?

Execute command

UserInit(void)

UserLoopFun(void)

Timer Trigger

UserCount(void)

UserCmd(Cmd,Response)

Yes

Yes

No

No

Cmd(Without "19")

Response

VxComm.lib User.c

XServer framework TC/BC/MSC Sample programs with source code Download utility/program Royalty free for ICP DAS products

Page 52: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.52

XServer Example for User Command

Xdemo04, User.C

int UserCmd(unsigned char *Cmd,unsigned char *Response)

{

int i;

sscanf(Cmd,"%d",&i);

if (Cmd[0]) /* Not Null command */

{

strcpy(Response,Cmd); /* echo user's command back */

return 1; /* return OK */

}

return 0; /* return ERROR */

}

To support user

defined command

Analyze user command from

TCP port 10000.

The “19” prefix string is removed

before passing into this function.

Assign response string!

To support user defined commands, all you need to do is simply

modify the UserCmd() function in User.C file.

Page 53: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.53

Software Solutions

VxComm utility/ driver Virtual COM Port Driver for Windows NT 4.0 Virtual COM Port Driver for Windows 2000/XP/2003 and Vista32 Configuration Utility

7188X.exe (for DOS) Configuration Program in pure DOS.

(Command Line Interface)

7188XW.exe (for Windows) Configuration Program in Console Mode

(Win32 Command Line Interface)

MiniOS7 Utility (for Windows) Configuration Program in Win32 GUI Mode

XServer SDK (for DOS) Framework Libraries for firmware Sample Programs

EZ Data Logger and DCON Utility Accessing PDS-700 DIO lines through the Virtual I/O Accessing I-7000/M-7000 modules through the Virtual COM

Page 54: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.54

VxComm Utility/Driver

Devices

Management

COM Port

Mapping

Search

Devices

Page 55: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.55

VxComm Utility/Driver

VxComm Utility Configuration

Network setting (PDS) COM port settings (PDS) Connection settings (PC) Import(/export) from(/to) a configuration file

Virtual COM ports mapping (needs no PnP) DLL Function

Loading a configuration file for changing com port mappings on the fly Just require a single function call VB sample program with source code

VxComm Driver Creating Virtual COM ports TCP/IP connection Data send/receive by TCP/IP Detects broken connection , Auto-reconnect

Page 56: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.56

7188X.exe and 7188XW.exe

7188X.exe

(DOS)

7188XW.exe

(Win32 Console)

Page 57: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.57

MiniOS7 Utility

Page 58: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.58

Comparison Table

Competitors I-7188EN PDS-700 PDS-8000

Multiple Serial Ports Yes Yes Yes Yes

Virtual COM Yes Yes Yes Yes

Data Sharing - Yes Yes Yes

Console Configuration Yes Yes Yes Yes

Ethernet Configuration Yes Yes Yes Yes

Web Configuration Yes Yes Yes Yes

Isolation - - - Yes

Digital I/O Lines - Few Yes (future)

D/O Power-On Value - - Yes (future)

Watchdog with D/O Safe Value

- - Yes (future)

Virtual I/O - - Yes (future)

Programmable - Yes Yes Yes

XServer Framework SDK - Yes Yes Yes

Page 59: PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways --

P.59

Contact UsContact Us

[email protected]

http://www.icpdas.com