background image

 

 

PDS-220Fx Series User Manual (V1.2, Apr. 2015) 

 

 

 

61

 

7.3.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 is used. If stat = 0, the socket is not yet used. 

 

Take Effect:

 Immediately 

 

Example: 

 

Command 

Argument 

Description 

socket 

 

Lists the status of all sockets.

 

 

ГК

 

Атлант

 

Инжиниринг

 – 

официальный

 

представитель

 

в

 

РФ

 

и

 

СНГ

 

+7(495)109-02-08 [email protected] www.bbrc.ru 

Summary of Contents for PDS-220F Series

Page 1: ...Series User Manual V1 2 Apr 2015 1 Service and usage information for PDS 220Fx Series User Manual Version 1 2 April 2015 PDS 220FT PDS 220FC PDS 220FCS PDS 220FCS 60 7 495 109 02 08 sales bbrc ru www...

Page 2: ...rmation 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 r...

Page 3: ...TH WEB BROWSER 29 5 1 CONNECTING TO THE PDS 220FX MODULE 29 5 2 NETWORK SETTINGS 30 5 3 IP FILTER SETTINGS 33 5 4 COM PORT SETTINGS 35 5 5 MODBUS GATEWAY SETTINGS 41 5 6 MISCELLANEOUS SETTINGS 43 5 7...

Page 4: ...ACCESS THE REMOTE PDS 220FX THAT PLACED BEHIND AN NAT OR FIREWALL 85 2 HOW TO OPEN A VIRTUAL COM PORT THAT LARGER THAN COM 9 BY CALLING CREATEFILE WIN32 API 86 3 DOES VXCOMM DRIVER PC SUPPORT AUTO RE...

Page 5: ...p in the future More Information Documentations CD Napdos PDS PDS 220Fx Document http ftp icpdas com pub cd 8000cd napdos pds pds 220fx document VxComm Driver Virtual COM CD NAPDOS Driver VxComm_Drive...

Page 6: ...dependence a small core OS and high flexibility the PDS 220Fx series is able to meet the demands of every network enabled application The PDS 220Fx series includes a powerful and reliable Xserver prog...

Page 7: ...se major problems with copper cabling High electrical resistance making it safe to use near high voltage equipment or between areas with different earth potentials No sparks important in flammable or...

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

Page 9: ...l 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...

Page 10: ...20Fx series via a standard web browser interface e g Internet Explorer FireFox or Mozilla etc This means that it is easy to check the configuration of the PDS 220Fx series via an Ethernet network with...

Page 11: ...DS 220Fx COM Port to be virtualized to a standard COM Port of the host PC as shown below In the configuration above Meter 1 is virtualized to link to COM3 of the host PC Therefore a program original d...

Page 12: ...mm technology programs that on the host PC support serial devices can be upgraded from a RS 485 network to a fiber optic network without requiring any modifications to the program Refer to Sec 2 1 for...

Page 13: ...Apr 2015 13 2 Configure the system connection as shown below and click the Start button to begin logging data 3 Open the log file in Excel to read the log data as shown in the example below 7 495 109...

Page 14: ...he VxComm technology the signal data of I 7000 modules from the fiber optic network can be analyzed without the need to write custom programs For more information about the log function refer to the o...

Page 15: ...no Halogen Built in High Performance MiniOS7 from ICP DAS 10 100 Base FX SC ST connectors Low power consumption Made from fire retardant materials UL94 V0 Level ODM service is available 3 2 PDS 220Fx...

Page 16: ...nk Act Init Pin Yes Serial Port COM1 Male DB 9 5 wire RS 232 RxD TxD CTS RTS GND Note 4 kV ESD Protection COM2 Removable Terminal Block 2 wire RS 485 D D GND with Self tuner ASIC or 4 wire RS 422 TxD...

Page 17: ...3 125 8 7 125 9 125 or 10 125 m Wavelength 1300 or 1310nm Min TX Output 15 dBm Max TX Output 8 dBm Max RX Sensitivity 34 dBm Max RX Overload 5 dBm Budget 19 dBm Single mode fiber cables 8 3 125 8 7 12...

Page 18: ...anism Models PDS 220FT PDS 220FC PDS 220FCS PDS 220FCS 60 Flammability Fire Retardant Materials UL94 V0 Level Dimensions W x L x H 31 mm x 121 mm x 157 mm 31 mm x 123 mm x 157 mm Casing Fire Retardant...

Page 19: ...View External Power Supply External Power Supply LED Indicator LED Indicator COM2 RS 485 COM1 RS 232 Robust insulated and fire retardant case COM2 RS 485 COM1 RS 232 Robust insulated and fire retarda...

Page 20: ...PDS 220Fx Series User Manual V1 2 Apr 2015 20 3 5 Pin Assignments Pin Assignments for PDS 220Fx Series models 7 495 109 02 08 sales bbrc ru www bbrc ru...

Page 21: ...Fx Series User Manual V1 2 Apr 2015 21 Left Side View Front View Top View Right Side View Back View Bottom View 3 6 Dimensions Dimensions for PDS 220Fx Series models 7 495 109 02 08 sales bbrc ru www...

Page 22: ...h ns 208 html 4 The network settings in the PC are correctly configured and the Ethernet connection is functioning normally 5 Disable or correctly configure the Windows firewall and any Anti Virus sof...

Page 23: ...th the NS 200AFx module and your computer to the same sub network or the same Switch Short the RXD and TXD pins of the PDS 220Fx module for execute a self test Supply 24 VDC 12 48 VDC power to the PDS...

Page 24: ...log box 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 220Fx series module will b...

Page 25: ...module to make sure that the new IP Mask Gateway settings have been saved then click the name of your PDS 220FX series module once to select it 2 Click the Add Server S button then assign a COM Port...

Page 26: ...heck the Virtual COM port numbers on the PC 4 Click Restart Driver from the Tools menu and then click the Restart Driver button to start the driver Check COM Port 6 7 Click this button to start the dr...

Page 27: ...DS 220Fx module as shown in the diagram in Step1 2 Right click Port 1 and then choose the Open COM Port option 3 Check that the configuration of the COM Port is correct and then click the Open COM but...

Page 28: ...response is received it will be displayed in the received field 5 If the test is successful the COM port program will be able to work directly by setting the Virtual COM Port number The response is di...

Page 29: ...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 220Fx Module Enter the IP addre...

Page 30: ...operate correctly If the settings are changed while the module is operating any links to Virtual COM Port based applications currently in use will be lost and an error will occur DHCP Client 0 disable...

Page 31: ...packet to the gateway during the power on stage It is used to inform the gateway that a PDS 220Fx itself has joined the network TCP ACK Delay ms default 50 PDS 220Fx does not want to send an empty ACK...

Page 32: ...the Network WDT timeout SystemTimeout ST setting will also be cleared to 0 Users have to configure this setting again by SystemTimeout Console Telnet command Master IP default empty disabled If the Ma...

Page 33: ...only Set a single IP address the IP address entered in the IP1 and IP2 MASK text fields will be the same as the image below shows Only clients who s IP address is included in the filter table are abl...

Page 34: ...n the range of 10 0 9 0 to 10 0 9 255 are able to connect to the PDS 220Fx series module Note that how to get the IP address range 10 0 9 0 to 10 0 9 255 It s calculated as follows Check the Save to E...

Page 35: ...PDS 220Fx Series User Manual V1 2 Apr 2015 35 5 4 COM Port Settings The COM Port Settings list is saved in the EEPROM on the PDS 220Fx series module 7 495 109 02 08 sales bbrc ru www bbrc ru...

Page 36: ...list The COM Port Settings area Save current settings to EEPROM If the Set COM Port button is clicked without checking Save current settings to EEPROM option the new settings will be saved to the PDS...

Page 37: ...ses a transfer speed 115200 bps setting a smaller value is helpful in preventing data loss Data Buffered Delay Time DBDT When the COM port does not receive data from devices connected over the period...

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

Page 39: ...cts to the PDS 220Fx module the operation mode same as M0 mode please refer to page 36 M0 Transparent Mode and if there are two or more clients connecting to the PDS 220Fx module the operation mode sa...

Page 40: ...nd process next request Master Ack Timeout MAT ms 0 DISABLE If the PDS 220Fx module does not receive any data from Slave for a certain period the PDS 220Fx module will return an ACK character to Maste...

Page 41: ...20Fx Series User Manual V1 2 Apr 2015 41 5 5 Modbus Gateway Settings Check the Modbus Device ID of PDS 220Fx module Check the COM Port for Modbus Gateway settings 7 495 109 02 08 sales bbrc ru www bbr...

Page 42: ...u used for PDS 220Fx module Number of ID for serial Modbus device Sets the device ID of serial Modbus device 0 Disable Timeout If the PDS 220Fx module does not receive any data from RTU Slave for a ce...

Page 43: ...the Web Read Only property refer to the information below 1 2 5 6 Miscellaneous Settings Alias Name allocates and alias to the PDS 220Fx series module Web Read Only 0 disabled 1 enabled Login used to...

Page 44: ...o complete the operation 4 User can restore PDS 220Fx password to default value admin by using config RESET console command refer to section Console Telnet Commands List This command sets most configu...

Page 45: ...teway for PDS 220Fx series modules Please also refer to Section 4 Setting up the PDS 220Fx module 2 Enter the configuration of PDS 220Fx 1 Client web server and then check your firmware version is v3...

Page 46: ...aud Rate field and 8 None 1 in data format field for example 4 Check the Save current settings to EEPROM and Apply Current settings items and then click the SET COM PORT button to finish configuration...

Page 47: ...COM and type in the COM port of the PDS 220Fx 1 Client which you want to use 7 Type in the COM port IP and cmd port default 10000 of the PDS 220Fx 2 Server and then check the Save to EEPROM and click...

Page 48: ...thernet Ex NS 200AFT optional Ethernet Hub Ex NS 208 optional Modbus device Ex M 7015 optional Exterior power supply device Ex DP 665 optional 2 Keep up network connection status for your PDS 220Fx se...

Page 49: ...s TCP to Modbus RTU gateway that supports most SCADA HMI communications based on the Modbus TCP protocol Step1 Configuring COM Ports for Modbus Gateway 1 Enter the IP address of the PDS 220Fx series m...

Page 50: ...s as follows 1 Select appropriate COM Port from the Port COM0 for ALL PORTS drop down options for example COM2 2 Assign a Numbers of Modbus device in the Number of ID for serial Modbus device field fo...

Page 51: ...r 2015 51 Step2 Test Modbus TCP to Modbus RTU Gateway 1 Run the Modbus Utility program and then click the Modbus TCP button 2 Click on Client tools Modbus TCP Client Double Click 1 Click Click 2 7 495...

Page 52: ...DS 220Fx series module 4 Refer to Protocol Description and type command in the command field then click the Send Command button If the response data is correct it means the test is success Type the IP...

Page 53: ...nter the configuration of PDS 220Fx web server and then check your firmware version is v3 2 32 Jul 06 2012 or later please also refer to Section 5 1 Connecting to the PDS 220Fx module 3 Make sure your...

Page 54: ...dd Server s in the VxComm Utility please refer to Section 4 Setting up the PDS 220Fx Module 5 Run Modbus Utility program and click the Modbus TCP button and then click on Client tools Modbus RTU Clien...

Page 55: ...then click the Open button 7 Refer to Protocol Description and type the command in the command field then click the Send Command button If the response data is correct it means the test is success Se...

Page 56: ...rt Init Mode for MiniOS7 Commands for Downloading Firmware Run Firmware vc6_3232 autoexec Console Mode for Console Commands Run Mode for Virtual COM applications Init mode SW1 is in Init position SW1...

Page 57: ...cepts 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 R...

Page 58: ...M Gets Sets the echo mode M0 Transparent Mode Multi Echo Data Shared M1 Slave Mode Single Echo None Shared 7 3 9 EchoCmdNo Queries or sets the EchoCmdNo parameter that enables or disables adding Comma...

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

Page 60: ...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 Example Command Argument Des...

Page 61: ...l sockets Listen Not Used Yet together with the type of each socket TCP Server Port No UDP Unused If stat 1 the socket is used If stat 0 the socket is not yet used Take Effect Immediately Example Comm...

Page 62: ...nts 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 c...

Page 63: ...longer than the SystemTimeout period the PDS 220Fx will reboot itself Effect Immediate Example Command Arguments Description Broadcast Queries the Broadcast settings Broadcast 1 Sets Broadcast 1 The s...

Page 64: ...mmand is used to query or set the echo mode Effect Immediate Example Command Arguments Description SocketTimeout Queries the SocketTimeout settings SocketTimeout nnnnn Sets the SocketTimeout Unit ms d...

Page 65: ...onse Virtual COM commands are used to configure a PDS 220Fx through TCP port 10000 Effect Immediate Example EchoCmdNo 1 EchoCmdNo 0 Command Arguments Description EchoCmdNo Queries the EchoCmdNo settin...

Page 66: ...sponse string from serial port to TCP client immediately when it received a char on the response string that matching the EndChar Set EndChar 00 to disable the EndChar feature Effect Immediate Example...

Page 67: ...MASK Description This command is used to query or set the subnet Mask value Effect After the next reboot Example Command Arguments Description IP Queries the IP address IP xxx xxx xxx xxx Sets the IP...

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

Page 69: ...cription This command is used to query or set the alias of a PDS 220Fx module The maximum character length of PDS 220Fx alias name is 16 bytes Effect Immediate Example Command Arguments Description na...

Page 70: ...is used to configure the UDP Search function UDP is used to set the action mode for when a PDS 220Fx module receives a UDP search command Effect Immediate Example Command Arguments Description DHCP 0...

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

Page 72: ...elnet command Example 21 1 When save 0 the system doesn t back up the autoexec bat and vcom ini files to memory and doesn t clear the flash disk It only loads the file that is selected specified Comma...

Page 73: ...ack 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 specifie...

Page 74: ...dresses 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 75: ...le Effect Immediate Example 7 3 24 QUIT Description This command is used to stop and quit the firmware of PDS 220Fx series module Effect Immediate Example Command Argument Description reset Reboot the...

Page 76: ...elopment PC as per below the diagram Step 2 Switch the SW1 in the Init mode position Step 3 Unzip the 7188XW_yyyymmdd zip file on the PC The file is located in the CD Napdos MiniOS7 utility folder htt...

Page 77: ...er twice on the development PC Step 7 Read the configuration of the PDS 220Fx Note The configuration of the PDS 220Fx as follows can be changed Read configuration command ip mask gateway mac setcom po...

Page 78: ...d 2 921600 DataBit 7 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 Step 8 Switch the SW1 in the Run mode position as shown in the below diagram...

Page 79: ...C address of the PDS 220Fx series module should be unique on the same network Refer to step 7 for details of how to change the MAC address of the PDS 220Fx series module Each PDS 220Fx MAC address is...

Page 80: ...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 220Fx series module is corr...

Page 81: ...mic is used since it happens automatically and is normally not a concern for either the application user or the system administrator 2 Clients and Servers The client server paradigm uses the direction...

Page 82: ...ontrol 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 anot...

Page 83: ...ion node host address and is formatted for transmission from one node to another 11 Ping Ping sends an ICMP echo request message to a host expecting an ICMP echo reply to be returned Normally if a hos...

Page 84: ...om applications into appropriately 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...

Page 85: ...10002 maps to 192 168 1 101 10000 10002 NAT 10010 10012 maps to 192 168 1 102 10000 10002 Please note if your NAT router built in a firewall feature you have to configure the NAT to allow incoming TCP...

Page 86: ..._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 VxC...

Page 87: ...M0 Transparent Mode Multi echo shared In this mode data is echoed from the COM Ports of the PDS 220Fx series module to each client that is connected to the PDS 220Fx series module M1 Slave Mode Single...

Page 88: ...y increasing the baud rate since you placing the device server more close to serial device and reduce the communication distance The higher baud rate should be able to be used in short cable distance...

Page 89: ...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 Tr...

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

Page 91: ...ate with a public Internet server PDS 220Fx series module only if the NAT service for the client is available Note IANA Internet Assigned Numbers Authority RFC Request for Comments ISP Internet Servic...

Page 92: ...nfigure the data ports TCP port 10001 10008 of a PDS series module such as BaudRate and data format etc 2 The data port TCP port 10001 10008 which are mapped to serial ports 1 8 of 7188E 8000E PDS 220...

Page 93: ...IP filter list of PDS 220Fx How can I solve it No you cannot search or connect to PDS 220Fx when the PC s IP address is not in the IP filter list of PDS 220Fx You can solve the problem by 1 Add your...

Page 94: ...rmation of TCP UDP port refers to following table TCP Port UDP Port Port Number Description 80 HTTP HyperText Transport Protocol 999 DCON Port 10000 Command Port 10001 Serial Port for COM1 10002 Seria...

Reviews: