Home

PDS-700/DS-700 Series User Manual

image

Contents

1. In M1 the slave mode timeout setting 1s 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 700 DS 700 module will return a timeout error and process next request Other Setting Current New m O MO Transparent Mode mg dd O M1 Slave Mode Slave Mode Timeout ms PDS 700 Series User Manual V1 2 Oct 2008 67 Request Response PDS 700 Series User Manual V1 2 Oct 2008 68 5 5 Miscellaneous settings Ele Eat Yew Favorkes Too pep O O HAD Dx mw OE DES address B rtp OO Ada P Alias Name allocates an alias to the PDS 700 DS 700 module Web Read Only O disabled 1 enabled BN 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 700 DS 700 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 a 4 o PDS 700 Series User Manual V1 2 Oct 2008 69 2 Set the new Web Read Only properly O and click the UPDATE button PDS 20 Misc Setup Page Logout Misc Setting Current New
2. Click the name of your PDS 700 module ub net Mask 2 lie SER PETENS OK to save your settings button then assign a COM Port number and click VxComm Utility v2 09 00 amp pr 02 2008 EJ fx File server Port Tools Adding Servers E Server Information Server Mame i Get name automatically ange Start 10 0 8 20 W Skip duplicated IP IP Range End 10 0 8 20 D Net e Web Configuration mu Search Servers Configure Server UDF Virtual COR COM Port Cancel 3 Check the Virtual COM port numbers on the PC ER xComm Utility v2 09 00 Apr 03 2008 File Server Port Tools Check the COM Port Configure Serve Y xComm Servers Port Dru Eri PDS 782 10 0 8 210 Reserved NifA COM Dynamic COMI Dynamic COMA Dynamic Add Sereer s COMb Dynamic COME Dynamic XK Remove Server Eod do COMO Dynamic h COMO Dynamic 68 ver conta E DE P UE EET Name Alias IP Address Sub net Mask Gateway MAC Address PD5 20 PDS F 10 0 8 243 255 255 255 0 10 0 8 254 00 0d e0 d0 96 1c PD5 782 NifA 10 0 8 20 255 255 255 0 10 0 8 254 00 0d e0 20 00 0F ET 7050 N A 10 0 8 115 255 255 255 0 10 0 8 254 00 0d e0 d0 50 07 5 Click Restart Driver from the Tools menu and then click the Restart Driver button to start the driver EM Yx Comm Utility 72 09 00 Apr 03 2008 File Server F5 di E E CG anfigure Server NA Yx
3. EIE Bele Send Interval ms 5 If the test is successful the COM port program will be able to work directly by setting the Virtual COM Port number PDS 700 Series User Manual V1 2 Oct 2008 57 5 Configuration with Web Browser Once the PDS 700 DS 700 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 FireFox or Mozilla etc 5 1 Connecting to the PDS 700 DS 700 Module ad If the COM port program is operating with a PDS 700 DS 700 changing the configuration will cause a program error Enter the IP address of the PDS 700 DS 700 module in the Address field and press Enter to connect to the PDS 700 DS 700 module E PDS 720 Setup Page Microsoft Internet Explorer File Edit View Favorites Tools Help CS Back gt x E A ya Search 7 Favorites u Addres E http J 10 0 8 243 PDS 700 Series User Manual V1 2 Oct 2008 58 When the browser connects to the PDS 700 DS 700 the first page that will be display is the Firmware Information page e PDS 720 Setup Page Microsoft Internet Explorer Ple Ect Mew Pavonkes Took Help Qe O E E AE T Favortes fe 2 3 we 3 Address AB het j 10 0 8 243 ware Information AF PDS1 v2 2 12 Nov 21 2007 1 20 Jan 21 2008 200272 4 PHS 720 Setup Papo 1s EB inier mai De Gi Yee Fivo
4. Read the firmware version details Returns version No A1 00 PDS 700 Series User Manual V1 2 Oct 2008 93 7 8 SAAM Description This function reads the module name Syntax SAAM CHK cr A delimiter character A The address of the module 01 only for PDS 700 A command 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 E A delimiter for a valid command A delimiter for an invalid command The address of the module 01 only for PDS 700 OLPDS 721 Reads the module name Returns the name PDS 721 PDS 700 Series User Manual V1 2 Oct 2008 94 7 9 OAA Description This function reads the status of the digital input output Syntax AA CHK cr o A delimiter character The address of the module 01 only for PDS 700 Response Valid Command gt Data CHK cr Invalid Command AA 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 The address of the module 01 only for PDS 700 The status of the DIO Example gt 050F Read the status of the DIO Returns 050F The first two bytes indicate the status of the DO 05 means that channel O and channel 2 are 1 and the other channels are 0 The last two bytes indicate the status o
5. By using configuring the NAT server NAT can forword bypass all specified tcp port connection to specified PDS 700 DS 700 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 700 DS 700 by using NAT s address and NAT s TCP ports instead of PDS 700 DS 700 s setting For example To add first PDS 700 DS 700 1t s IP Port should be NAT 10000 To add second PDS 700 DS 700 it s IP Port should be NAT 10010 PDS 700 Series User Manual V1 2 Oct 2008 146 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 WM WNCOMI O address of name of the communications device fdw Access 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 NOTES 1 This syntax also works for ports COM 1 through COM 9 See more MS Q115831 2 Maximum COM port number for VxComm Driver is COM 256 3 Valid COM port number for MSCOMM OCX 1s
6. PAC 7186EXA_UDP gt dir H autoexec bat 03764 2008 11 26 82 18 06061 2 18882 0000 8003 ABA lovuch 323H exe 05 13 2008 11 16 07 283H39 1445F 18665 HHB2 9 44B BABI otal File number is 2 Free space 375579 bytes 2 When save 1 system will back up the autoexec bat and vcom ini files to memory first clear all files 1n 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 PDS 700 Series User Manual V1 2 Oct 2008 135 8 4 22 CONFIG Description This command is used to clear the settings in the EEPROM Effect Immediate Clears the settings in the EEPROM config RESET After reboot the firmware will use the new default settings on EEPROM Note RESET MUST be in capital letters X When Config RESET is used the Password Alias and IPFILTER settings will also be cleared but the IP IMASK GATEW AY addresses will not X The System Timeout setting is also cleared to O 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 3 7188XW 1 36 COM 1 115200 N 8 1 FC 0 C TS 0 DIR C ADocuments and SettingsUseruu pds O Ucom3238 gt conf igy RESET com3z3BH PDS 700 Series User Manual V1 2 Oct 2008 136 8 4 23 RESET Description This command is used to rebo
7. 014S 101000F Read the safe values Returns the power on value OF Related Commands Sec 7 22 AASS PDS 700 Series User Manual V1 2 Oct 2008 107 7 231 AASP Description This function sets the Power on Value for the DO Syntax AASP CHK cr A delimiter character The address of the module 01 only for PDS 700 5P The command used to set the power on value for the DO Response Valid Command AA CHK cr Invalid Command 2AA CHK cr A syntax error or a communication error will result in no response Fa A delimiter for a valid command A delimiter for an invalid command The address of the module 01 only for PDS 700 Example 20103 Output the value 03 Returns success 015P 101 Set the current output status as power on value return success Related Commands Sec 7 19 AA4P PDS 700 Series User Manual V1 2 Oct 2008 108 7 22 AASS Description This function sets the Safe Value for the DO Syntax AASS CHK cr A delimiter character A The address of the module 01 only for PDS 700 5S The command used to set the safe value for the DO Response Valid Command AA CHK cr Invalid Command 2AA CHK cr A syntax error or a communication error will result in no response PI A delimiter for a valid command A delimiter for an invalid command The address of the module 01 only for PDS 700 0158 Set the current output status as the safe value
8. Digital Input channel 0 3 5 V 30 V DO PWR Power Input for Digital Output 22 Doo Digital Output channel 0 100 mA 30 V max Digital Output channel 1 100 mA 30 V max E1 10 100 Base TX PDS 700 Series User Manual V1 2 Oct 2008 38 PDS 782 782D Pin Assignments c A CPron PDS 782D OTS 7 LA 10 1 00M RXD1 TXD1 INIT D2 D2 R Vs Only D version modules have a 5 digit 7 SEG LED PDS 700 Series User Manual V1 2 Oct 2008 39 Description COMI CTS pin RS 232 COMI RTS pin RS 232 COMI RXD pin RS 232 COMI TXD pin RS 232 Initialization pin for enabling disabling AUTOEXEC BAT 6 D COM2 Data pin RS 485 COM2 Data pin RS 485 8 fyse V pin for the power supply 10 30 V pc unregulated GND pin for the power supply COM1 GND COM3 RXD pin RS 232 COM3 TXD pin RS 232 COM4 RXD pin RS 232 COM4 TXD pin RS 232 COM3 COM4 COM5 COM6 GND pin COMS RXD pin RS 232 COMS TXD pin RS 232 COM6 RXD pin RS 232 COM6 TXD pin RS 232 COMS COM6 COM7 COMS GND pin COM7 RXD pin RS 232 COM TXD pin RS 232 COMS RXD pin RS 232 COMS TXD pin RS 232 E1 10 100 Base TX PDS 700 Series User Manual V1 2 Oct 2008 40 DS 712 Pin Assignments N A N A N A N A INIT N A N A R Vs B GND 9 L im zm Num 5008065666606 E1 10 100 Base TX PDS 700 Series User Manual
9. 156
10. 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 700 modules have a 5 digit 7 SEG LED Step 6 Execute 7188XW EXE C and change the Baud Rate to 115200 bps N81 CH is the COM Port of the development PC Step 7 Press Enter twice on the development PC 7188z W 1 28 COMI 115200 N 8 1 EFC D CTS 0 DIR C A Begin Key Thread 1 uPAC 7 1 86 EA UDP PDS 700 Series User Manual V1 2 Oct 2008 138 Step 8 Read the configuration of the PDS 700 DS 700 IPAC27186E5_UDP ip IP 1H H 83 2H PAC SG EA UDP gt mask ASK 255 255 255 H Read configuration command e Ip atewau 1H H 8 254 PAC SGER UDP mac Ethernet Address HBd Hd eH ZBH BB H7 PAC SGER UDP gt setcom 1 urrent set is 7600 8 0 1 gateway mac setcom port PAG BE EA UDP gt gateway mask EM Note The configuration of the PDS 700 DS 700 as follows can be changed uPAC 7186EM UDP gt ip 192 168 41 1 set IP 192 168 41 1 Settings configuration command ReadBackJIP 192 168 41 1 uPAC 7186EX_UDP gt mask 255 255 255 0 O ip new ip Set MASK 255 255 255 8 mask new mask ReadBack IMASK 255 255 255 8 uPaG 7186ES UDP gt gatevay 192 168 41 4 Set GATEWAY 192 168 41 4 mac new mac ReadBack IGatevay 192 168 41 4 setcom port uPAC 7186EX_UDP gt setcom 1 115288 n 8 1 E Current set is 96HH0 8 0 1 baud data bit parity sto
11. DAZ nob m 98 TASs PAA UND Lncret 99 JD Oe I ERR 100 c CC EE EEE E E E E EEEE 101 TAO GANA E an toca E E E A E EATE AE EITE EAT AEE E A RET E ETA 102 Melo AN nC 103 A A EEEE RS T E E E E E E E T EE E DR RR E SRD 104 A ES A O A E A RD SD AA E A E A SRD DER CRU cust 106 T20 E RE 107 Wu A A RES as eace tea eads 108 y MERC A E DENSO DOSE E 109 Te a APPLICATION NOIES er 110 5 CONSOLE TELNET COMMANDS LISTO 00 teca 113 8 1 OPERATION ELOWCOHAR uuo onea e EiS E AOE EAEE ETES EEEE aio 113 8 2 REGULATE INIT NORMAL MODE eis essesb sabes eek see eaaa ea vo Y Na docentes Le a en SE ESNA POE LE EA epa REDE a iri ais 114 8 3 COMPARISON SHEET INIT RUN CONSOLE MODES eessssseesssssecsssseecssssoccssssecsosssessosssecssssessosssecsosssessssseesssssesso 115 8 4 COMMAND LIST weissvscssiucecaccsuessnsasscedssctussnaindesseccsesacnesdecsssstuavenascusevavateaveacieadsosensbassadteccsanscdeessecswsansasccessiesdvanvesuestes 116 APPENDIX A LINKING TO A DEVELOPMENT PC eseceecceesssssssecccccccccccccssssssecccccecccccccosssssseccccecccecccssssssssscccceceeeesssso 138 APPENDIX B ERAME GROUND tios o aAa SCE To Os sata PORE PRIN A AAACN OR aeia 141 GLOSSARY 0 ida 142 i RP E E EEA SE EEEE 142 Ze INTERNET inoia da T EO ARA AAA E AA AA 142 De PEPE aai idas 142 4 TCP TRA
12. PDS 700 Series User Manual V1 2 Oct 2008 130 8 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 700 DS 700 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 DHCP 20 Disables the DHCP client DHCP Enables the DHCP client Example 3 7188X W 1 36 COM 1 115200 N 8 1 FC 0 C TS 0 DIR C ADocuments and SettingsWisergiiiipds O PDS 700 Series User Manual V1 2 Oct 2008 131 8 4 18 UDP Description This command is used to configure the UDP Search function UDP 1s used to set the action mode for when a PDS 700 DS 700 module receives a UDP search command Effect Immediate Rejects UDP search commands UDP The PDS 700 DS 700 will not reply to the UDP search command and can not be searched again Replies to UDP search commands UDP The PDS 700 DS 700 modules will reply to the UDP Search command and can be searched 2 Default Replies to UDP search commands till a client is connected Example 9 7188X 1 36 COM1 115200 N 8 1 FC 0 CTS 0 DIR C ADocuments and Settings Wseruii ipds PDS 700 Series User Manual V1 2 Oct 2008 132 8 4 19 VER Description This command is used to query the version information f
13. Returns success Related Commands Sec 7 20 AA4S PDS 700 Series User Manual V1 2 Oct 2008 109 7 23 Application Notes 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 AAO command will be recorded as 04 and output commands will be ignored until the status 1s cleared to O by using command AA I Dual Watchdog Operation Dual Watchdog Module Watchdog Host Watchdog The Module Watchdog 1s 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 700 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 700 series with Dual Watchdog will make the control system more reliable and stable PDS 700 Series User Manual V1 2 Oct 2008 110 Reset Status The Reset Status 1s set when
14. 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 1 and the display sequence is shown in the previous diagram The format for the COM Port Baud Rate information 1s follows e 5 Digit LED Group ID 22222 O LED 1 COM Port number o 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 a COM Port value displayed as 1 96 means that the Baud Rate of COMI 9600 bps a value displayed as 2 1152 means that the Baud Rate of COM2 115200 bps The Baud Rates for all PDS 700 COM Ports will be shown in sequence PDS 700 Series User Manual V1 2 Oct 2008 48 The format for the COM Port configuration information 1s 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 O odd parity M mark parity S space parity LED 5 Stop Bit 1 or 2 The format for the connected clients and debugging information is as follows 5 digit LED Group ID 44444 LED 1 will display 1 2 3 4 5 and the module name in sequence When LED 1 is 1 LED 2 3 indicates the number of available free sockets default 1s 26 for P
15. 15 30 2 15 DS 715 5 32 5227 30 2 2 15 30 2 15 PDS 720 PDS 720D 6 32 6226 29 3 9 29 2 14 PDS 721 PDS 721D 7 32 7225 29 3 9 29 2 14 PDS 732 PDS 732D 8 32 8 24 28 4 28 2 14 PDS 734 PDS 734D 8 32 8 24 28 4 7 28 2 14 PDS 742 PDS 742D 8 32 8 24 27 5 5 27 2 13 PDS 742 IP67 8 32 8224 27 5 5 27 2 13 PDS 743 PDS 743D 9 32 0 z 23 27 5 5 22 13 PDS 700 Series User Manual V1 2 Oct 2008 154 PDS 752 PDS 752D i 5 9 32 9223 26 66 4 262 13 vae 0 5 9 32 9223 26 6 4 26 2 13 Do l 5 10 32 10 22 26 6 4 26 2 13 Do a 0 6 10 32 10 22 25 723 25 2 212 Eu 0 8 12 132 12 20 23 9 2 23 2 11 dt 0 8 12 32 13 20 23 9 2 23 2 11 Notes l 7 o 9 CMD Port Command Port TCP port 10000 The CMD Port is used to configure the data ports TCP port 10001 10008 of a 7188E 8000E PDS 700 DS 700 module such as BaudRate and data format etc The data port TCP port 10001 10008 which are mapped to serial ports 1 8 of 7188E 8000E PDS 700 DS 700 1s only used to send receive data The Listening Sockets for 7188E 8000E PDS 700 DS 700 modules Number of Data ports 1 CMD port IO port Web Telnet UDP Search The number of Available Sockets for 7188E 8000E PDS 700 DS 700 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 The maximum number of PCs when usin
16. 255 255 254 H5R 255 255 255 254 PDS 700 Series User Manual V1 2 Oct 2008 128 8 4 13 GATEWAY Description This command is used to query or set the outgoing Gateway address of the subnet Effect After the next reboot Gateway Queries the Gateway address Sets the Gateway address Example 718828 1 36 COM1 115200 N 8 1 FC 0 CTS 0 DIR C ADocuments and Setting sentadas O com323BH gatewauy 1H H 8 255 ATENAY 10 404 8 255 8 4 14 MAC Description This command is used to query the MAC address Effect Setting the address 1s not allowed Mac Queries the MAC address Setting the address is not allowed zm AC HA AD EA 2H0 0H 89 com3z3H PDS 700 Series User Manual V1 2 Oct 2008 129 8 4 15 NAME Description This command is used to query the name of a PDS 700 DS 700 module Effect Setting the name is not allowed name Queries the name of a PDS 700 DS 700 module Example 9 7188X 1 36 COM1 115200 N 8 1 FC 0 CTS 0 DIR C ADocuments and SettingsMIservetiipds7 8 4 16 ALIAS Description This command is used to query or set the alias of a PDS 700 DS 700 module The maximum character length of PDS 700 DS 700 alias name is 16 bytes Effect Immediate alias Queries the alias Sets the alias of a PDS 700 DS 700 module to xxxx Example 9 71882 W 1 36 COM1 115200 N 8 1 FC 0 C TS 0 DIR C ADocuments and Settings Wseruiiipds O
17. AA3eff Sec 7 19 AAAP Sec 7 20 AAAS Sec 7 21 AASP Sec 7 22 AASS PDS 700 Series User Manual V1 2 Oct 2008 100 7 15 AAO Description The function reads the status of the Host Watchdog Syntax AAO CHKJ cr i A delimiter character The address of the module 01 only for PDS 700 m 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 i A delimiter for a valid command A delimiter for an invalid command The address of the module 01 only for PDS 700 04 The Host Watchdog has been set timeout occurred SS The status of the module 00 The Host watchdog status has been cleared or no timeout occurred Use command AAl to clear the status that recorded in EEPROM Example see the AA3eff example in Sec 7 18 Related Commands Sec 7 15 AAO Sec 7 16 AA1 Sec 7 17 AA2 Sec 7 18 A A3eff Sec 7 19 AAAP Sec 7 20 AAAS Sec 7 21 AASP Sec 7 22 AASS PDS 700 Series User Manual V1 2 Oct 2008 101 7 16 AAI Description This function clears the status of the Host Watchdog Syntax AAI CHK cr A delimiter character The address of the module 01 only for PDS 700 The command used to reset the status of the module Response Valid Command AA CHK cr Invalid Command 2AA CHK cr A syntax error or a communication error will r
18. Boolean array format PDS 700 Series User Manual V1 2 Oct 2008 84 7 Virtual I O Commands Command Format Leading Address Command CHK cr Response Format Leading Address Data CHK cr Address 2 character 01 for PDS 700 virtual I O CHK 2 character checksum no checksum for PDS 700 virtual I O cr carriage return 0xOD for ending character of command 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 Example Command string 012 cr Sum of the string 0 1 22Z24h 30h 431 h 32h B7h The checksum 1s B7 h and CHK B7 Command string with checksum 012B7 cr Response string 101300600 cr Sum of the string 0 Il 3 0 0 6 O 0 21h 30h 31h 33h 30h 30h 36h 30h 30h l1ABh The checksum is AB h and CHK AB Response string with checksum 01300600AB cr PDS 700 Series User Manual V1 2 Oct 2008 85 Command ection AAS 7 1 AAG 72 AAC 13 AACn 74 AAGCN 15 HA An AA Data Reads the DI counter 7 11 HA AOOdd gt Sets the Multi channel Output A A Indd Sets the Single Channel Output A NO O2 Note All commands require a carriage return 0x0D for ending character PDS 700 Series User Manual V1 2 Oct 2008 86 7 1 SAA
19. E Digital Input LSB CH 0 MSE CH 3 hh ENENEEEEN Since all DI lines are connected to DO lines the DI read value will be O when the DO sends a high state where as the DI read value will be 1 6 2 Virtual I O Commands Test The DCON protocol is a request reply communication protocol it defines a simple ASCII format protocol such as SAAN AASi6 and AAN etc used to access the PDS 700 and 1 7000 8000 87K 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 700 from the virtualized COM Port mapped to the I O port Only PDS 700 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 PDS 700 Series User Manual V1 2 Oct 2008 75 1 Select Terminal gt gt DCON Command Line from the DCON Utility menu ri DCON UTILITY YER 4501 Tha E5n 4 Amt T 7nnn gn f module File COM Port Search Eun Terminal Help a x EX I em T Start Format 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 FJ DCON Command Terminal Module Contig Baud Rate 3600 CheckSum Protocol Disable Enable DCON MATU Timeout 4 AOU Parity Option N
20. PDS 700 DS 700 module Set IP1 IP2 set a range of IP address as a starting and ending point The setting allows clients who s IP address 1s included in the range are able to connect to the PDS 700 DS 700 module Set IP1 Mask set the IP filter range as IP1 amp Mask O IP1 amp Mask Mask Only clients who s IP address is included in the range are able to connect to the PDS 700 DS 700 module For instance IP 10 0 9 5 mask 255 255 255 0 IP 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 255 are able to connect to the PDS 700 DS 700 module PDS 700 Series User Manual V1 2 Oct 2008 62 Click the Update button to validate the settings Save ta EEPROM LI from EEPROM A TA 720 Setup Paga idu rirsott interfert episrer hi Ct fee Foeariet o Dee Heb Eet i P g an t a ie A sata leet E rt 2 hem HDD B _PDS 720 COM PORT Setup Page COM Port Setting saved In EEPROM COM 1 9600 8 N 1 FTL 1 DEDT 0 0 EndChar 00 COM 2 9600 8 M 1 FTL 1 080DT 0 0 EndChar 00 Port Ae pre Pany bee Trig Level OBOT COAT 3600 w 8 w Mone w E ma Apply current setting COM 1 9600 8 N 1 FTL 1 DBDT 0 3 EndChare00 COM2 9500 8 M 1 FTL 1 DBDT 0 3 EndChars00 New ad E O Mo Transparent Mode M
21. Port The default Command Port 1s 10000 Web Server Telnet Server O disabled 1 enabled Ping Gateway at start O disabled 1 enabled If the setting 1s 1 enabled the PDS 700 DS 700 module will send a ping packet to the gateway during the power on stage It is used to inform the gateway that a PDS 700 DS 700 itself has joined the network TCP ACK Delay ms default 50 PDS 700 DS 700 does not want to send an empty ACK followed by a TCP data packet Ims later every time So it delays a little TCP ACK Delay and then can combine the ACK and data packet into one This efficiency reduces the number of packets and reduces network loadings PDS 700 Series User Manual V1 2 Oct 2008 60 Broadcast 2 receive UDP broadcast packets O reject UDP broadcast packets Connection WDT timeout ms default O disabled min 10000 If the PDS 700 DS 700 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 amp Network WDT timeout ms O disabled min 30000 If the PDS 700 DS 700 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 co
22. Protocol Option mw DCUM Modbus ATU Modbus 4501 Checksum Option e Disable Enable Party Option Eno reen ros Cancel DE amp If your PDS 700 is not equipped with digital I O lines the DCON Utility will return an Open COM error message PDS 700 Series User Manual V1 2 Oct 2008 13 8 Click the E button to start searching for the PDS 700 module d DCON UTILITY YER 450 The Found Out I 700078000 mo File COM Port search Eun Terminal Help so amp SS Fama Sta 9 When the PDS 700 module is found and is displayed in the DCON Utility click the rJ button to stop the search r1 DCON UTILITY VEER 45U Searching For Modules File COM Port Search Eun Terminal Help ali M LAJH Your PDS 700 module LE Ind Address Baudrate Format St Address Baudrate RES POS ag 1 1 3601 OESTE 5 1 10 Click on the name of your PDS 700 module d DCON UTILITY YER 450 The Found Qut I O module File COM Port Search Eun Terminal Help san ies Baias Checksum Format St 111 36011 Disable 0 1 a PDS 700 Series User Manual V1 2 Oct 2008 74 11 Click the Digital Output icon to change the high low status of the DO Fl Configuration for PDS 734 Module Version A100 PDS 734 Digital Output LSB EH 0 Configuration Setting WO Power On Value D O Safe Value Deon H n Set Value set Value E en gl Read value Read value Disabe
23. 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 700 DS 700 will determine that the data transfer is over and return to process next tasks PDS 700 Series User Manual V1 2 Oct 2008 64 Other settings MO mode Other Setting Current New MO Transparent Mode MO Transparent Mode A M iain Moda MO Transparent Mode Multi echo mode Condition 1 One client sends a request to the PDS 700 DS 700 module to access each device The PDS 700 DS 700 module echoes the data from each device to each connected client PDS 700 Series User Manual V1 2 Oct 2008 65 Condition 2 No clients send any requests to the PDS 700 DS 700 module The PDS 700 DS 700 module echoes data from the devices to each connected client T ON ES rob Response 8 MI Slave Mode Single echo mode Condition 1 One client sends a request to the PDS 700 DS 700 module to access the other devices The PDS 700 DS 700 module echoes data from the devices to the client that requested the service y ferem gy PDS 700 Series User Manual V1 2 Oct 2008 66 Condition 2 No clients send any requests to the PDS 700 DS 700 module The PDS 700 DS 700 module doesn t echo any data from the devices to any client
24. download port PDS 700 COM2 O RS 485 Data Data self tuner internal ASIC Non isolation Communication Speed 115200 bps max DS 712 COMI e RS 232 TXD RXD RTS CTS GND Non isolation Communication Speed 115200 bps max DS 715 COMI RS 422 TXD TXD RXD RXD RS 485 D2 D2 Isolation Communication Speed 115200 bps max Display O 7 segment LED 5 digit for display versions Ethernet e 10 100 Base TX Auto negotiating auto MDI MDIX LED indicator Power Power Requirements 10 30 Vpc non regulated for PDS 700 12 48 V pc non regulated for DS 700 PDS 742 IP67 PDS 782 25 Power Consumption 2 0 W for the PDS 700 DS 700 series 2 7 W for the PDS 700D series DIO e D I 35V 30V max e D O 100 mA 30 V max PDS 700 Series User Manual V1 2 Oct 2008 16 PDS 700 Front View Removable Terminal DI DO Channels Block for easy wiring Wiring information Serial Ports LED Indicator DIN Rail for easy mounting Robust insulated and fire retardant case 7 Segment LED ic MICE Wiring information RJ 45 Jack for REI 2 10 100M Ethernet COM2 RS 485 COMI RS 232 PDS 700 Series User Manual V1 2 Oct 2008 17 PDS 700 Rear ViewP Robust insulated and fire retardant case RoHS Compliance for PCB device Frame Ground DIN Rail Mounting CE Certification for PCB device Initial Mode Switch Frame Ground DIN R
25. poo PWR PWR PWR GND GND GND DI3 DI3 DI3 DI2 DI2 DI2 Dit Dit DI1 DIO DIO DIO 8 TXD3 8 TXD3 3 TXD3 RXD3 RXD3 RXD3 O TXD4 O TXD4 Q TXD4 OE RXD4 10 RXD4 0 E RXD4 OE RXD4 Connect DO O to DIO DO 1 to DI 1 DO 2 to DI 2 and DO 3 to DI 3 PDS 700 Series User Manual V1 2 Oct 2008 71 4 Install the DCON Utility v4 5 0 or later The DCON Utility 1s located at CDANapdosidriveridcon utility http ftp 1cpdas com pub cd 8000cd napdos driver dcon_utility setup 5 Run the DCON Utility and click the COM Port option on the toolbar E DCON UTILITY YER450 Searching for I 7000 8000 Mo A File COM Port Port Search Run Terminal Help SVAG E Module Address Baudrate Checksum Format Ste 6 Check the Virtual COM Port number shown in the Port I O field in the VxComm Utility Refer to Chapter 4 for more details Virtual COM Baudrate Portl O COM3 Port 1 COMA Dynamic Port COM Dynamic Port3 COMB Dynamic Port4 COMP Dynamic PDS 700 Series User Manual V1 2 Oct 2008 72 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 amp Select the COM Port and Band Rate COM to search Time Out Setting CDM3 m ms Baud Hate Option S600 pM se400 19200 Ty 3600 ago 2400 1200 Select All Clear
26. port number is called a socket PDS 700 Series User Manual V1 2 Oct 2008 144 16 Clients and Servers The client server paradigm uses the direction of initiation to categorize whether a program 1s a client or server In general an application program that initiates peer to peer communication 1s 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 require 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 17 Firmware Firmware is an alterable program located or stored in the semi permanent storage area e g ROM EEPROM or Flash memory PDS 700 Series User Manual V1 2 Oct 2008 145 FAQ 1 How to access the remote PDS 700 DS 700 that placed behind an NAT or firewall AT A p us Incoming Connections Modem Client PC Ethernet HUB PDS 700 The remote site must have a NAT or a router supports NAT server NAT stands for Network Address Translator
27. such as D L D O A D D A Counter and Frequency Measurement etc The 1 7000 series was originally designed to be used with RS 485 networks so COM on the PDS 700 can be used to link to I 7000 series modules By using VxComm technology programs that on the host PC support serial devices can be upgraded from a RS 485 network to an Ethernet network without requiring any modifications to the program Refer to Sec 2 1 for more information Built in DIO The DCON protocol is a request reply communication Protocol that is defined using a simple ASCII format such as SAAN AASi6 AAN etc and is used to access PDS 700 DS 700 and 1 7000 8000 87k series I O modules Protoco ASCII Command T The DCON protocol command set for the PDS 700 DS 700 is introduced in Sec 7 The protocol _ ne allows access the built in I O through the virtual COM Ports ma to the Port I O of the PDS 700 DS 700 in the VxComm Utility LAFE Series 7 8000 Series PDS 700 Series User Manual V1 2 Oct 2008 11 2 3 Linking 1 7000 Series Modules to an Ethernet Network The 1 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 700 DS 700 enables I 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 expands RS 485 applications to the who
28. the 5 digit 7 SEG LED Data will be shown as follows Connected clients and debugging information The IP address is 192 168 255 1 fossosscccsssossscesosesesesecesccesoocsccosccesoocscoosceesocccosocccesoccscesosecesscecosceececcceseoocceoccecesccscecocceceocceceocecesceecececeeoececececeeeccceeececceeccediEecccecccceeccccccceosccesoccccsocccccccccece COMB data 8 odd parity stop 1 COM data 7 even parity stop 2 COMI data 8 no parity Stop 1 eeoccosecceccoscccsescosccocecesseocecesecooseocsososcosecceccoscecceseosceosccsescososesecosecccesoccceeecececeosecsceceececceceeceececceocecceccecooscccecececececeeceeedlbeeeccecceccececccceccececcecsocccccccececccct Poecosocoseeeesscoscecsesosecoceccescoosececeooseccccceccocseccsecoccecceeceeceececeeceeccececccceeeeccoocceecececeeccedlibeeccecececceccececceccecccceecccccic COMI Baud Rate 9600 COM Baud Rate 9600 Information related to the PDS 700 module can be classified into 4 main areas Group ID 11111 The IP address information for the PDS 700 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 700 DS 700 The format for the PDS 700 IP address information 1s as follows 5 Digit LED Group ID 11111 LED 1 indicator which can be either 1 2 3 or 4 LED 2 5 IP address TCP command port Default 10000 DHCP Setting disabled 0
29. the VS pin Power on the module and double check the configuration Step 3 The red LED on the PDS 700 DS 700 is used to indicate the following e gt ON e Xt OFF Unit gt 0 5 second The PDS 700 DS 700 contains either Xserver or VxComm as default when shipped that 1s in the OS mode If the LED 1s always ON take the following steps Power off the module Connect the INIT pin to the VS pin Power on the module and double check the configuration Step 4 Power off the module PDS 700 Series User Manual V1 2 Oct 2008 50 4 Setting up the PDS 700 DS 700 module Step 1 Connect the PDS 700 DS 700 module to the Ethernet Network Before connecting the PDS 700 DS 700 module to an Ethernet network the following Items are needed 1 Power Supply 10 30 V pc for PDS 700 12 48 V pc for DS 700 PDS 742 IP67 PDS 782 25 eg DP 665 http www icpdas com products Accessories power_supply power_list htm 2 Hub eg NS 205 http www icpdas com products S witch 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 700 DS 700 module to the Ethe
30. 08 11 26 82 18 60461 2 19449 BBHF 7 44B HAAL Total File number is 2 Free space 375599 bytes PhG 7186E8 UDP gt autoexec hat NS Save 0 com323H zaue H Backup ini file H com323H lnaad ress ALT E to download file A Load vc6 3230 exe Input filename ucb 323BH exe Ucaom323H quit PhC 7186E2 UDP gt dir H ucb 323H exe H5 13 28H8 11 16 84 83BH39I1445F 18HH2 6600 9447 BaP il autoexec bat 43 4 2068 11 26 82 18 0061 2 19449 HBHBE 97 44B HBH1 2 Such 32308 exe a 11 16 84 83039 1445F 1244D ABB A893 HRA uPAC L86 EA UDP gt x When save O 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 1s selected specified PDS 700 Series User Manual V1 2 Oct 2008 134 21 2 71188XW 1 36 C 0M1 115200 N 8 1 FC 0 C T3 0 DIR Documents and Setting sera ipds PhGC 7186E2 UDP gt dir Bovch 323H exe 05 13 2008 11 16 87 83839 1445F 18882 6666 9447 BABF ljautoexec hat 09 04 2008 11 26 82 18 6001 2 19449 BAAF 7244B Bibi otal File number is 2 Free space 575579 bytes PAC 7186E2_UDP gt autoexec hat com3230 gt save 1 Pd Save 1 Backup ini file 1 caom323H lnaad save file autaexec hat ress ALT E to download filet Input filename ucb 323H exe Ps Load vc6 3230 exe 1H 765HHH seconds ranzfer time is com323HB quit ommand not supportted f
31. 485 RS 232 RS 232 RS 232 5 wire 2 wire 2 wire 2 wire 2 wire RS 232 RS 485 RS 485 RS 485 RS 485 5 wire 2 wire 3 wire 3 wire 3 wire 3 wire RS 232 RS 485 RS 232 RS 232 RS 232 RS 232 RS 232 2 wire 2 wire 2 wire 2 wire 2 wire 2 wire RS 485 RS 485 RS 485 RS 485 RS 485 RS 485 RS 485 5 wire 2 wire 3 wire 3 wire 3 wire 3 wire 3 wire 3 wire RS 232 RS 485 RS 232 RS 232 RS 232 RS 232 RS 232 RS 232 5 wire 2 wire 3 wire 3 wire 3 wire 3 wire 3 wire 3 wire RS 232 RS 485 RS 232 RS 232 RS 232 RS 232 RS 232 RS 232 1 2 Data Data with Self Tuner inside 4 wire RS 422 3 wire RS 232 TxD TxD RxD RxD RxD TxD GND RxD TxD CTS RTS GND S wire RS 232 9 wire RS 232 RxD TxD CTS RTS DSR DTR DCD GND RxD TxD CTS RTS DSR DTR DCD RI GND PDS 700 Series User Manual V1 2 Oct 2008 3 4 Pin Assignments Pin Assignments for PDS 720 720D models PDS 720D J Ethar it 187180 Basi TX k k Only D version modules have a 5 digit 7 SEG LED PDS 700 Series User Manual V1 2 Oct 2008 21 Pin Name Description CTS COMI CTS pin RS 232 RTS COMI RTS pin RS 232 RXD COMI RXD pin RS 232 TXD1 COMI TXD pin RS 232 INIT Initialization pin for enabling disabling AUTOEXEC BAT D2 COM Data pin RS 485 D2 COM Data pin RS 485 VS V Pin for the power supply 10 30 Vpc unregulated GND GND Pin for the power supply COMI GN
32. Alias Name PDS 1F Web Read Only 1 C Set New Password Confirm New Password 3 Check that the current the Web Read Only 0 and then click Logout to complete the operation PDS 20 Misc Setup Page Logout Misc Setting Current New Alias Name PDS 1F Web Read Only 0 Set New Password Confirm New Password UPDATE 4 User can restore PDS 700 DS 700 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 700 DS 700 to factory setting It requires rebooting the PDS 700 DS 700 for loading new configuration includes default password PDS 700 Series User Manual V1 2 Oct 2008 70 6 Virtual I O PDS 700 series modules provide digital I O lines including PDS 721 721D PDS 732 732D PDS 734 734D PDS 743 743D PDS 762 762D The DI is O 30 Vpc 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 6 1 Testing the Virtual I O 1 Connect the PDS 700 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 700 module 3 Connect the DO n to the DI n For example the PDS 734 with a 4 port DI DO 23 DOS fog DOB 23 23 DOS DO2 DO2 DO2 DO1 DO DO1 poo poo
33. Comm Utility Restarting Driver A Click the Restart Driver button to start the driver 55 Step4 Testing your PDS 700 1 Connect the RXDI and the TXDI of the PDS 700 module as shown in the diagram in Stepl 2 Right click Port 1 and then choose the Open COM Port option ps Configure Server Configure Port xComm Servers Port Virtual COM Baudrate PDs F82 10 0 8 20 Portl O Reserved NJA E n Ea Port COM3 EConfigure Por Open COM Port Port 4 COME Open TCP Port s Port 5 COME rom Port 6 COM Dynamic Port f COMO Dynamic Port 8 COMS Dynamic 3 Check that the configuration of the COM Port is correct and then click the Open COM button Configuration setting ICP DAS Co Ltd COM Po Baudrate Parity Bit None gt Open COM Stop Bits 1 PDS 700 Series User Manual V1 2 Oct 2008 56 4 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 gt COM3 Terminal 1 0 Sep 06 2007 send 01M Hex 24303140 Pee U COM3 Terminal 1 0 Sep 06 2007 Sena 01M Send Hex 24 80 31 4D Recelvas 7 2430 31 4D 01M The response is displayed Status CHR Complete Click Send to send a string to your PDS 700 module Send T Send Inte Q Clear Recevied b Made f Hex Text C Hex C Text
34. Connection Broken Time ms in the server options For more details refer to the Adding a 7188E 8000E PDS 700 DS 700 server and configuring the VxComm Driver section of the VxComm Driver Utility User Manual PDS 700 Series User Manual V1 2 Oct 2008 148 5 Why doesn t the VxComm Driver PC receive data from the 7188E 8000E PDS 700 DS 700 module Make sure that the 7188E 8000E PDS 700 DS 700 module is operating in mode O MO 7188E 8000E PDS 700 DS 700 module has the following two communication modes Transparent Mode Multi echo shared In this mode data 1s echoed from the COM Ports of the MU 7188E 8000E PDS 700 DS 700 module to each client that is connected to the 7188E 8000E PDS 700 DS 700 module Slave Mode Single echo Non Shared MI In this mode data 1s echoed from the COM Ports of the Version 2 6 12 and 7188E 8000E PDS 700 DS 700 module to the specific client above that requested the service In M1 mode if the client does not send a request to the COM port of the 7188E 8000E PDS 700 DS 700 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 PDS 700 Series User
35. D 1 10 100 Base TX MO oco 10 ta BW NN PDS 700 Series User Manual V1 2 Oct 2008 PDS 721 721D Pin Assignments ICPron ET PDS 21D Only D version modules have a 5 digit 7 SEG LED PDS 700 Series User Manual V1 2 Oct 2008 23 Description CTS COMI CTS pin RS 232 RTS COMI RTS pin RS 232 RXDI COMI RXD pin RS 232 TXDI COMI TXD pin RS 232 Initialization pin for enabling disabling AUTOEXEC BAT 6 D COM2 Data pin RS 485 COM2 Data pin RS 485 V Pin for the power supply 10 30 V pc unregulated 9 GND GND Pin for the power supply COM1 GND 10 DO6 Digital Output channel 6 100 mA 30 V max 11 Digital Output channel 5 100 mA 30 V max Digital Output channel 4 100 mA 30 V max Digital Output channel 3 100 mA 30 V max 14 Digital Output channel 2 100 mA 30 V max Digital Output channel 1 100 mA 30 V max Digital Output channel 0 100 mA 30 V max Power Input for Digital Output Digital Input channel 5 3 5 V 30 V Digital Input channel 4 3 5 V 30 V Digital Input channel 3 3 5 V 30 V Digital Input channel 2 3 5 V 30 V 22 Digital Input channel 1 3 5 V 30 V Digital Input channel 0 3 5 V 30 V E1 10 100 Base TX PDS 700 Series User Manual V1 2 Oct 2008 PDS 732 732D Pin Assignments CPron PDS 732D J i l i Only D version modules have a 5 digit 7 SEG LED PDS 700 Series User Manual V1 2 Oct 2008 25
36. DS 700 and LED 4 3 shows the number of sockets being used by clients default 1s 0 e g 12600 O When LED 1 is 2 LED 2 5 indicates how many times the PDS 700 has been reset e g 20002 The PDS 700 has been reset 2 times When LED 1 is 3 the display indicates how many Ethernet packets are currently being received by the PDS 700 When LED 1 is 4 the display indicates that the status of the internal Flag used to allow Ethernet packets to be sent 1s O or 1 When LED 1 is 5 the display indicates the number of times the Ethernet chip has been reset O Module Name dS 7xx When the PDS 700 is first powered up or if it has just been reset the reset state 1 If any client connects to the PDS 700 the reset state will be changed to O 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 1s reduced to O then no additional clients will be able to link to the PDS 700 The default number of free sockets for the PDS 700 1s 26 Therefore the server VxComm firmware or Xserver firmware allows 26 connections to be linked to a single PDS 700 Each client program occupies at least 2 connections for a single serial port one connection for data and another for commands PDS 700 Series User Manual V1 2 Oct 2008 49 If the 5 digit LEDs do not display the above detail take the following steps Power off the module Connect the INIT pin to
37. Description COMI CTS pin RS 232 COMI RTS pin RS 232 COMI RXD pin RS 232 TXDI COMI TXD pin RS 232 INIT Initialization pin for enabling disabling AUTOEXEC BAT 6 ns COM Data pin RS 485 COM Data pin RS 485 V pin for the power supply 10 30 V pc unregulated 9 GND GND pin for the power supply COMI GND COM3 CTS pin RS 232 COMG RTS pin RS 232 COM3 TXD pin RS 232 COM3 RXD pin RS 232 Digital Input channel 0 3 5 V 30 V Digital Input channel 1 3 5 V 30 V Digital Input channel 2 3 5 V 30 V Digital Input channel 3 3 5 V 30 V 18 GND pin for the Digital Output COM3 GND Power Input for Digital Output Digital Output channel 0 100 mA 30 V max Digital Output channel 1 100 mA 30 V max 22 Digital Output channel 2 100 mA 30 V max Digital Output channel 3 100 mA 30 V max El 10 100 Base TX PDS 700 Series User Manual V1 2 Oct 2008 PDS 734 734D Pin Assignments Icon PDS 734D i 3 33 ETE i FILE manie Device 5 R Vs BIGND Y Only D version modules have a 5 digit 7 SEG LED PDS 700 Series User Manual V1 2 Oct 2008 21 Description COMI CTS pin RS 232 COMI RTS pin RS 232 COMI RXD pin RS 232 TXDI COMI TXD pin RS 232 INIT Initialization pin for enabling disabling AUTOEXEC BAT 6 De COM Data pin RS 485 COM Data pin RS 485 V pin for the power supply 10 30 V pc unregulated 9 GND GND pin for the p
38. 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 Return 0 noeror Parameters COM Port number 1 255 the send string 1024 bytes maximum without a zero 0x0D character szResult the result string recevied 1024 bytes maximum with one zero or OxOD terminal character timeout for receiving the result string Unit ms wChksum O gt add one OxOD byte to the end of the szCmd lt gt 0 gt add two check sum bytes and one OxOD byte to the end of the szCmd return a reference number to identify the performance PDS 700 Series User Manual V1 2 Oct 2008 81 DCON Write DO Description This function sends a group of digital output data to the PDS 700 module syntax DCON Write DO unsigned char cComPort short 1Address short Slot short 1DO TotalCh unsigned long IDO Valve short 1CheckSum short 1TimeOQut Return 0 noerror Others error codes Parameters cComPort COM Port number 1 255 Address Module address 1 for the PDS 700 module iSlot for the PDS 700 module iDO TotalCh total DO channel count on the PDS 700 module IDO Value digital output data iCheckSum 0 disabled or 1 enabled iTimeout timeout setting default 100 unit ms PDS 700 Series User Manual V1 2 Oct 2008 82 DCON Write DO Bit Des
39. Icon PDS 52D CTS1 Ti c RTS1 Q 101 00M lid ask X RXD1 TxD1 INIT D2 D2 RjVs Only D version modules have a 5 digit 7 SEG LED PDS 700 Series User Manual V1 2 Oct 2008 33 Description COMI CTS pin RS 232 COMI RTS pin RS 232 COMI RXD pin RS 232 COMI TXD pin RS 232 Initialization pin for enabling disabling AUTOEXEC BAT 6 De COM2 Data pin RS 485 COM2 Data pin RS 485 8 yss V pin for the power supply 10 30 V pc unregulated GND pin for the power supply COMI GND COM3 CTS pin RS 232 COMG RTS pin RS 232 COM3 TXD pin RS 232 COM3 RXD pin RS 232 COM3 COM4 GND pin RS 232 COMA CTS pin RS 232 COM4 RTS pin RS 232 COM4 TXD pin RS 232 COM4 RXD pin RS 232 COM4 COMS GND pin RS 232 COMS CTS pin RS 232 COMS RTS pin RS 232 COMS TXD pin RS 232 COMS RXD pin RS 232 E1 10 100 Base TX PDS 700 Series User Manual V1 2 Oct 2008 34 PDS 755 755D Pin Assignments e DATA Peon PDS 735D 101 00M CTS1 RTS1 RXD1 TXD1 INIT D2 D2 R Vs B GND 8 ret 12 120 Eis LE A LIT LOM LIE Jak Pp El Only D version modules have a 5 digit 7 SEG LED PDS 700 Series User Manual V1 2 Oct 2008 Q DATA DATA O DATA E DATA O DATA DATA 35 Description COMI CTS pin RS 232 COMI RTS pin RS 232 COMI RXD pin RS 232 COMI TXD pin RS 232 Initialization pin for enabl
40. M 2 9600 8 M 1 FTL 1 DBDT 0 3 EndChar 00 O Mo Transpare lO M1 Slave Mode PDS 700 Series User Manual V1 2 Oct 2008 9 2 Typical Applications for the PDS 700 DS 700 2 1 RS 232 485 422 Device Networking Using Virtual COM Technology The PDS 700 DS 700 series 1s designed to link RS 232 485 422 devices to an Ethernet network The VxComm utility allows the built in PDS 700 DS 700 COM Port to be virtualized to a standard COM Port of the host PC as shown below The original COM1 2 ti cR of the host PC Ed COM1 2 of the PDS Hub Ethernet 10 h COM 1 COM2 POS 700 amp 4 700 is mapped to Ez 8 8 COM3 4 of the host PC 3 meen i COMI 2 of the PDS y 700 is mapped to ae PDS 700 COMS5 6 of the host PC IP 23 T 000 201 ODO FF COM 255 COM 256 CO hd PDS 700 di 8e 8 SEA 7000 201 E xComm Driver In the configuration above Meter 1 is virtualized to link to COMG of the host PC Therefore a program original designed for the MS COMM standard can access the meter without any modification PDS 700 Series User Manual V1 2 Oct 2008 10 2 2 Ethernet I O Applications The PDS series provides 2 types of Ethernet I O solutions 1 Linking to I 7000 series modules 2 Built in DIO if the module supports the DIO function Linking to 1 7000 series modules The I 7000 series provides a variety of I O operations
41. M gt s0ckettimeout A Socket Timeout H PDS 700 Series User Manual V1 2 Oct 2008 124 8 4 8 M Description This command is used to query or set the echo mode Effect Immediate Description Queries the echo mode settings Sets the multi echo mode to enable M 29 When set to multi echo mode the PDS 700 DS 700 echoes data from a device to all clients that are connected sets the single echo mode to enable M 1 When set to single echo mode the PDS 700 DS 700 echoes data from a device to the client that requested the service Piu PDS 700 Series User Manual V1 2 Oct 2008 125 8 4 9 EchoCmdNo Description This command is used to query or set the EchoCmdNo parameter The EchoCmdNo parameter is used to set whether the PDS 700 DS 700 prefixes the Virtual COM command to the corresponding response Virtual COM commands are used to configure a PDS 700 DS 700 through TCP port 10000 Effect Immediate Command EchoCmdNo Queries the EchoCmdNo settings If EchoCmdNo 0 a Virtual COM command number EchoCmdN 0 will not be prefixed to the corresponding response If EchoCmdNo 1 a Virtual COM command number EchoCmdNo 1 will be prefixed to the corresponding response Example 7188X W 1 36 COM1 115200 8 8 1 FC 0 CTS 0 DIR CADocumenis and SettingsWIserumilgwds7 com3234 gt echocmdno Ec haCmdHno H com323H echocmdno 1 Ec ha Gmd Hn i com3234 gt echo
42. Manual V1 2 Oct 2008 149 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 A Traditional Time Used y New Time Used C R amp 232 485 422 ransmit Time TCP Transmit Time R5 232 485 422 Transmit Time B cr Transmit Time Traditional time used RS 232 485 422 transmit time C New time used Internet Ethernet transmit time RS 232 485 422 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 PDS 700 Series User Manual V1 2 Oct 2008 150 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
43. NSMISSION CONTROL PROTOCOL nai dls 142 du UDP USER DATAGRAM PROTOCOL aiii 142 Oo GATEWAY ERN 142 T AP INIERNEPPROTOCOL ADDRESS e on dus ee dea ao lee aa ae aaa a a a a a aaa a aeo eaaa 143 5 MAC MEDIA ACCESS CONTROL ADDRESS cin 143 di SUBNET IVMASK addict 143 10 ARP ADDRESS RESOLUTION PROTOCOL ano Eoi Le obe ede 143 11 RARP REVERSE ADDRESS RESOLUTION PROTOCOL eessseessseessseessssesossessssesossesoseessseessseessssesossesoseessseessssessseo 144 12 ICMP INTERNET CONTROL MESSAGES PROTOCOL cccsssccccssscccsssscccscsccccsccccccssccccsscccccsccccccssscceesccccescccceescccoes 144 13 A ouadedaa cas 144 14 PACKE TS iii AAA AA pedia 144 15 A O 144 16 CLIENTS AND SERVERS RP anais 145 17 PIRMWAR Einicio 145 Db E O 146 1 HOW TO ACCESS THE REMOTE PDS 700 DS 700 THAT PLACED BEHIND AN NAT OR FIREWALL cccceeeeeeeeeeeeoo 146 2 HOW TO OPEN A VIRTUAL COM PORT THAT LARGER THAN COM 9 BY CALLING CREATEFILE WIN32 API 147 3 DOES VXCOMM DRIVER PC v2 00 WORK WITH VXCOMM SERVER V2 6 002 ccccssssssccccssssscccccsssccccccsssccccecsssces 148 4 DOES VXCOMM DRIVER PC SUPPORT AUTO RECONNECTION AFTER FIXING A NETWORK BREAK 148 5 WHY DOESN T THE VXCOMM DRIVER PC RECEIVE DATA FROM THE 7188E 8000E PDS 700 DS 700 MODULE 149 6 DOES THE TRANSMISSION SPEED BECOME FASTER WHEN THE SERIAL DEVICE WORKING WITH SERIAL TO ETHERNET DEVICE SERVERS 25 ecc
44. OR THE PDS 700 DS 700 ccccccscccsccccccccccccccccccccccccccccccccccccccccccccccccccccccccecces 10 2 1 RS 232 485 422 DEVICE NETWORKING ee eee eee e eee peo eee pae tene e pae epe S eee e pee epe e aee opea esee ea ob E Gea E eee eee R eaae ae epa es oae eo see eee dee 10 2 2 ETHERNET VO APPLICATION Sari oa 11 2 3 LINKING 1 7000 SERIES MODULES TO AN ETHERNET NETWORK ccccccccccccccccccccccccccccccccccccccccccccccccccccccccceccccceess 12 2 4 CONFIGURABLE ETHERNET DATA LOGGER ees ecce oee eua eve soe e dave eee e eee a Fev ve aee V e VER Sc acusa Eve RUE 12 3 HARDWAREJINEORMA TIC ns dvkececcaeekesduvdes cecus ta 15 3 1 EBA WEE Uc T nda ruas 15 3 2 SPECIFICATIONS nvosedienuvisssvtsqeecsbxuet Ad dci 15 3 3 PDS 700 DS 700 SELECTION GUIDE Sis des iisiotasiaeia ls situada Diu do dvi Coe oe id 20 3 4 PIN ASSIGNMENTS ias da dd dd 21 3 5 PDS 700 WIRING CONNECTIONS acid 43 3 6 DIMENSIONS AND MOUNTING 4 ves eve sue ea eee goto eo e PER NP e aen Va a ave Fe pas nd e eee esae o veo PER ERN Un 45 3 7 PDS 700 DS 700 SERIES DIAGNOSTICS ccccccccsscccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccs 47 4 SETTING UP THE PDS 700 DS 700 MODULE cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccecees 51 5 CONFIGURATION WITH WEB BROWSER cccccccccccccccccccccccccc
45. PDS 700 DS 700 Series User Manual PDS 700 DS 700 Series New Features 1 Virtual COM Technology Lu 2 Virtual I O Technology 3 Web server Technology 4 MiniOS7 amp Xserver Inside 5 Programmable Solution Create New Applications 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 1s 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 AII rights are reserved Trademark The names used for identification only may be registered trademarks of their respective companies PDS 700 Series User Manual V1 2 Oct 2008 1 Table of Contents 1 INTRODUCTION e A aR 6 1 1 WHY ETHERNET SOLUTIONS Jesse see eve cervo epe pie die ea VUE CAS Dex ee SEV Eo eb ea eeu ee Sues 6 1 2 WHY VXCOMNECTLECHNOLOGY ses 7 1 3 WHY WEB SERVER TECHNOLOGY csi ce v evebe vk a eve uae bea bust sevtds eb eed bvvVacve lesu eveluVtensub cs Ue dba ud co td 9 2 TYPICAL APPLICATIONS F
46. S Description This function reads the reset status Syntax SAAS CHK cr A delimiter character The address of the module 01 only for PDS 700 A command for reading the status Response Valid Command AAS CHK cr Invalid Command 2AA CHK cr There will be no response 1f there 1s 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 700 The reset status The Module has been reset and the status was cleared to O after using this command O the module has never been reset sois Reads the reset status Returns read for the first time sois 1 Reads the reset status Returns that no reset has occurred Related Topics Sec Reset Status PDS 700 Series User Manual V1 2 Oct 2008 97 7 2 SAA6 Description This function reads the status of the digital I O channels Syntax SAA6 CHK cr A delimiter character The address of the module 01 only for PDS 700 e A command for reading the digital I O status Response Valid Command ddff00 CHK cr Invalid Command 2AA CHK cr A Syntax error or a communication error will result in no response ao A delimiter for valid command 7 A delimiter for invalid command The address of the module 01 only for PDS 700 aa The current status of the digital output channels The status of the digital input channel Exa
47. TCP Transmit Time L New Time Used Data Acquisition and Compression CP Transmit Time A C RS 232 485 422 A Device A gt gt 49 9 fe Traditional time used RS 232 485 422 transmit time C n modules Internet Ethernet transmit time A B C PDS 700 Series User Manual V1 2 Oct 2008 151 7 Why does the 7188E 8000E PDS 700 DS 700 module fail on a public Internet connection The default IP address of the 7188E 8000E PDS 700 DS 700 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 1s the reason why the 7188E 8000E PDS 700 DS 700 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 5 prefix 172 106 0 0 172 51 255 255 172 10 12 prefix 192 168 0 0 192 166 255 255 192 168 16 prefix The 7188E 8000E PDS 700 DS 700 module can operate on the Internet using a legal public IP address This address can be obtained from your ISP or network administrator Internet PDS 700 Series User Manual V1 2 Oct 2008 152 A private internet client may communicate with a public Internet server 7188E 8000E PDS 700 DS 700 modules only if the NAT service for the client is available Private IP Address Public IP Address In ternet Private IP Address Public IP Add
48. V1 2 Oct 2008 41 DS 715 Pin Assignments SBP ZzZt SH LINOD F G NIA TX D N A N A N A INIT N A N A R Vs B GND 9 TX D RA RX COM1 RS 422 485 SV 560006005680 E1 10 100 Base TX PDS 700 Series User Manual V1 2 Oct 2008 42 3 5 PDS 700 Wiring Connections COMI The COMI GND signal is shared with pin9 GND CA 0910 Digital Input Input Type DI value as O Dl value as 1 DIx Relay Contact GND D Ix GND DIx Open Collector GND B pe PDS 700 PDS 700 PDS 700 Series User Manual V1 2 Oct 2008 43 Digital Output Input Type Drive Relay Resistance Load OM State OFF State DO command as 1 DO commandas O DO PWR DO PWR DOx GND DOPWR DOx GND PDS 700 PDS 700 Series User Manual V1 2 Oct 2008 44 3 6 Dimensions and Mounting TP I Ef Top View a E e di Bottom View Front View rura Pe mm mr o HE ELT EM TNI Lr q Lu e e i Edo Unit mm Side View Back View PDS 700 Series User Manual V1 2 Oct 2008 45 3 7 PDS 700 DS 700 series Diagnostics Indicator LED VxComm running On Off Xserver running On Off Step 1 Apply power Vs GND to the PDS 700 DS 700 PDS 700 power supply can range from 10 V 30 V DS 700 PDS 742 IP67 PDS 782 25 power supply can range from 12 V 48 V Step 2 Check
49. ae inser EEANN EAEE aede nd as HIERRO NETTE NN VERO anta nica Dela VEA VES ERN iia 150 7 WHY DOES THE 7188E 8000E PDS 700 DS 700 MODULE FAIL ON A PUBLIC INTERNET CONNECTION 152 8 CAN I USE THE SETCOMMSTATE API TO CHANGES THE BAUD RATE DATA FORMAT SETTINGS OF A VIRTUAL COMPORT orc S 154 9 How MANY PCS CAN BE CONNECTED TO A SINGLE 7188E 8000E PDS 700 DS 700 DEVICE 154 10 CAN I SEARCH OR CONNECT TO PDS 700 DS 700 WHEN MY PC S IP ADDRESS IS NOT IN THE IP FILTER LIST OF PDS 700 DS 7002 HOW CAN L SOLVE EE 22 ncecsecesaceusecieeeudeevas oed A AAA eue o rdv dd Lep use 156 PDS 700 Series User Manual V1 2 Oct 2008 4 Packing List The package includes the following items One PDS 700 DS 700 series hardware module One printed quick start guide One software utility CD One download cable CA 0910 only for PDS 700 module 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 Readme htm CD NAPDOS PDS PDS 700 Document Readme htm VxComm Driver Virtual COM CD NAPDOS 7188e TCP VxComm driver pc Firmware CD NAPDOS PDS PDS 700 VxComm Server PDS MiniOS7 CD NAPDOS PDS PDS 700 OS_image PDS 700 Series User Manual V1 2 Oct 2008 5 1 Introducti
50. ail Lock PDS 700 Series User Manual V1 2 Oct 2008 18 DS 700 Front View COMI RS 232 Serial Ports LED Indicator Y DIN Rail Robust f or easy mounting insulated and fire retardant case RJ 45 Jack for OL EUUNS Eternos Wiring information BE COMI RS 422 485 information Serial Ports LED Indicator A SY DIN Rail Robust S for easy mounting insulated and fire retardant case RJ 45 Jack for 10 100M Ethernet Wiring information PDS 700 Series User Manual V1 2 Oct 2008 19 3 3 PDS 700 DS 700 Selection Guide Model DS 712 DS 715 PDS 720 PDS 720D PDS 721 PDS 721D PDS 732 PDS 732D PDS 734 PDS 734D PDS 742 PDS 742D PDS 742 IP67 PDS 743 PDS 743D PDS 752 PDS 552D PDS 755 PDS 755D PDS 762 PDS 762D PDS 775 A PDS 775D A PDS 782 PDS 782D PDS 782 25 PDS 782D 25 2 wire RS 485 5 wire RS 232 DIDO COMI COM2 COM3 COM4 COMS COM6 COM7 COMB o 9 Wire i i i i i i i RS 232 2 wire RS 485 4 wire RS 422 5 wire 2 wire RS 232 RS 485 5 wire 2 wire RS 232 RS 485 4 4 5 wire 2 wire 5 wire RS 232 RS 485 RS 232 4 4 5 wire 2 wire 4 wire RS 232 RS 485 RS 4222 5 wire 2 wire 5 wire 9 wire RS 232 RS 485 RS 232 RS 232 5 wire 2 wire 5 wire 5 wire RS 232 RS 485 RS 232 RS 232 4 4 5 wire 2 wire 3 wire 3 wire RS 232 RS 485 RS 232 RS 232 5 wire 2 wire 5 wire 5 wire 5 wire RS 232 RS
51. at H 28 HB HOT USED VET 1 stat H 3H HB HOT USED VET 1 stat H Socket Tupe BH ITI TCP Server 16661 amp 811 TCP Server 16682 82 I TCGP Server 16663 H31 TCP Server 166064 841 TCP Server 16665 H5 I TCP Server 16068 H6 I TCP Seruer 23 H71 TCP Seruer 8H LAB 1 UDP n 181 U nlsed 12 1 Uunlsed 141 Unlsed Li 1 Unlsed 18 1 UnUsed 28 1 Unlsed 22 1 Uunl sed 241 UnUsed 26 1 UnUsed 28 1 UnUsed 38 1 UnUsed LA 1 Unlised Lii 1 UnlUlsed 13 1 Uunlised 15 1 Unlised 17 1 Uunlsed Li 1 UnUsed 21 1 UnUsed 23 1 Uunlsed 25 1 UnUsed 27 1 Uunlsed 29 1 UnUsed 31 1 Unlised 13 HH HOT USED VET 1 stat H 15 HBH HOT USED VET 1 stat H 1 7 HB HOT USED VET 1 stat H 19 HBH HOT USED VET 1 stat H 21 HBH HOT USED VET 1 stat H 23 HH HOT USED VET 1 stat H 25 HBH HOT USED VET 1 stat H 27 HBH HOT USED VET 1 stat H 29 HBH HOT USED VET 1 stat H 31 HBH HOT USED VET 1 stat H PDS 700 Series User Manual V1 2 Oct 2008 8 4 4 COM Description This command queries or sets the configuration of the COM Ports Baud Rate Parity Stop bits Effect Immediate Queries the configuration of all COM Ports Queries configuration of COM Port n If n O 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
52. between 1 to 16 Please refer to MSComm CommPort 4 The WV prefix must be add to the COM port name device name when it 1s larger than COM 9 But please note that the character is a special escape symbol in C C language thus you have to use WW prefix in C C language PDS 700 Series User Manual V1 2 Oct 2008 147 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 PDS 700 DS 700 7188E 8000E uses the 06 and 07 command to change the BaudRate and the data format and then saves the configuration in the EEPROM The newer versions include the 02 and 03 command that 1s 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 Ls Rate or Data Format No Command 2 or 03 The VxComm Driver PC has also been changed to enable the new commands to be used Thus users must upgrade their VxComm Server 7188E 8000E PDS 700 DS 700 to the latest version if the current used firmware 1s 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
53. cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccces 58 5 1 CONNECTING TO THE PDS 700 DS 700 MODULE cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccess 58 5 2 NETWORK SETTINGS ad A E E TN A AR 59 5 3 I rano uo EIOS M M esee cc ai 62 5 4 COM M ua ego M M FERRETUR ice 63 5 5 MISCELLANEOUS SETTINGS cuidas 69 6 VIRTUAL VO err H e 71 6 1 TESTING THE VIRTUAL O caseciseeevesevecue edexe vei Vevet eYvex SV YELYVEX EE FEE AS VERE ER e WEE destas teias rca TEE duas VEL EY RYE VERA TE VN EA YEA VE CEN NE VEL ER VENUS 71 6 2 VIRTUAL WC COMMANDS TEST hi GietEvteiiiioieni Dida ds Sitio Dir ds Dad GS Eo ist iet SUE GRE aa LOI ad Nana 75 6 3 PROGRAMMING ON A PC CLIENT 4G ose eit etes is debes Pede r Eod ved oe id 17 7 VIRTUAL DO COMMANDS sua di ea a ada Ai 85 7 1 RR 87 T2 DA O RTT TERT NTC TTL RT ED TT PEERS 88 7 3 V T OAE P P 99 7 4 DAC Ni uiii stets eee Le e LACE ERI ELE Eo NL GEM au clio 90 7 5 RR 91 7 6 PAS RN 92 77 Lg 93 7 8 SAN c Ra aca 94 7 9 py O A 95 7 10 OPE NE BUM eee e rc S 96 Tkl Sv c 97
54. character The address of the module 01 only for PDS 700 The command used to set the Host Watchdog Timeout Value e Enabled O Disabled The timeout value from 01 to FF the unit is 0 1 second Response Valid Command AA CHK cr Invalid Command 2AA CHK cr A syntax error or a communication error will result in no response A delimiter for a valid command 2 A delimiter for an invalid command The address of the module 01 only for PDS 700 Example 0100 Read the status of the module Returns the status of the Host Watchdog Timeout has been cleared 013164 Ol Set the status of the Host Watchdog Timeout Value to 10 0 seconds and enable the Host Watchdog Return Success 101164 Read the Host Watchdog Timeout Value Returns the Host Watchdog Timeout Value is 10 0 seconds and the Host Watchdog 1s enabled PDS 700 Series User Manual V1 2 Oct 2008 104 No response 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 1s set 10104 Read the status of the module Returns the status of the Host Watchdog Timeout Value 1s set 01064 Read the Host Watchdog Timeout Value Returns the Host Watchdog Timeout Value is 10 0 seconds and the Host Watchdog 1s disabled Reset the status of the Host Watchdog Timeout Returns success and the LED stops flashing 0100 Read the m
55. cmdno H Echo Gmd Ho H EchoCmdNo O EchoCmdNo 1 1310 0 8 254 PDS 700 Series User Manual V1 2 Oct 2008 126 8 4 10 EndChar Description This command is used to query or set the EndChar parameter PDS 700 DS 700 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 Endchar Queries the endchar setting Endchar sets the endchar Example 7188XW 1 36 0M1 115200 N 8 1 FC 0 C STRE Document and Settings ser pds ml con3234 gt endchar EndChar HD com3z3H endchar HB EndChar HB EndChar 0D i EndChar 0B Send Nah E Send Mah Bal Hex 31 316168 Hex 81 31 61 68 E Recelved Recelved 3C 31 31 61 68 gt llah gt 3C 31 31 61 8 e E llah gt 1 d im i i PDS 700 Series User Manual V1 2 Oct 2008 127 8 4 11 IP Description This command is used to query or set the IP address Effect After the next reboot Queries the IP address po Er Sets the IP address Example 9 7188X W 1 36 COM1 115200 N 8 1 FC 0 CTS 0 DIR CADocuments and SettingsMIserveiiipds 8 4 12 MASK Description This command is used to query or set the subnet Mask value Effect After the next reboot mak Queries the subnet Mask value Sets the subnet Mask value Pm com323H mask 255
56. cription This function sends one bit of digital output data to the PDS 700 module Syntax DCON Write DO Bit unsigned char short short short short short short short Return 0 noerror Others error codes Parameters cComPort 1Address 1Slot 1Channel IDO TotalCh iBitValue iCheckSum iTimeOut 1 bit of digital output data O off 1 on iDO TotalCh total DO channel count on the PDS 700 module iCheckSum O disabled or 1 enabled iTimeout timeout setting normal 100 unit ms PDS 700 Series User Manual V1 2 Oct 2008 83 DCON Read DIO Description This function reads the DO and DI lines status Syntax DCON Read DIO unsigned char cComPort short 1Address short 1Slot short iDI TotalCh short 1DO TotalCh short 1CheckSum short 1TimeOut unsigned long IDI Value unsigned long IDO Value char cDI BitValue char cDO BitValue Return 0 noerror Others error codes Input Parameter cComPort COM Port number 1 255 Address Module address 1 for the PDS 700 module iSlot 1 for the PDS 700 iDI TotalCh total DI channel count on the PDS 700 module iDO TotalCh total DO channel count on the PDS 700 module iCheckSum 0 disabled or 1 enabled iTimeout Timeout setting normal 100 unit ms iDI 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
57. does not receive any packets from any client for longer than the System Timeout period the PDS 700 DS 700 will reboot itself Effect Immediate Command Arguments Description SystemTimeout Queries the SystemTimeout settings Sets the SystemTimeout Unit ms Default factory setting is 300000 ms 300 seconds 5 minutes min value is 30000 ms 2 30 seconds SystemTimeout Example 9 7188XW 1 36 COM1 115200 N 8 1 FC 0 C TS 0 DIR C ADocuments and Settings User Miipds O com323H suystemtimeout S ustemTimenut H caom323H sustemtimeout 4000h 5S ustemTimenout 4HBBH com3230 gt s ystemt imeout Sus teml imeout H com323H PDS 700 Series User Manual V1 2 Oct 2008 123 8 4 7 SocketTimeout ms Description This command is used to query or set the SocketTimeout parameter If the SocketTimeout 1s greater than zero and the PDS 700 DS 700 does not receive any data from a client PC for longer than the SocketTimeout period the PDS 700 DS 700 will close the socket connection between itself and the client PC Effect Immediate Command SocketTimeout 4 Queries the SocketTimeout settings Sets the SocketTimeout Unit ms SocketTimeout default O disable min 10000 Example 9 7188X W 1 36 COM1 115200 4 8 1 FC 0 CTS 0 DIR C ADocuments and Settings Wserutiipds 0 coms230 gt sockett imeout Socket Timeout H caom323H znockettimeout 2HBHHH Socket Timeout 2HHHA con323
58. ds Commands Run Mode is used for Virtual COM applications and accepts Virtual COM commands TCP port 10000 and Telnet commands TCP port 23 Running Yes Console Mode is used to configure the Virtual COM PDS COM I is the console port that accepts console commands while other ports are still working with Virtual COM applications Console PDS 700 Series User Manual V1 2 Oct 2008 115 8 4 Command List IPFILTER Retrieves Sets the IP addresses that are allowed to access the PDS IPCONF Queries the network configuration IP Mask Gateway M AC addresses Lists all the status of sockets Listen Not Used Yet together with the type of SOCKET tm Queries or sets the configuration of the COM Ports Baud Rate Parity Stop Bits Queries or sets the Broadcast parameter which determines whether or not the each socket TCP Server Port No UDP Unused Broadcast l module can receive Broadcast packets If PDS 700 DS 700 has no network communications during the SystemTimeout l l l l l SystemTimeout period the PDS 700 DS 700 will reboot it self automatically If there 1s no data send receive on the connection during the SocketTimeout period the PDS 700 DS 700 will close the connection automatically Gets Sets the echo mode MO Transparent Mode Multi Echo Data Shared MI Slave Mode Single Echo None Shared Queries or sets the EchoCmdNo parameter that enables or disables adding EchoCmdNo Command Number b
59. e IP filter table The IP address that follows the DEL command should already be listed in the IP filter table DEL n Deletes item n from the IP filter table DEL Deletes all items from the IP filter table Saves the IP filter table to the EEPROM If the IP filter table is empty the data in EEPROM will be cleared ipfilter SAVE LOAD Loads the IP filter table from the EEPROM X The IP filter table is loaded automatically when the PDS 700 DS 700 is booted Use the ipfilter save command to save a new IP filter table to the EEPROM PDS 700 Series User Manual V1 2 Oct 2008 117 Example amp 7188XW 1 36 COM1 115200 N 8 1 FC 0 CTS 0 DIR CADocuments and Setting aU seryziiipds O com323M gt 1pfilter IP filter HBH ip i1H H 8 2H com323H ipfilter add 1H H 8 25 IP filter HBH ip i1H H 8 2H IP filter Hi ip 18 H 8 25 com323M gt ipfilter add 1H H 8 3H 1H H 8 4H IP filter HH ip 1H 8 8 2H IP filter 1 ip 16 6 8 25 IP filter 2 ip rangye 1H H 8 3H 1H H 8 4H comi23H ipfilter del i1H H 8 3H 1H H 8 4H IP filter HH ip 1H H 8 2H IP filter Hi ip 1H H8 8 25 com323H ipfilter del HB IP filter HBH ip 18 B8 8 25 com323H ipfilter del B o IP Filter con32 3M gt 1pfilter save Save IP Filter IP Filter setting 15 Cleared com323BH ipfilter load Load A IpFilter setting o IP Filter PDS 700 Series User Manual V1 2 Oct 2008 118 8 4 2 IPCONF Description This command
60. e as they manufacture the Ethernet interface hardware Thus no two hardware interfaces have the same MAC address 9 Subnet Mask 10 Subnet mask 1s 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 1s 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 ARP Address Resolution Protocol Consider two machines A and B that share a physical network Each has an assigned IP address IP and IP and a MAC address the MACA and MACs 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 IP The question arises how does A map that address to the MAC address for B MACg 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 PDS 700 Series User Manual V1 2 Oct 2008 143 11 RARP R
61. e click the Name Alias IP Address Sub nei name of your PDS 700 module Name Alias IP Address oub net Ma Gateway ET 7042 NA 10 0 8 193 55 255 255 0 10 0 8 254 Cell do As 2T OF PD5 782 NA 192 168 255 1 2 55 255 255 0 192 168 0 1 00 0d e0 40 00 07 ET 7051 NA 10 0 8 194 55 255 255 0 10 0 8 254 00 0d e0 d0 d7 16 OF 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 700 DS 700 module will be restarted itself immediately Configure the Ethernet settings prose Server TPT IP Address Sub net Mask Server Name IP Address Alias Chars MAC 00 0d e0 20 00 07 DHCP 0 OFF cub net Mask Gateway Warning Contact your Metwork Administrator ta get correct configuration before any changing PDS 700 Series User Manual V1 2 Oct 2008 53 Step 3 Configuring Virtual COM Ports 1 Click the Search Servers button again to search for your PDS 700 DS 700 module to make sure that the new IP Mask Gateway settings have been saved then click the name of your PDS 700 DS 700 module once to select it Mu Search Servers Name Alias IP Address EI 7042 NJ 10 0 8 193 35 255 255 192 168 z PD5 782 NJ 10 0 8 20 255 255 255 0 10 0 8 254 n gd eg 20 00 07 OFF ET 7051 N A 10 0 8 194 255 255 255 0 10 0 8 254 00 0d e0 d0 d7 16 OFF
62. efore response EN EndChar Sets a character that determines the end of a response string Queries or sets the IP address MASK Queries or sets the subnet Mask value GATEWAY Queries or sets the Gateway address o tue EDS the MAC address NAME T Queries the version information lt o o o 19 VER Queries the version information SocketTimeout Determines whether or not backup copies of the autoexec bat and vcom ini 20 SAVE files are saved when using the load command Loads file to the built in flash disk on PDS 700 DS 700 It should be used to 21 LOAD update firmware only CONFIG Restores the factory default settings RESET Reboots the PDS 700 D5 700 module QUIT Exits the running firmware PDS 700 Series User Manual V1 2 Oct 2008 116 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 700 DS 700 Effect Immediate ipfite Queries the IP filter table ipfilter ADD ipl Adds an IP address to the IP filter table ADD ipl 1p2 Adds a range of IP addresses ipl 1p2 to the IP filter table ipfilter DEL ip1 Deletes an IP address ip1 from the IP filter table DEL ipl ip2 Deletes a range of IP addresses ip 1p2 from th
63. esult in no response A delimiter for a valid command 2 A delimiter for an invalid command The address of the module 01 only for PDS 700 Example see the AA3eff example in Sec 7 18 Related Commands Sec 7 15 AAO Sec 7 16 AAT Sec 7 17 AA2 Sec 7 18 A A3eff Sec 7 19 AA4P Sec 7 20 AAAS Sec 7 21 AASP Sec 7 22 AASS PDS 700 Series User Manual V1 2 Oct 2008 102 7 17 AA2 Description This function reads the Host Watchdog Timeout Value Syntax AA2 CHK cr i A delimiter character The address of the module 01 only for PDS 700 The command used to read the Host Watchdog Timeout Value Response Valid Command AAetff CHK cr Invalid Command AA CHK cr A syntax error or a communication error will result in no response PI A delimiter for a valid command A delimiter for an invalid command The address of the module 01 only for PDS 700 The status of the Host Watchdog 1 Enabled 0 Disabled ff The timeout value in Hex format The unit 1s 0 1 seconds 01 0 1 seconds FF 25 5 seconds Example See the AA3eff example in Sec 7 18 Related Commands Sec 7 15 AAO Sec 7 16 AAT Sec 7 17 AA2 Sec 7 18 A A3eff Sec 7 19 AAAP Sec 7 20 AAAS Sec 7 21 AASP Sec 7 22 AASS PDS 700 Series User Manual V1 2 Oct 2008 103 7 18 AASeff Description This function sets the Host Watchdog Timeout Value Syntax AA3eff CHK cr A delimiter
64. everse 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 12 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 1s wrong with the network communication 13 Ping Ping sends an ICMP echo request message to a host expecting an ICMP echo 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 1s often the starting point to determine what the problem is 14 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 1s formatted for transmission from one node to another 15 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
65. f the DI OF means that all 4 channels read are l PDS 700 Series User Manual V1 2 Oct 2008 95 7 10 AA Data Description This function sets the digital output Syntax AA Data CHK cr A delimiter character The address of the module 01 only for PDS 700 The output value l Data is one character for output channels less than 4 For the PDS 762 762D modules this will be from O to 3 For the PDS 732 732D 734 734D 743 743D modules this will be from O to F 2 Data is two characters for output channels less than 8 For the PDS 721 721D modules this will be from 00 to 7F Response Valid Command gt CHK cr Invalid Command CHK cr Ignore Command CHK l 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 A delimiter for an ignore command meaning that the module is in Host Watchdog Timeout Mode and the output is set to safe value Example 0013 Output value 3 Returns success SOME A Output value 1F Return that the module is in Host Watchdog Timeout Mode and the output command has been ignored PDS 700 Series User Manual V1 2 Oct 2008 96 7 11 FAAn Description This function reads digital input counter from channel n Syntax AAn CHK cr A delimiter character The address of the module 01 only for PDS 700 The digital channel number from 0 Respon
66. for all Com Ports on the PDS 700 DS 700 Example 9 7188X W 1 36 COM1 115200 N 8 1 FC 0 CTS 0 DIR C ADocuments and Settings Wserimipds com3z3H com OM 1 976HB 8 M 1 connect H OM 2 968B8 8 M 1 connect H OM 3 9768B8 8 M 1 connect H OM 4 976B8 8 M 1 connect H OM 5 976H88 8 M 1 connect H comiz3H com 3 OM 3 965HBH 8 H 1 connect H com3iz3H com 1 76HBH 8 E 1 OM 1 965HBH 8 E 1 connect H comiz3H com H 765HBH B8 E 1 OM 1 76HB 8 E 1 connect H OM 2 76HB 8 E 1 connect H 0M 3 76HB 8 E 1 connect H OM 4 76HB 8 E 1 connect OM 5 76HB 8 E 1 connect PDS 700 Series User Manual V1 2 Oct 2008 121 8 4 5 Broadcast Description This command is used to Enable Disable listening broadcast packets on PDS 700 DS 700 Effect Immediate Broadcast Queries the Broadcast settings Sets Broadcast 1 The system 1s able to receive broadcast packets Sets Broadcast 0 The system will ignore broadcast packets Broadcast Broadcast 71188XW 1 36 C0M1 115200 N 8 1 FC D C T5 DIE C Documents and Settings User pds D coms230 gt broadcast BroadGast 1 caom323H hrnadcast H BroadGast H com323H hrnadcast 1 BroadGast i const PDS 700 Series User Manual V1 2 Oct 2008 122 8 4 6 SystemTimeout ms Description This command queries or sets the system timeout value If the SystemTimeout is greater than zero and the PDS 700 DS 700
67. g 1 data port of PDS Available sockets 1 data port 1 command port IO Port 1s 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 10 The UDP search function will occupy one socket e UDP 0 Doesn t support UDP search e UDP 1 Support UDP search and always occupy one socket e UDP 2 gt Support UDP search but while has the connection in that UDP search will be stopped PDS 700 Series User Manual V1 2 Oct 2008 155 10 Can I search or connect to PDS 700 DS 700 when my PC s IP address is not in the IP filter list of PDS 700 DS 700 How can I solve it A No you cannot search or connect to PDS 700 DS 700 when the PC s IP address is not in the IP filter list of PDS 700 DS 700 You can solve the problem by 1 Add your PC s IP address into the IP filter table of PDS 700 DS 700 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 function of the PDS 700 DS 700 by using console command Refer to section 8 4 1 4 Or clear all configuration setting on PDS 700 DS 700 by using configz RESET command on section 8 4 22 It also clears the IP filter table password alias setting You have to reboot the PDS 700 DS 700 for loading new configuration PDS 700 Series User Manual V1 2 Oct 2008
68. he PDS 700 DS 700 cannot be successfully pinged from the PC refer to step 8 to change the configuration of the PDS 700 DS 700 module the mask and gateway addresses of PDS 700 DS 700 module and the PC should make the network definition o The MAC address of the PDS 700 DS 700 module should be unique on the same network Refer to step 8 for details of how to change the MAC address of the PDS 700 DS 700 module Fach PDS 700 DS 700 MAC address is unique in the default shipping In general if the host PC can ping the PDS 700 DS 700 module smoothly and continuously all other software and drivers for the PDS 700 DS 700 module will operate correctly Therefore users should ensure that the development PC is able to ping the PDS 700 DS 700 module smoothly before any further testing 1s carried out PDS 700 Series User Manual V1 2 Oct 2008 Appendix B Frame Ground Electronic circuits are constantly vulnerable to Electro Static Discharge ESD which becomes worse in a continental climate area PDS 700 DS 700 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 700 DS 700 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 DS 700 module is designed with
69. ing disabling AUTOEXEC BAT 6 De COM2 Data pin RS 485 COM2 Data pin RS 485 8 yss V pin for the power supply 10 30 V pc unregulated GND pin for the power supply COMI GND COM3 Data pin RS 485 11 D3 COMG Data pin RS 485 12 N C 16 D COMG Data pin RS 485 17 D4 COMA Data pin RS 485 as NC a9 Nc 20 NC a Ino D5 COMS Data pin RS 485 COMS Data pin RS 485 E1 10 100 Base TX PDS 700 Series User Manual V1 2 Oct 2008 36 PDS 762 762D Pin Assignments 23 DOT DOO Icon DO PUR ii 10H 00M DIO GND PDS 762D CTS1 71 TXD6 E st a 8 RXD6 TT Etir ret 107100 Bird TA fom eae a Ip 6 R5 233 RADS GND Q TXD4 RxD4 R Vs TXD3 B GND qj al RADA COMI 7 CORE n a ll Only D version modules have a 5 digit 7 SEG LED PDS 700 Series User Manual V1 2 Oct 2008 or Description COMI CTS pin RS 232 COMI RTS pin RS 232 COMI RXD pin RS 232 COMI TXD pin RS 232 Initialization pin for enabling disabling AUTOEXEC BAT 6 D COM2 Data pin RS 485 COM2 Data pin RS 485 8 fyse V pin for the power supply 10 30 V pc unregulated GND pin for the power supply COM1 GND COM3 RXD pin RS 232 COM3 TXD pin RS 232 COM4 RXD pin RS 232 COM4 TXD pin RS 232 GND pin for COM3 COM4 COMS RXD pin RS 232 COMS TXD pin RS 232 COM6 RXD pin RS 232 COM6 TXD pin RS 232 GND pin for COM5 COM6
70. ing the COM port software on the PC Ethernet 10 hM 7000 FF 000 z01 ODOR FF COM 255 COM 256 70m 0 MU MEE xComm Driver PDS 700 Series User Manual V1 2 Oct 2008 7 The VxComm driver controls all the details of the Ethernet TCP IP programming technique your COM port program will be able to access your serial devices through Ethernet in the same way as through COM port with the assistance of PDS 700 DS 700 and VxComm technology COM Port Program santo T PDS e Tra nsp arent o Serial Virtual COM Port Lievice Transparent serial Device Virtual COM Port Serial Device Virtual COM Part Computer PDS 700 Series User Manual V1 2 Oct 2008 8 1 3 Why Web Server Technology Web server technology enables configuration of the PDS 700 DS 700 via a standard web browser interface e g Internet Explorer FireFox or Mozilla etc This means that it 1s easy to check the configuration of the PDS 700 DS 700 via an Ethernet network without needing to install any other software tools thereby reducing the user s learning carve E POS 70 Setup Pape Microsoft Internet Explorer Ele Edt wew Favorites Tools Help Q MAG J grew G D 3 Address El https f10 0 8 243 ALi ome Tt ont n JM PORT Setup Page Apply current setting COM Port Current Used Setting _ ICOM1 8 N 1 FTL 1 DBDT 0 3 EndChar 00 CO
71. 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 Description ipconf Queries the network configuration Example 7188XW 1 36 COM1 115200 N 8 1 EC D0 CTS 0 DIR C ADocamenis and SettingsWsergiiiipds 0 Free Memory 159564 bytes Socket number 32 Free socket number 23 PDS 700 Series User Manual V1 2 Oct 2008 119 8 4 3 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 1s used If stat O the socket 1s not yet used Take Effect Immediately Lists the status of all sockets Example 9 T188XW 1 36 COM1 115200 N 8 1 FC 0 CTS 0 DIR CADocuments and SettingsMIservetiiiWpds7 caom323H znacket HBH 16 LISTEM1 stat 1 H1 16 LISTEH1 stat 1 H2 16 LISTEHM1 stat 1 H3 16 LISTEH1 stat 1 Hd 16 LISTEM1 stat 1 H5 16 LISTEH1 stat 1 H5 16 LISTEHM1 stat 1 H7 16 LISTEH1 stat 1 H8 H1 ESTRBLISHED1 stat 1 H9 H1 ESTRBLISHED1 stat 1i 18 HB HOT USED ET1 stat H 11 BBH HOT USED ETI stat H 12 HBH HOT USED VET 1 stat H 14 HB HOT USED VET 1 stat H 16 HB8 HOT USED VET 1 stat H 18 HB HOT USED VET 1 stat H 28 HB HOT USED VET 1 stat H 22 HBH HOT USED VET 1 stat H 24 HB HOT USED VET 1 stat H 26 H8 HOT USED VET 1 st
72. le 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 700 DS 700 7000 modules can be virtualized to become COM Port 7000 modules located on the host PC and then the Data Logger in the DCON Utility can be used to access data of I 7000 from the Ethernet Signal data originating from the I 7000 modules can be analyzed using MS Excel without the need to write any custom programs 1 The DCON utility includes a log function as show below up DCON UTILIIY YER4 7 ng for I 700078000 Modules mE x Stat 0 End 255 ES i p Description PDS 700 Series User Manual V1 2 Oct 2008 12 2 Configure the system connection as shown below and click the Start button to begin logging data Data logger Log Contig CCPDASIDCON_UtiliAconfigiLog_Config bd view Browse lew Total 1 0 commands COM Baudrate Checksum Command Response Trimed response Compare Ref Interval ms Log Report CAICPDAS DCO N_Utilit reportLo g_Reporttet W Count Error iv Log To File Error Counter Log error only i Summation U 3 Open the log file in Excel to read the log data as shown in the example below Ed Microsoft Excel reportlog 889 File Edit view Insert Forma
73. mmand 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 O 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 the PDS 700 DS 700 module If the Reset System option is checked the PDS 700 DS 700 module will reboot itself after the saving operation is complete otherwise the original settings will still be valid until the next power on SETTCPAP d hes am PDS 700 Series User Manual V1 2 Oct 2008 61 5 3 IP filter setting The IP filter setting limits which client PCs are able to link to the PDS 700 DS 700 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 700 DS 700 module Any requests from other PCs will be rejected Set IP1 only only clients who s IP address is included in the filter table are able to connect to the
74. mple 016 OFO000 l Reads the digital input output status Returns OFOO 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 Related Commands Sec 7 9 AA PDS 700 Series User Manual V1 2 Oct 2008 88 7 3 SAAC Description This function clears the latched status of the digital Input Syntax SAAC CHK cr A delimiter character The address of the module 01 only for PDS 700 A command for clearing latched digital inputs Response Valid Command AA CHK cr Invalid Command AA CHK cr Syntax error or a communication error will result in no response 00 A delimiter for valid command A delimiter for invalid command The address of the module 01 only for PDS 700 Example Command l Reads the latch low data Returns FFFF 01C 101 l Clears the latched digital inputs Returns success 01L0 1000000 Reads the latch low data Returns 0000 Related Commands Sec 7 6 SAALs PDS 700 Series User Manual V1 2 Oct 2008 89 7 4 SAACn Description This function clears the digital input counter Syntax SAACn CHK cr A delimiter character The address of the module 01 only for PDS 700 A command for clearing the digital input count The digital input channel number Response Valid Command AA CHK cr Invalid Command 2AA CHK cr A syntax error or a communication error will
75. n RS 232 COMA CTS pin RS 232 COM4 DSR pin RS 232 COM4 DTR pin RS 232 COM4 DCD pin RS 232 COM4 RI pin RS 232 E1 10 100 Base TX PDS 700 Series User Manual V1 2 Oct 2008 30 PDS 743 743D Pin Assignments Icon PDS 743D 10 100M CTS1 71 RTS Only D version modules have a 5 digit 7 SEG LED PDS 700 Series User Manual V1 2 Oct 2008 31 Description COMI CTS pin RS 232 COMI RTS pin RS 232 COMI RXD pin RS 232 TXDI COMI TXD pin RS 232 INIT Initialization pin for enabling disabling AUTOEXEC BAT 6 De COM Data pin RS 485 COM Data pin RS 485 V pin for the power supply 10 30 V pc unregulated 9 GND GND pin for the power supply COM1 GND COM4 RXD pin RS 232 COM4 TXD pin RS 232 COM3 RXD pin RS 232 COM3 TXD pin RS 232 Digital Input channel 0 3 5 V 30 V Digital Input channel 1 3 5 V 30 V Digital Input channel 2 3 5 V 30 V Digital Input channel 3 3 5 V 30 V 18 GND pin for the Digital Output COM3 COM4 GND Power Input for Digital Output Digital Output channel 0 100 mA 30 V max Digital Output channel 1 100 mA 30 V max 22 Digital Output channel 2 100 mA 30 V max Digital Output channel 3 100 mA 30 V max El 10 100 Base TX PDS 700 Series User Manual V1 2 Oct 2008 PDS 752 752D Pin Assignments aun Ub EE d oo mos amp 0 A F G woof IQECEIQAEE I E d Deu LU COR 3
76. nd the output was been set to safe values Related Commands Sec7 10 AA Data Sec 7 15 AAO Sec 7 16 AAI PDS 700 Series User Manual V1 2 Oct 2008 98 7 13 FAA1ndd Description This function sets the output of a single channel Syntax FAA Indd CHK cr A delimiter character The address of the module 01 only for PDS 700 In The command used to set the output of a single channel n is the digital output channel number 00 sets the digital output channel to off 01 sets the digital output channel to on 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 A delimiter for a valid command A delimiter for an invalid command A delimiter for an ignore command meaning that the module 1s 1n Host Watchdog Timeout Mode and the output 1s set to safe values Example Command Response 011201 gt Set the digital output of channel 2 to on Returns success Related Commands Sec7 10 AA Data Sec 7 15 AAO Sec 7 16 AAI PDS 700 Series User Manual V1 2 Oct 2008 99 7 14 Description This function is used to let other modules know that the Host is OK Syntax CHK cr A delimiter character The command for all modules Response No response Example did No response Related Commands Sec 7 15 AAO Sec 7 16 AA 1 Sec 7 17 AA2 Sec7 18
77. ng for 7000 NLS Modules On Line Help Tranditional Chinese Module Supported PDS 700 Series User Manual V1 2 Oct 2008 14 3 Hardware information 3 1 Features CPU 80186 80 MHz SRAM 512 K bytes Flash ROM 512 K bytes Built in EEPROM 16 KB Built in COM Port PDS 700 COMI RS 232 COM2 RS 485 DS 712 COMI RS 232 DS 715 COMI RS 485 RS 422 Built in Watchdog timer for harsh environments Built in power protection circuit Built in RS 485 network protection circuit for the RS 485 Port Built in self tuning ASIC controller on the RS 485 Port PDS 700 Programs download able from a PC Built in 5 digit LED display interface only for display versions Ethernet Port 10 100 Base TX Built in OS ICP DAS MiniOS7 ODM wanted 3 2 Specifications System Module Name PDS 700 DS 700 series CPU 80186 80 MHz SRAM 512 K bytes FLASH ROM 512 K bytes erase unit 1s one sector 64 K bytes 100 000 erase write cycles COM Ports PDS 700 COMI RS 232 COM RS 485 DS 712 COMI RS 232 DS 715 COMI RS 485 RS 422 PDS 700 Programs download via COMI PDS 700 Series User Manual V1 2 Oct 2008 15 EEPROM e 16K bytes O Data Retention 40 years 1 000 000 erase write cycles Flash Memory e 512K bytes O Erase unit is one sector 64 K bytes 100 000 erase write cycles PDS 700 COMI e RS 232 TXD RXD RTS CTS GND Non isolation Communication Speed 115200 bps max Program
78. o Transparent Mode Mi Slave Mode The COM Port Settings list is saved in the EEPROM on the PDS 700 DS 700 module COM Port Setting saved in EEPROM COM1 9600 8 N 1 FTL 1 DBDT 0 0 EndChar 00 COM 2 9600 8 M 1 FTL 1 DBDT 0 0 EndChar 00 PDS 700 Series User Manual V1 2 Oct 2008 63 The Currently Used COM Port Settings list COM Port Current Used Setting COM 1 9600 8 N 1 FTL 1 DBDT 0 3 EndChar 00 COM2 9600 8 M 1 FTL 1 DBDT 0 3 EndChar 00 P The COM Port Settings area Baud Data Stop Fifo End Char E rate bits NR bits Trig Level HERE in Hex COMI vw 19600 w a None 1 UNE ms E Apply current setting Note If the Set COM Port button is clicked without checking Apply current setting option the new settings will be saved to the PDS 700 DS 700 only and the new settings will be valid after the next power on If the Apply current setting checked when the Set COM Port button 1s clicked the new settings will be valid immediately Port The COM Port number on the PDS 700 DS 700 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 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
79. odule status Returns that the status of the Host Watchdog Timeout has been clear Related Commands Sec 7 15 AAO Sec 7 16 AAT Sec 7 17 AA2 Sec 7 18 AA3eff Sec 7 19 AAAP Sec 7 20 AAAS Sec 7 21 AASP Sec 7 22 AASS PDS 700 Series User Manual V1 2 Oct 2008 105 7 19 AA4P Description This function reads the Power on Values for the DO Syntax AAAP CHK cr M A delimiter character The address of the module 01 only for PDS 700 The command used to read 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 delimiter for an invalid command AA The address of the module 01 only for PDS 700 The power on values Example 014P 01000F Read the power on values Returns the power on value OF Related Commands Sec 7 21 AASP PDS 700 Series User Manual V1 2 Oct 2008 106 7 20 AAAS Description This function reads the Safe Values for the DO Syntax AA4S CHK cr i A delimiter character AA The address of the module 01 only for PDS 700 The command used to read safe values 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 Adetimiter for a valid command 00000 Example
80. on PDS 700 1s a series of Programmable Serial to Ethernet Device Servers while DS 700 1s non programmable version They designed to meet the most common requirements of Internet Ethernet applications and enables users to remotely control your serial devices through an Ethernet network PDS 700 comes with a powerful and reliable Xserver programming structure that allows you to quickly design robust Ethernet applications 1 1 Why Ethernet Solutions Nowadays the Ethernet protocol has become the de facto standard for local area networks Via the Internet connectivity 1s 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 Industrial Ethernet Switching Hub PDS 700 Series User Manual V1 2 Oct 2008 6 1 2 Why VxComm Technology In general writing a TCP IP program is more difficult than a COM port program or the COM port communication system was built many years ago As a result a new technology VxComm was developed to virtualize the COM ports of the PDS 700 DS 700 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 reprogramm
81. one Parity 4012 3 Receive a response from the PDS 700 module that the command was sent successfully Command 01 Response 191PD5 732 012 101 400400 Ims gt 01M IMPDS 732 Ims PDS 700 Series User Manual V1 2 Oct 2008 76 6 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 I 7000 I 8000 and I 87k series The General DCON API kit 1s located at e CD napdos driver dcon dll new e 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 newidemolvb6 folder supports PDS 700 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 700 and click the Open COM Port button Eak step 1 Open COM Port Step 4 Set Module Parameters COH Po BaudRate 8600 RS 485 Address of Module Total DI Channel of Module Open COM Port Close COM A Total DO Channel of Module Step 2 Set Communication Parameters Slot for module insert in
82. or a PDS 700 DS 700 module Effect Setting the version information is not allowed VER Do Queries the version information To Firmuare u3 2 3HIMau 13 608 1 OS Uerzion 2 2 15 pr 29 2608 V1856EL LIB Uer 8 May 13 2HBH81 tcp dm32 LIB Uer 1 28 LJan 21 2008 8 4 20 SAVE Description This command is used to set the PDS 700 DS 700 module to backup or no backup autoexec bat and vcom ini files when using load command Effect Immediate cave 1 When the load command is used backup copies of the autoexec bat and vcom ini files will be saved eave 0 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 PDS 700 Series User Manual V1 2 Oct 2008 133 8 4 21 LOAD Description This command is used to loads file to the built in flash disk on PDS 700 DS 700 module It should be used to update firmware only Effect Immediate 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 se Load is not a Telnet command Example 21 1 7188XW 1 36 COM1 115200 N 8 1 FC 0 CT50 DIR Documents and Settings Wseri pds Im uPAC gt 186Ex4_UDP gt dir H ucb 323H exe 05 13 2008 11 16 07 83639 1445F 18682 6006 9447 ABAF l gt autoexec bat 63 64 20
83. ot the PDS 700 DS 700 module Effect Immediate Command reset Reboot the PDS 700 DS 700 module Example 7188X W 1 36 COM1 115200 8 8 1 FC 0 C TS 0 DIR C ADocuments and Setting AU serias comiz2343H reset ICP DAS HMiniOS7 UDP for uPHRC 7186ES Uer 2 02 build 615 Apr 29 2008 15 35 16 SRAM 512K FLASH HEHOR V 512K CPU R22 46 PU internal WDT is ENABLEDCWUDT timeout H 8 sec Serial number Hi 63 42 FD HE BB HH DS PAC 7186EX_UDP gt 8 4 24 QUIT Description This command is used to stop and quit the firmware of PDS 700 DS 700 module Effect Immediate Command Argument Description qut Quits the firmware Example 7188W 1 36 COM1 115200 N 8 1 EC 0 C T DIR C Documents and SettingAO sera pds O con3234 gt qu1t PAC Y186EA_UDP gt PDS 700 Series User Manual V1 2 Oct 2008 137 Appendix A Linking to a Development PC To Ethernet 10 100 M hub E CA0910 O O Vs GND Step 1 Connect the download cable CA0910 between the PDS 700 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 WNNapdosMliniOS utility folder Step 4 Apply power Vs GND to the PDS 70 module Vs can be anywhere from 30 10 V The DS 700 module Vs can be anywhere from
84. ower supply COM1 GND TXD3 COM3 TXD pin RS 422 RS 485 TXD3 COM3 TXD pin RS 422 RS 485 COM3 RXD pin RS 422 COM3 RXD pin RS 422 Digital Input channel 0 3 5 V 30 V Digital Input channel 1 3 5 V 30 V Digital Input channel 2 3 5 V 30 V Digital Input channel 3 3 5 V 30 V 18 GND pin for the Digital Output Power Input for Digital Output Digital Output channel 0 100 mA 30 V max Digital Output channel 1 100 mA 30 V max 22 Digital Output channel 2 100 mA 30 V max Digital Output channel 3 100 mA 30 V max El 10 100 Base TX PDS 700 Series User Manual V1 2 Oct 2008 PDS 742 742D Pin Assignments Po tap Link Act E1 710 100M PDS 742D cTs1 71 e 10 and x xm 6 A S a O J J La Lal 153 53 O e gt GND4 I i e a FR CT Only D version modules have a 5 digit 7 SEG LED PDS 700 Series User Manual V1 2 Oct 2008 29 Description COMI CTS pin RS 232 COMI RTS pin RS 232 COMI RXD pin RS 232 COMI TXD pin RS 232 Initialization pin for enabling disabling AUTOEXEC BAT 6 D COM Data pin RS 485 COM2 Data pin RS 485 V pin for the power supply 10 30 V pc unregulated 11 GND pin for the power supply COMI GND COM3 CTS pin RS 232 COMG RTS pin RS 232 COM3 TXD pin RS 232 COM3 RXD pin RS 232 COM3 GND pin RS 232 COM4 GND pin RS 232 COM4 RXD pin RS 232 COM4 TXD pin RS 232 COMA RTS pi
85. p bit Set to 1152H8 8 8 1 checksum CC1 EM m m gateway new gateway setcom parameters are as follows Port Baud 5 6 7 8 for COM 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 PDS 700 Series User Manual V1 2 Oct 2008 139 Step 11 Execute ping 192 168 255 1 t using a run command as follows Open Pinging 192 168 255 1 with 32 bytes of data from 192 From 192 from 192 from 172 from 172 from 192 from 192 from 192 from 192 from 192 from 192 Note L L A L L LI L L A LI fd fu E fu ERE E EE EE E E EH HE hytes 32 bytes 32 hytes 32 hytes 32 bytes 32 hytes 32 32 32 zb hytes IZ hytes 32 Type the name of a program folder document or Internet resource and Windows will open it foryou pina 182 158 255 14 y Cancel Browse time 5ms time 2ms time ims time 2ms time 2ms time ims time 2ms time 2ms time ims time ims time ims Execute Ping 192 168 255 1 on the PC client A The ping results should be smooth and continuous e 192 168 255 1 is the default IP of the PDS 700 DS 700 module The IP address can be changed using the instructions in step 8 e If t
86. put command to the module to change the output value such as AA Data or FAABBDD the module will respond success receive gt Latch Digital Input It for example the user connects a key switch to the digital input channel and wants to read the keystrokes the key input 1s 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 a A B AALO command at the A and B positions the response will denote that there 1s a low pulse between A and B position signifying a keystroke PDS 700 Series User Manual V1 2 Oct 2008 112 8 Console Telnet Commands List 9 1 Operation Flowchart Run Mode for Virtual COM applications for MiniOS7 Commands for Downloading Firmware Run Firmware vc6 3230 autoexec Short INIT and GND Console Mode for Console Commands Open INIT PDS 700 Series User Manual V1 2 Oct 2008 113 8 2 Regulate Init Normal Mode PDS 700 Normal Run Mode Init Mode DS 700 PDS 782 D 25 PDS 775 D A Init Mode Flash Lock Mode Normal Eun Mode PDS 700 Series User Manual V1 2 Oct 2008 114 8 3 Comparison Sheet Init Run Console Modes ip Mode Firmware Lite eua VCOM Telnet Console GND pins Commands Comman
87. ress Note IANA Internet Assigned Numbers Authority RFC Request for Comments ISP Internet Service Providers Network Address Translator PDS 700 Series User Manual V1 2 Oct 2008 153 8 Can I use the SetCommState API 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 API 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 7188E 8000E PDS 700 DS 700 device This depends on how many serial ports are available on the 7188E 8000E PDS 700 DS 700 module and how many serial ports which can be connected to each PC of 7188E 8000E PDS 700 DS 700 The 7188E 8000E PDS 700 DS 700 module has 32 sockets in total includes some reserved listening sockets The 7188E 8000E PDS 700 DS 700 module provides a single command port for configuring the data serial ports Thus no matter how many data serial ports on the 7188E 8000E PDS 700 DS 700 are used one more socket connection is needed for the command port in order to configure them Max PCs Max PCs PSI CAD en using all when using 1 IO Port Data Ports Sockets Sockets data ports data port DS 712 5 32 5 27 30 2
88. 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 700 Example 01 1 Clears the counter value on digital input channel 0 Returns success 010 10100000 l Reads the counter value on digital input channel 0 Returns 0 Related Commands Sec 7 11 HAAn PDS 700 Series User Manual V1 2 Oct 2008 90 7 5 SAAGCN Description This function reads the digital input output channel count Syntax SAAGCN CHK cr A delimiter character AA GCN x The address of the module 01 only for PDS 700 GON A command for reading the digital input output channel count Response Valid Command gt DINxxDONxx 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 response A delimiter for valid command A delimiter for invalid command The address of the module 01 only for PDS 700 DINxx DIN The digital input channel xx The total channel count DONxx DON The digital output channel xx The total channel count Example 01GCN gt DINOIDONO2 1 Reads the total I O channel count for the module Returns that the module is equipped with digital input channel and 2 digital output channels PDS 700 Series User Manual V1 2 Oct 2008 91 7 6 SAALs Description This function reads the latched digital Input S
89. rnet as shown on the following page and switch on the power 6 Make sure the indicator LED 1s flashing If your PDS 700 module is a D version module the 5 digit 7 SEG LED will be used to indicate the system information described in Sec 3 7 7 Install VxComm Utility on your PC The software 1s located at CD Napdos 7188e tcp vxcomm driver pc http ftp 1cpdas com pub cd 8000cd napdos 7188e tcp vxcomm driver pc PDS 700 Series User Manual V1 2 Oct 2008 51 Host PC Ethernet Cable Z Short RXD1 and TXD1 e Power Supply Ethernet Switch 10 30VDC Connect both the PDS 700 DS 700 module and your computer to the same sub network or the same Ethernet Switch Short the RXDI and TXDI pins of the PDS 700 module for execute a self test Supply 24 V pc 10 30 V pc power to the PDS 700 module Supply 24 Vpc 12 48 Vpc power to the DS 700 PDS 742 IP67 PDS 782 25 module PDS 700 Series User Manual V1 2 Oct 2008 Step 2 Search for the PDS 700 DS 700 module on the Ethernet network 1 Execute the VxComm Utility and then search for your PDS 700 DS 700 module 2 Double click the name of the PDS 700 DS 700 to open the configuration settings dialog box VxComm Utility v2 09 00 Apr 03 2008 File Server Port Tools ACP s YxComm Servers Port Virtual COM Baudrate N Ob PLA Click the Search Severs button to search for your PDS 700 M Search Servers Doubl
90. rtes col eb O O wae Arn geo 205 m Address M etes AE 720 fh Hei vork 4 TCP IF gt Subnet Mask 1 A Pi Gateway DHCP Client TCP ACK Delay ms Broadcast Connection WOT timeout Ims Network WDT timeout ms T R Li i it Syste qu tr IPH MA SKIGATEWAY ch inges t ake a fe ct after system is reset mds SM ser toon Es PDS 700 Series User Manual V1 2 Oct 2008 59 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 700 DS 700 module will not operate correctly If the settings are changed while the module 1s operating any links to Virtual COM Port based applications currently in use will be lost and an error will occur DHCP Client O disabled 1 enabled It 1s recommended that the DHCP Client setting 1s kept as disabled and using static network settings This ensures your PDS 700 DS 700 always using a fixed IP address and you don t need to configure the virtual COM mappings again and again UDP Search O disabled 1 always enabled 2 enable the UDP Search function until another client 1s 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 disconneted Command
91. s the I O functions for requirements DCON Write DO dcon pc lib DCON Write DO Bit DCON Read DIO Communication Uart dll Calls the communication functions for Send Receive Cmd Uart lib requirements Ending function Uart dll Called once before the program exits Close Com Uart lib DO program demo on a PC client void CManuall Dig OnOpen Com Open_Com 3 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 3 void CManuallDlg OnDigital Out Ret DCON_Write_DO 3 1 1 4 DO_value 0 100 COM Port 3 Address 1 Slot 1 total channel count 4 DO data Checksum disabled Timeout 100 ms j PDS 700 Series User Manual V1 2 Oct 2008 79 Open Com Description This function opens the specified COM Port Syntax Open Com unsigned char cPort DWORD dwBaudrate char cData char cParity char cStop Return 0 noerror Others error codes Parameters cPort COM Port number 1 255 dwBaudrate Communication Baud Rate cData Data bit 8 for PDS 700 cParity 0 2 No parity cStop O 1 Stop bit Close Com Description This function closes the specified COM Port Syntax Close Com unsigned char cPort Return 0 noerror Others error codes Parameters COM Port number 1 255 PDS 700 Series User Manual V1 2 Oct 2008 80 P Send Receive Cmd
92. se Valid Command AA Data CHK cr Invalid Command AA CHK cr A syntax error or a communication error will result in no response h 1 A delimiter for a valid command A delimiter for an invalid command The address of the module 01 only for PDS 700 The digital input counter value in decimal format from 00000 to 65535 Example Command 012 10100103 Read the digital input counter of channel 2 Returns the value 103 W013 Read the digital input counter of channel 3 Returns an error including that the channel is not available Related Command Sec 7 4 AACn PDS 700 Series User Manual V1 2 Oct 2008 97 7 12 FAA00dd Description This function sets the multi channel Output Syntax FAAOOdd CHK cr A delimiter character The address of the module 01 only for PDS 700 o A command used to set multi channel output de The output value 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 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 1s set to safe values Example 4010006 Set the digital output of channel 3 to O as on Returns success 4010008 PI Set the digital output of channel O and 2 as on Returns that the module is in Host Watchdog Timeout Mode a
93. sized chunks for the network layer below acknowledging received packets setting timeouts to make certain that the other end acknowledges packets that are sent and so on 5 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 1s no guarantee that the packets will reach the destination host 6 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 PDS 700 Series User Manual V1 2 Oct 2008 142 7 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 8 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 sequenc
94. t Tools Data Window Help Dc ES IT she o B A g c T vs 10 B 2 Al Start log at MA O ARI EE E O A TE A 1 Stat log ad 11 26 01 ttt 2 114 36 1 0 2 4600 0010 gt 000 00 000 62 1000 3 14 35 2 40 E 3600 0 010 gt HI00 00 000 55 1000 4 114 36 3 30 E ann 0 010 gt H000 00 00 55 1000 5 114 36 4 20 2 3600 O 010 z HIDD DO gt 000 60 1000 B 114 36 5 10 2 an 04010 gt 000 00 gt 000 66 1000 114 36 6 0 E 4600 O 8 gt 000 00 gt 000 66 1000 B 14 35 7 40 E 3600 0 010 gt H000 00 gt 000 566 1000 9 14 356 8 30 2 3600 0 010 000 00 gt 000 71 1000 10 14 36 9 20 2 ann O 010 z HIDD DO gt 000 69 1000 11 114 36 10 1 2 3600 0 010 z HIDDLDO gt 000 67 1000 12 14 36 11 0 2 3600 O SH gt HOO0 00 gt 000 71 1000 13 114 36 12 4 E ann O 010 gt 000 00 gt 000 65 1000 14 114 36 13 3 2 S600 O 010 gt HIOO 00 000 72 1000 15 114 36 14 2 2 ann O 010 z HIDD DO gt 000 66 1000 18 114 36 15 1 2 4600 O 10 gt HO00 00 gt 000 60 1000 17 44 37 10 7 acnn nan annn nn annn 7n 1nnn PDS 700 Series User Manual V1 2 Oct 2008 By using the I 7000 DCON utility and MS Excel in conjunction with the VxComm technology the signal data of I 7000 modules from the Ethernet network can be analyzed without the need to write custom programs For more information about the log function refer to the online help feature English and Traditional Chinese of the DCON utility ri DCON UTILITY YERA5U Searchi
95. the module is powered on or if it is reset by the Module Watchdog The status can be cleared by using the Reset Status SAA5 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 Digital Output The output status of the module has three different conditions 1 Safe Value 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 will not change the output to the output command value The Host Watchdog Timeout status 1s set and store into EEPROM while the Host Watchdog Timeout interval has expired and can only be cleared by setting the command AAI 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 PDS 700 Series User Manual V1 2 Oct 2008 111 3 Output command value If the Host Watchdog Timeout status 1s clear and the user issues a digital out
96. to 1 8000 Checksum f Disable Enable TimeOut ao otep 5 Write DO Write DO Output Value 0 otep 3 Select Module Type Wire Bit DO A 7K B7K Module BK Module Write Bit DO Channel jp OFF C ON Step b Read DIO PDS 700 Series User Manual V1 2 Oct 2008 17 The response COM n Opened will be shown on the title bar VEU 3 Opened step 1 Open COM Port 4 Set the total number of DI and DO channels on your PDS 700 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 BaudRate 8600 RS 485 Address of Module 1 Total DI Channel of Module Open COM Port Close COM Total DO Channel of Module Step 2 Set Communication Parameters Slot for module insert into i 8000 5 Set the Output value and Sten 5 Write DO then click the Write uu E DO button to transmit Output Value 5 the data White Bit DO Channel o OFF ON 6 Click the Read button to retrieve the DI data and read the DO data otep 6 Read DIO 7 Press the Exit button to exit the program PDS 700 Series User Manual V1 2 Oct 2008 78 The functions in the General DCON API kit can be used to access the I O lines on the PDS 700 module Dil and busca Call condition Starting function Uart dll Called once when the program starts Open Com Uart lib I O functions dcon pc dll Call
97. 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 Frame Ground B Init E Normal Frame Ground A PDS 700 Series User Manual V1 2 Oct 2008 141 Glossary 1 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 1s a best effort delivery system that uses CSMA CD technology It recognizes hosts using 48 bit MAC address 2 Internet Physically the Internet 1s a collection 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 3 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 4 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 1t from applications into appropriately
98. yntax SAALs CHK cr A delimiter character The address of the module 01 only for PDS 700 A command for reading the latched digital input data read latch high data O read latch low data Response Valid Command Data CHK I 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 700 The read data the input channel is latched O the input channel is not latched Example 01L1 FF0000 Read the latch high data Returns FF00 meaning that channel 7 to O are all latched For modules with a DI channel count between 5 and 8 F00000 l Reads the latch high data Returns FF00 meaning that channels 3 to O are all latched For modules with a DI channel count between 1 and 4 Related Commands Sec 7 3 AAC PDS 700 Series User Manual V1 2 Oct 2008 92 7 7 SAAF Description This function reads the firmware version details Syntax SAAF CHK cr A delimiter character The address of the module 01 only for PDS 700 A command for reading the firmware version details Response Valid Command AA Data CHK cr Invalid Command 2AA CHK cr A Syntax error or a communication error will result in no response 1 A delimiterfora valid command ls A delimiter for an invalid command Example 01F I01A1 00

Download Pdf Manuals

image

Related Search

Related Contents

LG LRTP1231W Top Freezer Refrigerator  001. J340X_manual  Bedienungsanleitung - Sunmed Medizintechnische Produkte  Philips AZ 8401 User's Manual  M-322 ATX Industrial Motherboard with Intel® Q35 Chipset  lettre d`information n° 80 / octobre-NOVEMBRE 2015  Onduleurs photovoltaïques triphasés  USO_CeraclassCompact_WBN6000  ARP 37/2015 - Secretaria do Meio Ambiente do Estado de São Paulo  LC-004-000 User Manual DALI USB Maus.indd  

Copyright © All rights reserved.
Failed to retrieve file