58492e3887d8aca442a7932b0fc87792.ppt
- Количество слайдов: 59
PDS (Programmable Device Servers) -- Serial Devices to Ethernet Gateways -- Gary Lin ICP DAS Co. , Ltd. Jun. 02, 2009 P. 1
Agenda What is PDS? n n Serial Devices Networking Programmable PDS Products and Features n n PDS-700 PDS-782(D)-25 (DB-9 Connectors) DS-700 (Non-programmable) PPDS-700 -IP 67 (IP 67 waterproof casing) PDS Applications Appendix P. 2
Legacy Communications (Stand-alone) LCD/LED Card Reader PLC Computer I/O Sensor I/O Meter POS UPS Serial Devices Serial Printer, Bar Code Reader RFID Reader, Meters, Sensors GPS Receiver, Modem, Function Generator PLC, Data Logger, Machine, … P. 3
Networking Requirement Decision ERP, CRM Management Remote Monitor Data Center Control PLC Local Control I/O Sensor I/O Computer Sensor Meter P. 4 I/O
Serial Devices Networking (Built-in Vx. Comm Firmware) NS-208 Industrial Switch HUB Ethernet 10/100 M Data Center Ethernet 10/100 M RS-232 PDS-700 Machine PDS-800 RS-232 RS-485 Function Generator RS-232 Serial Printer RFID Reader GPS Receiver RS-485 Bar Code Reader Power Meter Data Logger PLC P. 5
Programmable Requirements ICP DAS XServer Framework n Royalty Free, many sample programs with source code Programmable Applications n n n Domain Knowledge Data Monitor, Data Filter Encode, Decode Data Sharing with Cache Bus Converter, Protocol Translator … System Integrator (SI) Value-Added Applications n n Exclusive and none replaceable solutions for your customer Solutions Solution price, not components price P. 6
So, PDS is… PDS stands for “Programmable Device Server” Main Functions: w Serial Device Networking (Built-in Vx. Comm firmware) w Programmable (Users can write customized firmware) P. 7
PDS Products and Features PDS-700 (Non-programmable) PPDS-700 -IP 67 PDS-782(D)-25 P. 8
PDS-700 Front View Removable Terminal Block for Easy Wiring Serial Ports DI/DO Channels Wiring Information LED Indicator DIN-Rail for Easy Mounting Robust, Insulated and Fire Retardant Case RJ-45 Jack for 10/100 M Ethernet 7 -Segment LED Wiring Information COM 1: RS-232 COM 2: RS-485 P. 9
PDS-700 Back View Robust, Insulated and Fire Retardant Case Ro. HS Compliance (for PCB/device) Frame Ground DIN-Rail Mounting CE Certification (for PCB/device) DIN-Rail Lock Frame Ground P. 10
PDS-782(D)-25 DB-25 to 6 -Port DB-9 Cable DB-9 Connector for 3 -Wire RS-232 (TXD, RXD, GND) DB-25 Connector PDS-782(D)-25 P. 11
DS-712 and DS-715 (Non-Programmable) DS-712 with one port RS-232 P. 12 DS-715 with one port RS-485
PPDS-700 -IP 67 Waterproof Casing DIN-Rail Mounting Po. E (Power over Ethernet) RJ-45 Connectors with IP 67 protection P. 13
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 k. V 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 (UL 94 -V 0 Level) Ro. HS compliant with no Halogen P. 14
PDS-700 Features (software) Built-in high performance Mini. OS 7 operating system from ICP DAS Supports Web, Telnet, Console, TCP, UDP Configuration Supports Virtual COM for Windows NT/2 K/XP/2003 and Vista 32. Supports Virtual I/O (with DCON protocol) Supports Easy Data Logger and DCON Utility Programmable with XServer SDK and Sample Programs P. 15
PDS-700 Fire Retardant Materials (UL 94 -V 0 Level) HB: slow burning on a horizontal specimen; burning rate < 76 mm/min for thickness < 3 mm. V 2 burning stops within 30 seconds on a vertical specimen; drips of flaming particles are allowed. V 1: burning stops within 30 seconds on a vertical specimen; no drips allowed. V 0: burning stops within 10 seconds on a vertical specimen; no drips allowed. 5 VB: burning stops within 60 seconds on a vertical specimen; no drips allowed; plaque specimens may develop a hole. 5 VA: burning stops within 60 seconds on a vertical specimen; no drips allowed; plaque specimens may not develop a hole P. 16
PDS-700 Frame Ground and ESD Protection +/- 4 k. V ESD Frame Ground (Eelectro-Static Discharge) Provides a path for ESD to Earth Ground P. 17
Data Sharing Total 32 Sockets for n n n Command Port Serial Port Digital I/O Port Serial Device Multiple clients sharing a single data source. Each port requires n n 1 socket for listen (TCP port 9999 ~ 10008) 1 socket for connection PDS-700 Hub Share Mode n n Ethernet Total 32 TCP Sockets Single-Echo 1 -to-1 communication Multi-Echo 1 -to-M communication P. 18 Client A Client B Client C
Virtual COM Technology PC + Vx. Comm NS-208 Industrial Switch HUB Ethernet 10/100 M COM 1 COM 3 COM 2 COM 4 PDS-700 . . . (IP-1) 7000 #01 7000 #FF COM 1 COM 5 COM 2 COM 6 PDS-700 Ethernet 10/100 M . . . (IP-2) 7000 #01 7000 #FF COM 1 COM 254 COM 255 PDS-700 . . . (IP-n) 7000 #01 P. 19 7000 #FF
Important!!! Virtual COM Direct TCP/IP Connection n n TCP/IP Port 10000: Vx. Commands TCP/IP Port 10001 ~ : Serial Ports on PDS-700 Win. Sock Programming Serial Program DCON Utility, EZ Datalogger Serial Virtual COM n n n TCP/IP Port 10001~ TCP/IP Virtual COM for I/O Port 9999~ PDS-700 Virtual COM Ports n Win. Sock Program TCP/IP Port 9999 (I/O): Controls I/O on PDS-700 Standard Win 32 COM port interface Serial Programming (MSCOMM. ocx…) Connection-Broken detection Auto-reconnect. P. 20
Block Diagram: Virtual COM Client Program PDS Vx. Comm Serial Device Protocol Serial Port Serial Device PDS Virtual COM Port Serial Device Protocol Transparent Virtual COM Port Vx. Comm Ethernet COM Port Interface Virtual COM Port Ethernet Transparent Serial Port Serial Computer P. 21 Serial Device
Dynamic COM Port Mapping (Dyna. COM ) Special Feature from ICP DAS Virtual COM 3, COM 4 P. 22
Special Feature from ICP DAS Virtual I/O Technology NS-208 Switching HUB Ethernet 10/100 M I/O Lines PDS Digital I/O Devices w. Actuator w. ON/OFF Switch w. High/Low Device w. Relay w. Alarm w. Counter COM 5 (Virtual COM) PC + Vx. Comm P. 23 w. DCON DLL, OCX w. DCON Utility w. EZ Data Logger w…
Vx. Comm Utility Virtual COM for I/O Virtual COM for Serial Ports P. 24
Block Diagram: Virtual I/O technology Client Program PDS I/O Device PDS Transparent Virtual COM Port DCON Vx. Comm Ethernet COM Port Interface Vx. Comm I/O Device DI/DO Virtual COM Port DI/DO DCON Ethernet Transparent I/O Computer P. 25
Virtual COM vs. Virtual I/O Client Program Serial Device Protocol Serial Port Virtual COM Port Ethernet Vx. Comm Virtual COM Port DCON Protocol Transparent Ethernet COM Port Interface Virtual COM Port Transparent Serial Port PDS Digital I/O Lines I/O Computer P. 26 Serial Device I/O Device
PDS-700 Web Configuration Firmware Information Network Setting n n IP, Sub-net Mask, Gateway setting DHCP, UDP Search COM Port Setting n n n Baud rate, data format End Char, DBDT (Data buffer delay timeout) /M 0 (Transparent mode), /M 1 (Slave mode) setting Misc. Setting n n n Default password : admin Set alias name Set Web read only P. 27
PDS-700 Web Configuration : Network Setting /STxxx parameter 允許連線的 IP Address P. 28
UDP Flood Attack Protection Disable “Broadcast” to prevent UDP Flood Attack. Device Single-Board Computer (SBC) Device VCOM 12 VCOM 14 PDS-700 Ethernet Application VCOM 13 Device NS-208 UDP Broadcast DVB Carrier (Digital Video Broadcast) VCOM 15 S 75 DVB-S Satellite Data Receiver P. 29
Special Feature from ICP DAS Master IP, IP Filter Master IP Allow Change Configuration IP Filter Allow Accessing Ports Change Setting Send/Receive Master IP NS-208 Send/Receive IP Filter Connections are rejected by PDS-700. P. 30 PDS-700
PDS-700 Built-in Mini. OS 7 Special Feature from ICP DAS 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 P. 31
PDS-700 Naming Convention PDS-7 X Y COM 3 ~ COM 8, DIO X: Number of Total Ports Y: Serial Ports Type (on 14 -Pin Terminal Block) 2: RS-232 4: RS-422 5: RS-485 COM 1, COM 2 P. 32
PDS-700 Selection Guide Model PDS-720 D DI/DO COM 2 COM 3 COM 4 COM 5 COM 6 COM 7 COM 8 - 5 -wire RS-232 2 -wire RS-485 - - - 6/7 5 -wire RS-232 2 -wire RS-485 - - - 5 -wire RS-232 2 -wire RS-485 5 -wire RS-232 - - - 4/4 5 -wire RS-232 2 -wire RS-485 4 -wire RS-422 - - - 5 -wire RS-232 2 -wire RS-485 5 -wire RS-232 9 -wire RS-232 - - 4/4 5 -wire RS-232 2 -wire RS-485 3 -wire RS-232 - - - 5 -wire RS-232 2 -wire RS-485 5 -wire RS-232 - - - 85 - 5 -wire RS-232 2 -wire RS-485 - - - 1/2 5 -wire RS-232 2 -wire RS-485 3 -wire RS-232 - - - 5 -wire RS-232 2 -wire RS-485 3 -wire RS-232 3 -wire RS-232 E 2 COM 1 88 I-71 PDS-721 D PDS-732 D PDS-734 D PDS-742 D E 3 188 7 2 -23 4/4 I- I-7 E 188 3 E 4 88 I-71 PDS-743 D PDS-752 D PDS-755 D 5 I-7 E 188 I-71 88 -4 E 5 PDS-762 D PDS-782 D E 8 88 I-71 P. 33
PDS Applications w w w Entrance Control Kiosk Managing Server Managing Protocol Converter Data Monitoring & Filtering … P. 34
Internet Accessing RS-232 VPN ROUTER TCP/IP Internet RS-485 . . . PDS-700 (IP-1) 7000 #01 HUB 7000 #FF RS-485 ROUTER TCP/IP . . . PDS-700 NAT (IP-2) 7000 #01 7000 #FF : : HUB TCP/IP NS-208 Industrial Switching HUB P. 35 RS-485 . . . PDS-700 (IP-n) 7000 #01 7000 #FF
Traditional OPC Application PC with OPC Client (HMI/SCADA) Serial Devices PC + OPC Server Ethernet Serial Device PC + OPC Server PC + Serial Device OPC Server P. 36
OPC through Virtual COM PC with Vx. Comm and OPC Servers and OPC Client (HMI/SCADA) Serial Devices PDS Ethernet (for Virtual COM) PDS Serial Devices P. 37 PDS Serial Device
Block Diagram: OPC Application OPC Client (HMI/SCADA) OPC Server PDS OPC Server Serial Device Serial Port Vx. Comm Serial Port Virtual COM Port Ethernet OPC Interface Transparent Serial Device PDS Virtual COM Port Interface Computer P. 38 Vx. Comm Ethernet Transparent
Server Managing (Console Management) Server Room NS-208 Switching HUB Office Ethernet 10/100 M RS-232 Console Management PDS Console Management Servers Ethernet 10/100 M RS-232 Console Management PDS Routers Gateways UPS Status … P. 39
Protocol Converter (Programmable Application) PLC Special Protocol NS-208 Industrial Switch HUB Device Protocol PDS Unified Protocol Converter Machine Ethernet 10/100 M Unified Protocol ASCII Protocol PDS Power Meter Protocol Converter RAW Data Center RFID Reader P. 40
Protocol Converter (Programmable Application) PC Protocol Converter D/O Local Alarm I/O Card 串口 PLC Local Serial Alarm D/O PLC Serial PDS PLC Protocol Converter P. 41 PLC
Comparison Table: Protocol Converter Solutions PC Solution PDS-700 Solution w. Huge size w. Expensive w. Routine maintenance (Unstable hard disk & w Palm size & Easy DIN-Rail mount w Cost-effective w Eliminating maintenance(No hard disk & fan fragile fan) w. Unstable OS w. Slow boot-up (Minutes) w. High power consumption (hundreds Watt) w. Virus issues w. Less COM ports (1~2 ports) Only support RS-232 w. Environment temperature : 0 ~ +50 Deg. C -less) w Stable and high-performance OS (Mini. OS 7) w Fast boot-up (Less than one second) w Low power consumption (About 3 Watt) w Eliminating virus issue w Plenty of COM ports, 2~8 ports (Support RS -232/422/485) w Environment temperature: -25 ~ +75 Deg. C w Built-in DI/DO w Programmable w Built-in watchdogs P. 42
Data Monitoring and Filtering (Programmable Applications) Local NS-208 Industrial PDS Switching HUB Data Monitor and Filter Alarm D/O D/I Information Engineer Response System Status Ethernet Warning Messages 10/100 M (Remove Duplicated Messages) Serial Raw Data: PLC/Machine Debug Messages System Status External Device Status Data Center Warning Messages Event Messages … P. 43 PLC
Appendix P. 44
PDS-700 Evolution 7188 (40 MHz CPU) 7188 EX (40 MHz CPU) + 10 Mbps Ethernet + Expansion Bus 7186 EX (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) 7188 EN (40 MHz CPU) + 10 Mbps Ethernet + Serial Ports (No RTC) PDS-700 is the enhanced version of 7188 EN P. 45
PDS-700 and I-7188 EN Comparison Table I-7188 EN PDS-700 Mini. OS 7 CPU 80188 -40 MHz 80186 -80 MHz SRAM/Flash 384 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 Yes --- Yes 115200 bps x 2 ports 115200 bps x 4 ports OS Virtual COM Virtual I/O Performance Max. P. 46
PDS-700 Specifications CPU: 80186 -80 MHz SRAM/Flash: 512 KB/512 KB Ethernet: 10/100 M Base TX (Auto-negotiating, Auto MDI/MDI-X, LED) COM 1: 5 -Wire RS-232 (RXD, TXD, CTS, RTS, GND) UART: 16 c 550 or compatible n n FIFO: 16 -byte Baud Rate: 115200 bps Max. Display: 7 -Segment LED Display for D Version Power Input: +10~ 30 VDC Frame Ground: Yes Mounting: DIN-Rail Mounting For module with DI/DO: n n D/I: Sink, Common Ground, Low: 0~1 V, High: 3. 5~30 V D/O: Open Collector, Sink/NPN, 30 V/100 m. A Max. Operating Temperature: -25 °C ~ 75 °C P. 47
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) n Sink, Common Ground, Low: 0 ~ 1 V, High: 3. 5 ~ 30 V n Supports Counter w Max. Count: 16 -bit (65535) w Max. Input Frequency: 100 Hz w Min. Signal Width: 5 ms Digital Output (Non-Isolation) n Open Collector, Sink/NPN, 30 V/100 m. A Max. n Power-on Value n Watchdog with Safe-value P. 48
PDS-800 Build-in Ethernet Switch NS-208 Industrial Switch Hub PDS-800 Ethernet 10/100 M P. 49 Ethernet 10/100 M
Programmable Solution PDS Built-in Features (No extra coding required) n n n Networking Solution Internet Accessing Solution Sharing Data Solution Virtual COM Solution Virtual I/O Feature PDS Programmable Features (for Power User with Programming Skill) n n n 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: w Data Filter, Encode/Decode w Data Sharing with cache or agent (Auto-scan) w Bus Converter/Repeater, Protocol Translator P. 50
Block Diagram: XServer Vx. Comm. lib Vx. Comm. exe Initialize User. c User. Init(void) Update 7 -SEG LEDs User. Loop. Fun(void) Refresh Watchdog & Scan COM port No Timer Trigger New Socket Ready ? User. Count(void) Yes Read command User command (19) ? No Yes Cmd(Without "19") User. Cmd(Cmd, Response) Execute command Response P. 51 XServer framework n TC/BC/MSC Sample programs with source code n Download utility/program n Royalty free for ICP DAS products
XServer Example for User Command Xdemo 04, User. C To support user defined command int User. Cmd(unsigned char *Cmd, unsigned char *Response) { Analyze user command from int i; TCP port 10000. sscanf(Cmd, "%d", &i); The “ 19” prefix string is removed if (Cmd[0]) /* Not Null command */ before passing into this function. { strcpy(Response, Cmd); /* echo user's command back */ return 1; /* return OK */ } return 0; /* return ERROR */ Assign response string! } To support user defined commands, all you need to do is simply modify the User. Cmd() function in User. C file. P. 52
Software Solutions Vx. Comm utility/ driver n Virtual COM Port Driver for Windows NT 4. 0 n Virtual COM Port Driver for Windows 2000/XP/2003 and Vista 32 n Configuration Utility 7188 X. exe (for DOS) n Configuration Program in pure DOS. (Command Line Interface) 7188 XW. exe (for Windows) n Configuration Program in Console Mode (Win 32 Command Line Interface) Mini. OS 7 Utility (for Windows) n Configuration Program in Win 32 GUI Mode XServer SDK (for DOS) n Framework Libraries for firmware n Sample Programs EZ Data Logger and DCON Utility n Accessing PDS-700 DIO lines through the Virtual I/O n Accessing I-7000/M-7000 modules through the Virtual COM P. 53
Vx. Comm Utility/Driver Devices Management Search Devices P. 54 COM Port Mapping
Vx. Comm Utility/Driver Vx. Comm Utility n n n Configuration w Network setting (PDS) w COM port settings (PDS) w Connection settings (PC) w Import(/export) from(/to) a configuration file Virtual COM ports mapping (needs no Pn. P) DLL Function w Loading a configuration file for changing com port mappings on the fly w Just require a single function call w VB sample program with source code Vx. Comm Driver n n Creating Virtual COM ports TCP/IP connection Data send/receive by TCP/IP Detects broken connection , Auto-reconnect P. 55
7188 X. exe and 7188 XW. exe 7188 X. exe (DOS) 7188 XW. exe (Win 32 Console) P. 56
Mini. OS 7 Utility P. 57
Comparison Table Competitors I-7188 EN PDS-700 PDS-8000 Multiple Serial Ports Yes Yes Virtual COM Yes Yes Data Sharing - Yes Yes Console Configuration Yes Yes Ethernet Configuration Yes Yes Web Configuration 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 XServer Framework SDK - Yes Yes P. 58
Contact Us service@icpdas. com http: //www. icpdas. com P. 59
58492e3887d8aca442a7932b0fc87792.ppt