background image

 

                                                        

PDS Series User Manual ( V1.4, Oct. 2009) -----  1

 

 

 

Programmable Device Server  

 

(For PDS(M)-700, PPDS(M)-700-MTCP, DS-700, PPDS-700-IP67) 

 

User Manual 

 

Programmable Device Server New Features 

 

 

1. Virtual COM Technology 

 

Your Powerful Tools 

2. Virtual I/O Technology 

 

 

3. Web-server Technology 

 

Create New Ideas 

4. MiniOS7 & Xserver Inside 

 

 

5. Programmable Solution 

 

Create New Applications 

6. Industrial PoE Solution 

 

 

7. Modbus/TCP to Modbus/RTU Gateway   

 

 

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 2008 by ICP DAS. All rights are reserved. 

 

Trademark 

The  names  used  for  identification  only  may  be  registered  trademarks  of  their  respective 
companies. 

Summary of Contents for PDS-700 Series

Page 1: ...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 pro...

Page 2: ...3 2 SPECIFICATIONS 17 3 3 PDS COMPARISON TABLE 25 3 4 PIN ASSIGNMENTS 29 3 5 PDS WIRING CONNECTIONS 63 3 6 DIMENSIONS AND MOUNTING 65 3 7 PDS SERIES DIAGNOSTICS 70 4 SETTING UP THE PDS MODULE 74 5 CON...

Page 3: ...0DD 130 8 13 AA1NDD 131 8 14 132 8 15 AA0 133 8 16 AA1 134 8 17 AA2 135 8 18 AA3EFF 136 8 19 AA4P 138 8 20 AA4S 139 8 21 AA5P 140 8 22 AA5S 141 8 23 APPLICATION NOTES 142 9 CONSOLE TELNET COMMANDS LIS...

Page 4: ...THAT LARGER THAN COM 9 BY CALLING CREATEFILE WIN32 API 182 3 DOES VXCOMM DRIVER PC V2 00 WORK WITH VXCOMM SERVER V2 6 00 183 4 DOES VXCOMM DRIVER PC SUPPORT AUTO RECONNECTION AFTER FIXING A NETWORK B...

Page 5: ...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 V...

Page 6: ...rful 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...

Page 7: ...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 network...

Page 8: ...M port communication system was built many years ago As a result a new technology VxComm was developed to virtualize the COM ports of the PDS to allow up to 256 COM Ports to be used on the central com...

Page 9: ...mm driver controls all the details of the Ethernet TCP IP programming technique your COM port program will be able to access your serial devices through Ethernet in the same way as through COM port wi...

Page 10: ...bles 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...

Page 11: ...llows the built in PDS COM Port to be virtualized to a standard COM Port of the host PC as shown below In the configuration above Meter 1 is virtualized to link to COM3 of the host PC Therefore a prog...

Page 12: ...used to link to I 7000 series modules By using VxComm technology programs that on the host PC support serial devices can be upgraded from a RS 485 network to an Ethernet network without requiring any...

Page 13: ...85 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...

Page 14: ...s User Manual V1 4 Oct 2009 14 2 Configure the system connection as shown below and click the Start button to begin logging data 3 Open the log file in Excel to read the log data as shown in the examp...

Page 15: ...n conjunction with the VxComm technology the signal data of I 7000 modules from the Ethernet network can be analyzed without the need to write custom programs For more information about the log functi...

Page 16: ...liant with no Halogen Built in High Performance MiniOS7 from ICP DAS 10 100 Base TX Ethernet RJ 45 Port Auto negotiating auto MDI MDI X LED indicator ODM Service Is Available Low power consumption Pal...

Page 17: ...hernet 10 100 Base TX RJ 45 port Auto negotiating auto MDI MDI X LED indicator PoE IEEE 802 3af COM Port Formats Data Bit 7 8 for COM1 and COM2 5 6 7 8 for COM3 COM4 Parity None Even Odd Mark Space St...

Page 18: ...pe Open Collector Sink NPN Load Voltage 30 VDC max Load Current 100mA max Isolated Voltage Non isolated Digital Input Input Type Source Dry Type Common Ground Off Voltage Level 1 V max On Voltage Leve...

Page 19: ...Erase unit is one sector 64 KB 1000 000 erase write cycles EEPROM 16 KB Data retention 40 years 1 000 000 erase write cycles Built in Watchdog Timer Yes Communication Interface Models DS 712 PPDS 712...

Page 20: ...ed COM2 RS 485 D2 D2 GND Ethernet 10 100 Base TX RJ 45 port Auto negotiating auto MDI MDI X LED indicator PoE IEEE 802 3af COM Port Formats Data Bit 7 8 for COM1 and COM2 5 6 7 8 for COM3 COM4 Parity...

Page 21: ...easy mounting COM2 RS 485 Wiring information COM1 RS 232 RJ 45 Jack for 10 100M Ethernet and PoE IEEE 802 3af Class 1 LED Indicator Wiring information DI DO Channels Removable Terminal Block for easy...

Page 22: ...Oct 2009 22 Frame Ground RoHS Compliance for PCB device CE Certification for PCB device Frame Ground DIN Rail Mounting Robust insulated and fire retardant case DIN Rail Lock Initial Mode Switch PDS 7...

Page 23: ...information RJ 45 Jack for 10 100M Ethernet LED Indicator Robust insulated and fire retardant case Wiring information Serial Ports Robust insulated and fire retardant case COM1 RS 422 485 LED Indicat...

Page 24: ...ck for easy wiring Serial Ports 7 Segment LED Wiring information COM2 RS 485 COM1 RS 232 RJ 45 Jack for 10 100M Ethernet and PoE IEEE 802 3af Class 1 Robust insulated and fire retardant Metal case LED...

Page 25: ...4 4 5 wire RS 232 2 wire RS 485 3 wire RS 232 3 wire RS 232 Yes PDS 752 D PDSM 752 D 5 wire RS 232 2 wire RS 485 5 wire RS 232 5 wire RS 232 5 wire RS 232 Yes PDS 755 D PDSM 755 D 5 wire RS 232 2 wire...

Page 26: ...0 Series Non Programmable Device Servers Model DI DO COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 DS 712 5 wire RS 232 DS 715 2 wire RS 485 4 wire RS 422 2 wire RS 485 Data Data with Self Tuner inside 4 wi...

Page 27: ...Yes PPDS 742 D MTCP PPDSM 742 D MTCP 5 wire RS 232 2 wire RS 485 5 wire RS 232 9 wire RS 232 Yes PPDS 743 D MTCP PPDSM 743 D MTCP 4 4 5 wire RS 232 2 wire RS 485 3 wire RS 232 3 wire RS 232 Yes PPDS 7...

Page 28: ...OM3 COM4 IP67 PPDS 741 IP67 10 100 M PoE 5 wire RS 232 2 wire RS 485 2 wire RS 485 2 wire RS 485 Yes PPDS 742 IP67 10 100 M PoE 5 wire RS 232 2 wire RS 485 5 wire RS 232 2 wire RS 485 Yes PPDS 743 IP6...

Page 29: ...PDS Series User Manual V1 4 Oct 2009 29 Only D version modules have a 5 digit 7 SEG LED 3 4 Pin Assignments Pin Assignments for PDS 720 D PPDS 720 D MTCP models...

Page 30: ...3 RXD1 RXD pin 4 TXD1 COM1 RS 232 TXD pin 5 INIT Initialization pin for enabling disabling AUTOEXEC BAT 6 D2 Data pin 7 D2 COM2 RS 485 Data pin 8 VS V Pin for the power supply 10 30 VDC unregulated 9...

Page 31: ...PDS Series User Manual V1 4 Oct 2009 31 Only D version modules have a 5 digit 7 SEG LED PDS 721 D PPDS 721 D MTCP Pin Assignments...

Page 32: ...PDS Series User Manual V1 4 Oct 2009 32 PDSM 721 D PPDSM 721 D MTCP Pin Assignments Only D version modules have a 5 digit 7 SEG LED...

Page 33: ...Digital Output channel 6 11 DO5 Digital Output channel 5 12 DO4 Digital Output channel 4 13 DO3 Digital Output channel 3 14 DO2 Digital Output channel 2 15 DO1 Digital Output channel 1 16 DO0 Digital...

Page 34: ...PDS Series User Manual V1 4 Oct 2009 34 Only D version modules have a 5 digit 7 SEG LED PDS 732 D PPDS 732 D MTCP Pin Assignments...

Page 35: ...PDS Series User Manual V1 4 Oct 2009 35 PDSM 732 D PPDSM 732 D MTCP Pin Assignment Only D version modules have a 5 digit 7 SEG LED...

Page 36: ...y COM1 GND 10 CTS3 CTS pin 11 RTS3 RTS pin 12 TXD3 TXD pin 13 RXD3 COM3 RS 232 RXD pin 14 DI0 Digital Input channel 0 15 DI1 Digital Input channel 1 16 DI2 Digital Input channel 2 17 DI3 Digital Input...

Page 37: ...PDS Series User Manual V1 4 Oct 2009 37 Only D version modules have a 5 digit 7 SEG LED PDS 734 D PPDS 734 D MTCP Pin Assignments...

Page 38: ...PDS Series User Manual V1 4 Oct 2009 38 PDSM 734 D PPDSM 734 D MTCP Pin Assignments Only D version modules have a 5 digit 7 SEG LED...

Page 39: ...COM3 RS 422 RS 485 TXD pin 11 TXD3 COM3 RS 422 RS 485 TXD pin 12 RXD3 COM3 RS 422 RXD pin 13 RXD3 COM3 RS 422 RXD pin 14 DI0 Digital Input channel 0 15 DI1 Digital Input channel 1 16 DI2 Digital Input...

Page 40: ...PDS Series User Manual V1 4 Oct 2009 40 PDS 742 D PPDS 742 D MTCP Pin Assignments Only D version modules have a 5 digit 7 SEG LED...

Page 41: ...PDS Series User Manual V1 4 Oct 2009 41 PDSM 742 D PPDSM 742 D MTCP Pin Assignments Only D version modules have a 5 digit 7 SEG LED...

Page 42: ...5 Data pin 8 VS V pin for the power supply 10 30 VDC unregulated 9 GND GND pin for the power supply COM1 GND 10 CTS3 CTS pin 11 RTS3 RTS pin 12 TXD3 TXD pin 13 RXD3 RXD pin 14 GND3 COM3 RS 232 GND pin...

Page 43: ...PDS Series User Manual V1 4 Oct 2009 43 Only D version modules have a 5 digit 7 SEG LED PDS 743 D PPDS 743 D MTCP Pin Assignments...

Page 44: ...PDS Series User Manual V1 4 Oct 2009 44 PDSM 743 D PPDSM 743 D MTCP Pin Assignments Only D version modules have a 5 digit 7 SEG LED...

Page 45: ...D 10 RXD4 RXD pin 11 TXD4 COM4 RS 232 TXD pin 12 RXD3 RXD pin 13 TXD3 COM3 RS 232 TXD pin 14 DI0 Digital Input channel 0 15 DI1 Digital Input channel 1 16 DI2 Digital Input channel 2 17 DI3 Digital In...

Page 46: ...PDS Series User Manual V1 4 Oct 2009 46 Only D version modules have a 5 digit 7 SEG LED PDS 752 D PPDS 752 D MTCP Pin Assignments...

Page 47: ...PDS Series User Manual V1 4 Oct 2009 47 PDSM 752 D PPDSM 752 D MTCP Pin Assignment Only D version modules have a 5 digit 7 SEG LED...

Page 48: ...or the power supply 10 30 VDC unregulated 9 GND GND pin for the power supply COM1 GND 10 CTS3 CTS pin 11 RTS3 RTS pin 12 TXD3 TXD pin 13 RXD3 COM3 RS 232 RXD pin 14 GND COM3 COM4 GND pin RS 232 15 CTS...

Page 49: ...PDS Series User Manual V1 4 Oct 2009 49 Only D version modules have a 5 digit 7 SEG LED PDS 755 D PPDS 755 D MTCP Pin Assignments...

Page 50: ...PDS Series User Manual V1 4 Oct 2009 50 PDSM 755 D PPDSM 755 D MTCP Pin Assignments Only D version modules have a 5 digit 7 SEG LED...

Page 51: ...AT 6 D2 Data pin 7 D2 COM2 RS 485 Data pin 8 VS V pin for the power supply 10 30 VDC unregulated 9 GND GND pin for the power supply COM1 GND 10 D3 Data pin 11 D3 COM3 RS 485 Data pin 12 N C 13 N C 14...

Page 52: ...PDS Series User Manual V1 4 Oct 2009 52 Only D version modules have a 5 digit 7 SEG LED PDS 762 D PPDS 762 D MTCP Pin Assignments...

Page 53: ...PDS Series User Manual V1 4 Oct 2009 53 PDSM 762 D PPDSM 762 D MTCP Pin Assignments Only D version modules have a 5 digit 7 SEG LED...

Page 54: ...D GND pin for the power supply COM1 GND 10 RXD3 RXD pin 11 TXD3 TXD pin 12 RXD4 RXD pin 13 TXD4 COM3 RS 232 TXD pin 14 GND GND pin for COM3 COM4 15 RXD5 RXD pin 16 TXD5 COM5 RS 232 TXD pin 17 RXD6 RXD...

Page 55: ...PDS Series User Manual V1 4 Oct 2009 55 Only D version modules have a 5 digit 7 SEG LED PDS 782 D PPDS 782 D Pin Assignments...

Page 56: ...PDS Series User Manual V1 4 Oct 2009 56 PDSM 782 D PPDSM 782 D Pin Assignments...

Page 57: ...0 30 VDC unregulated 9 GND GND pin for the power supply COM1 GND 10 RXD3 RXD pin 11 TXD3 COM3 RS 232 TXD pin 12 RXD4 RXD pin 13 TXD4 COM4 RS 232 TXD pin 14 GND COM3 COM4 COM5 COM6 GND pin 15 RXD5 RXD...

Page 58: ...PDS Series User Manual V1 4 Oct 2009 58 PDS 700 IP67...

Page 59: ...PDS Series User Manual V1 4 Oct 2009 59...

Page 60: ...PDS Series User Manual V1 4 Oct 2009 60...

Page 61: ...PDS Series User Manual V1 4 Oct 2009 61 DS 712 PPDS 712 MTCP Pin Assignments E1 10 100 Base TX...

Page 62: ...PDS Series User Manual V1 4 Oct 2009 62 DS 715 PPDS 715 MTCP Pin Assignments E1 10 100 Base TX...

Page 63: ...PDS Series User Manual V1 4 Oct 2009 63 3 5 PDS Wiring Connections COM1 The COM1 GND signal is shared with pin9 GND Digital Input...

Page 64: ...PDS Series User Manual V1 4 Oct 2009 64 Digital Output...

Page 65: ...PDS Series User Manual V1 4 Oct 2009 65 PDS 700 PPDS 700 MTCP 3 6 Dimensions and Mounting q Unit mm Bottom View Front View Din Rail Mounting Bracket Side View Top View Back View...

Page 66: ...PDS Series User Manual V1 4 Oct 2009 66 PDSM 700 PPDSM 700 MTCP...

Page 67: ...PDS Series User Manual V1 4 Oct 2009 67 PPDS 700 IP67...

Page 68: ...PDS Series User Manual V1 4 Oct 2009 68...

Page 69: ...PDS Series User Manual V1 4 Oct 2009 69 Din Rail Mounting Stack Mounting...

Page 70: ...8n1 2 712 COM2 data 7 even parity stop 2 COM1 data 8 no parity Stop 1 44444 1 26 00 Connected clients and debugging information 10000 33333 2 0000 3 00 00 4 00 00 5 00 01 8 821 3 7 PDS series Diagnos...

Page 71: ...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...

Page 72: ...display indicates how many Ethernet packets are currently being received by the PDS When LED 1 is 4 the display indicates that the status of the internal Flag used to allow Ethernet packets to be sent...

Page 73: ...e check the configuration Step 3 The red LED on the PDS is used to indicate the following ON OFF Unit 0 5 second OS M0 M1 M2 The PDS contains either Xserver or VxComm as default when shipped that is i...

Page 74: ...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 U...

Page 75: ...puter to the same sub network or the same Ethernet Switch Short the RXD1 and TXD1 pins of the PDS series module for execute a self test Supply 24 VDC 10 30 VDC power to the PDS W 700 module Supply 24...

Page 76: ...for the PDS series module on 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 b...

Page 77: ...figuring 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 P...

Page 78: ...2009 78 Click the Restart Driver button to start the driver 3 Check the Virtual COM port numbers on the PC 5 Click Restart Driver from the Tools menu and then click the Restart Driver button to start...

Page 79: ...XD1 of the PDS series module as shown in the diagram in Step1 2 Right click Port 1 and then choose the Open COM Port option 3 Check that the configuration of the COM Port is correct and then click the...

Page 80: ...the send button If a response is received it will be displayed in the received field 5 If the test is successful the COM port program will be able to work directly by setting the Virtual COM Port num...

Page 81: ...e PDS series module has been correctly configured and is networking normally the configuration details can be retrieved or amended using either the VxComm Utility or a standard web browser such as IE...

Page 82: ...PDS Series User Manual V1 4 Oct 2009 82 When the browser connects to the PDS the first page that will be display is the Firmware Information page 5 2 Network Settings...

Page 83: ...P 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 Util...

Page 84: ...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 SystemT...

Page 85: ...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 addr...

Page 86: ...PDS Series User Manual V1 4 Oct 2009 86 Click the Update button to validate the settings 5 4 COM Port Settings The COM Port Settings list is saved in the EEPROM on the PDS series module...

Page 87: ...module Baud Rate Data Bits Parity Stops Bits End Character The configuration settings should match the serial device used Fifo Trig Level FIFO trigger level This option is used to set the number of ch...

Page 88: ...2009 88 Other settings M0 mode M0 Transparent 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...

Page 89: ...module The PDS series module echoes data from the devices to each connected client M1 Slave Mode Single echo mode Condition 1 One client sends a request to the PDS series module to access the other d...

Page 90: ...ies module doesn t echo any data from the devices to any client 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...

Page 91: ...PDS Series User Manual V1 4 Oct 2009 91...

Page 92: ...PDS Series User Manual V1 4 Oct 2009 92 5 5 Pair Connection Setting 1 Check your firmware version is later than v3 2 31 Jun 19 2009...

Page 93: ...ction on the COM PORT setting page 3 Select Add COM and type in the number of the local COM port to use 4 And type in the number of the remote COM port IP and cmd port 5 Check the Save to EEPROM and c...

Page 94: ...ies module To disable the Web Read Only property refer to the information below 5 6 Miscellaneous settings Alias Name allocates an alias to the PDS series module Web Read Only 0 disabled 1 enabled Log...

Page 95: ...Only 0 and then click Logout to complete the operation 4 User can restore PDS password to default value admin by using config RESET console command refer to section Console Telnet Commands List This...

Page 96: ...pdos Modbus Modbus_Utility http ftp icpdas com pub cd 8000cd napdos modbus modbus_utility Step 2 Connecting the Modbus device to PPDS M 700 D MTCP 1 Keep up network connection status for your PPDS 700...

Page 97: ...odbus TCP protocol Step 1 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 2 Click th...

Page 98: ...V1 4 Oct 2009 98 3 Check the COM Port for Modbus gateway setting Step 2 Test Modbus TCP to Modbus RTU Gateway 1 Run the Modbus Utility program and then click the Modbus TCP button 2 Click on Client t...

Page 99: ...ess and then click the Connect button to connect the PPDS 700 MTCP 4 Refer to Protocol Description and type the command in the command field then click the Send Command button If the response data is...

Page 100: ...OM 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 2 Make sure your COM Ports of PPDS M 700 D MTCP whic...

Page 101: ...101 3 Add Server s in the VxComm Utility 4 Run Modbus Utility program and then click the Modbus TCP button 5 Click on Client tools Modbus RTU Client...

Page 102: ...tual COM port and baud rate Default 9600 on PPDS 700 MTCP and then click the Open button 7 Refer to Protocol Description and type the command in the command field then click the Send Command button If...

Page 103: ...0 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 th...

Page 104: ...is located at CD Napdos driver dcon_utility http ftp icpdas com pub cd 8000cd napdos driver dcon_utility setup 5 Run the DCON Utility and click the COM Port option on the toolbar 6 Check the Virtual C...

Page 105: ...ed with digital I O lines the DCON Utility will return an Open COM error message 7 Select the Virtual COM Port number Check 115200 as the Baud Rate DCON as the protocol checksum disabled parity as non...

Page 106: ...S series module Click here 8 Click the button to start searching for the PDS series module 9 When the PDS series module is found and is displayed in the DCON Utility click the button to stop the searc...

Page 107: ...protocol it defines a simple ASCII format protocol such as AAN AASi6 and AAN etc used to access the PDS and I 7000 8000 87K series I O modules The Virtual I O command sets are part of the DCON protoco...

Page 108: ...ine from the DCON Utility menu 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 3 Receive...

Page 109: ...d 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...

Page 110: ...ber of DI and DO channels on your PDS series module For instance the PDS 732 is equipped with 4 DI channels and 4 DO channels 5 Set the Output value and then click the Write DO button to transmit the...

Page 111: ...ut 100 ms The functions in the General DCON API kit can be used to access the I O lines on the PDS series module Categorization Dll and lib used Call condition Starting function Open_Com Uart dll Uart...

Page 112: ...cParity char cStop Return 0 no error Others error codes 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 Close...

Page 113: ...s Parameters cPort COM Port number 1 255 szCmd the send string 1024 bytes maximum without a zero 0x0D character szResult the result string recevied 1024 bytes maximum with one zero or 0x0D terminal ch...

Page 114: ...lot short iDO_TotalCh unsigned long lDO_Value short iCheckSum short iTimeOut Return 0 no error Others error codes Parameters cComPort COM Port number 1 255 iAddress Module address 1 for the PDS series...

Page 115: ...Value short iCheckSum short iTimeOut Return 0 no error Others error codes Parameters cComPort COM Port number 1 255 iAddress Module address 1 for the PDS series module iSlot 1 for the PDS series modul...

Page 116: ...turn 0 no error Others error codes Input Parameter cComPort COM Port number 1 255 iAddress Module address 1 for the PDS series module iSlot 1 for the PDS iDI_TotalCh total DI channel count on the PDS...

Page 117: ...on 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 0ffh Example Command string 012 cr Sum of the stri...

Page 118: ...ta Sets the Digital Output 8 10 AAn AA Data Reads the DI counter 8 11 AA00dd Sets the Multi channel Output 8 12 AA1ndd Sets the Single Channel Output 8 13 Host Watchdog Command Sets Command Response D...

Page 119: ...a syntax error or a communication error A delimiter for a valid command A delimiter for an invalid command AA The address of the module 01 only for PDS s The reset status 1 The Module has been reset a...

Page 120: ...HK cr A Syntax error or a communication error will result in no response A delimiter for valid command A delimiter for invalid command AA The address of the module 01 only for PDS dd The current statu...

Page 121: ...Command AA CHK cr Invalid Command AA CHK cr Syntax error or a communication error will result in no response A delimiter for valid command A delimiter for invalid command AA The address of the module...

Page 122: ...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 A delimiter for an invalid command AA The address of the module...

Page 123: ...Invalid Command AA CHK cr A Syntax error or a communication error will result in no response A delimiter for valid command A delimiter for invalid command AA The address of the module 01 only for PDS...

Page 124: ...ation 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 Data The read data 1 the input channel is latched...

Page 125: ...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 i...

Page 126: ...mmand for reading the module name Response Valid Command AA Data CHK cr Invalid Command AA CHK cr A syntax error or a communication error will result in no response A delimiter for a valid command A d...

Page 127: ...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 Data The status of the DIO Example Command Response 01...

Page 128: ...acters for output channels less than 8 For the PDS M 721 D modules this will be from 00 to 7F Response Valid Command CHK cr Invalid Command CHK cr Ignore Command CHK cr A syntax error or a communicati...

Page 129: ...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 Data The digital input counter value...

Page 130: ...r a communication error will result in no response 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 Time...

Page 131: ...he digital output channel to on Response Valid Command CHK cr Invalid Command CHK cr Ignored Command CHK cr A syntax error or a communication error will result in no response A delimiter for a valid c...

Page 132: ...other modules know that the Host is OK Syntax CHK cr A delimiter character The command for all modules Response No response Example Command Response No response Related Commands Sec 7 15 AA0 Sec 7 16...

Page 133: ...ill 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 SS The status of the module 00 The Host watchdog status has be...

Page 134: ...status of the module 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 A delimiter for an i...

Page 135: ...tax 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 e The status of the Host W...

Page 136: ...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 Ex...

Page 137: ...is set 012 01064 Read the Host Watchdog Timeout Value Returns the Host Watchdog Timeout Value is 10 0 seconds and the Host Watchdog is disabled 011 01 Reset the status of the Host Watchdog Timeout Ret...

Page 138: ...ead the power on value for the DO 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 d...

Page 139: ...for the DO 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 invali...

Page 140: ...ower on value for the DO 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 A delimiter for a...

Page 141: ...O 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 A delimiter for an invalid command AA Th...

Page 142: ...dule 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 c...

Page 143: ...ue If the Host Watchdog Timeout status is set the output is set to the Safe Value If the module receives an output command such as AA Data or AABBDD the module will ignore the command and return and w...

Page 144: ...s 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 th...

Page 145: ...chart Open INIT Init Mode for MiniOS7 Commands for Downloading Firmware Run Firmware vc6_3230 autoexec Console Mode for Console Commands Run Mode for Virtual COM applications Short INIT and GND Short...

Page 146: ...PDS Series User Manual V1 4 Oct 2009 146 9 2 Regulate Init Normal Mode PDS 700 D PPDS 700 D MTCP DS 700 PDS 782 D 25...

Page 147: ...147 Init Mode Short INIT and GND PDSM 700 D PPDSM 700 D MTCP Run Mode Open INIT...

Page 148: ...PDS Series User Manual V1 4 Oct 2009 148 PPDS 700 IP67 Run Mode Open INIT Init Mode Short INIT and GND...

Page 149: ...iniOS7 commands from PDS COM1 only Running Open Yes Yes No Run Run Mode is used for Virtual COM applications and accepts Virtual COM commands TCP port 10000 and Telnet commands TCP port 23 Running Sho...

Page 150: ...nnection automatically 8 M Gets Sets the echo mode M0 Transparent Mode Multi Echo Data Shared M1 Slave Mode Single Echo None Shared 9 EchoCmdNo Queries or sets the EchoCmdNo parameter that enables or...

Page 151: ...filter Queries the IP filter table ipfilter ADD ip1 ADD ip1 ip2 Adds an IP address to the IP filter table Adds a range of IP addresses ip1 ip2 to the IP filter table ipfilter DEL ip1 DEL ip1 ip2 Delet...

Page 152: ...PDS Series User Manual V1 4 Oct 2009 152 Example...

Page 153: ...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 Example Command Argument Descrip...

Page 154: ...ts 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 Immed...

Page 155: ...guments Description com Queries the configuration of all COM Ports com n Queries configuration of COM Port n If n 0 the configuration of all COM Ports will be listed in the same way as using the comma...

Page 156: ...Enable Disable listening broadcast packets on PDS Effect Immediate Example Command Arguments Description Broadcast Queries the Broadcast settings Broadcast 1 Sets Broadcast 1 The system is able to rec...

Page 157: ...ot receive any packets from any client for longer than the SystemTimeout period the PDS will reboot itself Effect Immediate Example Command Arguments Description SystemTimeout Queries the SystemTimeou...

Page 158: ...ater than zero and the PDS does not receive any data from a client PC for longer than the SocketTimeout period the PDS will close the socket connection between itself and the client PC Effect Immediat...

Page 159: ...scription M Queries the echo mode settings M 0 Sets the multi echo mode to enable When set to multi echo mode the PDS echoes data from a device to all clients that are connected M 1 Sets the single ec...

Page 160: ...corresponding response Virtual COM commands are used to configure a PDS through TCP port 10000 Effect Immediate Example EchoCmdNo 0 EchoCmdNo 1 Command Arguments Description EchoCmdNo Queries the Echo...

Page 161: ...nse 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 Example En...

Page 162: ...oot Example 9 4 12 MASK Description This command is used to query or set the subnet Mask value Effect After the next reboot Example Command Arguments Description IP Queries the IP address IP xxx xxx x...

Page 163: ...ot Example 9 4 14 MAC Description This command is used to query the MAC address Effect Setting the address is not allowed Example Command Arguments Description Gateway Queries the Gateway address Gate...

Page 164: ...mple 9 4 16 ALIAS Description This command is used to query or set the alias of a PDS series module The maximum character length of PDS alias name is 16 bytes Effect Immediate Example Command Argument...

Page 165: ...et 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 a...

Page 166: ...receives a UDP search command Effect Immediate Example Command Arguments Description UDP 0 Rejects UDP search commands The PDS will not reply to the UDP search command and can not be searched again UD...

Page 167: ...ackup or no backup autoexec bat and vcom ini files when using load command Effect Immediate Example see images 21 1 and 21 2 below Command Argument Description VER Queries the version information Comm...

Page 168: ...ate Load is not a Telnet command Example 21 1 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 selec...

Page 169: ...back up the autoexec bat and vcom ini files to memory first clear all files in the flash disk and then load the autoexec bat and vcom ini files from memory and run the load command to load the specifi...

Page 170: ...IP MASK GATEWAY addresses will not The 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 System...

Page 171: ...es module Effect Immediate Example 9 4 24 QUIT Description This command is used to stop and quit the firmware of PDS series module Effect Immediate Example Command Argument Description reset Reboot th...

Page 172: ...ip 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 PDS M 700 Vs can be anywhere from 30 10 V The PPDS M 700 MTCP PPDS...

Page 173: ...rity 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...

Page 174: ...make the network definition 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 Each PD...

Page 175: ...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 Fr...

Page 176: ...PDS Series User Manual V1 4 Oct 2009 176...

Page 177: ...implemented and used together and called TCP IP TCP IP can be used to communicate across any set of interconnected networks 4 TCP Transmission Control Protocol TCP provides a reliable flow of data bet...

Page 178: ...dress 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...

Page 179: ...ho reply to be 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...

Page 180: ...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...

Page 181: ...AT 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 inc...

Page 182: ...ty descriptor OPEN_EXISTING how to create 0 file attributes NULL handle of file with attributes to copy NOTES 1 This syntax also works for ports COM 1 through COM 9 See more MS Q115831 2 Maximum COM p...

Page 183: ...n changing the configuration settings 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...

Page 184: ...echo Non Shared In this mode data is echoed from the COM Ports of the PDS series module to the specific client that requested the service Version 2 6 12 and above In M1 mode if the client does not sen...

Page 185: ...y 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...

Page 186: ...s 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 respo...

Page 187: ...public Internet connection which is the reason why the PDS series module failed on the Internet The IANA has reserved three address spaces for private internets RFC1918 10 0 0 0 10 255 255 255 10 8 p...

Page 188: ...t client may communicate with a public Internet server PDS series modules only if the NAT service for the client is available Note IANA Internet Assigned Numbers Authority RFC Request for Comments ISP...

Page 189: ...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...

Page 190: ...a ports 1 CMD port IO port Web Telnet UDP Search 4 The number of Available Sockets for PDS series modules max 32 sockets Listening sockets 5 The maximum number of PCs when using all data ports of PDS...

Page 191: ...ss into the IP filter table of PDS by using console command IPFILTER in section 8 4 1 2 Or change your PC s IP address to one of the IP addresses listed in IP filter table 3 Or disable the IP filter f...

Reviews: