background image

Programmable Device Server with I/O Expansion Slot(s) 

PDS-8x1 Series User Manual, Version 1.1.2, Apr. 2015 

 

 

 

-

 

66 - 

 

 
4.

 

Check the “

Save current settings to EEPROM

” and “

Apply Current settings

” options, and then 

click the 

SET COM PORT

 button to finish configuration. 

 
5.

 

Click 

Set Remote VCOM3 connection

” 

to proceed to the PDS-8x1 Remote Vcom3 connection 

Setup Page (Pair-connection settings). 

 

 
 
 
 
 
 
 
 
 
 
 
 
 

 
 
6.

 

Select “

Add COM

” and type in the COM port of the PDS-8x1 #1 (Client) which you want to use. 

Type  the  appropriate 

COM  Port  number,

 

IP  address  and  command  port

 

of  the  PDS-8x1  #2 

(Server) 

settings in the relevant fields, for example 

“COM: 1”

“IP: 10.0.8.200” and “cmd port: 

10000”

7.

 

Check the “

Save to EEPROM

” option and click “

submit

” button to update configuration. 

 
 

 

 

 
 

 
 

 

 
 

 
 

Figure 5-3.5 

 

Figure 5-3.6 

 

Summary of Contents for PDS-811

Page 1: ...tice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use nor for any infringements of patents or other rights of third parties resulting from its use COPYRIGHT Copyright 2014 by ICP DAS All rights are reserved TRADEMARKS Names are used for identification purposes only and may be registered trademarks of their resp...

Page 2: ...URES 13 2 3 APPLICATIONS 13 2 4 APPEARANCE 14 2 5 DIMENSIONS 16 2 6 PIN ASSIGNMENTS 18 2 6 1PDS 811 and PDS 821 18 2 6 2I 8112iW 19 2 6 3I 8114W 20 2 6 4I 8114iW 21 2 6 5I 8142iW 22 2 6 6I 8144iW 23 2 7 WIRING NOTES FOR RS 232 485 422 INTERFACES 24 2 7 1RS 232 Wiring 24 2 7 2 RS 422 Wiring 25 2 7 3 RS 485 Wiring 25 3 SETTING UP THE PDS 8X1 CONTROLLER 27 4 WEB CONFIGURATION 36 4 1 LOGGING IN TO THE...

Page 3: ...TIONS 60 5 3 PAIR CONNECTION APPLICATIONS 62 6 CONSOLE TELNET COMMANDS LIST 71 6 1 OPERATION FLOWCHART 71 6 2 COMPARISON SHEET INIT RUN AND CONSOLE MODES 72 6 3 COMMAND LIST 73 6 3 1IPFILTER 74 6 3 2IPCONF 76 6 3 3SOCKET 77 6 3 4COM 78 6 3 5Broadcast 79 6 3 6SystemTimeout 80 6 3 7SocketTimeout 81 6 3 8M 82 6 3 9EchoCmdNo 83 6 3 10 EndChar 84 6 3 11 IP 85 6 3 12 MASK 85 6 3 13 GATEWAY 86 6 3 14 MAC...

Page 4: ...L 100 2 CLIENTS AND SERVERS 100 3 ETHERNET 101 4 FIRMWARE 101 5 GATEWAY 101 6 ICMP INTERNET CONTROL MESSAGE PROTOCOL 101 7 INTERNET 101 8 IP INTERNET PROTOCOL ADDRESS 102 9 MAC MEDIA ACCESS CONTROL ADDRESS 102 10 PACKET 102 11 PING 102 12 RARP REVERSE ADDRESS RESOLUTION PROTOCOL 103 13 SOCKET 103 14 SUBNET MASK 103 15 TCP TRANSMISSION CONTROL PROTOCOL 103 16 TCP IP 104 17 UDP USER DATAGRAM PROTOCO...

Page 5: ...PDOS PDS PDS 8x1 Document http ftp icpdas com pub cd 8000cd napdos pds pds 8x1 document Firmware CD NAPDOS PDS PDS 8x1 VxComm Server PDS http ftp icpdas com pub cd 8000cd napdos pds pds 8x1 vxcomm server pds Software CD NAPDOS PDS PDS 8x1 http ftp icpdas com pub cd 8000cd napdos pds pds 8x1 PDS 811 PDS 821 Software CD CA 0910 QuickStart Note If any of these items are missing or damaged please cont...

Page 6: ...can be used to connect two network segments The Ethernet Switch processes and routes data on the data link layer layer 2 of the OSI model to create a different collision domain per switch port Using a switch allows you to attain dedicated bandwidth on point to point connections with every computer and therefore run in full duplex mode with no collisions Furthermore the built in 2 port Ethernet Swi...

Page 7: ...Serial Ports Optional Max 4 8 Optional Serial Modules Selection Guide Model I 8112iW I 8114W I 8114iW I 8142iW I 8144iW Interface 9 wire RS 232 9 wire RS 232 5 wire RS 232 4 wire RS 422 2 wire RS 485 4 wire RS 422 2 wire RS 485 Ports 2 4 4 2 4 FIFO 128 Bytes 128 Bytes 128 Bytes 128 Bytes 128 Bytes Isolation 3000 V 3000 V 3000 V 3000 V Self tuner Yes Yes Connector DB 9 DB 37 DB 37 Terminal Block Te...

Page 8: ... networks Connectivity via the Internet is now common in many of the latest applications 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 machines from multiple vendors and also provides a cost effective solution for industrial control ...

Page 9: ...sue is that perhaps the existing the COM Port communication system was built many years ago and is now outdated As a result a new technology VxComm was developed to virtualize the COM Ports of the PDS 8x1 controller to allow up to 256 COM Ports to be used on a central computer The VxComm driver saves time when accessing serial devices through the Ethernet without the need for reprogramming the COM...

Page 10: ...r 2015 10 The VxComm driver controls all the details of the Ethernet TCP IP programming technique meaning that with the assistance of PDS 8x1 controller and VxComm technology your COM Port program will be able to access your serial devices through the Ethernet in the same way as through a COM Port ...

Page 11: ...les the PDS 8x1 controller to be configured via a standard web browser interface e g Google Chrome Internet Explorer or Firefox etc This means that it is easy to check the configuration of the PDS 8x1 controller via an Ethernet network without needing to install any other software tools thereby reducing the learning curve required for maintaining the device ...

Page 12: ... Ethernet 2 port 10 100 Base TX Ethernet Switch Auto negotiating auto MDI MDI X LED indicator COM Port Formats Speed 115200 bps Max Data Bit 7 8 Parity None Even Odd Stop Bit 1 LED Indicators TxD RxD Yes for COM1 console port System Yes Power ESD Protection Yes with Frame Ground Protection Power Reverse Polarity Protection Required Supply Voltage 10 VDC 30 VDC non regulated Power Consumption 0 6 A...

Page 13: ... 2 port 10 100 Base TX Ethernet Switch Auto negotiating auto MDI MDI X LED indicator ESD Protection and Frame Ground Design Built in High Performance MiniOS7 from ICP DAS Virtual COM extends PC COM ports Programmable Internet Ethernet Controller Power Reverse Polarity Protection 3 wire RS 232 Console Port RS 232 TxD RxD LED Indicators System Status LED Indicator RoHS Compliant no Halogen Low power...

Page 14: ...ents for the COM1 ports refer to Section 2 6 1 3 2 Port 10 100 Base TX Ethernet Switch The PDS 8x1 controller are equipped with two RJ 45 jack that is used as the 10 100 Base TX Ethernet port and features networking capability When an Ethernet link is detected and an Ethernet packet is received the Link Act LED Green indicator and the 10 100 M LED Yellow indicator will be illuminated 4 I O Expansi...

Page 15: ... and allows the firmware to be updated Run Mode Firmware operation mode For PDS 8x1 controller the operating mode switch is set to the Run position by default In order to update the firmware for the PDS 8x1 controller the switch must be moved from the Run position to the Init position The switch must be returned to the Run position after the update is complete ...

Page 16: ...rammable Device Server with I O Expansion Slot s PDS 8x1 Series User Manual Version 1 1 2 Apr 2015 16 2 5 Dimensions PDS 811 Units mm Left Side View Front View Right Side View Top View Bottom View Rear View ...

Page 17: ...Programmable Device Server with I O Expansion Slot s PDS 8x1 Series User Manual Version 1 1 2 Apr 2015 17 PDS 821 Units mm Front View Rear View Left Side View Right Side View Top View Bottom View ...

Page 18: ...Programmable Device Server with I O Expansion Slot s PDS 8x1 Series User Manual Version 1 1 2 Apr 2015 18 2 6 Pin Assignments 2 6 1 PDS 811 and PDS 821 ...

Page 19: ...grammable Device Server with I O Expansion Slot s PDS 8x1 Series User Manual Version 1 1 2 Apr 2015 19 2 6 2 I 8112iW The I 8112iW is an optional serial module that provides 2 isolated RS 232 serial ports ...

Page 20: ...rammable Device Server with I O Expansion Slot s PDS 8x1 Series User Manual Version 1 1 2 Apr 2015 20 2 6 3 I 8114W The I 8114W is an optional serial module that provides 4 non isolated RS 232 serial ports ...

Page 21: ...grammable Device Server with I O Expansion Slot s PDS 8x1 Series User Manual Version 1 1 2 Apr 2015 21 2 6 4 I 8114iW The I 8114iW is an optional serial module that provides 4 isolated RS 232 serial ports ...

Page 22: ...ammable Device Server with I O Expansion Slot s PDS 8x1 Series User Manual Version 1 1 2 Apr 2015 22 2 6 5 I 8142iW The I 8142iW is an optional serial module that provides 2 isolated RS 422 485 serial ports ...

Page 23: ...ammable Device Server with I O Expansion Slot s PDS 8x1 Series User Manual Version 1 1 2 Apr 2015 23 2 6 6 I 8144iW The I 8144iW is an optional serial module that provides 4 isolated RS 422 485 serial ports ...

Page 24: ...tes for RS 232 485 422 Interfaces 2 7 1 RS 232 Wiring 3 wire RS 232 Wiring 9 wire RS 232 Wiring Note 1 For 3 Wire RS 232 connections it is recommended to short unused signals such as RTS CTS and DTR DSR since some system may still check the CTS and DSR status 2 FGND is the frame ground that soldered to DB9 metal shield ...

Page 25: ...able Device Server with I O Expansion Slot s PDS 8x1 Series User Manual Version 1 1 2 Apr 2015 25 2 7 2 RS 422 Wiring 4 wire RS 422 Wiring 4 wire RS 422 Isolated Wiring 2 7 3 RS 485 Wiring 2 wire RS 485 Wiring ...

Page 26: ... common mode voltage between devices 2 Twisted pair cable must be used for the DATA wires 3 Both two ends of the cable may require a termination resistor connected across the two wires DATA and DATA Typically 120 Ω resisters are used 4 The Data and B pins are positive voltage pins and Data and A pins are negative voltage pins in the above figure The B A pins may be defined in another way depending...

Page 27: ...procedure described below Step 1 Connect the Power Supply and the Host PC 1 Ensure that the network settings on your PC are configured correctly 2 Ensure that the Windows firewall or any Anti Virus firewall software is correctly configured or temporarily disable these functions otherwise the Search Servers function in the VxComm Utility may not work as required You may need to contact your System ...

Page 28: ...rk or the same Ethernet Switch 6 Short the RxD and TxD pins of the PDS 8x1 controller for self test 7 Short the TxD1 Pin 19 and RxD1 Pin 37 pins of the 4 Port I 8114iW module RS 232 bus for example of self test 8 Supply 24 VDC 10 30 VDC power to the PDS 8x1 controller The wiring diagram is as follows 9 Verify that the System LED indicator is flashing on the PDS 8x1 controller ...

Page 29: ...d addresses are shown below CD NAPDOS DRiver VxComm_Driver 2k http ftp icpdas com pub cd 8000cd napdos driver vxcomm_driver 2 k Step 3 Search for the PDS 8x1 controller on the Ethernet network 1 Open the VxComm Utility and then click the Search Servers button to search for the PDS 8x1 controller 2 Once the search process is complete double click the name of the PDS 8x1 controller to open the Confi...

Page 30: ...for the PDS 8x1 controller will take effect within 2 seconds If you don t know the correct network configuration information contact your Network Administrator to obtain the details Step 4 Configuring the Virtual COM Ports 1 Wait 2 seconds and then click the Search Servers button again to ensure that the PDS 8x1 controller is working correctly with the new configuration Click the Search Severs but...

Page 31: ...ersion 1 1 2 Apr 2015 31 2 Click the Add Server s button Assign a COM Port number and click OK to save your settings 3 Click on PDS 8x1 controller name or slot that your module plugged in and then check the virtual COM port mappings on the PC Assign a COM Port number Check COM Port ...

Page 32: ...1 Series User Manual Version 1 1 2 Apr 2015 32 4 Click Tools Restart Driver and then click the Restart Driver button Step 5 Testing your PDS 8x1 controller 1 Click on PDS 8x1 controller name and right click Port 1 then choose the Open COM Port item Right Click ...

Page 33: ...that the configuration of the COM Port is correct and then click the Open COM button 3 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 Check that the configuration is correct and then click the Open COM button The response is displayed ...

Page 34: ...r Manual Version 1 1 2 Apr 2015 34 Step 5 Testing your Serial Modules Optional 1 Click on serial modules Slot and right click Port 10 then choose the Open COM Port item 2 Check that the configuration of the COM Port is correct and then click the Open COM button Right Click ...

Page 35: ...ill be displayed in the received field 4 If the test is successful then your COM port program should now be able to work with this Virtual COM Port The response is displayed Note While using RS 485 modules e g I 8144iW you should wire the Data1 with Data2 signals and wire the Data1 with Data2 signals for self test Then open the first two COM ports send data to one and receive data from the other ...

Page 36: ...d from any computer that has an Internet connection Step 1 Open a new browser window Open a web browser for example Google Chrome Firefox or Internet Explorer which are reliable and popular Internet browsers that can be used to configure PDS 8x1 controller Step 2 Enter the URL for the PDS 8x1 web server Ensure that you have correctly configured the network settings for the PDS 8x1 controller refer...

Page 37: ...h I O Expansion Slot s PDS 8x1 Series User Manual Version 1 1 2 Apr 2015 37 Step 3 Log in to the PDS 8x1 Web Server After logging into the PDS 8x1 web server the main page will be shows firmware information of the PDS 8x1 controller ...

Page 38: ...provides information related to most important network settings for the PDS 8x1 controller including the IP Address Subnet Mask and Default Gateway values etc If they do not match the PDS 8x1 controller will not operate correctly If the settings are changed while the module is operating any connection currently in use will be lost and an error will occur ...

Page 39: ...ion It is recommended that the DHCP Client setting is kept as disabled and using static network settings This ensures your PDS 8x1 controller always using a fixed IP address and you don t need to configure the virtual COM mappings again and again 0 Disabled 1 Enabled UDP Search This parameter is used to enable or disable UDP Search function 0 Disabled 1 Enabled 2 Enable the UDP Search function unt...

Page 40: ...t 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 50 ms Broadcast This parameter is used to receive or reject UDP broadcast packets 1 receive UDP broadcast packets 0 reject UDP broadcast packets 1 Connection WDT timeout ms If the PDS 8x1 controller does not receive any data from a client ...

Page 41: ... Telnet command 0 Disabled Min setting value 30000 Master IP 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 empty Reset System If the Reset System option is checked the PDS 8x1 controller will reboot itself after the saving operation is complete otherwise the original settings will s...

Page 42: ...r setting limits which client PCs are able to link to the PDS 8x1 controller 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 8x1 controller Any requests from other PCs will be rejected ...

Page 43: ...field and final IP address must be entered in the IP2 MASK text field as the image below shows This allows clients who s IP address is included in the range of 10 0 9 5 to 10 0 9 55 are able to connect to the PDS 8x1 controller Set IP1 Mask Set the IP Filter Available IP range the IP address must be entered in the IP1 text field and Mask address must be entered in the IP2 MASK text field as the im...

Page 44: ...M If the UPDATE button is clicked with checking Reload from EEPROM option PDS 8x1 controller can apply the settings from EEPROM immediately Apply the current settings If the Apply the current settings checked when the UPDATE button is clicked the new settings will be valid immediately UPDATE Click this button to save the revised settings to the PDS 8x1 controller Note After configuring IP filter s...

Page 45: ...Slot s PDS 8x1 Series User Manual Version 1 1 2 Apr 2015 45 4 3 COM Port Settings The COM Port Settings section provides functions allowing items such as baud rate data format data transmission mode and pair connection settings etc to be configured ...

Page 46: ...er with I O Expansion Slot s PDS 8x1 Series User Manual Version 1 1 2 Apr 2015 46 The COM Port Settings list is saved in the EEPROM on the PDS 8x1 controller The Currently Used COM Port Settings list The COM Port Settings area ...

Page 47: ...receive at once time the PDS 8x1 controller will move the data from the COM Port FIFO to the PDS 8x1 controller If the amount of data transferred is large and uses a transfer speed 115200 bps setting a smaller value is helpful in preventing data loss 1 Data Buffered Delay Time DBDT When the COM port does not receive data from devices connected over the period of DBDT setting the PDS 8x1 controller...

Page 48: ...racter to Master and process next request based on the configured timeout value 0 Disabled Save current settings to EEPROM If the SET COM PORT button is clicked with checking Save current settings to EEPROM option the new settings will be saved to the PDS 8x1 controller only and the new settings will be valid after the next power on Apply current settings If the Apply current settings checked when...

Page 49: ...each device The PDS 8x1 controller echoes the data from each device to each connected client Condition 2 No clients send any requests to the PDS 8x1 controller The PDS 8x1 controller echoes data from the devices to each connected client M1 Slave Mode Single echo mode Condition 1 One client sends a request to the PDS 8x1 controller to access the other devices The PDS 8x1 controller echoes data from...

Page 50: ...ler doesn t echo any data from the devices to any client M2 Half Slave Mode Is situated between M0 and the M1 mode If only one client connects to the PDS 8x1 controller the operation mode same as M0 mode please refer to page 48 M0 Transparent Mode and if there are two or more clients connecting to the PDS 8x1 controller the operation mode same as M1 mode please refer to page 49 M1 Slave Mode ...

Page 51: ... Page section Item Description Add COM Number Serial COM port number of the local device Master connect to COM Number Serial COM port number of the remote device Slave IP IP Address IP address of the remote device Slave cmd port command port default 10000 Command Port number of the remote device Slave Add COM Number Serial COM port number of the local device Master connect to IP IP Address IP addr...

Page 52: ...king Save to EEPROM option the new settings will be saved to the PDS 8x1 controller only and the new settings will be valid after the next power on Reload from EEPROM If the submit button is clicked with checking Reload from EEPROM option PDS 8x1 controller can apply the settings from EEPROM immediately Submit Click this button to save the revised settings to the PDS 8x1 controller Note After sett...

Page 53: ...rty change password and Restore to Factory Default Settings refer to the Sections 4 4 1 to 4 4 3 for more detail information Alias Name This parameter is used to assign an alias for each PDS 8x1 controller to assist with easy identification Web Read Only This parameter is used to enable Web Read Only function If the Web Read Only properly is set to 1 Enabled the web server will not be able to save...

Page 54: ...Click the Login tab at the PDS 8x1 Misc Setup Page to proceed to the Login Page Step 2 Enter the password in the PASSWORD field use the default password admin and click the LOGIN button to proceed to the settings page If you want to change default password please refer to Section 4 4 2 Change Password Step 3 Set the new Web Read Only properly 0 and click the UPDATE button to update the settings De...

Page 55: ...mmable Device Server with I O Expansion Slot s PDS 8x1 Series User Manual Version 1 1 2 Apr 2015 55 Step 4 Check that the current the Web Read Only 0 and then click Logout to complete the operation Check 6 7 ...

Page 56: ...1 Misc Setup Page to proceed to the Login Page Step 2 Enter the password in the PASSWORD field use the default password admin and click the LOGIN button to proceed to the settings page Step 3 Enter the new password in the Set New Password field Re enter the new password in the Confirm new password field Step 4 Click the UPDATE button to update the password and then click the Logout to complete the...

Page 57: ... 1 Click the Login tab at the PDS 8x1 Misc Setup Page to proceed to the Login Page Step 2 Enter the password in the PASSWORD field use the default password admin and click the LOGIN button to proceed to the settings page If you want to change default password please refer to Section 4 4 2 Change Password Step 3 Check the Restore to Factory Default Settings option and click the UPDATE button to upd...

Page 58: ... Factory Default Settings Network Settings IP Address 192 168 255 1 Gateway Address 192 168 0 1 Subnet Mask 255 255 0 0 DHCP Disabled Basic Settings Alias N A 6 Note User can restore PDS 8x1 password to default value admin by using config RESET console command refer to Chapter 6 Console Telnet Commands List This command sets most configurations of PDS 8x1 to factory setting It requires rebooting t...

Page 59: ...gned to link RS 232 422 485 devices to an Ethernet network The VxComm utility allows the built in PDS 8x1 COM Port to be virtualized to a standard COM Port of a host PC as shown below In the configuration above Meter 1 is virtualized to link to COM3 of the host PC Therefore a program originally designed for the MS COMM standard can access the meter without the need for any modification ...

Page 60: ...By using VxComm technology programs that support serial devices on the host PC can be upgraded from an RS 485 network to an Ethernet network without requiring any modifications to the program Configurable Ethernet Data Logger Using the VxComm driver the PDS 8x1 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...

Page 61: ... log file in MS Excel to view the log data as shown in the example below By using the I 7000 DCON utility and MS Excel in conjunction with VxComm technology the signal data originating from I 7000 modules via 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 ...

Page 62: ...ction Applications PDS 8x1 controller can be used to create a pair connection application as well as serial bridge or serial tunnel and then route data between two serial devices via TCP IP which is useful when connecting mainframe computers servers or other serial devices that do not themselves have Ethernet capability ...

Page 63: ...onnecting to a network PC and Power 1 Confirm that the PDS 8x1 controllers are functioning correctly Refer to Chapter 3 Setting up the PDS 8x1 controller for more details 2 Connect COM1 of the PC to COM1 of the PDS 8x1 1 and then connect COM2 of the PC to COM1 of the PDS 8x1 2 For detailed RS 232 wiring information refer to Section 2 7 Wiring Notes for RS 232 485 422 Interfaces 3 Supply 24 VDC 10 ...

Page 64: ...setup for a pair connection test Step 2 Configuring the Ethernet Settings Contact your Network Administrator to obtain the correct and functioning network configuration for the PDS 8x1 controllers including the IP Address Mask and Gateway details Also refer to Chapter 3 Setting up the PDS 8x1 controller for more details Figure 5 3 1 Figure 5 3 2 ...

Page 65: ... in the address bar of the browser or click the Web button in the VxComm Utility to log in to the web configuration page 2 Check firmware version is v3 2 32 Feb 07 2014 or later of the PDS 8x1 1 3 Click the COM Port Settings tag to enter the settings page and select the appropriate COM Port number Baud Rate and Data Format settings from the relevant drop down options for example 9600 8 None and 1 ...

Page 66: ... connection to proceed to the PDS 8x1 Remote Vcom3 connection Setup Page Pair connection settings 6 Select Add COM and type in the COM port of the PDS 8x1 1 Client which you want to use Type the appropriate COM Port number IP address and command port of the PDS 8x1 2 Server settings in the relevant fields for example COM 1 IP 10 0 8 200 and cmd port 10000 7 Check the Save to EEPROM option and clic...

Page 67: ...Local COM Port Remote COM port area for pair connection setting 9 Reboot PDS 8x1 1 Client and then setting is complete 8 6 Select Add COM and type in the COM port of the PDS 8x1 1 Client which you want to use Type the appropriate IP address and TCP Port of the PDS 8x1 2 Server settings in the relevant fields for example IP 10 0 8 200 and port 10001 7 Check the Save to EEPROM option and click submi...

Page 68: ...nd select the appropriate COM Port number Baud Rate and Data Format settings from the relevant drop down options for example 9600 8 None and 1 Refer to Figure 5 3 4 for illustrations of how to perform the above step 2 3 Check the Save current settings to EEPROM and Apply Current settings items and then click the SET COM PORT button to finish configuration 4 Click Set Remote VCOM3 connection at the...

Page 69: ...Napdos multiport utility http ftp icpdas com pub cd iocard pci napdos multiport utility 2 Execute the Test2COM exe program 2 Check Data Bits 8 1 Type COM1 COM2 3 Check Parity None 4 Check Stop bits 1 5 Check Baud Rates 9600 6 Uncheck 7 Loop 10 8 Click Start Test button Note The Baud Rate and data format depend on the serial port settings for the web configuration of the PDS 8x1 1 and PDS 8x1 2 ...

Page 70: ...Programmable Device Server with I O Expansion Slot s PDS 8x1 Series User Manual Version 1 1 2 Apr 2015 70 3 Get the test result 9 Test Results Failed Test 0 Complete ...

Page 71: ...Apr 2015 71 Init 6 Console Telnet Commands List 6 1 Operation Flowchart PDS 8x1 Power OFF Run PDS 8x1 Power ON PDS 8x1 Power ON Init Mode for MiniOS7 Commands for Downloading Firmware Run Firmware vp8_3230 autoexec Console Mode for Console Commands Run Mode for Virtual COM applications Init Run ...

Page 72: ...nit Mode is used to upgrade firmware and accepts MiniOS7 commands from PDS COM1 only Run Running Yes Yes No Run Mode is used for Virtual COM applications and accepts Virtual COM commands TCP port 10000 and Telnet commands TCP port 23 Console Running Yes Yes Yes Console Mode is used to configure the Virtual COM PDS COM1 is the console port that accepts console commands while other ports are still w...

Page 73: ...8x1 will close the connection automatically 6 3 8 M Gets Sets the echo mode M0 Transparent Mode Multi Echo Data Shared M1 Slave Mode Single Echo None Shared 6 3 9 EchoCmdNo Queries or sets the EchoCmdNo parameter that enables or disables adding Command Number before response 6 3 10 EndChar Sets a character that determines the end of a response string 6 3 11 IP Queries or sets the IP address 6 3 12...

Page 74: ...of IP addresses ip1 ip2 to the IP filter table ipfilter DEL ip1 DEL ip1 ip2 Deletes an IP address ip1 from the IP filter table Deletes a range of IP addresses ip1 ip2 from the IP filter table The IP address that follows the DEL command should already be listed in the IP filter table ipfilter DEL n Deletes item n from the IP filter table ipfilter DEL Deletes all items from the IP filter table ipfil...

Page 75: ...Programmable Device Server with I O Expansion Slot s PDS 8x1 Series User Manual Version 1 1 2 Apr 2015 75 Figure 6 3 1 The following is an example of a IPFILTER configuration ...

Page 76: ... used to display the network configuration information such as IP address Mask Address Gateway address and MAC address and the status of DHCP ACK_Delay Free Memory and Socket status Effect Immediate Command Arguments Description ipconf Queries the network configuration Figure 6 3 2 The following is an example of a IPCONF configuration ...

Page 77: ...sts the status of all sockets Listen Not Used Yet together with the type of each socket TCP Server Port No UDP Unused If stat 1 the socket is used If stat 0 the socket is not yet used Effect Immediate Command Arguments Description socket Lists the status of all sockets Figure 6 3 3 The following is an example of a SOCKET configuration ...

Page 78: ...mand Arguments Description com Queries the configuration of all COM Ports com n Queries configuration of COM Port n If n 0 the configuration of all COM Ports will be listed in the same way as using the command com above com N BaudRate DataBits Parity StopBit s Sets the configuration of COM Port n If n 0 the settings will be valid for all Com Ports on the PDS 8x1 Figure 6 3 4 The following is an ex...

Page 79: ...e Disable listening broadcast packets on PDS 8x1 Effect Immediate Command Arguments Description Broadcast Queries the Broadcast settings Broadcast 1 Sets Broadcast 1 The system is able to receive broadcast packets Broadcast 0 Sets Broadcast 0 The system will ignore broadcast packets Figure 6 3 5 The following is an example of a Broadcast configuration ...

Page 80: ... 8x1 does not receive any packets from any client for longer than the SystemTimeout period the PDS 8x1 will reboot itself Effect Immediate Command Arguments Description SystemTimeout Queries the SystemTimeout settings SystemTimeout nnnnn Sets the SystemTimeout Unit ms Default factory setting is 300000 ms 300 seconds 5 minutes Min value is 30000 ms 30 seconds Figure 6 3 6 The following is an exampl...

Page 81: ...ero and the PDS 8x1 does not receive any data from a client PC for longer than the SocketTimeout period the PDS 8x1 will close the socket connection between itself and the client PC Effect Immediate Command Arguments Description SocketTimeout Queries the SocketTimeout settings SocketTimeout nnnnn Sets the SocketTimeout Unit ms Default 0 disable Min 10000 Figure 6 3 7 The following is an example of...

Page 82: ...e PDS 8x1 echoes data from a device to all clients that are connected M 1 Sets the Single echo mode to enable When set to single echo mode the PDS 8x1 echoes data from a device to the client that requested the service M 2 Sets the Half Save Mode to enable If only one client connects to the PDS 8x1 controller the operation mode same as M0 mode and if there are two or more clients connecting to the ...

Page 83: ...responding response Virtual COM commands are used to configure a PDS 8x1 through TCP port 10000 Effect Immediate Command Arguments Description EchoCmdNo Queries the EchoCmdNo settings EchoCmdNo 0 If EchoCmdNo 0 a Virtual COM command number will not be prefixed to the corresponding response EchoCmdNo 1 If EchoCmdNo 1 a Virtual COM command number will be prefixed to the corresponding response Figure...

Page 84: ...nds out the response string from serial port to TCP client immediately when it received a char on the response string that matching the EndChar Set EndChar 00 to disable the EndChar feature Effect Immediate Command Arguments Description Endchar Queries the endchar setting Endchar HH Sets the endchar Figure 6 3 10 The following is an example of a EndChar configuration EndChar 0D EndChar 0B ...

Page 85: ...escription IP Queries the IP address IP xxx xxx xxx xxx Sets the IP address Figure 6 3 11 The following is an example of a IP configuration 6 3 12MASK This command is used to query or set the subnet Mask value Effect After the next reboot Command Arguments Description MASK Queries the subnet Mask value MASK xxx xxx xxx xxx Sets the subnet Mask value Figure 6 3 12 The following is an example of a M...

Page 86: ...rguments Description Gateway Queries the subnet Gateway value Gateway xxx xxx xxx xxx Sets the subnet Gateway value Figure 6 3 13 The following is an example of a Gateway configuration 6 3 14MAC This command is used to query the MAC address Effect Setting the address is not allowed Command Arguments Description MAC Queries the MAC address Setting the address is not allowed Figure 6 3 14 The follow...

Page 87: ...ption NAME Queries the name of a PDS 8x1 controller Figure 6 3 15 The following is an example of a NAME configuration 6 3 16ALIAS This command is used to query or set the alias of a PDS 8x1 The maximum character length of PDS 8x1 alias name is 16 bytes Effect Immediate Command Arguments Description alias Queries the alias alias xxxx Sets the alias of a PDS 8x1 controller to xxxx Figure 6 3 16 The ...

Page 88: ...unction will get a dynamic IP address setting for PDS 8x1 automatically Thus it s recommended to disable DHCP function and use a static IP address setting This prevents you to configure virtual COM mappings again and again Effect Immediate Command Arguments Description DHCP 0 Disables the DHCP client DHCP 1 Enables the DHCP client Figure 6 3 17 The following is an example of a DHCP configuration ...

Page 89: ...ves a UDP search command Effect Immediate Command Arguments Description UDP 0 Rejects UDP search commands The PDS 8x1 will not reply to the UDP search command and can not be searched again UDP 1 Replies to UDP search commands The PDS 8x1 controller will reply to the UDP search command and can be searched UDP 2 Replies to UDP search commands till a client is connected Figure 6 3 18 The following is...

Page 90: ... 3 19 The following is an example of a VER configuration 6 3 20SAVE This command is used to set the PDS 8x1 to backup or no backup autoexec bat and vcom ini files when using load command Effect Immediate Command Arguments Description save 1 When the load command is used backup copies of the autoexec bat and vcom ini files will be saved save 0 Default When the load command is used backup copies of ...

Page 91: ...mmand Arguments Description load 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 Load is not a Telnet command Figure 6 3 20 The following is an example of a Save 0 configuration When save 0 the system doesn t back up the autoexec bat and vcom ini files to memory and doesn t clear the flash disk It only loads the fil...

Page 92: ...3 21 The following is an example of a Save 1 configuration When save 1 system will back up the autoexec bat and vcom ini files to memory first clear all files in the flash disk and then load the autoexec bat and vcom ini files from memory and run the load command to load the specified file s Save 1 Load vp8_3230 exe ...

Page 93: ...are will use the new default settings on EEPROM Note RESET MUST be in capital letters When Config RESET is used the Password Alias and IPFILTER settings will also be cleared but the IP MASK GATEWAY addresses will not The SystemTimeout setting is also cleared to 0 by the config RESET command you have to configure the SystemTimeout value again The default factory setting of SystemTimeout value shoul...

Page 94: ...r Effect Immediate Command Arguments Description reset Reboot the PDS 8x1 controller Figure 6 3 23 The following is an example of a RESET configuration 6 3 24QUIT This command is used to stop and quit the firmware of PDS 8x1 controller Effect Immediate Command Arguments Description quit Quits the firmware Figure 6 3 24 The following is an example of a Quit configuration ...

Page 95: ...ent PC 1 1 Connect the connector of CA 0910 download cable to your host computer 1 2 Wire the CA 0910 to PDS 8x1 controller as follows Connect the CA 0910 TX with PDS 8x1 TxD Connect the CA 0910 RX with PDS 8x1 RxD Connect the CA 0910 GND with PDS 8x1 GND Step 2 Set the Init Run Switch in Init Mode position Step 3 Supply 24 VDC 10 30 VDC power to the PDS 8x1 controller Refer to below illustration ...

Page 96: ...e 7188XW_yyyymmdd zip can be obtained from either the companion CD ROM the ICP DAS FTP site or the ICP DAS web site The location of the install files on the CD and the download addresses are shown below CD NAPDOS MiniOS7 Utility http ftp icpdas com pub cd 8000cd napdos minios7 utility Step 6 Execute 7188XW EXE C and change the Baud Rate to 115200 bps N81 C is the COM Port of the development PC Ste...

Page 97: ...your PC same network region IP Mask Gateway addresses This example 10 0 8 246 255 255 255 0 10 0 8 255 Table A 1 setcom parameters are as follows Port 1 Baud Rate 2 921600 Data Bit 7 8 for COM 1 Parity N n None parity E e Even parity O o Odd parity Stop Bit 1 for COM 1 Settings configuration command ip new ip mask new mask gateway new gateway mac new mac setcom port refer to Table A 1 baud data_bi...

Page 98: ...1 controller Step 11 Execute ping you setting IP Example ping 10 0 8 246 t using a run command 1 3 2 Follow the procedure described below 1 Click the Start button and then click Run to open the Run Command dialog box 2 In the Run Command dialog box type pin 10 0 8 246 t in the Open field 3 Click the OK button to open a Command Prompt window 4 The ping results should be smooth and continuous 4 ...

Page 99: ... is carried out Note 1 192 168 255 1 is the default IP of the PDS 8x1 controller The IP address can be changed using the instructions in step 8 2 If the PDS 8x1 cannot be successfully pinged from the PC refer to step 8 to change the configuration of the PDS 8x1 controller The mask and gateway addresses of PDS 8x1 controller and the PC should make the network definition 3 The MAC address of the PDS...

Page 100: ...o send a packet to machine B across a physical network to which they are both attached but A only has the Internet address for B IPB The question arises how does A map that address to the MAC address for B MACB ARP provides a method of dynamically mapping 32 bit IP address to the corresponding 48 bit MAC address The term dynamic is used since the mapping is performed automatically and is normally ...

Page 101: ...le from the manufacturer s web site or FTP 5 Gateway Computers that interconnect two networks and pass packets from one to the other are called Internet Gateways or Internet Routers Gateways route packets that are based on the destination network rather than the destination host 6 ICMP Internet Control Message Protocol ICMP provides a method of communicating between the Internet Protocol software ...

Page 102: ...ware manufacturers purchase blocks of MAC addresses and assign them in sequence as they manufacture Ethernet interface hardware Thus no two hardware interfaces can have the same MAC address 10 Packet A packet is the unit of data sent across a physical network It consists of a series of bits containing data and control information including the source and the destination node host address and is fo...

Page 103: ...often simply called the Mask is a 32 bit number that masks and IP address and divides the IP address into the network address and the host address Given its own IP address and its subnet mask a host can determine whether a TCP IP packet is destined for a host that is 1 on its own subnet or 2 on a different network If 1 the packet will be delivered directly otherwise it will be delivered via a gate...

Page 104: ...ation is known as TCP IP TCP IP can be used to communicate across any set of interconnected networks 17 UDP User Datagram Protocol UDP is an internet protocol that provides a much simpler service to the application layer as it only sends packets of data from one host to an other but there is no guarantee that the packets will reach the destination host UDP is suitable for purposes where error chec...

Reviews: