Home

User Manual - ICP DAS USA`s I

image

Contents

1. 22 3 2 3 PPDS 700 IP67 23 3 2 4 PDS 5105D MT Op 24 5 2 PRONT MT E c C C E 25 3 3 1 PDS 700 PPDS 700 MTCP Front View 25 3 3 2 PDS 700 PPDS 700 MTCP Rear View 26 27 3 3 4 PDSM 700 PPDSM 700 MTCP Front View 28 Doe 28 33 6 PDS 5105D MTCP Front View 29 pu COMPARISON TABLE mea ee eee eee 30 29 jPIN ASSIGNMENIS 52 885 32 35 1 5 220 5 220 32 35 2 PDS M 721 D 5 221 33 2 5 3 PDS M 732 D PPDS M 732 D MTCP 34 35 4 PDS M 734 D PPDS M 734 D MTCP
2. 136 8 21 137 8 22 55 138 8 23 APPLICATION 5 139 CONSOLE TELNET COMMANDS LIST 141 9 1 OPERATION FLOWCHART 141 9 2 REGULATE INIT NORMAL MODE 142 9 3 COMPARISON SHEET INIT RUN CONSOLE MODES 144 ER MEC PENIS 145 94 1 IPFIL TER 146 94 2 147 9 4 3 SOCKET 148 94 4 149 945 Broadcast 150 946 SystemTimeout ms
3. 150 947 SocketTimeout 5 151 Programmable Device Server User Manual V2 0 Feb 2013 9440 EIOlDOCIDONOs o emere ene entnommen tati initia 152 9 4 10 EIC ERE het 153 9 4 11 154 9 4 12 MASK 154 9 4 13 GATEWAY 155 9 4 14 MAC 155 9415 NAME 156 9 4 16 5 156 9417 DHCP 157 9 4 18 UDP 157 9 4 19 VER RA
4. e pis ins 73 SETTING ee cene nere 77 COM PORT SETTINGS e 78 5 9 MODBUS GATEWAY een en eue ue Ade de nee Dieu 85 5 5 MISCELLANEOUS SETTING e 5 e eee ese ene oer 87 Di PAIR CONNECTION SETTING 89 MODBUS TESTING AND PROTOCOL 92 6 1 MODBUS TCP TO MODBUS RTU GATEWAY imde 94 6 2 TESTING MODBUS DEVICE THROUGH VIRTUAL COM PORTS 98 VIRTUAL I O 101 7 1 TESTING THE VIRTUAL I O 101 7 2 NIRTUALT O COMMANDS TEST scsi ec 105 7 3 PROGRAMMING ON APG CLIENT 77s ere en e eene ene cernes e eeecsa nce rsen een een pan 107 221 COR eoe rines rein iui eire eie ioi tue
5. 35 35 5 PDS M 742 D PPDS M 742 D MTCP 36 3 5 6 PDS M 743 D PPDS M 743 D MTCP 37 3 5 7 PDS M 752 D PPDS M 752 D MTCP 38 3 5 8 PDS M 755 D PPDS M 755 D MTCP 39 3 5 9 PDS M 762 D PPDS M 762 D MTCP 40 Programmable Device Server User Manual V2 0 Feb 2013 3 5 10 PDS M 782 D PPDS M 782 D MTCP 41 3 5 11 5 282 25 6 42 3 5 12 5 2 2 5 212 43 3 5 13 DS Z15 PPDS 715 MTCP 44 35 14 PPDS 700 IP67 45 2 5 15 5 5105 46 2 0 WIRING NOTES aeerneeeseeeseneerteteeeesenenueritenedeneeeeuusteMedennHpdnue nue eMeunMpue penu eneucuHe i eue 4
6. 183 12 RARP REVERSE ADDRESS RESOLUTION PROTOCOL 183 13 SOCKET eiA e e 183 14 SUBNETMASK ieai a a i a a 184 15 TCP TRANSMISSION CONTROL 184 16 TCP IP 184 17 UDP USER DATAGRAM PROTOCOL 184 APPENDIX FAQ 185 1 HOW TO ACCESS THE REMOTE PDS THAT PLACED BEHIND AN NAT OR FIREWALL 185 2 HOW TO OPEN A VIRTUAL COM PORT THAT LARGER THAN COM 9 BY CALLING CREATEFILE WIN32 186 3 DOES VXCOMM DRIVER PC v2 00 WORK WITH VXCOMM SERVER V2 6 00 187 4 DOES VXCOMM DRIVER PC SUPPORT AUTO RECONNECTION AFTER FIXING A NETWORK BREAK 187 5 WHY DOESN T THE VXCOMM DRIVER PC RECEIVE DATA FROM THE PDS SERIES MODULE 188 6 DOES THE TRANSMISSION SPEED BECOME FASTER WHEN THE SERIAL DEVICE WORKING WITH SERIAL TO ETHERNET DEVICE SERVERS gt iere eere terne 189 7 WH
7. 123 8 9 124 8 10 125 8 11 AAN 126 8 12 00 127 8 13 1 128 8 14 w 129 8 15 0 130 8 16 1 131 8 17 2 132 8 18 133 8 19 135 8 20 45
8. Notes 7 8 9 10 CMD Port Command Port TCP port 10000 The CMD Port is used to configure the data ports TCP port 10001 10008 of a PDS series module such as BaudRate and data format etc The data port TCP port 10001 10008 which are mapped to serial ports 1 8 of PDS is only used to send receive data The Listening Sockets for PDS series modules Number of Data ports 1 CMD port IO port Web Telnet UDP Search The number of Available Sockets for PDS series modules max 32 sockets Listening sockets The maximum number of PCs when using all data ports of PDS Available sockets data ports 1 command port Available The maximum number of PCs when using 1 data port of PDS sockets 1 data port 1 command port IO Port is 9999 Only support for the module which has the DI O The web uses the TCP port 80 It can be disabled The telnet uses the TCP port 23 It can be disabled The UDP search function will occupy one socket B UDP 0 gt Doesnt support UDP search B UDP 1 gt Support UDP search and always occupy one socket B UDP 2 gt Support UDP search but while has the connection in that UDP search will be stopped Programmable Device Server User Manual V2 0 Ede 2013 10 Can I search or connect to PDS when my PC s IP address is not in the IP filter list of PDS How can I solve it A No you cannot search or connect
9. pay o pee w Rx Fifo Trigger Level MO Transparent Mode Mi Slave Mode M2 Half Slave Mode Programmable Device Server User Manual V2 0 Feb 2013 3 Add Server s the VxComm Utility please refer to Section 4 Setting up the PDS Module 2 YxComm Utility v2 11 10 Jul 20 2012 File Server Port Tools 29 Configure Server o Configure Port VxComm Servers Port Virtual COM Baudrate PPDS 755 MTCP 10 1 0 94 Portl O Reserved N M gh psen Port 1 COM 2 Dynamic Port 2 COM3 Dynamic Add Server s Port 3 COMA Dynamic Port 4 COM5 Dynamic X Remove Server Port 5 COM6 Dynamic Search Servers Configuration Alias IPAddress Sub netM Gateway MAC Address tGW 715 Jason 10 1 0 101 255 255 0 0 10 1 0 254 00 0d e0 80 08 52 ET 7065 10 1 0 19 255 255 0 0 10 255 255 255 00 0d e0 64 49 c1 PPDS 755 MTCP N A 10 1 0 94 255 255 0 0 10 1 0 254 00 0d e0 50 08 05 PDS 782 TimPDS782 10 1 102 234 255 255 0 0 10 1 0 254 00 0d e0 50 02 ba PDS 782 Tim782 1 10 1 102 235 255 255 0 0 10 1 0 254 00 0d e0 50 02 9e 7188E2 liam 10 1 112 188 255 255 0 0 10 1 0 254 00 0d e0 d0 96 1a 4 Run Modbus Utility program and click the Modbus TCP button and then click on Client tools Modbus RTU Client Choose Controller 23 HJ Modbus Utility Yer1 7 3 2012 10 15 m 5 File Windows Setting Help Status C
10. 10 03 03 DI n PoE 01 09 Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply PDS M 700 D series 10 30 unregulated PPDS M 700 D MTCP series 12 48 unregulated GND Pin for the power supply COM1 GND Power Input for Digital Output Programmable Device Server User Manual V2 0 Feb 2013 3 5 5 PDS M 742 D PPDS M 742 D MTCP Terminal Assignment No Assignment Link Act 23 014 22 DCD4 1 21 DTR4 20 0584 10 100M 4 19 54 Dm Pers 18 54 COMI 02 RIS1 17 TxD4 03 RxD1 16 RxD4 04 IxD1i 15 GND4 05 INIT 14 GND3 09 02 13 07 D2 COM3 12 TxD3 08 R Vs 11 RTS3 09 B GND 10 53 01 09 INS Initialization for enabling disabling AUTOEXEC BAT V Pin for the power supply PDS M 700 D series 10 30 Vpc unregulated PPDS M 700 D MTCP series 12 48 Vpc unregulated GND Pin for the power supply COM1 GND Programmable Device Server User Manual V2 0 Feb 2013 3 5 6 PDS M 743 D PPDS M 743 D MTCP Terminal Pin Terminal Mo No 23 22 Fl DO 21 20 19 01 18 COMI 02 RTS1 17 770703 16 DI 05 INIT 14 06 02 ne 13 COM 7 COM3 gt 08 R Vs 11 09 B GND El 01 09 Initialization pin for enabling disabling AUTOEXEC BAT
11. 1 Select Terminal gt gt DCON Command Line from the DCON Utility menu rj DCON UIILITY 4511 The Boond nt T 70TWUSDDT module File COM Search Run E zw a OCON Guan Line i Status 2 Type the Virtual I O command in the command column and click the Send button to send the command For example the command 01M is used to read the module name DCON Command Terminal Module Contig Baud Hate aEnn 1 CheckSum Protocol l Disable Enable DCON MATU Timeout Panty Option None Parity 4012 ee 3 Receive a response from the PDS module that the command was sent successfully Command Response PD5 32 9 gt 012 101 400400 Ims gt 01M Im PDS 732 Orns Programmable Device Server User Manual V2 0 Feb 2013 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 1 7000 I 8000 and I 87k series The General DCON API kit is located at B CD napdos driver dcon dll newY B ftp ftp icpdas com pub cd 8000cd napdos driver dcon dll new The General DCON API kit provides VC and VB drivers VB demos and a document called dcon fun user manual pdf Only the DIO demo that can be found in the dcon_dll_new demo vb6 folder supp
12. eiie 110 PD COE du UNA 110 72 3 Kecelve eeescecceeescesecebec esent eacus epe eee eee ee 111 7 3 4 DCON Write DO 112 8 235 DEON Write Dit 112 7 3 6 DCON_Read_DIO 113 VIRTUAL I O COMMANDS 114 8 1 AA5 116 8 2 6 117 8 3 118 8 4 2 119 8 5 120 a a 121 8 7 122 8 8
13. COM Open Port Dynamic Port f COME Dynamic Port 8 COM Dynamic 1 Check that the configuration of the COM Port is correct and then click the Open button 2 Configuration Setting ICE DAS Co Lid Check that the configuration COM Port is correct and then click the Open COM button Baudrate 115200 more Open COM Stop Bits Programmable Device Server User Manual V2 0 Feb 2013 2 Type a string in the send field then click the Send button If a response is received it will be displayed in the received field Click this button to send a string to your PDS module COM Terminal 1 0 01 14 2008 Send 901 Send 24 3031 4D Dad Interval ms gt COMZ Terminal V1 0 01 Mar 14 2008 send 01M Hex 24 80 81 AD 0 Received Text ub e b Clear Recevied Mode Orne response is displayed IT C Hex Text Status OK Complete 3 If the test is successful the COM port program will be able to work directly by setting the Virtual COM Port number Programmable Device Server User Manual V2 0 Feb 2013 5 Configuration with Web Browser Once the PDS series module has been correctly configured and is networking normally the configuration details can be retrieved or amended using either the
14. Formal St M 8 1 10 Click on the name of your PDS series module UTILITY ER 450 The Found Out I O module File COM Search Eun Terminal Help _ l Click here 5 34 S600 Disable 2 1 Programmable Device Server User Manual V2 0 Feb 2013 11 Click the Digital Output icon to change the high low status of the DO ri Configuration for 205 734 Module Verzon 100 E3 PDS 734 Digital Output LSB 0 D O Safe Value Set value Read value D O Power Value cet value Read Value LSE 0 MSB 3 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 7 2 Virtual I O Commands Test The DCON protocol is a request reply communication protocol it defines a simple ASCIT format protocol such as AAN AASi6 and AAN etc used to access the PDS and 7000 8000 87 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 Only PDS series modules equipped with digital I O lines will respond to DCON requests The DCON Utility can be used to test the Virtual I O commands The DCON command sets are introduced in Chapter 7 Programmable Device Server User Manual V2 0 Feb 2013
15. ete liseannaec Byte 2 Protocol identifier 0 Connect eae Byte 3 Protocol identifier 0 DataLog Byte 4 Length field upper byte 0 Polling Mode no wait Statistic Clear et I D fo r tart top Packet Modbus Device Command Quantity Response Total Packet bytes 0 _ Total Packet bytes Packet Quantity sent m Packet Quantity iaia Polli Tir Polling Mode Ti Timer mode fixed period Bytet Byte Etez Bytes Bute4 Byte 120006 2 4 0 40 Type the command Response Data Clear Lists ERIT Programmable Device Server User Manual V2 0 Feb 2013 6 2 Testing Modbus Device through Virtual Ports If want to use Modbus RTU through Virtual COM Ports you can refer to below steps Step1 Configuring COM Ports for Virtual COM 1 Enter the IP address of the PPDS series module in the address field and press Enter to connect to the PPDS series module PPD S 755 MICP Setup Page Windows Internet Explorer 2 Make sure your COM Ports of PPDS series module which aren t in the M3 mode Select COM Port Setting in the web configuration and set the Operation Checked the Save current settings to EEPROM Apply current setting and then click the SET COM PORT button to complete the setting Configure COM PORT Port for ALL PORTS Setti
16. 158 9 4 20 5 158 9 4 21 LOAD 159 94 22 CONFIG 161 9 4 23 iz 162 9 4 24 9 X A P 162 10 MODBUS INFORMATION FOR PPDS 163 10 1 WHAT IS MODBUS TCP lt amen anon nennt ee anne annee nnn nce annie annee unc e Mean ne Enc 163 10 2 MODBUS MESSAGE STRUCTURE ee eeeee censeri enne ne nine enn nane dn niece canina enun easdem tender aei 163 10 2 1 01 0x01 Read Coils Status Readback DOS 166 102 2 302 0x02 Read Input Status Read DIS J eoeseeee eren re Ferte r onere retire 168 40 027 US 0x05 Force Single Coll Wte DO nese sea ei cpe cic iic uenia 170 10 2 4 15 0x0F Force Multiple Coil Write DOS 172 10 3 MODBUS REGISTER MAP tenentur ene eiae nue 175 APPENDIX LINKING TO A DEVELOPMENT PC 176 APPENDIX
17. DS PhC 7186E82 UDP 9 4 24 QUIT Description This command is used to stop and quit the firmware of PDS series module Effect Immediate Command Argument Description quit Quits the firmware Example 73 718828 1 36 COM 1 115200 8 8 1 FC 0 C T50 DIR C Documents and SettingsMIseruiipds 0 com323H quit 7 lUDP Programmable Device Server User Manual V2 0 Feb 2013 10 Modbus Information for PPDS 10 1 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 Modbus TCP is an internet protocol The protocol embeds a Modbus frame into a TCP frame so that a connection oriented approach is obtained thereby making it reliable The master queries the slave and the slave responds with the reply The protocol is open and hence highly scalable 10 2 Modbus Message Structure Modbus devices communicate using a master slave client server technique in which only one device the master client can initiate transactions called queries The other devices slaves servers respond by supplying the requested data to the master or by taking the action request
18. ET 7042 10 0 8 193 255 255 255 0 10 0 6 254 00 0d e0 d0 25 2f PD5 802 192 168 255 1 255 255 255 192 158 0 1 00 0d e0 20 00 07 ET 7051 10 0 8 134 255 255 255 0 10 0 8 254 00 04 0 90 9 1 16 3 Contact your Network Administrator to obtain the correct network configuration details such as IP Mask Gateway Enter the network settings and then click OK The PDS series module will be restarted itself immediately Configure the Ethernet settings IP Configure Server UDP Address Sub net Mask Gateway Server PDS f6 IP Address 1 0 0 8 20 Alias 7 Chars Sub net Mask 255 255 255 0 MAC 100 04 0 20 00 07 Gateway 0 0 8 254 DHCP W arnin g Contact your Metwork Administrator get OK correct configuration before any changing ance Programmable Device Server User Manual V2 0 Feb 2013 Step 3 Configuring Virtual COM Ports 1 Click the Search Servers button again to search for your PDS series module to make sure that the new IP Mask Gateway settings have been saved then click the name of your PDS series module once to select it d search Senrzers Config Name Alias Addres Click the name of your PDS module jub net Mask ateway Address DHCP 2 10 0 8 1930955 255 255 0 192 168 0 1 00 0d e0 40 01 21 OFF 205 782 100820 2552552550 1
19. B Description This function reads the status of the digital input output Syntax cr delimiter character AA The address of the module 01 only for PDS Response Valid Command gt Data CHK cr Invalid Command AA CHK cr syntax error or a communication error will result in no response gt delimiter for valid command A delimiter for an invalid command AA The address of the module 01 only for PDS Data The status of the DIO B Example Command Response 001 gt 050 1 Read the status of the DIO Returns 050 The first two bytes indicate the status of the DO 05 means that channel 0 and channel 2 are 1 the other channels are 0 3 last two bytes indicate the status of the DI OF means that all 4 channels read are 1 8 10 AA Data B Description This function sets the digital output B Syntax A delimiter character AA 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 For the PDS M 732 D 734 D 743 D modules this will be from 0 to F 2 Data is two characters for output channels less than 8 For the PDS M 721 D modules this will be from 00 to 7F B Response Valid Command gt CHK cr Invalid Command CHK cr Ignore Command CHK cr A syntax e
20. ee ee ee ee EE _1 Start log ad 11 26 01 2 114 3 1 0 2 4600 O io 000 00 000 62 3 14 36 2 40 2 4600 10 gt HO00 00 000 65 4 14 3 3 3 2 ann O 0 2100 00 000 55 5 14 36 4 20 2 ann O 010 gt H000 00 gt 000 60 1000 14 36 5 1 2 ann O 010 gt H000 00 gt 000 66 1000 7 14 36 6 0 2 S600 010 gt 000 00 gt 000 66 14 36 7 40 2 S600 010 z HIDD DO gt 000 66 9 14 36 8 30 2 S600 010 gt HI00 00 000 71 10 14 36 9 20 2 600 010 000 00 gt 000 69 1000 11 14 36 10 1 2 4600 010 gt H00 00 gt 000 67 712 14 36 11 0 2 4600 O SH gt HOO0 00 gt 000 71 13 14 36 12 4 2 4600 O 10 gt HO00 00 000 65 14 14 3 13 3 2 ann 2100 00 HOD 72 15 14 3 14 2 2 ann 010 gt H000 00 gt 000 66 18 14 36 15 1 2 ann 010 gt H000 00 gt 000 60 17 14 36 16 0 2 S600 010 HDD DO 000 70 18 14 36 17 4 2 S600 010 gt H000 00 000 65 198 14 36 18 3 2 S600 010 gt HIO0 00 000 72 20 14 36 19 2 2 ant 010 gt HIOU 00 000 73 Programmable Device Server User Manual V2 0 Feb 2013 By using the 7000 DCON utility MS Excel in conjunction with the VxComm technology the signal data of 7000 modules from the Ethernet network can be analyzed without the need to write custom programs For mo
21. Tx D 1 Tx D Rx 01 02 03 04 05 INIT 06 N A 07 N A 08 R Vs 09 B GND Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply 12 48 Vpc unregulated GND Pin for the power supply COM1 GND Programmable Device Server User Manual V2 0 Feb 2013 3 5 14 PPDS 700 IP67 PPDS 741 IP67 PPDS 743 IP6 PPDS 743 1P67 N ij t COM3 R5 232 oF P l COM3 amp COM4 25 485 85 485 Y 145 232 J f 3 NIE ff i i iara JP COMI OM2 COMI RS 232 RS 485 _ LL RS 232 5 485_ 1 Etherne Et Ethernet 1 COM4 DC 12 48 Voc LED Indicators ly o Vs No xu GND 5 wire RS 232 2 wire RS 485 Pin Name NENNEN ee ee M mom mU lt numm IP Ca 7 wm ea Programmable Device Server User Manual V2 0 Feb 2013 3 5 15 PDS 5105D MTCP Terminal Pin Terminal Pin EOS No Assignment Assignment Link Act 28 GND H E 7 26 010 Hr 25 MOYE 2 NEST e 23 D8 74 4 E COM8 22 08 EE 01 02 21 07 E Mmm COM
22. V Pin for the power supply PDS M 700 D series 10 30 Vpc unregulated PPDS M 700 D MTCP series 12 48 Vpc unregulated GND Pin for the power supply COM1 GND Power Input for Digital Output Programmable Device Server User Manual V2 0 Feb 2013 Pin Assignment 003 DO 001 000 DO PWR GND DI3 DI2 DIO TxD3 RxD3 TxD4 RxD4 3 5 7 PDS M 752 D PPDS M 752 D MTCP Terminal Pin No Assignment No Assignment Link Act 23 RxD5 22 TxD5 COMS F1 21 55 20 CTS5 10 100M gs 01 18 BxD4 02 RISI 17 TxD4 COM1 4 03 RxD 16 RTS4 T T 04 TxD1i 15 CA 05 14 GND 06 02 13 RxD3 07 02 12 TxD3 08 R Vs 09 B GND 10 CTS3 1 01 09 Initialization pin for enabling disabling V Pin for the power supply PDS M 700 D series 10 30 unregulated PPDS M 700 D MTCP series 12 48 Vpc unregulated GND Pin for the power supply COM1 GND Programmable Device Server User Manual V2 0 Feb 2013 3 5 8 PDS M 755 D PPDS M 755 D MTCP Terminal Pin Terminal Pin No Assignment No Assignment Link Act 23 5 22 DATA 1 T 8 E m 10 100M 01 Ig 02 17 DATA COMI 4 4 03 RxD1 16 DATA 04 IxDi ma me 05 INIT 06 02 1 07 02 T m 08 R Vs 222
23. Input Type Source Dry Type Common Ground Off Voltage Level 1 V max On Voltage Level 3 5 V 30 V Isolated Voltage Non isolated 16 bit 65535 Counter Max Input Frequenc 100 Hz Min Pulse Width 5 ms Programmable Device Server User Manual V2 0 Feb 2013 3 2 2 DS 7 00 PPDS 700 MTCP 05 700 PPDS 700 MTCP CPU 80186 80 MHz or compatible SRAM 512 KB Flash ROM 512 KB Erase unit is one sector 64 KB 1000 000 erase write cycles EEPROM 16 KB Data retention 40 years 1000 000 erase write cycles Built in Watchdog Timer Yes COM Port Formats Data Bit 7 8 Parity None Even Odd Mark Space Stop Bit Baud Rate 115200 bps Max LED Indicators Flash Memory Run Red Link Act Red 10 100 M Orange Green Protection Power Reverse Polarity Protection 12 48 Vpc 12 Voc 48 Voc non regulated ES non regulated PoE IEEE802 3af Class 1 Power Consumption 2 2 W Communication Interface Models DS 712 PPDS 712 MTCP Non isolated 10 100 Base TX RJ 45 Port Ethernet Auto negotiating auto MDI MDI X LED indicator PoE Models DS 715 PPDS 715 MTCP Isolated COM RS 422 TxD TxD RxD RxD 2000 Vrms RS 485 02 D2 Bias Resistor Yes 1 245 max Ethernet 10 100 RJ 45 port Auto negotiating auto MDI MDI X LED indicator PoE EEE 802 3af RS 485 3 2 3 PPDS 700 IP67 Models PPDS 700 IP67 CPU 80186 80 MHz or compatible
24. ipfilter DEL Deletes an IP address from the IP filter table DEL 2 Deletes a range of IP addresses 1 2 from the IP filter table The IP address that follows the DEL command should already be listed in the IP filter table ipfilter DEL Zn Deletes item n from the IP filter table ipfilter DEL Deletes all items from the IP filter table Saves the IP filter table to the EEPROM If the IP filter table is ipfilter SAVE empty the data in EEPROM will be cleared ipfilter LOAD Loads the IP filter table from the EEPROM lt The IP filter table is loaded automatically when the PDS is booted lt Use the ipfilter save command to save a new IP filter table to the EEPROM Programmable Device Server User Manual V2 0 Feb 2013 se TIBBE W 1 36 COM1 115200 N 3 1 FC 0 C TSO DIR C Documents and HUE com323H ipfilter IP filter ii8 ip 1H BH 8 2H coaom323H ipfilter add 1H H 8 2h5 filter 6 ip 16 6 8 28 IP filter 8 25 com323H ipfilter add 1H H 8 3H 8 40 filter dH ip 1H BH 8 2H filter ii ip 1H 8 8 25 IP filter H2 ip range 1H H 8 3H 1H H 8 4H com323H ipfilter del 1H H 8 3H 1H H 8 4H IP filter id8 ip 18 8 8 2H IP filter Hi ip 18 8 8 2h com323H ipfilter del HB IP filter HBH ip i1H BH 8 25 com323H ipfilter del P a IP Filter com323H ipfilter save Save H IP Filter IP Filter setting
25. min 10000 Example 4 1 36 COM1 115200 N 6 1 FC 0 C T5 DIR C4 Ucom323H sockettimenut 5ncketTimeout H Ucom323H sockettimenut 2HBHBHH SnucketTimeout 2HHBH Ucom323H sockettimenut 5nucketTimeout H 9 4 8 M Description This command is used to query or set the echo mode Effect Immediate Command Arguments Description Mo Queries the echo mode settings Sets the multi echo mode to enable M When set to multi echo mode the PDS echoes data from a device to all clients that are connected Sets the single echo mode to enable When set to single echo ode the PDS echoes data from a device to the client th requeste service Example 1 36 COM1 115200 N 8 1 FC 0 C TS 0 Ucon3238 m M H Ucom323H m 1 1 Ucom323H m H H H Programmable Device Server User Manual V2 0 Feb 2013 9 4 9 Description 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 Arguments Description EchoCmdNo a Queries the EchoCmdNo settings If EchoCmdNo 0 a Virtual COM command number will not EchoCmdNo prefixed to the corresponding response If EchoCmdNo 1 a Virtual COM command number will be EchoCmd
26. 00 00 Starting DO address Byte 04 05 00 07 Number of points Response Leading 6 bytes Byte 00 03 01 02 00 00 Message number Byte 04 05 00 04 Number of remaining bytes in this frame Response Byte 00 01 Net ID Byte 01 01 Function Code Byte 02 01 Byte count of response Byte 03 04 006 000 Value 10 2 2 02 0x02 Read Input Status Read DIs This function code is used to read the current digital input value Request Byte Description Size Value 00 NetID Station number 1Bye 1 247 Refer to Modbus Address table for PPDS series Starting DI address Sec 10 3 Modbus Register Map Byte 02 high byte Byte 03 low byte Number of oints Byte 04 high byte 04 05 4 2 Bytes dii channels Byte 05 low byte Response Byte Description Size Value 007 Net ID Station number 1 Byte 1 247 1 Byte Byte count of response 02 Byte Count 1 Byte Points 7 8 n 1 Byte 03 data bit 7 0 n 2 Byte 04 data bit 15 8 03 Data n Byte n m Byte m 2 data bit 8m 1 8 m 1 Error Response Byte Description Size Value 00 NetID Station number 1Byte 12200000052 Refer to Modbus Standard Specification 02 Exception code 1 Byte for more details Programmable Device Server User Manual V2 0 Feb 2013 for example Function 02 0x02 Read DIs Leading 6 bytes Request Command 01 02 00 00 00 06 01 02 00 00 00 06 Leading 6 bytes Resp
27. 50 M 2d 03 GND come 19 06 04 RxD 18 06 mE comi 05 TxD T FES 5 06 01 16 05 07 D1 15 D4 P 08 PWR 14 04 09 PGND 9 gt NUR TA MEGT 11 GND V pin for the power supply 12 48 Vpc unregulated GND pin for the power supply Frame Ground pin Programmable Device Server User Manual V2 0 Feb 2013 3 6 Wiring Notes 3 6 1 RS 485 Wiring 2 wire RS 485 Wiring Device 1 Device 3 RS 485 Master mi DARREL oo 2 wire Only Device Twisted Pair Wiring plus Ground 3 6 2 RS 232 Wiring 3 wire RS 232 Wiring RS 232 Master RS 232 Device 4 wire RS 232 Wiring RS 422 Master RS 422 Device PB 200000 1 ml 5 GND e fr Programmable Device Server User Manual V2 0 Feb 2013 3 6 3 Digital Output Wiring DO Command as 1 DO Command as 0 Programmable Device Server User Manual V2 0 Feb 2013 3 7 Dimensions and Mounting m PDS 700 D PPDS 700 D MTCP T Ou eee Lb dj Top View as V En nmm 7 Bottom View Front View Din Rail Mounting Bracket dan T cL Pe d HS LII LITT EE TERT Back View Programmable Device Server User Manua
28. Address Data CHK cr Address 2 character 01 for PDS virtual I O CHK 2 character checksum no checksum for PDS virtual I O carriage return 0 00 for ending character of command B Checksum Calculation 1 Calculate the ASCII sum of all characters in the command or response string except for the return character cr 2 Mask the sum of the string with Offh B Example Command string 012 cr Sum of the string 0 1 2 24 311 32h BZ h The checksum is h 7 Command string with checksum 012B7 cr Response string 01300600 cr Sum of the string 0 1 3 0 0 6 0 0 21 301 311 301 301 36h 30h 30h 1ABh The checksum is h CHK AB Response string with checksum 01300600AB cr Programmable Device Server User Manual V2 0 Feb 2013 General Command Sets Command Response Description Section AALs Data jReadsthelatchedDI 86 CMM Reads the Digita Input Output Status 89 AA Data Sets the Digital Output 810 7 AMData Reads the DI counter 81 _ AAOOdd_ gt Sets the Multi channel Output 82 AAlndd Sets the Single Channel Output 83 Host Watchdog Command Sets Command Response Description Section Reset Module Status 81
29. FRAME GROUND 180 APPENDIX GLOSSARY 181 1 ARP ADDRESS RESOLUTION PROTOCOL 181 2 6 55555 555 25 5 2522 05 ee ee ame EE 181 Jd re ee 182 4 182 9 GATEWAY SA AER d 182 6 ICMP INTERNET CONTROL MESSAGES PROTOCOL 182 7 182 8 IP INTERNET PROTOCOL 55 182 9 MAC MEDIA ACCESS CONTROL ADDRESS 183 10 183 11 PING
30. PL EN 5 mie Y 1 7 i 7 79 settings can Detween tne PD5 UU 1 2 dun Programmable Device Server User Manual V2 0 Feb 2013 6 Modbus Testing and Protocol This chapter is only suitable for the PPDS M 700 D MTCP PDS 5105D MTCP and PPDS 700 IP67 Step1 Connecting the Modbus device to PDS series 1 Keep up network connection status for your PPDS M 700 D MTCP PDS 5105D MTCP and PPDS 700 IP67 Refer to Sec 4 Setting up the PDS for more details 2 Connect the Modbus device Ex M 7015 optional to PPDS M 700 D MTCP PDS 5105D MTCP and PPDS 700 IP67 on 2 RS 485 bus For detailed RS 232 422 485 wiring information refer to Sec 3 6 Wiring Notes Supply power to the Modbus device M 7015 Device ID 2 10 30 Power used For wiring diagram as follows PPDS M 700 D MTCP Series PoE Power Supply M A Unio eT das o 2 M 4 h a lt y P7 TN 4 uL t Wm mau Cs yd Pas n 7 PU S E j a s ts a Mire PEETI S Mochus Davies 1 F705 2 al lt 10 4 50 Vos Programmable Device Server User Manual V2 0 Feb 2013 PDS 5105D MTCP oS OE SUP 1 MF7015 2 Power Supply J RS 485 POMEL SLE 9 OLNY 10 c 3
31. This efficiency reduces the number of packets and reduces network loadings Broadcast 1 receive UDP broadcast packets 0 reject UDP broadcast packets Connection WDT timeout ms default 0 disabled 10000 If the PDS series module does not receive any data from a client PC within the period of the Connection WDT timeout the module will close the connection to the client Programmable Device Server User Manual V2 0 Feb 2013 Network WDT timeout ms 0 disabled min 30000 If the PDS series module does not receive any data from any of the clients within the period of the Network WDT timeout the module will reboot itself The default setting should be 300000ms 300 seconds This setting is the same as SystemTimeout setting unit ms on Console Telnet command and is the same as STxxx in command line parameter unit seconds When user uses config RESET Console Telnet command to clear the EEPROM the Network WDT timeout SystemTimeout ST setting will also be cleared to 0 Users have to configure this setting again by SystemTimeout Console Telnet command Master IP default empty disabled If the Master IP is set only the client using Master IP can change the COM Port configuration It is to prevent the COM Port configuration changed by other clients After setting the new configuration click the Set TCP IP button to save the new settings to
32. 721 D MTCP El n PoE 01 09 Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply PDS M 700 D series 10 30 Vpc unregulated PPDS M 700 D MTCP series 12 48 Vpc unregulated GND Pin for the power supply COM1 GND Power Input for Digital Output Programmable Device Server User Manual V2 0 Feb 2013 Terminal Pin Terminal Mo Assignment Mo Link Act 23 22 Fl DI 21 20 10 100 19 01 18 222202 RSI 17 03 16 04 TxD1 i 05 INIT MEL comp 09 Det 07 02 12 08 R 4Vs 11 09 B GND 10 3 5 3 PDS M 732 D PPDS M 732 D MTCP Terminal Pin Terminal Pin No Assignment No Assignment 23 003 22 DO 1 DO 21 DO 20 000 19 DO PWR 01 18 GND 02 RTS1 COMi 17 DIB 03 16 04 TxD1 DI 15 DI1 05 INIT 14 DIO 06 02 13 RxD3 12 TxD3 08 R Vs COMS i1 RTS3 09 B GND 10 CTS3 n PoE 01 09 Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply PDS M 700 D series 10 30 unregulated PPDS M 700 D MTCP series 12 48 unregulated GND Pin for the power supply COM1 GND Power Input for Digital Output Programmable Device Server User Manual V2 0 Feb 2013 3 5 4 PDS M 734 D PPDS M 734 D MTCP Terminal Pin No Assignment 23 003 22 002 DO 21 01 20 000 19 DO PWR 18 GND 17 03 16 02 15 DII 14 DIO 13 RxD3 12 RxD3 COMA
33. COM2 COM10 RS 485 Link G Link G 1 J x 6 T T Speed Y Speed Y 11 Robust insulated and 7 Segment LED fire retardant case 2 Port 10 100 M Ethernet Switch COM1 RS 232 2 RS 485 3 4 PDS Series Comparison Table B PDS M 700 D PPDS M 700 D MTCP Series Programmable Device Servers Models PDS 7oo D RS 232 P PDS 70o D MTCP RS 485 DI DO LED RS 422 485 PoE STAARE Metal Modbus TCP Device Server Display PDS 720 D 1 RS 232 PPDS 720 D MTCP 1 RS 485 PDS 721 1 RS 232 6 7 PPDS 721 D MTCP 1 85 485 PDS 732 0 2 5 232 4 4 PPDS 732 D MTCP 1 RS 485 PDS MI734D 4 4 PPDS M 734 D MTCP Ted PDS 742 0 3 RS 232 PPDS M 742 D MTCP 1 RS 485 PDS 743 D 3 RS 232 4 4 PPDS 743 D MTCP 1 RS 485 PDS MF752D 4 RS 232 PPDS 752 D 1 RS 485 PDS M 755 D 1 RS 232 PPDS M 755 D MTCP 4 RS 485 PDS MF 762D 5 RS 232 1 2 PPDS 762 D MTCP 1 RS 485 PDS MF 782D 7 RS 232 PPDS 782 D MTCP 1 RS 485 7 RS 232 PPDS M 782 D 25 D6 Tb Note 1 PPDS M 700 D MTCP supports PoE and Modbus Gateway 2 D versions support 7 segment 5 digit LED display 3 M versions is equipped with metal case 05 700 Series Non Programmable Device Servers Models Jua RS 232 RS 485 DI DO P DS zs MTCP RS 422 485 Device Server DS 7
34. E B 1 FTL 1 DBDT 0 3 EndChar 00 2 34500 BI IT 0 T E FR MO Transparent Mode Mode MO Transparent Mt Slave Mode Programmable Device Server User Manual V2 0 Feb 2013 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 Hub Ethernet 10 4 mE DE COM1 2 of the host COM1 2 of the PDS is mapped to COM3 4 of the host PC PDS 700 irs SS opis COM1 2 of the PDS is mapped to 5 6 of bru the host PC a MM 255 256 000 z01 In the configuration above Meter 1 is virtualized to link to of the host PC Therefore a program original designed for the MS COMM standard can access the meter without any modification Programmable Device Server User Manual V2 0 Feb 2013 2 22 Ethernet I O Applications The PDS series provides 2 types of Ethernet I O solutions B Linking to I 7000 series modules B 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 su
35. Immediate Command Arguments Description Queries the configuration of all COM Ports eom Queries configuration of COM Port n com If n 0 the configuration of all COM Ports will be listed in the same way as using the command com above Sets the configuration of COM Port n N BaudRate DataBits Parity StopBit s If n 0 the settings will be valid for all Com Ports on the PDS Example 7188X W 1 36 COM1 115200 N 8 1 FC 0 CTS 0 DIR C ADocuments and SettingsXIseramipds O com3z3BH com 1 76HB 8 H 1 connect H 2 76HB 8 H 1 connect H 3 76HB 8 H 1 connect H 4 76HB 8 H 1 connect H 5 76HB 8 H 1 connect H com323H com 3 3 76HB 8 H 1 connect H caom323H com 1 76HB 8 E 1 1 76HB 8 E 1 connect H com323H com BH 76HB 8 E 1 1 76HB 8 E 1 connect H 2 76HB 8 E 1 connect H 3 76HB 8 E 1 connect H 4 76HB 8 E 1 connect H 5 76HB 8 E 1 connect H Programmable Device Server User Manual V2 0 Feb 2013 9 4 5 Broadcast Description This command is used to Enable Disable listening broadcast packets on PDS Effect Immediate Command Arguments Description Broadcast 7 Queries the Broadcast settings The system is able to receive broadcast packets DN Sets Broadcast 0 The system will ignore broadcast packets Example 41862 8 1 36 COM1 115200 N 8 1 FC 0 CTS 0 DIR C Doe
36. Traditional time used RS 232 485 422 transmit time C Internet Ethernet transmit time RS 232 485 422 MEMO MLS Ue transmit time A B C All TCP packets need an extra ACK packet to commit the transmit action This also causes a little additional delay in communication Programmable Device Server User Manual V2 0 Feb 2013 For Xserver applications it can become faster User can write their own Xserver applications to acquire data automatically and then compress and transmit this large amount data at one time Your application can reach high performance by pre acquire data before asking by client and then response immediately Traditional Time Used TCP Transmit Time LA New Time Used CP Transmit Time lt PDS 700 C a C RS 232 485 422 A gt Device c mss Data Acquisition and Compression RS 232 485 422 transmit time C n modules New time used Internet Ethernet transmit time A B C Programmable Device Server User Manual V2 0 Feb 2013 7 Why does the PDS series module fail on a public Internet connection The default IP address of the PDS series module is 192 168 255 1 which can be only used on a private Internet connection A private network packet will not be routed via a public Internet connection which is the reason why the PDS series module failed on the Internet IANA has reserved three address
37. 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 The Host Watchdog Timeout status is set and store into EEPROM while the Host Watchdog Timeout interval has expired and can only be cleared by setting the command AA1 If user needs to change the output the Host Watchdog Timeout status needs to be cleared first and an output command need to be sent to change the output to the desired value 2 PowerOn Value Once the module is reset and the Host Watchdog Timeout status has been cleared the output of the module is set to a predefined PowerOn Value 3 Output command value If the Host Watchdog Timeout status is clear and the user issues a digital output command to the module to change the output value such as AA Data or AABBDD the module will respond success receive gt B X Latch Digital Input If for example the user connects a key switch to the digital input channel and wants to read the keystrokes the key input is a digital input pulse and the keystroke will be lost By using command AA6 to read the A and B positions the response would be that there was no keystroke and the keystroke information will be lost The read latch low digital input command AALO will solve this problem When issuing AALO co
38. an invalid command AA The address of the module 01 only for PDS SS The status of the module 00 The Host watchdog status has been cleared or no timeout occurred 04 The Host Watchdog has been set timeout occurred Use command 1 to clear the status that recorded in EEPROM B Example See the AA3eff example in Sec 8 18 B Related Commands Sec 8 15 Sec 8 16 1 Sec 8 17 AA2 Sec 8 18 AA3eff Sec 8 19 AA4P Sec 8 20 AA4S Sec 8 21 AA5P Sec 8 22 AA5S Programmable Device Server User Manual V2 0 Feb 2013 8 16 1 B Description This function clears the status of the Host Watchdog B Syntax v AA1 CHK cr A delimiter character AA The address of the module 01 only for PDS 1 The command used to reset the status of the module B Response Valid Command AA CHK cr Invalid Command AA CHK cr A syntax error or a communication error will result in no response A delimiter for a valid command delimiter for an invalid command AA The address of the module 01 only for PDS B Example See the AA3eff example in Sec 8 18 B Related Commands Sec 8 15 AAO Sec 8 16 AAT Sec 8 17 AA2 Sec 8 18 AA3eff Sec 8 19 AA4P Sec 8 20 AA4S Sec 8 21 AA5P Sec 8 22 AA5S 8 17 AA2 Description This function reads the Host Watchdog Timeout Value B Syntax v AA2 CHK delimiter character AA The address of the module 01
39. as follows Pot 18 2 921600 DataBit 7 8 for COM 1 and COM 2 5 6 7 8 for 3 COM 8 Parity N n None parity E e Even parity O o Odd parity M m Mark parity 1 S S Space parity 0 StopBit 1 for COM 1 COM 2 1 2 for COM 3 COM 8 Step 9 Disconnect the INIT pin from the GND pin Step 10 Power off the module then power on again Step 11 Execute ping 192 168 255 1 t using a run command as follows Run 3 the name of a program folder document or Internet resource and Windows will open it for you Open ping 192 168 255 1 Cancel Browse Execute Ping 192 168 255 1 on the PC client I oe 1 4 with 32 bytes of data The ping results should be smooth and continuous E EH Note e 192 168 255 1 is the default IP of the PDS series module The IP address can be changed using the instructions in step 8 e If the PDS cannot be successfully pinged from the PC refer to step 8 to change the configuration of the PDS series module The mask and gateway addresses of PDS series module and the PC should make the network definition e The MAC address of the PDS series module should be unique on the same network Refer to step 8 for details of how to change the MAC address of the PDS series module PDS MAC address is unique the default shipping In general
40. assigned IP address IPA and IPB and a MAC address the MACA and MACB The goal is to devise low level software that hides MAC addresses and allows higher level programs to work only with the IP addresses Ultimately however communication must be carried out by the physical networks using whatever MAC address scheme the hardware supplies Suppose machine A wants to send a packet to machine B across a physical network to which they are both attached but A only has the Internet address for B IPB The question arises how does A map that address to the MAC address for B MACB ARP provides a method of dynamically mapping 32 bit IP address to the corresponding 48 bit MAC address The term dynamic is used since it happens automatically and is normally not a concern for either the application user or the system administrator 2 Clients and Servers The client server paradigm uses the direction of initiation to categorize whether a program is a client or server In general an application program that initiates peer to peer communication is called a client End users usually invoke client programs when they use network services Most client programs consist of conventional application program develop tools Each time a client program is executed it contacts a server sends a request and waits for a response When the response arrives the client program continues processing Client programs are often easier to develop than servers and usually requ
41. error will result in no response delimiter for valid command A delimiter for an invalid command AA The address of the module 01 only for PDS B Example Command Response 00103 gt Output the value 03 Returns success 015P 101 Set the current output status as power on value return success B Related Commands Sec 8 19 AA4P 8 22 AA5S Description This function sets the Safe Value for the DO B Syntax AA5S CHK cr A delimiter character AA The address of the module 01 only for PDS 5S The command used to set the safe value for the DO Response Valid Command Invalid Command AA CHK cr syntax error or a communication error will result in no response delimiter for valid command A delimiter for an invalid command AA The address of the module 01 only for PDS B Example Command Response 00103 gt Output the value 03 Returns success 015S 101 Set the current output status as the safe value Returns success B Related Commands Sec 8 20 AA4S 8 23 Application Notes B 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 command will be recorded as 04 and output commands will be ignored unt
42. if the host PC can ping the PDS series module smoothly and continuously all other software and drivers for the PDS series module will operate correctly Therefore users should ensure that the development PC is able to ping the PDS series module smoothly before any further testing is carried out 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 It is recommended that the Frame Ground of the PDS series module is corrected to the earth ground such as the ground of an AC power supply to provide better ESD protection for the module The PDS 700 PPDS 700 MTCP DS 700 module is designed with two Frame Ground contact points Frame Ground A and Frame Ground B as shown in the figure below When mounted to a DIN rail Frame Ground B and the DIN rail are in contact Thus protection can be achieved by also connecting the DIN rail to earth ground m tJ Frame Ground B Frame Ground A Frame Ground Programmable Device Server User Manual V2 0 Feb 2013 Appendix Glossary 1 ARP Address Resolution Protocol Consider two machines A and B that share a physical network Each has an
43. is Cleared com323H ipfilter load Load IpFilter setting IP Filter 9 4 2 IPCONF Description This command is used to display the network configuration information such as IP Mask Gateway MAC addresses and the status of DHCP ACK Delay Free Memory Socket status Effect Immediate Command Argument Description Queries the network configuration Example 23 71889 1 36 COM1 115200 H 9 1 FC 0 CTS 0 caom323BH ipconf IP 1H H 8 25 AS K 255 255 255 8 RTEURY 18 8 8 254 AC 88 28D 29 09 09 DHCP H ACK De lay 5H Free Memoru 1575H4 bytes Socket numher 32 Free socket number 23 Programmable Device Server User Manual V2 0 Feb 2013 9 4 5 SOCKET Description 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 Take Effect Immediately Description Lists the status of all sockets Command Argument socket 71885 1 36 1 115200 8 1 0 0 DIR C Documents and pds caom323H znacket 99 16 LISTEMI stat 1 BH1 16 LISTEM1 stat 1 H2 16 LISTEMI stat 1 BH3 16 LISTEM 1 stat 1 H4 16 LISTEMI stat 1 BH5 16 LISTEM 1 stat 1 H6 16 LISTEMI stat 1 H7 16 LISTEM1 stat 1 H8 H1 ESTRBLISHED1 stat 1 H9 H1 ESTRBLISHED1 stat 1i 1B8 HB HOT USED ETI1 sta
44. of packet switching networks interconnected by gateways along with TCP IP protocol that allows them to perform logically as a single large and virtual network The Internet recognizes hosts using 32 bit IP address 8 IP Internet Protocol address Every interface on an Internet must have a unique IP address also called an Internet address These addresses are 32 bit numbers They are normally written as four decimal numbers one for each byte of the address such as 192 168 41 1 This is called dotted decimal notation 9 MAC Media Access Control address To allow a computer to determine which packets are meant for it each computer attached to an Ethernet is assigned a 48 bit integer known as its MAC address also called an Ethernet address hardware address or physical address They are normally written as eight hexadecimal numbers such as 00 71 88 af 12 3e 0f 01 Ethernet hardware manufacturers purchase blocks of MAC addresses and assign them in sequence as they manufacture the Ethernet interface hardware Thus no two hardware interfaces have the same MAC address 10 Packet A packet is the unit of data sent across a physical network It consists of a series of bits containing data and control information including the source and the destination node host address and is formatted for transmission from one node to another 11 Ping Ping sends an ICMP echo request message to a host expecting an ICMP echo reply to b
45. only for PDS 2 The command used to read the Host Watchdog Timeout Value B Response Valid Command AAeff CHK cr Invalid Command AA CHK cr A syntax error or a communication error will result in no response delimiter for a valid command delimiter for an invalid command AA The address of the module 01 only for PDS e The status of the Host Watchdog 1 Enabled 0 Disabled ff The timeout value in Hex format The unit is 0 1 seconds 01 0 1 seconds FF 25 5 seconds Example See the AA3eff example in Sec 8 18 B Related Commands Sec 8 15 AAO Sec 8 16 1 Sec 8 17 AA2 Sec 8 18 AA3eff Sec 8 19 AA4P Sec 8 20 AA4S Sec 8 21 AA5P Sec 8 22 AA5S Programmable Device Server User Manual V2 0 Feb 2013 8 18 AA3eff B Description This function sets the Host Watchdog Timeout Value B Syntax AA3eff CHK cr A delimiter character AA The address of the module 01 only for PDS 3 The command used to set the Host Watchdog Timeout Value e 1 Enabled 0 Disabled ff The timeout value from 01 to FF the unit is 0 1 second B Response Valid Command AA CHK cr Invalid Command AA CHK cr A syntax error or a communication error will result in no response delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS B Example Command Response 010 10100 Read the status of the
46. same as Byte 04 05 04 05 Output value 2 Bytes of the Request Error Response Byte Description Size Value sd Net ID Station number rM 247 Function Fundioncode 1 1iBye 0x85 00 Refer to Modbus Standard Exception code 1 Byte Specification for more details Programmable Device Server User Manual V2 0 Feb 2013 B for example function 05 0x05 Write DO 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 Note Sets the DO2 to ON of PPDS 721D MTCP Descriptions as follows Leading 6 bytes Byte 00 03 01 02 00 00 Message number Byte 04 05 00 06 Number of remaining bytes in this frame Request Byte 00 01 Net ID Byte 01 05 Function Code Byte 02 03 00 02 DO address Byte 04 05 FF 00 Set the output to ON Response Leading 6 bytes Byte 00 03 01 02 00 00 Message number Byte 04 05 00 06 Number of remaining bytes in this frame Response Byte 00 01 Net ID Byte 01 05 Function Code Byte 02 03 00 02 DO address Byte 04 05 FF 00 Set the output to ON 10 2 4 15 OxOF 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 00 Net ID Station number 1 Byte 1 247 1 Byte Refer to Modbus Address Table for PPDS series 02 03 Sta
47. zero OxOD character the result string recevied 1024 bytes maximum with one zero or OxOD terminal character wTimeOut timeout for receiving the result string Unit ms gt add one OxOD byte to the end of the szCmd wChksum lt gt 0 add two check sum bytes and one OxOD byte to the end of the szCmd wT return a reference number to identify the performance 52 szResult B Return 0 no error Others error codes 7 3 4 Write DO Description 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 IDO Value short iCheckSum short iTimeOut Parameters cComPort COM Port number 1 255 iAddress Module address 1 for the PDS series module iSlot 1 for the PDS series module iDO TotalCh total DO channel count on the PDS series module IDO Value digital output data iCheckSum 0 disabled or 1 enabled iTimeout timeout setting default 100 unit ms B Return gt error Others error codes 7 3 5 DCON Write DO Bit B Description 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 B Parameters cComPort COM Port number 1 255 iAddress Module address 1 for th
48. 0 Feb 2013 12 What is the difference in number of socket between tGW 700 7188E2 MTCP and PPDS 700 MTCP 7188 2 tGW 700 700 E Available Available Available PEN Sockets Sockets 1 7188 2 0 tGW 712 PPDS 712 D MTCP The 7188E2 MTCP series tGW 722 8 5 715 module has 32 sockets includes tGW 732 PPDS 720 D MTCP some reserved listening 25 sockets So the number of tGW 725 8 PPDS 732 D MTCP 24 Available Sockets is equal to the Max Sockets 32 subtract 24 For detailed available sockets The tGW 700 series information of 7188E2 MTCP module has 4 sockets ae one series refer to of FAQ03 of in every serial COM PPDS 78XD MTCP 20 20 7188 series port So the number The PPDS series module has 32 http www icpdas com faq 718 of Available Sockets is sockets includes 5 reserved 8e hardware 003 htm equal to the 4 Sockets listening sockets So the number of by multiplied number Available Sockets is equal to the of serial COM port Max Sockets 32 subtract Listening Sockets For detailed available sockets information of PPDS 700 MTCP refer to of FAQO9 Web Site htt www icpdas com tw Contact Us E mail Service icpdas com service icodas gmail com y Copyright 2013 by ICP DAS Co Ltd All Rights Reserved
49. 0 PPDS 700 IP67 PDS 782 25 and PDS 5105D MTCP power supply can range from 12 V 48 V Step 2 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 n 3 The IP address is 192 168 255 1 Connected clients and debugging information 3 COMB data 8 odd parity stop 1 Stop 2 data 8 no parity Stop 1 COM Baud Rate 9600 Baud Rate 9600 Programmable Device Server User Manual V2 0 Feb 2013 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 Group ID 22222 The Baud Rate for all COM Ports Group ID 33333 The COM Port configuration Group ID 44444 The Connected clients and debugging information for this PDS series module The format for the PDS IP address information is as follows B 5 Digit LED Group ID 11111 B LED 1 indicator which can be either 1 2 3 or 4 B LED 2 5 IP address B command port Default 10000 B DHCP Setting disabled 0 enabled 1 The LED will initially display the Group ID and will then display the IP address as illustrated in the previous diagram If the IP address is changed the value displayed will change immediately The default shipping IP is 192 168 255
50. 0 0 8 254 00 09 0 20 00 07 OFF 7051 1008194 2552552550 1008254 00 09 0 90 07 16 OFF 2 Click the Add Server S button then assign a Port number click OK to save your settings gt YxComm Utility v2 09 00 Apr 03 2008 File server Port Tools Adding Servers Eg IP Range Advanced Options Server Information server Name Get name automatically Range Start 10 0 8 20 iv Skip duplicated ange End 10 0 8 20 Includes the following spec Net 254 Gatew Add Server s x Hemove Server Web Configuration Search Servers Configure Server UDF Assign a COM Port number Virtual COM and Port Mappings COM Port Fixed baudra Maps virtual T ings of servers KO on servers Cancel Programmable Device Server User Manual V2 0 Feb 2013 3 Check the Virtual port numbers on the Utility v2 09 00 03 2008 COM Port E File Server Port Tools Configure Server Configure Port WR xComm Servers I Baudrate M PDS 782 10 0 8 20 Reserved COM Dynamic COM3 Dyna
51. 0 Vas PPDS 700 IP67 Series PoE 7 00 1 6 Power Supply 1 7015 2 2 bud lost i n COmp 5 485 3627 E SUP Dar 1 mp b Power over Ehme a Poe Sa ELD IL RS 485 2913 Suiza Note Please refer to the pin definitions of PPDS 700 IP67 Sec 3 5 14 to make wiring cable Programmable Device Server User Manual V2 0 Feb 2013 Step2 Install Modbus Utility on your PC The software is located at CD NAPDOS Modbus modubs_utility ET http ftp icpdas com pub cd 8000cd napdos modbus modbus utility ipse 7 6 1 Modbus TCP to Modbus RTU Gateway PPDS M 700 D MTCP PDS 5105D MTCP and PPDS 700 IP67 series can work as a Modbus TCP to Modbus RTU gateway that support most SCADA HMI communications based on the Modbus TCP protocol Step1 Configuring COM Ports for Modbus Gateway 1 Enter the IP address of the PPDS series module in the address field and press Enter to connect to the PPDS series module PFFDS 755 M ICFP Setup Page Windows Internet Explorer Q Oo 9226 dm 05 Library versioi TCP IP Library version Programmable Device Server User Manual V2 0 Feb 2013 2 Click the Modbus Gateway Setting the web page to configure the COM ports as follows 1 Select appropriate COM Port from the Port COMO for ALL PORTS drop down options for example COM2 2 Assign a Numb
52. 1 and the display sequence is shown in the previous diagram The format for the COM Port Baud Rate information is follows B 5 Digit LED Group ID 22222 B ED 1 COM Port number B LED 2 5 The Baud Rate determined as Baud Rate 100 LED 1 displays the COM Port number with LED 2 5 showing the Baud Rate for that COM Port The Baud Rate value shown by LED 2 5 100 Therefore COM Port value displayed as 1 96 means that the Baud Rate of 1 9600 bps a value displayed as 2 1152 means that the Baud Rate of COM2 115200 bps The Baud Rates for all PDS COM Ports will be shown in sequence Programmable Device Server User Manual V2 0 Feb 2013 The format for the Port configuration information is as follows 5 digit LED Group ID 33333 LED 1 COM Port number LED 3 Data Bit 5 6 70r8 LED 4 Parity Bit n no parity E even parity odd parity M mark parity S space parity B LED 5 Stop Bit 1 or 2 The format for the connected clients and debugging information is as follows B 5 digit LED Group ID 44444 LED 1 will display 1 2 3 4 5 and the module name in sequence B When LED 1 is 1 LED 2 3 indicates the number of available free sockets default is 26 for PDS and LED 4 5 shows the number of sockets being used by clients default is 0 e g 12600 When LED 1 is 2 LED 2 5 indicates how many times the PDS 700 has been reset e g 20002 The PDS has been reset 2 times
53. 115200 N 8 1 FC CITS0 DIER RTT T EET pds com323H ip IP 1H H 8 25 com323H 1ip 1H 8 8 2H IP 1H H 8 2H 0 9 4 12 MASK Description This command is used to query or set the subnet Mask value Effect After the next reboot Command Arguments Description mak Queries the subnet Mask value Sets the subnet Mask value Example CEGEU 1 36 COM1 115200 4 8 1 FC 0 C Documents and Settings 7 com3z3BHB mask AS K 255 255 255 8 com323H mask 255 255 255 254 H5R 255 255 255 254 EI Programmable Device Server User Manual V2 0 Feb 2013 9 4 13 GATEWAY Description 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 Gateway address Sets the Gateway address Example 7188X 1 36 COM 1 115200 8 8 1 FC 0 C TS 0 DIR C Documents and SettingsUservtinpds7 O caom323H gateway 18 H8 8 254 caom323H gateuayu 1H H 8 255 18 H 8 255 9 4 14 MAC Description This command is used to query the MAC address Effect Setting the address is not allowed Command Arguments Description Queries the address Setting the address is not allowed Example 2 7188X W 1 36 COM 1 115200 8N 8 1 DIR C ADocuments and SettingsMIserugpds7 O com323H mac 0
54. 12 PPDS 712 MTCP DS 715 PPDS 715 MTCP PoE Programmable Modbus TCP 1 RS 232 1 5 422 485 Note 1 PPDS 700 MTCP supports PoE and Modbus Gateway B PPDS 700 IP67 Series Programmable Device Servers Models P PDS 700 IP67 Programmable Device Server RS 232 RS 485 RS 422 485 DI DO Waterproof Protection 1 RS 232 PPDS 741 IP67 Murs 2 RS 232 PPDS 742 67 dn 3 5 232 PPDS 743 IP67 mop Note 1 IP67 version is equipped with IP67 case PDS 5105D MTCP Programmable Device Servers Models RS 232 PDS 5 RS 485 DI DO Programmable Device LED Modbus TCP RS 422 485 Server Display 1 RS 232 10 RS 485 PPDS 5105D Note 1 PPDS 5000 D MTCP supports PoE 2 port Switch and Modbus Gateway 2 D versions support 7 segment 5 digit LED display 3 5 Pin Assignments 3 5 1 PDS 720 D PPDS 720 D MTCP Bi 4 01 09 Terminal Mo Ei Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply GND Pin for the power supply COM1 GND Programmable Device Server User Manual V2 0 Feb 2013 PDS 700 D series 10 30 unregulated PPDS 700 D MTCP series 12 48 Vpc unregulated CTS1 RIS1 RxD1 TxD1 INIT 02 02 5 B GND 3 5 2 PDS M 721 D PPDS M
55. 20 00 09 com323H Programmable Device Server User Manual V2 0 Feb 2013 9 4 15 Description This command is used to query the name of a PDS module Effect Setting the name is not allowed Command Arguments Description oo oo o o Queries the name of a PDS module 0 9 4 16 ALIAS Description This command is used to query or set the alias of a PDS module The maximum character length of PDS alias name is 16 bytes Effect Immediate Description Queries the alias Sets the alias of a PDS module to xxxx 7188 1 36 COM1 115200 N 8 1 FC 0 CTS 0 DIR C Documents and Settings Wser A 0 com3s23H gt alias ALIAS com3230 gt alias p752 ALIAS p752 Programmable Device Server User Manual V2 0 Feb 2013 9 4 17 DHCP Description 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 Effect Immediate Command Arguments Description DHCP 0 Disables the DHCP client DHCP Enables the DHCP client Example Ej C SE Ucom323 gt dhep DHCP H Ucom323H dhcp 71 DHCP 1 rom323H dhc p DHCP 9 4 18 UDP Description This command is used to configure the UDP Se
56. 211 DATA 09 B GND COMS i0 DATA n PoE 01 09 Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply PDS M 700 D series 10 30 Vpc unregulated PPDS M 700 D MTCP series 12 48 Vpc unregulated GND Pin for the power supply COM1 GND Programmable Device Server User Manual V2 0 Feb 2013 3 5 0 PDS M 762 D PPDS M 762 D MTCP Terminal Pin Terminal Pin Assignment No Assignment Link Act 23 DOO DO 22 001 1 21 DO PWR DI 20 DIO 10 100M 19 GND 01 18 TxD6 Eg mz HEX 03 RxDi 16 TxD5 04 TxDi COP cre us 05 INIT 14 GND mM uc 13 Txn4 SR VN DEP lta 11 TxD3 09 B GND COMS uen HIPS Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply PDS M 700 D series 10 30 unregulated PPDS M 700 D MTCP series 12 48 unregulated GND Pin for the power supply COM1 GND Power Input for Digital Output Programmable Device Server User Manual V2 0 Feb 2013 3 5 10 PDS M 782 D PPDS M 782 D MTCP Terminal Pin Terminal Pin No Assignment No Assignment Link Act 23 TxD8 COMS 22 RxD8 E 21 TxD7 20 RxD7 10 100 19 GND 01 EE 18 TxD6 02 RISI H7 RxD6 COMI 03 RxD1 coms 16 105 05 INIT 14 GND 06 02 eme COM2 13 TxD4 COM4 RSS 12 RxD4 08 R Vs m TUE 09 B GND ERIS E1 01 0
57. 255 able to connect to the PDS series module Programmable Device Server User Manual V2 0 Feb 2013 Check the Save to EEPROM and Apply the current settings and then click the Update button to validate the settings Save to EEPROM Reload tram EEPROM Apply the current settings II PPDS 755 MTCP COM PORT Setup Page Version Network Setting COM Port Setting saved EEPROM 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 00 M0 ST 100 MAT 0 9600 8 N 1 FIL 1 DBDT 0 0 EndChar 00 M0 ST 100 MAT 0 9600 8 N 1 FIL 1 DBDT 0 0 EndChar 00 M0 ST 100 MAT 0 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 00 M0 ST 100 MAT 0 9600 8 N 1 FIL 1 DBDT 0 0 EndChar 00 M0 ST 100 MAT 0 COM Port Current Used Setting FIL 1 DBDT 0 3 EndChar 00 M0 ST 200 MAT 0 FTL 1 DBDT 0 3 EndChar 00 M0 ST 200 MAT 0 FTL 1 DBDT 0 3 EndChar 00 M0 ST 200 MAT 0 FIL 1 DBDT 0 3 EndChar 00 M0 ST 200 MAT 0 FTL 1 DBDT 0 3 EndChar 00 M0 ST 200 MAT 0 Misc Setting Configure COM PORT Port COMO for ALL PORTS COM 1 Baud Rate Data Bit Parity Stop Bit Rx Fifo Trigger Level Data Buffered Delay Time DBDT End Char hex MO Transparent Mode M1 Slave Mode M2 Half Slave Mode M3 Modbus Gateway Slave Timeout ms Operation Mode Master Ack Timeout MAT ms 0 DISABLE 5ave current setting to EEPR
58. 6 2 AAeff _ Reads the Host Watchdog Timeout Value 8 17 5557 Host Watchdog Timeout Value 1848 Note All commands require a carriage return OxOD for ending character Programmable Device Server User V2 0 2013 8 1 5 B Description This function reads the reset status B Syntax SAA5 CHK A delimiter character AA The address of the module 01 only for PDS 5 A command for reading the status BH 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 delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS The reset status 1 The Module has been reset the status was cleared to 0 after using this command 0 the module has never been reset B Example Command Response 015 1011 1 Reads the reset status Returns read for the first time 015 1010 1 Reads the reset status Returns that no reset has occurred B Related Topics Sec 8 16 AA1 Programmable Device Server User Manual V2 0 Feb 2013 8 2 AA6 B Description This function reads the status of the digital I O channels B Syntax AA6 A delimiter character AA The address of the module 01 only for PDS 6 A command for reading the digital I O status BH Response Valid Comman
59. 7 3 6 1 RS 485 WitiNg 47 3 6 2 RS 232 Wiring e meer rer eren nn ii i i NR tmn 47 30 2 Digital Output WINING eee eee rete oa ae 48 3 6 4 Digital Input Wiring 48 3 7 DIMENSIONS AND 49 5 0 PDS SERIES DIAGNOSTICS NS Menu a Uim Ein 54 39 FLASH PROTECTION FUNCTION esesssseeseeiesaseped nasrentecieduanen eda dece a ed eU 58 3 10 WATERPROOFING ATTACHMENT INSTALLED FOR PPDS 700 IP67 SERIES 60 3 10 1 Power Plug installed to waterproofing attachment 60 3 102 RJ45 Plug installed to waterproofing 62 SETTING UP THE PDS MODULE 64 CONFIGURATION WITH WEB BROWSER 72 5 1 CONNECTING TO THE PDS SERIES MODULE 5 5 69 5 72 5 2 NETWORK
60. 9 INS Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply PDS M 700 D series 10 30 Vpc unregulated PPDS M 700 D MTCP series 12 48 Vpc unregulated GND Pin for the power supply COM1 GND Programmable Device Server User Manual V2 0 Feb 2013 3 5 11 PDS 782 D 25 D6 Pin Assignment Terminal No Pin Assignment 01 TWA 14 coms RxD NES 0 15 covs ro 0 16 NES 9 DNI 17 cos mo come RxD NUS 19 EN 20 NES 3 21 ane 0 16 2 coma Rw NS 10 109 com no 4 coma jo NES 12 25 con no GND 13 Shield Pin Assignment Pin Assignment GND TxD RxD Programmable Device Server User Manual V2 0 Feb 2013 3 5 12 DS 712 PPDS 712 MTCP 1 RS 232 Terminal Pin Pin Terminal No Pin No Assignment Assign Assign ment ment GND CTS TxD RTS RxD 01 02 03 04 05 INIT 1 Male DB 9 Connector 06 N A 07 N A 08 R 4 Vs 09 B GND r 01 09 Initialization pin for enabling disabling AUTOEXEC BAT V Pin for the power supply 12 48 Vpc unregulated GND Pin for the power supply COM1 GND Programmable Device Server User Manual V2 0 Feb 2013 3 5 13 DS 715 PPDS 715 MTCP 1 RS 232 Terminal Pin No Assignment COMI RS 422 485
61. B When LED 1 is 3 the display indicates how many Ethernet packets are currently being received by the PDS B When LED 1 is 4 the display indicates that the status of the internal Flag used to allow Ethernet packets to be sent is 0 or 1 When LED 1 is 5 the display indicates the number of times the Ethernet chip has been reset B Module Name dS 7xx 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 If the number of free sockets is reduced to 0 then no additional clients will be able to link to the PDS The default number of free sockets for the PDS is 26 Therefore the server VxComm firmware or Xserver firmware allows 26 connections to be linked to a single PDS Each client program occupies at least 2 connections for a single serial port one connection for data and another for commands If the 5 digit LEDs do not display the above detail take the following steps Power off the module B Connect the INIT pin to the Vs pin B Power on the module and double check the configuration Step 3 The red LED on the PDS is used to indicate the following gt 3E OFF Unit gt 0 5 second The PDS contains either Xserver or VxComm as default when shipped that is in the OS mode If the LED is alw
62. DOs This function code is used to read the current coils status or the current digital output readback value Request Byte Description Size Value o Net ID Station number 1 Byte 1 247 1 Byte Refer to Modbus Address Table for PPDS series Starting DO address Sec 10 3 Modbus Register Map Byte 02 high byte Byte 03 low byte Number of oints Byte 04 high byte 04 05 2 2 Bytes channels Byte 05 low byte Response Byte Description Size Value 00 Net ID Station number 1 Byte 1 247 1 Byte Byte count of response 02 Byte Count 1 Byte Points 7 8 n 1 Byte 03 data bit 7 0 2 Byte 04 data bit 15 8 n m Byte 2 data bit 8m 1 8 1 Error Response Byte Description Size Value Net ID Station number 1 Byte 1 247 1 Byte Refer Modbus Standard Specification 02 Exception code 1 Byte for more details Programmable Device Server User Manual V2 0 Feb 2013 for example Function 01 0 01 Readback DOs 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 Note Reads digital output value of PPDS 721D MTCP Descriptions as follows Leading 6 bytes Byte 00 03 01 02 00 00 Message number Byte 04 05 00 06 Number of remaining bytes in this frame Request Byte 00 01 Net ID Byte 01 01 Function Code Byte 02 03
63. DS PDS 700 VxComm Server PDS http ftp icpodas com pub cd 8000cd napdos pds pds 700 vxcomm server pds MiniOS7 CD NAPDOS PDS PDS 700 OS_image http ftp icpdas com pub cd 8000cd napdos pds pds 700 os Programmable Device Server User Manual V2 0 Feb 2013 1 Introduction Introduction Take your Serial 2200000012901 194 Programmable Device Server 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 PDS 700 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
64. No prefixed to the corresponding response Example 7188X 1 36 COM 1 115200 N 8 1 FC 0 C TS 0 DIR C ADocuments and SettingsXMIseraimipds O com323H echocmdno Ec ha GmdHo coms236 gt echocmdno 1 Ec ha GmdHo 1 com323H echoacmdno Ec ha GmdHo EchoCmdNo 1 EchoCmdNo 0 Programmable Device Server User Manual V2 0 Feb 2013 9 4 10 Description 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 Effect Immediate Command Arguments Description Endhr Queries the endchar setting Sets the endchar Example TIBBXW 1 36 COMT 115200 8 8 1 FC 0 CTS20 DIR C XDocuments and Settings srna pds 0 com323H endchar EndChar HD com3z3H endchar HB EndChar HB EndChar OD EndChar OB Send 11 send ah 51 31 61 68 Hex 31 316168 7 Hecelved Recerved 3C 31 31 61 68 00 llah gt 2 i i 1 i Programmable Device Server User Manual V2 0 Feb 2013 9 4 11 Description This command is used to query or set the IP address Effect After the next reboot Command Arguments Description Queries the IP address Sets the IP address Example SEGUSS 1 36 C0M1
65. OM 1 current setting SET COM POET Set Remote VCOM3 connection Programmable Device Server User Manual V2 0 Feb 2013 The COM Port Settings list is saved in the EEPROM on the PDS series module Setting saved in EEPROM 9600 8 1 FTL 1 DBDT 0 0 EndChar 00 M0 ST 100 MAT 0 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 00 M0 ST 100 MAT 0 9600 8 N 1 FITL 1 DBDT 0 O EndChar 00 MO ST 2100 MAT 0 9600 8 1 FTL 1 DBDT 0 0 EndChar 00 M0 ST 100 MAT 0 9600 8 1 FTL 1 DBDT 0 0 EndChar 00 M0 ST 100 MAT 0 COM Port Current Used Setting 9000 8 N 1 FIL 1 DBDT 0 3 EndChar 00 M0 ST 200 MAT 0 9000 8 N 1 FIL 1 DBDT 0 3 EndChar 00 M0 ST 200 MAT 0 9600 8 N 1 FIL 1 DBDT 0 3 EndChar 00 M0 ST 200 MAT 0 9600 8 1 FIL 1 DBDT 0 3 EndChar 00 M0 ST 200 MAT 0 9600 8 N 1 FIL 1 DBDT 0 3 EndChar 00 M0 ST 200 MAT 0 COM Port Settings area Configure COM PORT Port COMO for ALL PORTS Data Bit Rx Fifo Trigger Level Data Buffered Delay Time DBDT End Char M Transparent Mode O Mi Slave Mode O M2 Half Slave Mode M3 Modbus Gateway Operation Mode Slave Timeout Master Ack Timeout MAT O0 DISABLE Save current setting to EEPROM Apply current setting SET COM PORT Programmable Device Server User Manual V2 0 Feb 2013 4 gt Save current settings to EEPROM If the Set COM Port
66. Programmable Device Server User Manual lt 7 Version 2 0 February 2013 4 So CN TN bI de 9 gE Pa 4 mum T 4 m 492 fj S V o j 15 712 n ue Ey Rs jj i EI JAM oce To 1 D E IM TII i 3 2 D 2 1 D pe Br aA 3 Mtis ES s i pe ai ps 7 2220 TA i 27 e d 05 700 PDS rear 5226 ss PDSM 700 PPDSM 700 MTCP 700 1 67 Programmable Device Server User Manual V2 0 Feb 2013 Warranty 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 2013 by ICP DAS All rights are reserved Trademark The names used for identification only may be registered trademarks of their respective companies Contact US If you have any question please feel
67. ROM 1 the current setting Check the Modbus Device ID of PPDS series module MODBUS Device ID Device ID 1 0x01 Check the COM Port for Modbus Gateway settings COM Port for Modbus Gateway Setting 1 0 Disable 0 Disable ID 0 Disable 1 0 Disable 1 0 Disable Port Settings area Device ID for PPDS 700 Port COMO for ALL PORTS Number of ID for serial Modbus device Device ID Sets the device ID of PPDS series module Port COMO for ALL Ports Select the COM port by you used for PPDS series module Number of ID for serial Modbus device Sets the device ID of serial Modbus device 0 Disable Timeout If the PPDS series module does not receive any data from RTU Slave for a certain period the PPDS series module will return a timeout error to PC based on the configured timeout value Type 0 ASCII 1 RTU Sets the Modbus type Modbus ASCII or Modbus RTU The more detailed information regarding Modbus Gateway applications settings please refer to Section 6 Modbus Testing Protoco Note After configuring COM Port settings please confirm that the Save current settings to EEPROM and Apply Current settings items are checked and then Programmable Device Server User Manual V2 0 Feb 2013 5 6 Miscellaneous Setting PPDS 755 MTCP Misc Setup L
68. Running Yes Yes Yes Firmware Console Mode is used to configure the Virtual COM PDS COM1 is the console port that accepts console commands while other ports are still working with Virtual COM applications Programmable Device Server User Manual V2 0 Feb 2013 9 4 Command List Sec Command Description 9 4 1 IPFILTER Retrieves Sets the IP addresses that are allowed to access the PDS 9 4 2 IPCONF Queries the network configuration IP Mask Gateway MAC addresses SOCKET Lists all the status of sockets Listen Not Used Yet together with the type of each socket TCP Server Port No UDP Unused COM Queries or sets the configuration of the COM Ports Baud Rate Parity Stop Bits Queries or sets the Broadcast parameter which determines whether Broadcast or not the module can receive Broadcast packets E If PDS has no network communications during the SystemTimeout period the PDS will reboot it self automatically If there is no data send receive on the connection during the 9 9 2 4 3 4 4 4 5 4 6 9 9 4 7 SocketTimeout SocketTimeout period the PDS will close the connection automatically Gets Sets the echo mode 0 Transparent Mode Multi Echo Data Shared M1 Slave Mode Single Echo None Shared the EchoCmdN meter that enables isables EchoCmdNo Queries or sets choCmdNo para r tha ables or disab IP 9 4 8 2002 adding Command Number before response 9 4 10 EndChar Sets a chara
69. SRAM 512 KB Flash ROM 512 KB Erase unit is one sector 64 KB 1000 000 erase write cycles EEPROM 16 KB Data retention 40 years 1000 000 erase write cycles Built in Watchdog Timer Yes Communication Interface Non RS 232 TxD RxD RTS CTS GND isolated RS 485 D2 D2 GND Yes 1 RS 485 Node 245 max Ethernet 10 100 Base Tx RJ 45 port Auto negotiating auto MDI MDI X LED indicator POE 802 3 Port Formats Flash Memory 7 8 for COM1 COM2 5 6 7 8 for COM3 COM4 None Even Odd Mark Space 1 for COM COM2 1 2 for COM3 COM4 115200 bps Max Data Bit Parity Stop Bit Baud Rate LED Indicators Green Link Act E1 Orange 10 100 M E1 Red Sys Green RxD Orange TxD Ethernet System COM1 COM4 Protection Power Reverse Polarity Protection 12 48 Voc non regulated PoE IEEE 802 3af Class 1 2 2 W Required Supply Voltage Power Consumption 3 2 4 PDS 5105D MTCP Models PDS 5105D MTCP CPU 80186 or compatible 16 bit and 80 MHz SRAM 512 KB 512 KB Erase unit is one sector 64 KB 1000 000 erase write cycles 16 KB Yes 0 8 seconds Flash Memory EEPROM Watchdog Timer Communication Ports Non COM1 RS 232 TxD RxD GND RS 485 D1 D1 Self tuner ASIC inside isolated COM2 10 RS 485 Dx Dx Self tuner ASIC inside Yes 1 RS 485 Node 254 max Ethernet 2 port 10 100 B
70. Slave Mode M3 Modbus Gateway Programmable Device Server User Manual V2 0 Feb 2013 Programmable Device Server User Manual V2 0 Feb 2013 lt Mode Multi echo mode Condition 1 One client sends a request to the PDS series module to access each device The PDS series module echoes the data from each device to each connected client Condition 2 No clients send any requests to the PDS series module The PDS series module echoes data from the devices to each connected client Programmable Device Server User Manual V2 0 Feb 2013 M1 Slave Mode Single echo mode Condition 1 One client sends a request to the PDS series module to access the other devices The PDS series module echoes data from the devices to the client that requested the service Condition 2 No clients send any requests to the PDS series module The PDS series module doesn t echo any data from the devices to any client Programmable Device Server User Manual V2 0 Feb 2013 2 Half Slave Mode If only one client connects to the PDS series module the operation mode same as MO mode please refer to page 75 MO Transparent Mode and if there are two or more clients connecting to the PDS series module the operation mode same as M1 mode please refer to page 76 M1 Slave Mode M3 Modbus Gateway The more detailed information regarding Modbus Gateway applications settings
71. Timeout MAT o ms 0 DISABLE Save current setting to EEPROM v Apply current setting Internet Programmable Device Server User Manual V2 0 Feb 2013 6 Select Add and type the port of the PDS 700 1 Client which you want to use 7 Type in the port IP and cmd port default 10000 of the PDS 700 2 Server and then check the Save to EEPROM and click submit button 205 720 Setup Page Microsoft Internet Explorer EIE File Edit View Favorites Tools Help Back L pO search Sf Favorites 2 A r 3 Address 110 0 8 5 tube C Firmware Version Network Local COM port Remote COM port MS COM Port Setting Misc Setting I 8 Reboot your PDS 700 1 Client and then setting is complete 9 Enter the configuration page of PDS 700 2 Server web server 10 Click the COM Port Setting tag to enter the settings page of PDS 700 2 Server and then set the Baud Rate 115200 and data format 8 None 1 11 Click Set Remote connection at the PDS 70022 Server COM PORT setup page 12 Confirm that the Local COM port Remote COM port field of the PDS 700 2 Server is None Note The baud rate and data format settings of the client and server PDS 700 1 and 2 are depending on COM ports of the connected device The serial port T m 4
72. Vcoms238 gt hbroadcast BroadGast 1 Ucom323H broadcast BrnadCast Ycoms238 gt hbroadcast 1 BroadCast 1 Ucom323H8 9 4 6 SystemTimeout ms Description 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 Description System Timeout MEM Queries the SystemTimeout settings Sets the SystemTimeout Unit ms Default factory setting is 300000 ms 300 seconds 5 minutes min value is 30000 ms 30 seconds SystemTimeout Example fzEITS4 BE die IBIEZTE ERI er he ce E com323H sustemtimenut 5 ustemlTimenaut H coms230 gt s ystemt imeout 4 imeout 4 coms230 gt s ystemt imeout Susteml imeout com323H Programmable Device Server User Manual V2 0 Feb 2013 9 4 7 SocketTimeout ms Description 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 cient PC for longer than the SocketTimeout period the PDS will close the socket connection between itself and the client PC Effect Immediate Command Arguments Description SocketTimeout Queries the SocketTimeout settings Sets the SocketTimeout Unit ms SocketTimeout default 0 disable
73. VxComm Utility or a standard web browser such as IE FireFox or Mozilla etc 5 1 Connecting to the PDS Series Module a If the COM port program is operating with a PDS module changing the configuration will cause a program error Enter the IP address of the PDS egere series module in the Address field and press Enter to connect to the PDS series module B When the browser connects to the PDS series module the first page that will be display is the Firmware Information page Firmware Version Device Information PPDS 755 MTCP Alias name VCOM3 Firmware version v3 2 32 Jul 14 2010 v2 2 24 Apr 19 2010 0 Library version i2 31 2009 TCP IP Library version 142736 Programmable Device Server User Manual V2 0 Feb 2013 5 2 Network Settings 4 Gateway c Ping Gateway at start TCP ACK Delay ms sel Svstem 5 lt NAY che ake affect after syste SET TPP Network TCP IP Setup page IP Address Subnet Mask Gateway The above three items are the most important network settings and should always correspond to the LAN definition If they do not match the PDS series module will not operate correctly If the
74. Y DOES THE PDS SERIES MODULE FAIL ON A PUBLIC INTERNET CONNECTION 191 8 CAN I USE THE SETCOMMSTATE TO CHANGES THE BAUD RATE DATA FORMAT SETTINGS OF A VIRTUAL COM SOLVE demit 195 11 COMPUTER PING OR SEARCH THE PDS SERIES MODULE 196 12 WHAT IS THE DIFFERENCE IN NUMBER OF SOCKET BETWEEN TGW 700 7188E2 MTCP AND PPDS 700 MTCP 197 Programmable Device Server User Manual V2 0 Feb 2013 Packing List The package includes the following items B One Programmable Device Server hardware module B software utility CD B RS 232 download cable CA 0910 Only for PDS M 700 D PPDS M 700 D MTCP PDS 5105D MTCP B One Quick Start Guide 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 More Information Documentations CD Napdos PDS PDS 700 Document http ftp icpdas com pub cd 8000cd napdos pds pds 700 document VxComm Driver Virtual COM CD NAPDOS Driver VxComm_ Driver http ftp icpdas com pub cd 8000cd napdos driver vxcomm driver Firmware CD Napdos P
75. al port 2 kV ESD protection circuit 2 Port 10 100 Base TX Ethernet Switch with LAN Bypass Programmable Device Server User Manual V2 0 Feb 2013 3 2 Specifications 3 2 1 PDS M 700 D PPDS M 700 D MTCP B System Specifications Models PDS M 700 D PPDS M 700 D MTCP 80186 80 MHz or compatible 512 KB Flash Memo Flash ROM 512 KB Erase unit is one sector 64 KB y 1000 000 erase write cycles EEPROM 16 KB Data retention 40 years 1000 000 erase write cycles Built in Watchdog Timer Communication Interface 1 RS 232 TxD RxD RTS CTS GND Non isolated COM2 RS 485 D2 D2 GND Ethernet 10 100 Base Tx RJ 45 port Auto negotiating auto MDI MDI X LED indicator PE EEB COM Port Formats 7 8 for COM1 COM2 5 6 7 8 for COM3 COM4 None Even Odd Mark Space 1 for COM COM2 1 2 for COM3 4 115200 bps Max Data Bit Parity Stop Bit Baud Rate LED Indicators 5 digit 7 Segment System PoE G Protection Power Reverse Polarity Protection 12 Voc 48 Voc non regulated regulated PoE IEEE 802 3af Class 1 PDS M 700 2 0 W PPDS M 700 MTCP 2 2 W PDS M 700D 2 7 W PPDS M 700D MTCP 2 9 W Yes Display for D versions Power Consumption B I O Specifications Models PDS M 700 D PPDS M 700 D MTCP Output Type Open Collector Sink NPN Load Voltage 30 max Load Current 100 mA max Isolated Voltage Non isolated Digital Input
76. and fire retard ant case Frame Ground DIN Rail Mounting Initial Mode Switch DIN Rail Lock E Programmable Device Server User Manual V2 0 Feb 2013 3 3 3 05 700 Front View Serial Ports 1 RS 232 LED Indicator Robust insulated and fire retardant case DIN Rail for easy mounting Wiring information Serial Ports 1 RS 422 485 Robust insulated and fire retardant case DIN Rail for easy mounting Wiring information Programmable Device Server User Manual V2 0 Feb 2013 3 3 4 PDSM 700 PPDSM 700 MTCP Front View Removable Terminal Serial Ports Block for easy wiring DI DO Channels P1 2332552222225 Wiring Information LED Indicator e e ovn e PDSM 721D Robust insulated and 7 Segment LED fire retardant Metal case D t COM1 RS 232 COM2 RS 485 RJ 45 Jack for 10 100 M Ethernet and PoE 3 3 5 PPDS 700 IP67 Front View RJ 45 Jack for 10 100 M Ethernet and PoE Power supply 12 48 Plastic casing with IP67 Waterproof Programmable Device Server User Manual V2 0 Feb 2013 3 3 6 PDS 5105D MTCP Front View Removable Terminal Block for easy wiring Wiring Information Serial Ports COM3 10 RS 485 PDS S105D MTCP LED Indicator E1 E2 2 port 10 100 Base TX Eth ernet Switch COM1 RS 232 RS 485
77. arch function UDP is used to set the action mode for when a PDS module 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 Replies to UDP search commands The PDS modules will reply to the UDP search command and can be searched Programmable Device Server User Manual V2 0 Feb 2013 9 4 19 VER Description This command is used to query the version information for a PDS module Effect Setting the version information is not allowed Command Argument Description Queries the version information Example 2 718824 1 36 COM1 115200 H 9 1 FC 0 CTS 0 DIR C ADocuments and Settings Jseritiipds O coms230 over Firmuare u3 2 3HIMau 13 2008 1 05 Uerzion 2 2 15 pr 29 2 1 186EL LIB Uer 2 8 Mau 13 2008 dm32 LIB Uer 1 28LJan 21 20081 9 4 20 SAVE Description This command is used to set the PDS module to backup or no backup autoexec bat and vcom ini files when using load command Effect Immediate Command Arguments Description When the load command is used backup copies of the autoexec bat and vcom ini files will be saved x When the load command is used backup copies of the Default autoexec bat and vcom ini files will NOT be saved Example see images 21 1 and 21 2 below Programmable Device Server Use
78. ase Tx Ethernet Switch with LAN Bypass RJ 45 x2 Auto negotiating auto MDI MDI X LED indicator COM Port Formats 7 8 for COM1 COM2 5 6 7 8 for COM3 10 None Even Odd Mark Space 1 2 for COM1 COM10 115200 bps Max 10 Ports half duplex 80 loading Data Bit Parity Stop Bit Baud Rate LED Indicators 5 digit 7 Segment System Yes 91 mm x 132 mm x 52 mm DIN Rail Fire Retardant Plastic UL94 VO Level Dimensions W x H x D Installation Case Environmental Operating Temperature 259 75 30 85 10 90 non condensing 0 05 A 24 Storage Temperature Humidity Power Consumption Protection Frame GND Input Range Power reverse polarity protection Yes for EMS Protection 12 48 Vpc non regulated 4 8 W Power Consumption I N D I Programmable Device Server User Manual V2 0 Feb 2013 3 3 Front View 3 3 1 PDS 700 PPDS 700 MTCP Front View DI DO Channels Wiring Information Removable Terminal Block for easy wiring Serial Ports LED Indicator PDS DIN Rail cM For easy mounting 7 Segment LED Robust insulated and fire retardant case Wiring Information RJ 45 Jack for 10 100 M Ethernet and PoE COM1 RS 232 COM2 RS 485 Programmable Device Server User Manual V2 0 Feb 2013 3 3 2 700 700 Rear View Robust insulated
79. atch high data Returns FFOO meaning that channels to 0 are all latched For modules with a DI channel count between 1 and 4 Related Commands Sec 8 3 AAC 8 7 B Description This function reads the firmware version details Syntax SAAF CHK cr A delimiter character AA The address of the module 01 only for PDS F 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 A delimiter for a valid command A delimiter for an invalid command The address of the module 01 only for PDS Data The firmware version information B Example Command Response 01F 101 1 00 1 Readthe firmware version details Returns version A1 00 8 8 B Description This function reads the module name Syntax AAM CHK cr A delimiter character AA The address of the module 01 only for PDS M A command for reading the module name B Response Valid Command AA Data CHK cr Invalid Command AA CHK cr A syntax error or a communication error will result in no response A delimiter for a valid command A delimiter for an invalid command The address of the module 01 only for PDS Data The name of module B Example Command Response 01M IO1PDS 721 1 Reads the module name Returns the name PDS 721 8 9
80. ax error or a communication error will result in no response gt A delimiter for a valid command A delimiter for an invalid command A delimiter for an ignore command meaning that the module is in Host Watchdog Timeout Mode and the output is set to safe values B Example Command Response 011201 gt Set the digital output of channel 2 to on Returns success Related Commands 8 10 AA Data Sec 8 15 Sec 8 16 1 Programmable Device Server User Manual V2 0 Feb 2013 8 14 Description This function is used to let other modules know that the Host is OK Syntax n A delimiter character command for all modules Response No response Example Command Response No response Related Commands Sec 8 15 Sec 8 16 1 Sec 8 17 AA2 Sec8 18 AA3 eff 8 19 AA4P Sec 8 20 AA4S Sec 8 21 AA5P Sec 8 22 AA5S Programmable Device Server User Manual V2 0 Feb 2013 8 15 B Description The function reads the status of the Host Watchdog B Syntax AAO CHK cr n A delimiter character AA The address of the module 01 only for PDS 0 The command used to read the status of the module Response Valid Command AASS CHK cr Invalid Command AA CHK cr A syntax error or a communication error will result in no response delimiter for a valid command delimiter for
81. ays ON take the following steps Power off the module B Connect the INIT pin to the 5 pin Power on the module and double check the configuration Step 4 Power off the module Programmable Device Server User Manual V2 0 Feb 2013 3 9 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 function in the PDS modules Please switch the position of the jumper to LOCK and then the PDS modules can restrict any write to flash memory For more detailed steps as follows B PDS 700 series module Non Lock Factory Default Programmable Device Server User Manual V2 0 Feb 2013 PDS 5105D MTCP Factory Default Programmable Device Server User Manual V2 0 Feb 2013 3 10 Waterproofing Attachment Installation for PPDS 700 IP67 Series 3 10 1 Power Plug Installation Installation Steps IP67 Power Plug 4S101K0000016 Step 1 Prepare a Power Cable Correct Correct Programmable Device Server User Manual V2 0 Feb 2013 Step 5 Assemble item 2 and 3 Welding see page 45 for pin assignment Step 8 Assemble Power Plug Step 10 Assemble item 1 and 5 amp 4 amp 3 amp 2 5 amp 4 amp 3 amp 2 lt 1 Step 12 Connect the Power cable to PPDS 700 IP67 on Power
82. 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 Programmable Device Server User Manual V2 0 Feb 2013 1 1 Ethernet Solutions Nowadays the Ethernet protoco 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 NS 208 Industrial Ethernet Switching Hub PPDS 700 IP67 4 pPDSM 700 MTCP PDSM zoo PPDS 700 MTCP PDS 700 Programmable Device Server User Manual V2 0 Feb 2013 1 2 In general writing TCP IP program is more difficult than COM port program or the COM port communication system was built many years ago As a result 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 s
83. button is clicked without checking Save current settings to EEPROM option the new settings will be saved to the PDS 220Fx series only and the new settings will be valid after the next power on Apply current settings If the Apply current setting checked when the Set COM Port button is clicked the new settings will be valid immediately Note After configuring COM Port settings please confirm that the Save current settings to EEPROM and Apply Current settings items are checked and then click the SET COM PORT button Port The COM Port number on the PDS series module Baud Rate Data Bits Parity Stops Bits End Character The configuration settings should match the serial device used e e Fifo Trig Level FIFO trigger level This option is used to set the number of characters that the COM Port can receive at once time the PDS will move the data from the COM Port FIFO to the PDS If the amount of data transferred is large and uses a transfer speed 115200 bps setting a smaller value is helpful in preventing data loss DBDT ms Data buffer delay timeout When the COM port does not receive data from devices connected over the period of DBDT setting the PDS will determine that the data transfer is over and return to process next tasks Operation Mode MO Transparent Mode M1 Slave Mode M2 Half Slave Mode M3 Modbus Gateway MO Transparent Mode Mi Slave Mode M2 Half
84. ch as D I D O A D D A Counter and Frequency Measurement etc The 7000 series was originally designed to be used with RS 485 networks so COM2 on the PDS 700 can be used to link to 1 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 Ld using a simple ASCII format such as AAN AASI6 etc and is used to access PDS and 1 7000 8000 87k series I O modules ICON Protoco ASCII Command The DCON protocol command set for the ts PDS is introduced in Sec 7 The protocol JC 1 7000 Serios 7 8000 Series allows access the built in I O through the virtual COM Ports mapped to the Port I O of the PDS in VxComm Utility i Programmable Device Server User Manual V2 0 Feb 2013 2 3 Linking I 7000 Module to an Ethernet Network The 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 7000 modules to be upgraded to an Ethernet solution Linking 1 7000 modules to an Ethernet combines the advantages of both RS 485 and Ethernet solutions and expan
85. cter that determines the end of a response string 9 4 11 9 4 12 MASK Queries or sets the subnet Mask value 9 4 13 GATEWAY Queries or sets the Gateway address Queries or sets the IP address 9 4 14 MAC Queries the MAC address 9 4 15 NAME Queries the module name 9 4 16 ALIAS Sets the alias for a PDS 9 4 17 DHCP Enables Disables the DHCP client 9 4 18 Sets whether to reply to a UDP search command 9 4 19 Queries the version information Determines whether or not backup copies of the autoexec bat and 9 4 20 SAVE NUR P vcom ini files are saved when using the load command 9421 LOAD Loads s to the built in flash disk on PDS It should be used to update firmware only 9 4 22 CONFIG Restores the factory default settings 9 4 23 RESET Reboots the PDS module 9 4 24 QUIT Exits the running firmware Programmable Device Server User Manual V2 0 Feb 2013 9 4 1 IPFILTER Description 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 Effect Immediate Command Arguments Description ipfilter Queries the filter table ipfilter ADD 1 1 Adds an IP address to the IP filter table ADD 1 2 Adds a range of IP addresses ip2 to the IP filter table
86. ction sets the multi channel Output B Syntax 3 AAO00dd CHK cr A delimiter character AA The address of the module 01 only for PDS 00 A command used to set multi channel output dd The output value B Response Valid Command gt CHK cr Invalid Command CHK cr Ignored Command CHK cr A syntax error or a communication error will result in no response gt A delimiter for a valid command A delimiter for an invalid command A delimiter for an ignore command meaning that the module is Host Watchdog Timeout Mode and the output is set to safe values B Example Command Response 01000F gt Set the digital output of channel 3 to 0 as on Returns success 010005 Set the digital output of channel 0 and 2 as on Returns that the module is in Host Watchdog Timeout Mode and the output was been set to safe values Related Commands 8 10 AA Data Sec 8 15 Sec 8 16 1 8 13 1 B Description This function sets the output of a single channel B Syntax 4 AA1ndd CHK A delimiter character AA 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 dd 00 sets the digital output channel to off 01 sets the digital output channel to on B Response Valid Command gt CHK cr Invalid Command CHK cr Ignored Command CHK cr A synt
87. d ddffOO CHK cr Invalid Command AA CHK cr A Syntax error or a communication error will result in no response delimiter for valid command delimiter for invalid command AA The address of the module 01 only for PDS dd The current status of the digital output channels ff The status of the digital input channel B Example Command Response 016 10 0000 1 Reads the digital input output status Returns OF00 2 The status of digital output channels 3 to 0 is set as on 3 The status of all digital input channels is set to off B Related Commands Sec 8 9 Programmable Device Server User Manual V2 0 Feb 2013 8 3 AAC B Description This function clears the latched status of the digital Input B Syntax A delimiter character AA The address of the module 01 only for PDS C A command for clearing latched digital inputs B Response Valid Command AA CHK cr Invalid Command AA CHK cr Syntax error or a communication error will result in no response delimiter for valid command A delimiter for invalid command AA The address of the module 01 only for PDS B Example Command Response 0110 IFFFFO0 1 Reads the latch low data Returns FFFF 01C 101 1 Clears the latched digital inputs Returns success 0110 1000000 1 Reads the latch low data Returns 0000 B Related Commands Sec 8 6 AALS Programmable Devic
88. d ate 8500 RS 485 Address of Module otal DI Channel of Module Open COM Port Close COM Total DU Channel of Module n Step 2 Set Communication Parameters Slot For module insert into 1 8000 a asim F Mel Li F F LI 5 Set the Output value and then click the Write DO button to transmit the data Step 5 Write loutput Yalue Channel OFF ON 6 Click the Read button to retrieve the DI data and read the DO data Step b Head DIO 7 Press the Exit button to exit the program Exit Programmable Device Server User Manual V2 0 Feb 2013 The functions the General DCON kit be used to access the I O lines the PDS series module Categorization Dil and lib Call condition BEEN Starting function Uart dll Called once when the program Uart lib starts I O function Sec 7 3 5 DCON Write DO dcon pc dll Calls the I O functions for 72 6 DCON Write DO dcon requirements Sec 7 3 6 DCON Read 7 3 3 Communication Vart dll Calls communication Send_Receive_Cmd Uart lib functions for requirements Uart dll Sec 7 3 4 Sec 7 3 2 Ending function Called once before the program Close_Com Uart lib exit
89. ds 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 1 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 DCON UTILITY YER45 hing for I 7000 8000 Modules Programmable Device Server User Manual V2 0 Feb 2013 2 Configure the system connection as shown below click the Start button to begin logging data Data logger Lag Contig CNCPDASIDCON og Config txt Lag Report CNCPDA amp IDCON _ tilit reportLog_Reporttet View Total 10 commands 0 COM Baudrate Count Error Log To File Log error ony Error Counter Summation 0 3 Open the log file in Excel to read the log data as shown the example below Ed Microsoft Excel reportlog File Edit view Insert Format Tools Data Window Help 10 B mn ESSAY X E f 2 d 12 a Arial 1 Start log at Pea ee
90. e returned Normally if a host cannot be pinged you won t be able to use Telnet or FTP to connect to the host Conversely if Telnet or FTP cannot be used to connect to a host Ping is often the starting point to determine what the problem is 12 RARP Reverse Address Resolution Protocol RARP provides a method of dynamically mapping 48 bit MAC address to the corresponding 32 bit IP address 32 bit IP address ARP RARP 48 bit MAC address 13 Socket Each TCP segment contains the 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 address in the IP header uniquely identify each connection The combination of an IP address and a port number is called a socket 14 Subnet Mask Subnet mask is often simply called the mask Given its own IP address and its subnet mask a host can determine if a TCP IP packet is destined for a host that is 1 on its own subnet or 2 on a different network If 1 the packet will be delivered directly otherwise if will be delivered via gateways or routers 15 TCP Transmission Control Protocol TCP provides a reliable flow of data between two hosts It is associated with tasks such as dividing the data passed to it from applications into appropriately sized chunks for the network layer below acknowledging received packets setting timeouts to make certain that the other end acknowl
91. e PDS series module iSlot 1 for the PDS series module iChannel The digital output channel No iDO TotalCh total DO channel count on the PDS series module iBitValue 1 bit of digital output data 0 off 1 on iCheckSum 0 disabled or 1 enabled iTimeout timeout setting normal 100 unit ms B Return Programmable Device Server User Manual V2 0 Feb 2013 7 3 6 DCON Read DIO B Description This function reads the DO and DI lines status Syntax DCON Read DiIO unsigned char cComPort short iAddress short iSlot short 10 TotalCh short iDO TotalCh short iCheckSum short iTimeOut unsigned long IDI Value unsigned long IDO Value char cDI BitValue char cDO BitValue Input Parameter cComPort COM Port number 1 255 iAddress Module address 1 for the PDS series module iSlot 1 for the PDS series module iDI TotalCh total DI channel count on the PDS series module iDO TotalCh total DO channel count on the PDS series module iCheckSum 0 disabled or 1 enabled iTimeout Timeout setting normal 100 unit ms Value read digital input data iDO Value read digital output data cDI BitValue read digital input data Boolean array format cDO BitValue read digital output data Boolean array format B Return 0 no error Others error codes 8 Virtual I O Commands Command Format Leading Address Command CHK cr B Response Format Leading
92. e Server User Manual V2 0 Feb 2013 8 4 B Description This function clears the digital input counter B Syntax A delimiter character AA The address of the module 01 only for PDS C A command for clearing the digital input count n The digital input channel number BH Response Valid Command AA CHK cr Invalid Command AA CHK cr A syntax error or a communication error will result in no response delimiter for valid command delimiter for an invalid command AA The address of the module 01 only for PDS B Example Command Response 010 10100123 1 Reads the counter value on digital input channel 0 Returns 123 01 0 101 1 Clears the counter value on digital input channel 0 Returns success 010 10100000 1 Reads the counter value on digital input channel 0 Returns 0 Related Commands 8 11 Programmable Device Server User Manual V2 0 Feb 2013 8 5 B Description This function reads the digital input output channel count B Syntax SAAGCN CHK A delimiter character AA The address of the module 01 only for PDS GCN A command for reading the digital input output channel count B Response Valid Command DINXxxDONxx CHK cr Valid Command gt DONxx CHK cr DO only Invalid Command AA CHK cr A Syntax error or a communication error will result in no re
93. e Server User Manual V2 0 Feb 2013 9 4 22 CONFIG Description This command is used to clear the settings in the EEPROM Effect Immediate Command Argument Description Clears the settings in the EEPROM RESET After reboot the firmware will use the new default settings on EEPROM Note RESET MUST be in capital letters XWhen Config RESET is used the Password Alias and IPFILTER settings will also be cleared but the IP MASK GATEWAY addresses will not SystemTimeout setting is also cleared to 0 by the config RESET command you have to configure the SystemTimeout value again The default factory setting of SystemTimeout value should be 300000ms 300 seconds Example 2 7188X W 1 36 COM 1 115200 N 8 1 FC 0 C TS 0 DIR C ADocuments and SettingsWserkatimipds O caom323H conf ig RESET com3z3BH Programmable Device Server User Manual V2 0 Feb 2013 9 4 23 RESET Description This command is used to reboot the PDS module Effect Immediate Command Argument Description reset Reboot the PDS series module Example 2 718824 1 36 1 115200 4 8 1 0 0 DIR C Documents and Settings WJseritiipds O com323H rezet ICP DAS MiniOS7_UDP for uPRHG 7186ES Uer 2 92 build 615 Apr 29 2HH8 15 35 16 05 14 31 SHaM 512K FLASH MEMORY 512K CPU R224H PU internal WDT is EMNABLEDCWDT timeout H 8 sec Serial numher Hi 63 42 FD HE
94. ed in the query A query from a master will consist of a slave address or broadcast address a function code defining the requested action any required data and an error checking field A response from a slave consists of fields confirming the action taken any data to be returned and an error checking field Modbus TCP Message Structure 6 byte header RTU Data Programmable Device Server User Manual V2 0 Feb 2013 Leading 6 bytes of Modbus TCP protocol Byte Byte 00 Byte 02 Byte 03 Byte 04 Byte 05 Length field Length field Transaction identifier Protocol identifier upper byte lower 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 data bytes RTU Data Structure Byte 06 Byte 07 Byte 08 09 Byte 10 11 Data Net ID Station number Function Code NEN number Number of Address Mapping points Net ID specifies the address of the receiver Modbus TCP slave Function Code specifies the message type Data Field is the data block Programmable Device Server User Manual V2 0 Feb 2013 Net ID Station Number The first byte in the Modbus structure of the Modbus RTU is the receiver s address The Valid addresses are in the range of to 247 Addresses 0 is used for broadcast while addresses 1 to 247 are g
95. edges packets that are sent and so on 16 TCP IP The transmission Control Protocol TCP and the Internet Protocol IP are the standard network protocols They are almost always implemented and used together and called TCP IP TCP IP can be used to communicate across any set of interconnected networks 17 UDP User Datagram Protocol UDP provides a much simpler service to the application layer It just sends packets of data from one host to the other But there is no guarantee that the packets will reach the destination host Programmable Device Server User Manual V2 0 Feb 2013 Appendix FAQ FAQ 1 How to access the remote PDS that placed behind an NAT or firewall 27 Outgoing Connections Modem Client PC Ethernet HUB PDS 700 PDS 700 PDS 700 The remote site must have a NAT or a router supports NAT server NAT stands for Network Address Translator By using configuring the NAT server NAT can forword bypass all specified TCP port connection to specified PDS devices For example NAT 10000 10008 maps to 192 168 1 101 10000 10008 NAT 10010 10018 maps to 192 168 1 102 10000 10008 Please note if your NAT router built in a firewall feature you have to configure the NAT to allow incoming TCP port connections For example TCP port includes 10000 10008 and 10010 10018 of NAT In the VxComm Utility you have to add PDS by using NAT s address and NAT s TCP
96. eld in the VxComm Utility Refer to Chapter 4 for more details Por Virtual COM Port COM3 1 Dynamic Porte COM Dynamic Port 3 COMB Dynamic Port4 COM Dynamic Programmable Device Server User Manual V2 0 Feb 2013 7 Select the Virtual COM Port number Check 115200 as the Baud Rate DCON as the protocol checksum disabled parity as none and then click the OK button Select the COM Port and Baud Rate E3 search Time Out Setting coma 4 500 ms Baud Hate Option T 115200 57500 38400 19200 gt 9600 4800 2400 1200 Select Al Clear Protocol Option Maodbus ATU Madbus ASCII Checksum Option Disable Enable Parity Option A If your PDS is not equipped with digital I O lines the DCON Utility will return an Open COM error message 8 Click the button to start searching for the PDS series module S DCON UTILITY VER 450 The Found Out I 7000 8000 File Port search Run Terminal Help 9 When the PDS series module is found and is displayed the DCON Utility click the button to stop the search S DCON UTILITY ER 450 Searching For Modules File COM Port Search Run Terminal Help T Y Your PDS series module LE uei Si sei dl d 9600 SN
97. ends on how many serial ports are available on the PDS series module and how many serial ports which can be connected to each PC of PDS The PDS series module has 32 sockets in total includes some reserved listening sockets The PDS series module provides a single command port for configuring the data serial ports Thus no matter how many data serial ports on the PDS are used one more socket connection is needed for the command port in order to configure them using all data when using 1 Listening Available Data Ports Sockets Sockets ports data port DS 712 0 1 5 32 5 27 30 2 15 30 2 15 DS 715 0 1 5 32 5 27 30 2 15 30 2 15 0970 0 2 6 32 6 26 29 3 9 29 2 14 PDS 720D i i i PDS 721 2 1 2 7 32 7 25 29 3 9 29 2 14 PDS 721D 1 3 8 32 8 24 28 4 7 28 2 14 PDS 734 1 2 8 24 28 4 7 28 2 14 e 23003 8 Puede 0 4 8 32 8 24 7 525 2719553 PDS 7 d 1 4 9 32 9 23 27 5 5 ores PDS 743D EE Ee AH 0 5 9 32 9 23 26 6 4 26 2 13 Programmable Device Server User Manual V2 0 Feb 2013 193 PCs when PDS 755 32 9 23 26 6 4 26 2 13 PDS 755D 762 E 2 10 22 26 6 4 26 2 1 PDS 762D 6 6 6 i 8 32 12 20 23 9 2 2 23 2 11 PDS 782D i LN 2 13 2 2 2 23 2 11 PDS 782D 25 j a
98. ep 6 Execute 7188XW EXE C and change the Baud Rate to 115200 bps N81 C is the COM Port of the development PC Step 7 Press Enter twice on the development PC Key Thread Current set Use 115200 8 1 AutoRun Autodownload Files None irectory C 218 _ gt Step 8 Read the configuration of the PDS 71 UDP ip IP 1H H 8 2H i PhRGC 7186ER UDP mask a5HK 255 255 255 H ip PAC 7186ER_UDPSqateway mask atewuay 1H H 8 254 gateway e e Read configuration command PAC 7186ER_UDP Smac Ethernet Address BH Ad ef ZH BB H7 PRG 7186ER UDP zsetcom 1 urrent set is 76HB 8 H 1 mac setcom port The configuration of the PDS as follows can be changed uPAC 7186EX_UDP gt ip 192 168 41 1 set IP 192 168 41 1 Settings configuration command 11 192 168 41 1 uPAC 7186EM 255 255 255 9 new ip set MASK 255 255 255 8 mask new mask ReadBack IMASK 255 255 255 6 uPAC 7186EX_UDP gt gateway 192 168 41 4 gateway new gateway set GATEWAY 172 168 41 4 mac new mac LReadBack IGateway 192 168_ 41 4 uPAC 7186EX_UDP gt setcom 1 115288 n 8 1 setcom port Current set is 9 68BH 8 H 1 baud data bit parity stop bit Set to 1152HH 8 H 1 checkzum GG Programmable Device Server User Manual V2 0 Feb 2013 setcom parameters
99. ers of Modbus device in the Number of ID for serial Modbus device field for example 4 3 Select Modbus type from the Type 0 ASCII 1 RTU field for example 1 Modbus 4 Checked the Save to EEPROM and Apply the current setting and then click the Update button to update it to PPDS series module Firmware Configure COM PORT ID Q Disable 4 Range 1 0x01 4 0x04 timeout 50 ms type RTU ID 0 Disabl ID 0 Disabl ID 0 Disabl Programmable Device Server User Manual V2 0 Feb 2013 Step2 Test Modbus TCP to Modbus RTU Gateway 1 Run the Modbus Utility program and then click the Modbus TCP button eo Double Click MBus Please choose controller Choose Controller Modbusf Click 2 Click on Client tools gt Modbus TCP Client Modbus Utility Ver 1 7 5 2012710715 File Windows setting Help Status a Modbus TCF Client Oka q 5 Mo ET Chent wp Eat m 2 UDP Search Setting Set Communication Mode Disconnect n Enable Mode EnabeMode Modbus Timeout H E Baudrate Data Bit Dust Parity Stop Bit epit System Setting Set ations per COM Count H Programmable Device Server User Manual V2 0 Feb 2013 3 Enter the IP address of PPDS series modu
100. field and 8 None 1 in data format field for example 205 720 Setup Page Microsoft Internet Explorer File Edit wiew Favorites Tools Help pO Search Sf Favorites 2 A 3 Address http 10 0 8 5 Go b al Firmware ee Version COM Port Setting saved in EEPROM 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 00 M0 ST 100 MAT 0 19600 8 1 FTL 1 DBDT 0 0 EndChar 00 M0 ST 2100 MAT 0 COM Port Setting COM Port Current Used Setting Setting I COM 1 9600 8 1 FIL 1 DBDT 0 3 EndChar 00 M0 ST 200 MAT 0 9600 8 N 1 FTL 1 DBDT 0 3 EndChar 00 M0 ST 200 MAT 0 Configure COM PORT Port COMO for ALL PORTS Baud Rate Pay Stop Bit SB Internet 4 Check the Save current settings to EEPROM and Apply Current settings items and then click the SET COM PORT button to finish configuration 5 Click Set Remote VCOM3 connection at the PDS 700 1 Client COM PORT setup page 5 7205 Page Microsoft Internet Explorer File Edit View Favorites Tools Help EI JJ Search 7 Favorites 2 A r Address 10 0 8 5 are Data Buffered Delay Time DBDT ms Version End Char hex MO Transparent Mode Setting 1 51 Mode COM Port M2 Half Slave Mode Setting M3 Modbus Gateway Misc Setting gt 27 ms Master Ack
101. free to contact us We will give you quick response within 2 workdays Email service icpdas com service icodas qmail com Programmable Device Server User Manual V2 0 Feb 2013 Table of Contents 1 INTRODUCTION 9 Il ER NET 10 1 2 TECHNOLOGY te serena eee tenes ene tone 11 1 3 WEB SERVER TECHNOLOGY lt 22 2323s 926 9 s e care cuenca een e IA a Cun cH TA deu Mea uM eue MA Aud Tuas 13 2 TYPICAL APPLICATIONS FOR THE PDS 14 2 1 RS 232 485 422 DEVICE NETWORKING 14 2 2 ETHERNET I O APPLICATIONS c eeae aee sess sene e asa de AMA na asa ML aAA 15 2 3 LINKING I 7000 MODULE TO AN ETHERNET NETWORK 16 2 4 CONFIGURABLE ETHERNET DATA LOGGER 16 3 HARDWARE INFORMATION 19 FEATUREG E 19 BZ 20 22 1 PDS M 700 D PPDS M 700 D MTCP 20 3 2 2 DS 700 PPDS 700 MTCP
102. il the status is cleared to 0 by using command 1 B Dual Watchdog Operation Dual Watchdog Module Watchdog Host Watchdog The Module Watchdog is a hardware reset circuit that is used to monitor the operating status of the module When working in harsh or noisy environments the module may be interrupted by external signals The circuit can let the module reboot automatically and to work continues without halt The Host Watchdog is a software function that is used to monitor the operating status of the host Its purpose is to keep PDS s output in a safe state when there is network communication problem or host PC halt If the timeout interval expires the module will turn all outputs to the predefined Safe Value and prevent unexpected situation from occurring The PDS series with Dual Watchdog will make the control system more reliable and stable B Reset Status The Reset Status is set when the module is powered on or if it is reset by the Module Watchdog The status be cleared by using the Reset Status 5 command This is useful for checking the operating status of the module When the Reset Status is set it means that the module has been reset and the output can be changed to the Power On Value When the Reset Status is clear it means the module was not been reset and the output was not changed B Digital Output The output status of the module has three different conditions 1 Safe Value If the Host
103. ions of PPDS 700 IP67 Sec 3 5 14 to make RJ45 wiring cable and power cable Non PoE RKE WINE _ Power Supply Short RXD and TXD Host PC Ethernet Cable POWemnCable Power Supply Ethernet Switch Programmable Device Server User Manual V2 0 Feb 2013 DS 700 PDS M 700 D PPDS M 700 D MTCP series Non PoE Power Supply HostPC Ethernet Cable Short RXD1 and TXD1 Power Supply Ethernet Switch PDS 5105D MTCP woe CI 7 4 ie 47 aie 4 Ne 442 27 77 A F heme Non PoE Power Supply E d HostPC m f Ethernet Cable Power Supply Ethernet Switch Programmable Device Server User Manual V2 0 Feb 2013 Step 2 Search for the PDS module the Ethernet network 1 Execute the VxComm Utility and then search for your PDS series module 2 Double click the name of the PDS to open the configuration settings dialog box YxComm Utility v2 09 Apr 03 2008 File Server Port Tools Port VirtualCOM Baudrate 0 amp Click the Search Severs X n button to search for your PDS Double click the name e Web Configurgxon of your PDS module Search Servers Alias Sub net Mask fratewa _MAC Address DH Configure Server UDP
104. ire no special system privileges to operate By comparison a server is any program that waits for incoming requests from a client program The server receives a request from a client performs the necessary computation and returns the result to the client Programmable Device Server User Manual V2 0 Feb 2013 3 Ethernet The term Ethernet generally refers to a standard published in 1982 by Digital Equipment Corp Intel Corp and Xerox Corp Ethernet is the most popular physical layer local area network LAN technology today Ethernet is a best effort delivery system that uses CSMA CD technology It recognizes hosts using 48 bit MAC address 4 Firmware Firmware is an alterable program located or stored in the semi permanent storage area e g ROM EEPROM or Flash memory 5 Gateway Computers that interconnect two networks and pass packets from one to the other are called Internet Gateways or Internet Routers Gateways route packets that are based on the destination network not on the destination host 6 ICMP Internet Control Messages Protocol No system works correctly all the time ICMP provides a method of communicating between the Internet Protocol software on one machine and the Internet Protocol software on another It allows gateways to send error or control messages to other gateways or allows a host to know what is wrong with the network communication 7 Internet Physically the Internet is a collection
105. iven to individual Modbus devices The Net ID should be assigned to the address for the target device you want to read from and write to For example if you want to use the built in I O of the PPDS assign the Net ID to the PPDS s ID if the PPDS is used as a Modbus TCP to Modbus RTU gateway assign the Net ID to the address for the RTU slave device Function Code 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 Only when an error occurs in the system will the highest bit of the function code be set to 1 Hence the master will know whether the message has been transmitted correctly or not Section Code Function 10 2 1 01 0 01 Read Coils status Readback DOs 10 2 2 02 0 02 Read Input Status Read DIs 1Xxxx 10 2 3 05 0x05 Force Single Coil Write DO 10 2 4 15 OxOF Force Multiple Coils Write DOs Data Data is transmitted in 8 16 and 32 bit format The data of 16 bit registers is transmitted in high byte first For example OxOAOB gt 0x0A Ox0B data of 32 bit registers is transmitted as two 16 bit registers and is low word first For example OxOAOBOCOD gt OxOC OxOD Ox0A OxOB 10 2 1 01 0x01 Read Coils Status Readback
106. l V2 0 Feb 2013 m PDSM 700 D PPDSM 700 D MTCP Left Side View Front View Right Side View Top View Back View Bottom View Programmable Device Server User Manual V2 0 Feb 2013 PPDS 700 IP6 Back View Left Side View IP67 Ethernet Cap with Tether 57 2 222 0 277 Right Side View IP67 Ethernet Plug m IP67 PWR Plug sir Cable Dia Cable Dia Max 7 0 mm Max 6 5 mm e Min 5 0 mm Min 5 5 mm 28 6 27 8 Programmable Device Server User Manual V2 0 Feb 2013 PDS 5105D MTCP oe 26 3 0 227 0 Front View Back View INI T HEGBBEBHBBREGCDREB TIT in E Left Side View Right Side View Bottom View Programmable Device Server User Manual V2 0 Feb 2013 Stack Mounting Rail Mounting Din e T je N a N gt 12 D YW vx D gt os D 2 gt Q tid Oo ie x A 3 8 PDS Series Diagnostics Indicator LED VxComm running On Off Xserver running On Off Step 1 Apply power Vs GND to the PDS The PDS M 700 power supply can range from 10 V 30 V The PPDS M 700 MTCP DS 70
107. le and then click Connect button to connect the PPDS series module ModbusTCP Type the IP address of 10 10 94 1 0 94 PPDS series module uie saction identifier copied by server usually 0 identifier 0 col identifier 0 th field upper byte 0 Connect Disconnect Packet Clear Statistic Statistic k Quantity Response Data Log tes 0 Lm Total Packet bytes sent 0 Packet Quantity received Polling or Timer mode D zit Polling Mode Timing ms Interval 100 ms Set Stat me o0 RN E Start Stop Stop time StopTime Time Min 00 LL LLIALALL ALL Byte1 Byte2 Byte3 Byte4 Byte5 120006 1400040 0 14000 40 Send Command Byte0 Byte1 Byte2 Byte3 Byte4 Byte5 Byte0 Byte1 Byte2 Byte3 Clear Lists EXIT EXIT Progam 4 Refer to Protocol Description and type command in the command field then click the Send Command button If the response data is correct it means the test is SUCCESS m Yer 1 1 4 ModbusTCP Protocol Description 2 Prefixed bytes of Modbus TCP protocol 502 Byte 0 Transaction identifier copied by server usually 0 NON Byte 1 Transaction identifier copied by server usually 0 C
108. mic Dynamic Add Server s COM Dynamic COMB Dynamic x Remove Server COM Dynamic Dynamic Dynamic e Web Configuration 1 Sub net Mask ay Address PDS 1F 10 0 8 243 255 255 255 0 10 0 8 254 00 0d eD d0 96 1c 10 0 8 20 255 255 255 0 10 0 8 254 00 0d e0 20 00 07 10 0 8 115 255 255 255 0 10 0 8 254 00 09 0 90 50 07 Status OK 4 Click Restart Driver from the Tools menu and then click the Restart Driver button to start the driver xComm Utility 2 09 00 03 2008 File Server Po 85 amp System Information Restart Driver VO lt xComm Utility Restartin liver 23 ADP Configure Server Make sure you have closed all virtual COM parts first Click this button to start the driver Status Driver is running Restart Driver Cancel d Programmable Device Server User Manual V2 0 Feb 2013 Step4 Testing your PDS 1 Connect the RxD1 and the TxD1 of the PDS module as shown in the diagram in Stepl 2 Right click Port 1 and then choose the Open COM Port option p Configure Server Configure Port Por Virtual COM Baudrate Port H ny 0 M EMITE Pot COM3 Pot3 Portd 5 Port5 COMB VxComm Servers PD5 782 10 0 8 20 T IC Configure Port
109. mmand at the and B positions the response will denote that there is a low pulse between A and B position signifying a keystroke 9 Console Telnet Commands List 9 1 Operation Flowchart PDS Power OFF Short INIT and GND Open INIT Power ON Power ON Run Mode for Virtual COM applications Init Mode for MiniOS7 Commands for Downloading Firmware Run Firmware vc6_3230 autoexec Short INIT and GND Open INIT Console Mode for Console Commands Programmable Device Server User Manual V2 0 Feb 2013 9 2 Regulate Init Normal Mode PDS 700 D PPDS 700 D MTCP M 05 700 PDS 782 D 25 Init Mode Programmable Device Server User Manual V2 0 Feb 2013 PDSM 700 D PPDSM 700 D MTCP Programmable Device Server Init Mode Short INIT and GND Run Mode Open INIT PPDS 700 IP67 Run Mode Open INIT Init Mode Short INIT GND Programmable Device Server User Manual V2 0 Feb 2013 PDS 5105D MTCP Non Lock Ru 9 3 Comparison Sheet Init Run Console Modes Init and VCOM Telnet Console GND pins Commands Commands Commands so Init Mode is used to upgrade firmware and accepts 057 commands from PDS COM1 only Run Mode is used for Virtual COM applications and accepts Virtual COM commands TCP port 10000 and Telnet commands TCP port 23
110. module Slave Mode Single echo Non Shared In this mode data is echoed from the COM Ports of the Version 2 6 12 PDS series module to the specific client that requested the jland above In M1 mode 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 For more information please refer 5 4 COM Port Settings section Other reasons causing the problem may be incorrect wiring power supply problems IP conflicts MAC conflicts an incorrect subnet mask or an invalid IP address For more details refer to the Diagnostics and Troubleshooting section of the VxComm Driver Utility User Manual Programmable Device Server User Manual V2 0 Feb 2013 6 Does the transmission speed become faster when the serial device working with Serial to Ethernet device servers The speed depends on the applications For transparent applications it includes Ethernet latency in transmission and may get slower But you can improve the communication speed by increasing the baud rate since you placing the device server more close to serial device and reduce the communication distance The higher baud rate should be able to be used in short cable distance without communication problem 4 Traditional Time Used ss New Time Used RS 232 485 422 ransmit Time LEE Transmit Time RS 232 485 422 Transmit Time B ce P PDS 700 Transmit Time
111. module Returns the status of the Host Watchdog Timeout has been cleared 013164 101 Set the status of the Host Watchdog Timeout Value to 10 0 seconds enable the Host Watchdog Return Success 012 101164 Read the Host Watchdog Timeout Value Returns the Host Watchdog Timeout Value is 10 0 seconds and the Host Watchdog is enabled 7002 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 10104 Read the status of the module Returns the status of the Host Watchdog Timeout Value is set 012 101064 Read the Host Watchdog Timeout Value Returns the Host Watchdog Timeout Value is 10 0 seconds and the Host Watchdog is disabled 011 101 Reset the status of the Host Watchdog Timeout Returns success and the LED stops flashing 010 10100 Read the module status Returns that the status of the Host Watchdog Timeout has been clear B Related Commands 8 15 Sec 8 16 AA1 Sec 8 17 AA2 Sec 8 18 AA3eff Sec 8 19 AA4P Sec 8 20 AA4S Sec 8 21 AA5P Sec 8 22 AA5S 8 19 4 B Description This function reads the Power on Values for the DO B Syntax AA4P CHK cr n A delimiter character AA The address of the module 01 only for PDS 4P The command used to read the power on value for the DO B Response Valid Command AA Data CHK c
112. oftware on the PC Hub Ethernet 10 hM COE EDMZ PDS 700 IP 1 PDS 700 27 FOO 01 7000 FF a COM 255 COM 256 7000 01 xComm Driver PDS 700 F n Programmable Device Server User Manual V2 0 Feb 2013 The VxComm driver controls 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 Port Program Ethernet hub B Transparent serial Virtual COM Port E Device Transparent serial Device Serial Device Virtual COM Part Virtual COM Part Computer Programmable Device Server User Manual V2 0 Feb 2013 1 3 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 ep mr setup Pape Microsoft Internet Explorer Ed view Favorites Took Help Q O germ O 3 ES Address Bion 8 243 COM 1 9600 8 1 FTL 1 DBDT 0 0 EndChar 00 2 9600 8 1 FTL21
113. ogin Misc Setting Current Alias Name Web Read Only UPDATE Alias Name allocates an alias to the PDS series module Web Read Only 0 disabled 1 enabled N If the Web Read Only properly is set to 1 enabled the web server will not be able to save any new configurations to the PDS series module To disable the Web Read Only property refer to the information below Login used to disable the Web Read Only property or to set a new password 1 Enter the password default is admin and click the LOGIN button to proceed to the settings page PPDS 755 MTCP Misc Setup Page Login 0 5 755 Login PASSWORD 6 2 Set the new Web Read Only properly 0 click the UPDATE button PPDS 7 55 MTCP Misc Setup Page Logout Misc Setting Alias Name Web Read Only Set New Password Confirm New Password 3 Check that the current the Web Read Only 0 and then click Logout to complete the operation Logout PPDS 7 55 MTCP Misc Setup Misc Setting Current Alias Name Web Read Only 0 Set New Password Confirm New Password UPDATE 4 User can restore PDS password to default value admin by using config RESET console command refer to section Console Telnet Commands List This command sets most configurations of PDS to factory setting It requires rebooting the PDS for loading new configuration includes default
114. onse Response 01 02 00 00 00 04 01 02 01 OF Note Reads digital input value of PPDS 721D MTCP Descriptions as follows Leading 6 bytes Byte 00 03 01 02 00 00 Message number Byte 04 05 00 06 Number of remaining bytes in this frame Request Byte 00 01 Net ID Byte 01 02 Function Code Byte 02 03 00 00 Starting DI address Byte 04 05 00 06 Number of points Response Leading 6 bytes Byte 00 03 01 02 00 00 Message number Byte 04 05 00 04 Number of remaining bytes in this frame Response Byte 00 01 Net ID Byte 01 02 Function Code Byte 02 01 Byte count of response Byte 03 015 010 Value 10 2 3 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 00 NetID Station number 1Bye 1 247 0 Refer to Modbus Address Table for PPDS series 02 03 DO Address 2 Bytes Sec 10 3 Modbus Register Map Byte 02 high byte Byte 03 low byte OxFF 00 set the output to ON 0x00 00 set the output to OFF All other values are illegal and will not 04 05 Output value 2 Bytes affect the coil Byte 04 high byte Byte 05 low byte Response Byte Description Size Value sd Net ID Station number rM 247 Function Functioncode 1 1iBye 0 The value is the same as Byte 02 03 02 03 DO Address 2 Bytes of the Request The value is the
115. ontroller System Setting Set Programmable Device Server User Manual V2 0 Feb 2013 5 Select your virtual port and baud rate Default and then click the Open button 108 COM3 Description Select COM Port COM3 Baud rate 9600 status mer mode Date Time Stat time Time Start Stop time Time Stop Command 140001 Commands with 9600 on PPDS series module Clear Statistics Polling Mode Timing 000 Min 100 Average 000 Send Command Responses EBENEN artists Lists Exit 6 Refer to Protocol Description and type the command in the command field then click the Send Command button If the response data is correct it means the test IS SUCCESS MBRIU 1 0 6 COM3 COM status Protocol Description FC Read multiple coils status Dex For OO Request Byte 0 Met ID Station number Line control Byte 1 01 Byte 2 3 Reference number Byte 4 5 Bit count Open Close Net ID for Mod bus Device Polling made na wait Statistics Timeout Commands Current Packet Size bytes Hia Start Stop 200 Commands v with 01 01 00 00 00 01 FD CA 1 Command 1H0 01 01 01 01 01 90 48 Programmable Device Server User Manual V2 0 Feb 2013 Responses Current Packet Size bytes Responses Respon
116. orts PDS series modules The following steps can be used to test the general DCON API kit with the DIO demo programs To run the DIO demo VB6 must first be installed on the PC 1 Double click prjdio vbp to open the DIO project 2 Run the demo 3 Set the Virtual COM Port number of the PDS and click the Open COM Port button The response COM n Opened will be shown on the title bar frmDIO otep 1 Open COM Fort r Step 4 Set Module Parameters 9600 RS 485 Address of Module Total DI Channel of Module 0 Total DO Channel of Module municatd 9 TimeDut 200 step 1 Open Port Step 3 Select Module a a 2 Write Bit DO a moe r 7K 87K Module BK Module Buil Channel 0 4 OFF DN Close COM otep 2 set Checksum Step B Read DIO la Exit DI 00 n Programmable Device Server User Manual V2 0 Feb 2013 4 Set the total number of DI DO channels on your PDS series module For instance the PDS 732 is equipped with 4 DI channels and 4 DO channels m COM 3 Opened step 1 Open COM Port Step 4 Set Module Parameters COM Port 3 Bau
117. password 5 7 Pair Connection Setting Factory 1 LM M Danni 000 Remote 1 Modules j gt _ Serial Port Pair Connection Through the Ethernet Factory 2 Server PDS 700 2 Ethernet 1 7000 Remote I O M dules For example Model Server Item Configuration IP Address Name mode PDS 700 1 PDS 720 10 0 8 5 PDS 700 2 PDS 720 10 0 8 6 1 Contact your Network Administrator to obtain a correct and workable network configuration such as IP Mask Gateway for PDS series modules Please also refer to section 4 Setting up the PDS module 2 Enter the configuration of PDS 700 1 Client web server and then check your firmware version is v3 2 31 Jun 19 2009 or later E PDS 720Setup Page Microsoft Internet Explorer Fille Edit wiew Favorites Tools Help i2 DO Search 7 Favorites e A m Address http 10 0 8 5 Firmware Version Network Setting DeviceInformation Modulename 8 70 VCOMS Firmware version v3 2 32 Jun 25 2010 Wo version V c 4 15 OS Library version v2 8 Aug 31 2009 TCPIIP Library version 1 22 May 26 2010 COM Port Setting Misc Setting DEV 3 Click the COM Port Setting tag to enter the settings page and select the 115200 in Baud Rate
118. please refer to Section 6 Modbus Testing and Protocol Slave Timeout ms In M1 the slave mode timeout setting is use to set the waiting time after last character of the request sent to the device If the device does not respond within the timeout value the PDS series module will return a timeout error and process next request Response Request Response Master Ack Timeout MAT ms 0 DISABLE If the PDS series module does not receive any data from Slave for a certain period the PDS series module will return an ACK character to Master and process next request based on the configured timeout value Set Remote VCOMS connection Sets the pair connection functions the more detailed information regarding pair connection applications settings please refer to the Section 5 7 Pair Connection Settings I Save current settings to EEPROM Apply current settings SET COM PORT Programmable Device Server User Manual V2 0 Feb 2013 5 5 Modbus Gateway Setting ENS PPDS 755 MTCP MODBUS Gateway Setup Page Version Network Setting COM Port COM Port for Modbus Gateway Setting ID 0 Disable ID 0 Disable ID 0 Disable Misc Setting ID 0 Disable ID 0 Configure COM PORT Device ID for PPDS 700 Port COMO for ALL PORTS COMO Number of ID for serial Modbus device 0 Disable Timeout ms Type 0 ASCIL 1 RTU 15ave to EEPROM Ci Reload from EEP
119. plug fool proofing groove Power Cable as red circle is useful for easy connection of power cable and power plug Please make sure they are located in the same irection when connecting these two items Power Plug Complete Programmable Device Server User Manual V2 0 Feb 2013 3 10 1 RJ45 Plug Installation Installation Steps IP67 RJ45 Plug 4SASO 0001 Step 1 Prepare a RJ45 Cable RJ45 Connector RJ45 cable ocm Qe 4SASO 0001 Step 3 Assemble item 3 and 4 Step 5 Assemble item 3 amp 4 and 5 5 amp 4 amp 3 Programmable Device Server User Manual V2 0 Feb 2013 Step 7 Assemble item 2 3 amp 4 amp 5 Step 8 Assemble item 1 and 2 amp 3 amp 4 amp 5 5 amp 4 amp 3 amp 2 1 5 amp 4 amp 3 2 Step 9 Assemble item RJ45 connector and RJ45 cable See page 45 for pin assignment RJ45 Connector Step 11 Assemble RJ45 Plug Step 12 Make sure to tighten firmly Step 13 Connect the RJ45 Cable to Step 14 Make sure to tighten firmly PPDS 700 IP67 on COM Port Complete Programmable Device Server User Manual V2 0 Feb 2013 4 Setting up the PDS module Before connecting the PDS module to an Ethernet network the following items are needed 1 Power Supply 10 30 Vpc for PDS M 700 12 48 Vpcfor DS 700 PPDS M 700 MTCP PPDS 700 IP67 PDS 782 25 and PDS 5105D MTCP eg DP 665 http www icpdas com products Accessories power supply powe
120. ports instead of PDS s setting For example To add first PDS it s IP Port should be NAT 10000 To add second PDS it s IP Port should be NAT 10010 Programmable Device Server User Manual V2 0 Feb 2013 2 How to open a virtual COM port that larger than COM 9 by calling CreateFile Win32 API If you want to open COM 10 the correct way to call the CreateFile is as follows CreateFile 10 address of name of the communications device fdwAccess access read write mode 0 share mode NULL address of security descriptor OPEN EXISTING how to create 0 file attributes NULL handle of file with attributes to copy 1 This syntax also works for ports COM 1 through 9 See more MS 0115831 Maximum COM port number for VxComm Driver is COM 256 Valid COM port number for MSCOMM OCX is between 1 to 16 Please refer to MSComm CommbPort The prefix must be add to the COM port name device name when it is larger than COM 9 But please note that the character is special escape symbol C C language thus you have to use prefix C C language 3 Does VxComm Driver PC v2 00 work with VxComm Server v2 6 00 No please upgrade to version 2 6 14 or the latest version of the VxComm Server Version 2 6 00 of the VxComm Server uses the 06 and 07 command to change the BaudRate and the data format and then saves the config
121. r Invalid Command AA CHK cr A syntax error or a communication error will result in no response delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS Data The power on values B Example Command Response 014 101000 Read the power on values Returns the power on value OF B Related Commands Sec 8 21 AA5P 8 20 AA4S Description This function reads the Safe Values for the DO B Syntax v AA4AS CHK cr n A delimiter character AA The address of the module 01 only for PDS 4S The command used to read safe values for the DO B Response Valid Command AA Data CHK cr Invalid Command AA CHK cr A Syntax error or a communication error will result in no response delimiter for valid command A delimiter for an invalid command AA The address of the module 01 only for PDS Data The power on values Example Command Response 0145 101000 Read the safe values Returns the power on value B Related Commands Sec 8 22 AA5S 8 21 AA5P B Description This function sets the Power on Value for the DO B Syntax delimiter character AA The address of the module 01 only for PDS 5P The command used to set the power on value for the DO B Response Valid Command AA CHK cr Invalid Command AA CHK cr A syntax error or a communication
122. r Manual V2 0 Feb 2013 9 4 21 LOAD Description This command is used to loads file to the built in flash disk on PDS module It should be used to update firmware only Effect Immediate Command Argument Description The command is coordinated with the MiniOS7 load command and can be used to renew the vcom3230 exe vcom ini or autoexec bat file s 3c Load is not a Telnet command Example 21 1 1 36 COMT 115200 8 8 1 FC 0 C TSS DIE C XDocuments and Settings serum inpds7 PhaC 7186E8 UDP dir 323H exe 0571372008 11 16 87 83639 1445F 18662 6666 9447 BBHBF i autnexec hat 83 04 2008 11 26 82 18 00012 19449 BBBF 744B 0i otal File number is 2 Free space 375599 bytes PhC 7186E8 UDP autoexec bhat 0 com3z3l zaue H Hackup ini file H com323H load ress ALT_E to download filet Input Filename vc6_3236 exe Load 11 6 3238 69 27 6006 1 Send file info total 325 hlocks lock 325 ransfer time is com3236 gt quit Load vc6 3230 exe 7650008 seconds PAC 7186ER_UDP gt dir H ucb 323H exe 0571372008 11 16 07 83639 1445F 18HB2 HBiBdH 7 4477 BHF 1 autoexec hat H3 H4 2HBH8 11 26 H2 18 HBH12 19449 HHBFE 97 44B abi 22uch 323H exe 0571372008 11 16 H7 83639 1445F 12 44D 0001 8873 bbe otal File number is 3 Free space 272528 bytes PAC 7186Ea_UDP
123. r list htm 2 Hub eg NS 205 http www icpdas com products Switch industrial industrial list htm 3 The network settings in the PC are correctly configured and the Ethernet connection is functioning normally 4 Disable or correctly configure the Windows firewall and any Anti Virus software firewall first or else the Search Servers function in the VxComm Utility may not work Contact your System Administrator for more details of how to do this 5 Connect the PDS series module to the Ethernet as shown on the following page and switch on the power 6 Make sure the indicator LED is flashing If your PDS series module is D version module the 5 digit 7 5 LED will be used to indicate the system information described in Sec 3 8 7 Install VxComm Utility on your The software is located at CD Napdos Driver VxComm_Driver http ftp icpdas com pub cd 8000cd napdos driver vxcomm driver Programmable Device Server User Manual V2 0 Feb 2013 For wiring diagram as follows 1 Connect both the PDS series module and your computer to the same sub network or the same Ethernet Switch 2 Short the RxD and TxD pins of the PDS series module for execute a self test 3 Supply 24 Vpc 10 30 Vpc power to the PDS M 700 module Supply 24 Vpc 12 48 power to the PPDS M 700 MTCP 05 700 PPDS 700 IP67 PDS 782 25 and PDS 5105D MTCP module PPDS 7 00 IP67 series Note Please refer to the pin definit
124. re information about the log function refer to the online help feature English and Traditional Chinese of the DCON utility UTILITY ER450 Searching for 7 eo Modules a m E On Line Help Enslish Cm Line Help Tranditional Chinese 755 Module Supported v Module Address Baudrate Description Programmable Device Server User Manual V2 0 Feb 2013 3 Hardware Information 3 1 Features Integrates Serial Devices in an Ethernet network Virtual COM extends the PC COM Ports Virtual COM supports Windows NT 4 0 32 bit 64 bit 2000 XP 2003 Vista 7 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 57 from ICP DAS 10 100 Base TX Ethernet RJ 45 Port Auto negotiating auto MDI MDI X LED indicator Low power consumption Palm Sized with multiple Serial Ports Made from fire retardant materials UL94 VO 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 PPDS M 700 D MTCP only Supports Modbus TCP and Modbus RTU Supports PoE IEEE 802 3af Class 1 PDS M 700D PPDS M 700D MTCP only 5 digit LED display PDS 5105D MTCP only 5 digit LED display Seri
125. rror or a communication error will result in no response gt A delimiter for valid command A delimiter for an invalid command A delimiter for an ignore command meaning that the module is in Host Watchdog Timeout Mode and the output is set to safe value B Example Command Response 0013 gt Output value 3 Returns success 0011F Output value 1F Return that the module is Host Watchdog Timeout Mode and the output command has been ignored 8 11 B Description This function reads digital input counter from channel n B Syntax 2 AAn CHK cr A delimiter character AA The address of the module 01 only for PDS n The digital channel number from 0 B Response Valid Command AA Data CHK cr Invalid Command AA CHK cr A syntax error or a communication error will result in no response A delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS The digital input counter value in decimal format from 00000 to Data 65535 B Example Command Response 012 10100103 Read the digital input counter of channel 2 Returns the value 103 013 201 Read the digital input counter of channel 3 Returns an error including that the channel is not available B Related Command Sec 8 4 AACn Programmable Device Server User Manual V2 0 Feb 2013 8 12 B Description This fun
126. rting DO address 2 Bytes Sec 10 3 Modbus Register Map Byte 02 high byte Byte 03 low byte Number of output channels Byte 04 high byte ios Points Byte 05 low byte 06 Byte count 1Byte n Points 7 8 A bit corresponds to a channel Value 1 for a bit denotes the channel is ON while the value 0 is OFF n 1 Byte 07 data bit 7 0 07 Output value n Byte n 2 Byte 08 data bit 15 8 n m Byte m 6 data bit 8m 1 8 m 1 Response Byte Description Size Value 200 NetID Station number 1 Byte 1 247 Function code 1 Byte The value is the same as Byte 02 03 02 03 Starting DO address 2 Bytes M y of the Request 04 05 of output channels 2 Bytes The value is the same as Byte 04 05 Points of the Request Error Response Byte Description Size Value Net ID Station number 1 Byte 1 247 1 Byte Refer to Modbus Standard Specificati 02 Exception code 1 Byte for more details Programmable Device Server User Manual V2 0 Feb 2013 for example function OF 0x0F Write DOs Leading 6 bytes Request Command 01 02 00 00 00 08 01 OF 00 00 00 07 01 7F Leading 6 bytes Response Response 01 02 00 00 00 06 01 00 00 00 07 Note Sets DOO DO6 to NO of PPDS 721D MTCP Descriptions as follows Command Leading 6 bytes Byte 00 03 01 02 00 00 Message number Byte 04 05 00 08 Number of remaining bytes in this frame Request By
127. s DO program demo on a PC client void CManual1Dlg OnOpen_Com 1 Open Com 5 115200 8 0 1 COM Port 3 Baud Rate 115200 Data Bit 8 Parity Bit O Stop Bit 1 void CManuall1Dlg OnClose Com Close Com 53 void CManualiDlg OnDigital_Out iIRetZDCON Write DO 5 1 1 4 iDO value 0 100 COM Port 3 Address 1 Slot 1 total channel count 4 DO data Checksum disabled Timeout 100 ms Programmable Device Server User Manual V2 0 Feb 2013 7 3 1 Open Com Description 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 cStop 0 1 Stop bit Return 0 no error Others error codes 7 3 2 Close Com Description This function closes the specified COM Port Syntax Close Com unsigned char cPort Parameters cPort COM Port number 1 255 Return 0 no error Others error codes Programmable Device Server User Manual V2 0 Feb 2013 7 3 3 Send Receive Description 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 the send string 1024 bytes maximum without a
128. se Data Complete p Clear Statistics Send UE Exit Prograrn 1 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 Voc 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 7 1 Testing the Virtual I O 1 Connect the PDS series module to the Ethernet finalize the configuration setup procedure and complete the Virtual COM test as described in Chapter 4 2 Power on the PDS series module 3 Connect the DO n to the DI n For example the PDS 734 with a 4 port DI DO Connect DO 0 to DI 0 DO 1 to DI 1 DO 2 to DI 2 and DO 3 to DI 3 Programmable Device Server User Manual V2 0 Feb 2013 4 Install the DCON Utility v4 5 0 or later The DCON Utility is located at CD Napdos driver dcon_utility http ftp icodas com pub cd 8000cd napdos driver dcon_utility setu 5 Run the DCON Utility and click the COM Port option on the toolbar 4 DCON UTILITY ER450 Searching for I 7000 8000 COM Port Search Eun Terminal Help rji Fomat _ Ste 6 Check the Virtual COM Port number shown in the Port I O fi
129. settings are changed while the module is operating any links to Virtual COM Port based applications currently in use will be lost and an error will occur DHCP Client 0 disabled 1 enabled It is recommended that the DHCP Client setting is kept as disabled and using static network settings This ensures your PDS series always using a fixed IP address and you Programmable Device Server User Manual V2 0 Feb 2013 don t need to configure the virtual COM mappings again and again Programmable Device Server User Manual V2 0 Feb 2013 UDP Search 0 disabled 1 always enabled 2 enable the UDP Search function until another client is connected Default 2 By keeping the UDP search setting as 2 the PDS loading will be reduced The VxComm Utility will not be able to search for this module until this module s clients are all disconnected Command Port The default Command Port is 10000 Web Server Telnet Server 0 disabled 1 enabled Ping Gateway at start 0 disabled 1 enabled If the setting is 1 enabled the PDS series module will send a ping packet to the gateway during the power on stage It is used to inform the gateway that a PDS itself has joined the network ACK Delay ms default 50 PDS does not want to send an empty ACK followed by a TCP data packet 1ms later every time So it delays a little TCP ACK Delay and then can combine the ACK and data packet into one
130. spaces for private internets RFC1918 10 0 0 0 10 255 255 255 10 8 prefix 172 16 0 0 172 31 255 255 172 16 12 prefix 192 168 0 0 192 168 255 255 192 166 16 prefix The PDS sereis module can operate on the Internet using a legal public IP address This address can be obtained from your ISP or network administrator Public IP Address Public IP Address Internet Programmable Device Server User Manual V2 0 Feb 2013 A private internet client may communicate with public Internet server PDS series modules only if the NAT service for the client is available Public IP aN Public IP Address Private IP Address Public IP Address Internet Private IP Address Public IP Address Note Internet Assigned Numbers Authority Request for Comments Internet Service Providers Network Address Translator Programmable Device Server User Manual V2 0 Feb 2013 8 Can I use the SetCommState to changes the Baud Rate data format settings of a virtual COM port Yes In a Win32 environment the CreateFile API should be called to open the COM Port s and then the SetCommsState can be used to configure the settings Third party tools may provide an OpenCom function for accessing a COM port In actuality the CreateFile and SetCommState APIs must be used to implement these kinds of functions 9 How many PCs can be connected to a single PDS device This dep
131. sponse gt delimiter for valid command A delimiter for invalid command AA The address of the module 01 only for PDS DINxx DIN The digital input channel xx The total channel count DONxx DON The digital output channel XX total channel count B Example Command Response 01GCN gt DINO1DONO2 1 Reads the total I O channel count for the module Returns that the module is equipped with 1 digital input channel and 2 digital output channels Programmable Device Server User Manual V2 0 Feb 2013 8 6 AALS B Description This function reads the latched digital Input B Syntax AALS CHK AA L S B Response 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 Valid Command Data CHK cr Invalid Command AA CHK cr syntax error or a communication error will result in no response I AA Data Example Command 80111 delimiter for a valid command A delimiter for an invalid command The address of the module 01 only for PDS The read data 1 the input channel is latched 0 the input channel is not latched Response IFF0000 Read the latch high data Returns FFOO meaning that channel 7 to 0 are all latched For modules with a DI channel count between 5 and 8 01L1 F00000 1 Reads the l
132. t H 11 BH HOT 05 VET I stat H 12 HB HOT USED ET1 stat H 13 BH HOT 05 VET 1 stat 14 HH HOT USED VET 1 stat H 16 HH HOT USED VET 1I stat H 18 HH HOT USED VET 1 stat H 28 HH HOT USED stat H 22 HH HOT USED VET 1 stat H 24 HH HOT USED stat H 26 HB8 USED VET 1 stat 28 HBHB HOT USED VET 1 stat H 3H HB HOT USED VET 1 stat H Socket Tupe 15 HH HOT USED VET l stat H 17 HH HOT USED VET 1 stat H 17 HH HOT USED VET 1 stat H 21 HH HOT USED stat H 23 HH HOT USED VET 1 stat H 25 HH HOT USED VET 1 stat H 27 HBH HOT USED VET 1 stat H 29 HB HOT USED VET 1 stat H 31 HB HOT USED VET 1 stat H HB 1 TCP Seruer i1HBHBi 1 TCP Seruer i1BHBHH2 H2 I TCP Seruer i1HBH3 BH31 TCP Server it p4 H4 1 TCP Server 16665 H5 I TCP Seruer iBHBH LH7 I TCP Seruer 8H B6 II TCP Seruer 23 98 1 U DP 181 Unlsed 12 1 Uunlsed 141 Unlsed 16 1 Unlsed 18 1 Unl sed 28 1 Unlsed 22 1 Uunl sed 24 1 Unlsed 26 1 Uunlsed 28 1 Uunlsed 38 1 Uunlised 109 UnUsed 11 1 Unlsed 13 1 Uunlised 15 1 Unlsed 17 1 Unlsed 21 UnUsed 23 1 Uunlsed 25 UnUsed 27 1 Uunlsed 29 1 Uunlsed 1 Unlised Programmable Device Server User Manual V2 0 Feb 2013 9 4 4 Description This command queries or sets the configuration of the Ports Baud Rate Parity Stop bits Effect
133. te 00 01 Net ID Byte 01 Function Code Byte 02 03 00 00 Starting DO address Byte 04 05 00 07 Number of output channels Byte 06 01 Byte count Byte 07 F Output value Response Leading 6 bytes Byte 00 03 01 02 00 00 Message number Byte 04 05 00 06 Number of remaining bytes in this frame Response Byte 00 01 Net ID Byte 01 OF Function Code Byte 02 03 00 00 Starting DO address Byte 04 05 00 07 Number of output channels Programmable Device Server User Manual V2 0 Feb 2013 Data Field The data field of messages sent between a master and a slave contains additional information about the action to be taken by the master or any information requested by the slave If the master does not require this information the data field can be empty Reference E Description Address Read Write Discrete Outputs or Coils Ox reference address is used to output device data to digital output channel Read Discrete Inputs 1 The ON OFF status of a 1x reference address is controlled by the corresponding digital input channel For more detail of Address Mapping Reference number refer to 10 3 Modbus Register Map Programmable Device Server User Manual V2 0 Feb 2013 10 3 Modbus Register Map The nDI and nDO parameters of each model used in the following Modbus address tables are shown as follows Number of DO channels N
134. the PDS series module If the Reset System option is checked the PDS series module will reboot itself after the saving operation is complete otherwise the original settings will still be valid until the next power on Programmable Device Server User Manual V2 0 Feb 2013 5 3 IP filter setting The IP filter setting limits which client PCs are able to link to the PDS series module 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 module Any requests from other PCs will be rejected SETTCP AP IP2 or IP1 MASK P1 IP2 MASK IP1 IP2 MASK E Set IP1 only only clients who s IP address is included in the filter table are able to connect to the PDS series module Set IP1 IP2 set a range of IP address as a starting and ending point The setting allows clients who s IP address is included in the range are able to connect to the PDS series module Set IP14 Mask set the IP filter range as 4 Mask 0 amp Mask Mask Only clients who s IP address is included in the range are able to connect to the PDS series module For instance IP1 10 0 9 5 mask 255 255 255 0 amp MASK 10 0 9 0 mask 0 0 0 255 This allows clients who s IP address is included in the range of 10 0 9 0 10 0 9
135. to PDS when the PC s IP address is not in the IP filter list of PDS You can solve the problem by 1 Add your PC s IP address into the IP filter table of PDS by using console command IPFILTER in section 9 4 1 2 change your PC s IP address to one of the IP addresses listed in IP filter table 3 Or disable the IP filter function of the PDS by using console command Refer to section 9 4 1 4 clear all configuration setting on PDS by using config RESET command section 9 4 22 It also clears the IP filter table password alias setting You have to reboot the PDS for loading new configuration Programmable Device Server User Manual V2 0 Feb 2013 11 Why cannot computer ping or search the PDS series module The computer can make a communication with the module through some specific ports Please confirm with your network administrator that UDP Port 7 Port 23 Port 57188 and Port 54321 can t be denying by network device About the detailed information of TCP UDP port refers to following table TCP Port Port 25 Number Description 80 HTTP HyperText Transport Protocol 999 DCONPot S 40004 Serial Port for COM 10 10002 Serial Port for 10003 Serial Port for UDP Port Port NUM Number Description 23 54321 Response of UDP search Programmable Device Server User Manual V2
136. umber of DI channels nDO PPDS M 7ZD MICP 700400600 Model name PPDS M 734 D MTCP PPDS M 743 D MTCP 0 DO address base 0 Begin address Points Description 1 nDO Digital Output Value 0x00 0x nDO 1 R Read W Write 1xxxx DI address base 1 Begin address Points Description Range Access 1 nDI Digital Input Value 0x00 Ox nDI 1 1 R Read Programmable Device Server User Manual V2 0 Feb 2013 Appendix Linking to a Development PC To Ethernet 10 100 M hub 0910 IN ZY C2 H GND Step 1 Connect the download cable CA0910 between the PDS series module and COM 1 or COM 2 of the development PC as per above the diagram Step 2 Connect the INIT pin to the GND pin as shown in the above diagram Step 3 Unzip the 7188XW_yyyymmdd zip file on the PC The file is located in the CD Napdos MiniOS7 utility folder Step 4 Apply power Vs GND to the PDS series module The Vs can be anywhere from 30 10 V The PPDS M 700 MTCP PPDS 700 IP67 DS 700 PDS 782 25 and PDS 5105D MTCP module Vs can be anywhere from 48 12 V Step 5 Check that the 5 digit 7 SEG LED is continuously showing the following information Hours Minutes Seconds Note Only display versions of PDS series modules have 5 digit 7 SEG LED Programmable Device Server User Manual V2 0 Feb 2013 St
137. uration in the EEPROM The newer versions include the 02 and 03 command that is used to change the BaudRate and data format without needing to be saved These two commands improve the performance of the Server when changing the configuration settings Change Baud I Rate or Data Format No Command 02 or 0 The VxComm Driver PC has also been changed to enable the new commands to be used Thus users must upgrade their VxComm Server to the latest version if the current used firmware is old version before v2 6 00 4 Does VxComm Driver PC support auto reconnection after fixing a network break Yes the VxComm Driver PC supports the auto reconnection mechanism in version 2 00 and above The VxComm Utility allows the user to set the Keep Alive Time ms and Connection Broken Time ms in the server options For more details refer to the Adding a 7188bE 8000E PDS 700 DS 700 server and configuring the VxComm Driver section of the VxComm Driver Utility User Manual Programmable Device Server User Manual V2 0 Feb 2013 5 Why doesn t the VxComm Driver receive data from the PDS series module Make sure that the PDS series module is operating in mode 0 MO PDS series module has the following two communication modes Transparent Mode Multi echo shared In this mode data is echoed from the COM Ports of the PDS series module to each client that is connected to the PDS series
138. z When save 0 the system doesn t back up the autoexec bat and vcom ini files to memory and doesn t clear the flash disk It only loads the file that is selected specified Programmable Device Server User Manual V2 0 Feb 2013 1 36 COM1 115200 N 8 1 FC 0 CTS 0 DIR C Documents and 18 UDP dir H uc6 323H exe BH5 13 2HH8 11 16 07 83639 1445F 18HB2 HBEBH 7 4477 BHF 1oautoexec bat 43 04 2008 11 26 H2 18 88812 19449 BHR F 9445 86H81 otal File number is 2 Free space 375579 bytes PAC Y7186ER_UDP autoexec bat 1 caom323H zaue 1 Backup ini file 1 con3238 1oad Load vc6 3230 exe save file autnaexec hat ress HLT E to download filet Input Filename vc6h_32386 exe Load file vchb_3230 exe cre 6927 Send file info total 325 blocks ranzfer time is 10 7650060 seconds com3i323HB quit ommand not supportted PhGC 7186E2 UDP dir H autoexec hat 43 84 2688 11 26 82 18 00012 18002 003 lt gt 1 uc6 323H exe 857139726808 11 16 67 8303911 445 18HB5 2 44 1 otal File number is 2 Free space 3755979 bytes PAC 7186Es_UDP gt 55 When save 1 system will back up the autoexec bat and vcom ini files to memory first clear all files the flash disk and then load the autoexec bat and vcom ini files from memory and run the load command to load the specified file s Programmable Devic

Download Pdf Manuals

image

Related Search

Related Contents

Acu-Rite 13002A1 User's Manual    

Copyright © All rights reserved.
Failed to retrieve file