Home

User Manual

image

Contents

1. Enc doe ob b 69 15 TCP TRANSMISSION CONTROL 2 2 0000000000 00 00 e en rhsse rese sese ar ense ee 70 16 Pe cs ly wai Se ow ee iden ee 70 17 UDP USER DATAGRAM 70 Er usce uu DANAUM E M CUM 71 1 HOW I ACCESS A REMOTE PDS 220FX THAT IS SITUATED BEHIND AN OR FIREWALL eee 71 2 HOW DO I OPEN A VIRTUAL COM PORT GREATER THAN 9 BY CALLING CREATEFILE WIN32 API 72 3 DOES THE VXCOMM DRIVER SUPPORT AUTO RECONNECTION AFTER FIXING A NETWORK BREAK 73 4 WHY DOESN T THE VXCOMM DRIVER PC RECEIVE DATA FROM THE PDS 220FX MODULE 74 5 DOES TRANSMISSION SPEED BECOME FASTER WHEN A SERIAL DEVICE IS WORKING WITH SERIAL TO FIBER OPTIC DEVICE SERVERS eee 75 6 WHY DOES THE PDS 220FX MODULE FAIL ON A PUBLIC INTERNET CONNECTION 0 0 77 da CAN I USE THE SETCOMMSTATE API TO CHANGE THE BAUD RATE DATA FORMAT SETTINGS VIRTUAL COMFORT PD TTE 79 8 HOW MANY PCS CAN BE CONNECTED TO A SINGLE PDS 220FX 79 9 FOR OR CONNECT TO THE PDS 220FX IF THE IP ADDRESS OF MY PC IS NOT I
2. 40 6 3 981 84 P SIENTES UT 41 APPENDIX LINKING TO A DEVELOPMENT 2 cccccccccccccccccccccccccccccccccccccccccccccccccccceccccccccccccceccccccccccees 63 APPENDIX B FRAME GROUND 2520 2 esee dead Peagesobe 66 GLDSS CLA LM CREO E AE 67 1 ARP ADDRESS RESOLUTION PROTOCOL 67 2 LI EOM SR CENE 67 3 PD DEC 67 4 A CAE 68 5 ICMP INTERNET CONTROL MESSAGES 68 0 INTERNET Ut ce ed a uet cM 68 7 IP INTERNET PROTOCOL ADDRESS 5 68 8 MAC MEDIA ACCESS CONTROL 68 0640 se sisse asse sese sese 68 ce rcr 68 10 PACKET DEM MM IM MM M M MH MI 69 11 FING once 69 12 REVERSE ADDRESS RESOLUTION 2 20 0 0400040040 00 0 0 hse e 69 13 E T T TRUM We UM RR 69 14 SUBNET MASK
3. 5 Connect the PDS 220Fx module to the fiber optic network as shown on the following page and switch on the power Make sure the LED indicator on the PDS 220Fx is flashing 7 Install the 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 220 Series User Manual V1 0 Jun 2010 19 Ethernet to Fiber optic converter NS 200AFx ter Power Supply Fiber Ethernet Hub NS 208 PDS 220Fx 2 RS 422 485 Ethernet Connect both the NS 200AFx module and your computer to the same sub network or the same Switch Short the RXD and TXD pins on the PDS 220Fx module to execute a self test Supply 24 12 48 Vpc power to the PDS 220Fx module PDS 220 Series User Manual V1 0 Jun 2010 20 Step 2 Search for the PDS 220Fx module on the Ethernet network 1 Execute the VxComm Utility and then search the network for your PDS 220Fx module 2 Double click the name of the PDS 220Fx to open the configuration settings dialog box x xComm Utility v2 9 13 Jan 18 2010 File Server Fort Tools Click the Search Severs button to search for your PDS 220Fx 2 search Servers gt Name Alias IP Address Sub net Mask Gate PD5 22UFx 192 168 255 1 255 255 0 0 19rt Search Servers C
4. Configuration Exit PDS 220 Series User Manual V1 0 Jun 2010 22 Check the Virtual COM port mappings on the PC Check the COM port Configure Server VxComm Servers PDS 22UFx 10 1 120 220 Bat Virtual COM 4 Baudrate Part Reserved Port 1 COM Dynamic Port 2 COM3 Dynamic Select Restart Driver from the Tools menu and then click the Restart Driver button TxComm Utility 2 09 03 2008 File server P utem Info Server Make sure you have Click Restart Driver Status Driver 15 ru Hestart Driver PDS 220 Series User Manual V1 0 Jun 2010 23 Step4 Testing your PDS 220Fx 1 Short the RxD and TxD pins of 2 on the PDS 220Fx module as shown in the diagram in step 1 2 Right click Port 1 and then choose the COM Port option JB Configure Server Configure Port Port Virtual COM Port Reserved Port 1 COM m VxComm Servers Baudrate PDS 220Fx 10 1 120 220 Dynamic C Configure Port pen Open Port 3 Check that the configuration for the COM port 1 correct and then click the COM button Configuration Setting ICP DAS Co Lid Parity stop Bits PDS 220 Series User Manual V1 0 Jun 2010
5. 100 Base FX RS 232 RS 485 PDS 220FCS SC connector Single 30 km 100 Base FX PDS 220FCS 60 SC connector Single 60 km 5 wire RS 232 RxD TxD CTS RTS GND 4 wire RS 422 TxD TxD RxD RxD 2 wire RS 485 Data Data PDS 220 Series User Manual V1 0 Jun 2010 16 3 4 Pin Assignments The pin assignments for the PDS 220Fx models are fa Rx FO e x 100 Base Fx COMT RS 232 Tas PDS 220 Series User Manual V1 0 Jun 2010 Dimensions Left Side View Front View Right Side View Top View View Back View PDS 220 Series User Manual V1 0 Jun 2010 18 4 Setting up the PDS 220Fx module Step 1 Connect the PDS 220Fx module to the fiber optic network Before connecting the PDS 220Fx module to a fiber optic network the following items are needed 1 Power Supply 12 48 Vpc e g DP 665 http www icpdas com products Accessories power supply power list htm 2 Fiber to Ethernet Converter e g NS 200AFT http www icpdas com products S witch industrial industrial list htm 3 Check that the network settings on 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 correctly Contact your System Administrator for more details if you are unsure how to do this
6. 12 48 V Step 5 Execute 7188XW EXE C and change the Baud rate to 115200 bps and parity data and stop bits to N81 C is the COM port of the development Step 6 Press Enter twice on the development PC T1883 W 1 28 COMI 115200 N 8 1 FC D CTS D DIR C A Beyin Key Thread 1 uPAG 7186Ea_UDP gt m PDS 220 Series User Manual V1 0 Jun 2010 63 step 7 Read the configuration of the PDS 220Fx 918 UDP 1ip mal IP i1H H 3 2H Read configuration command 18 H85R 255 255 255 H PHC 7186ER8 lUIDP gatewvay mask atewau 1H H 8 254 gateway LPAC 7186ER_UDP gt mac Ethernet Address HWHB Hd eH 2ZH BH B i PaC 7186ES8 UDP setcom 1 urrent set is 101215 E E setcom port Note The configuration of the PDS 220Fx can be changed in the following manners 7186 lUDP ip 192 168 41 1 set 172 168 41 1 Settings configuration command ReadBack IP 192 168 41 1 5 uPAC 7186EX_UDP gt mask 255 255 255 0 ip new ip Set MASK 255 255 255 6 mask new mask gateway new gateway ReadBack JMASK 255 255 255 uPAC 7186ER_ UDP gateway 172 168 41 4 Set GATEWAY 192 168 41 4 new PAC PEE UBP gt eotcon i 115208 n 8 1 M pen 22 setcom Current set 9600 8 0 1 baud data bit parity stop bit Set to 115288 8 H
7. 7186En UDP dir H autoexec bat H3 H4 2HH8 11 26 02 18 66612 18882 88853 8883 323H exe 5213 2008 11 16 97 283H39 1445F 13605 HHB2 97 44B 0001 otal File number is 2 Free space 375579 bytes lt When save 1 the system will first back up the autoexec bat and vcom ini files to memory clear all files from the flash disk before loading the autoexec bat and vcom ini files from memory and running the load command to load the specified file s PDS 220 Series User Manual V1 0 Jun 2010 60 6 3 22 CONFIG Description This command is used to clear the settings currently stored in the EEPROM Effect Immediate Clears the settings currently stored 1n the EEPROM After rebooting the firmware will use the new default f RESET settings stored the EEPROM Note the RESET command MUST be entered in capital letters X When the Config RESET command is used the Password Alias and IPFILTER settings will also be cleared but the IP PMASK GATEWAY addresses will not SystemTimeout setting is also cleared to 0 by the config RESET command so you will have to configure the SystemTimeout value again The default factory setting of SystemTimeout value is 300000ms 300 seconds Example 9 71888 1 36 COM 1 115200 8 8 1 FC 0 C TS 0 DIR C ADocuments and 37 O com323B conf ig RESET Ucom323H PDS 220 Series User Manual V
8. Description This command is used to display the network configuration information such as the IP Mask Gateway MAC addresses status of DHCP ACK Delay Free Memory Socket Effect Immediate Queries the network configuration Example 2 718859 1 36 COM1 115200 H 8 1 FC 0 CTS 0 DIR C Documents com323B8 ipconf Free Memoru 1575H4 bytes Socket number 32 Free socket number 23 PDS 220 Series User Manual V1 0 Jun 2010 44 6 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 1s used If stat 0 the socket 1s not yet used Take Effect Immediately Lists the status of all sockets Example 9 7188XW 1 36 COH 1 115200 8 8 1 FC 0 C TS 0 DIR C ADocuments and SettingsMservstipds O com3230 gt socket 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 LISTEM1 stat 1 H7 16 LISTEH1 stat 1 H8 H1 ESTRBLISHED1 stat 1 8H7 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 USED V
9. RX Sensitivity 35 dBm Budget 12 dBm Max RX Overload 5 dBm Max RX Overload 5 dBm Budget 19 dBm Budget 30 dBm Male DB 9 5 wire RS 232 RxD TxD CTS RTS GND 2 km 62 5 125 um 30 Km 9 125 um 60 Km 9 125 um COM1 Note 4 kV ESD Protection for full recommended for full duplex recommended for full duplex COM2 Removable Terminal Block 2 wire RS 485 D D GND with Self tuner ASIC or 4 wire RS 422 TxD TxD RxD RxD GND Note 4 kV ESD Protection UART Power Input 12 48 non regulated PDS 220 Series User Manual V1 0 Jun 2010 14 Power Consumption O14AQ24Voc S O FrameGND Yes for EMS Protection S 00 Dimensions 25mmxt amp mmxi 35mm WxLxH 00000000004 Mounting DIN Rail Operating 250 756 Temperature Storage Temperature 30 856 Humidity 10 90 RH non condensing PDS 220Fx Front View External Power supply LED Indicator 100 Base FX fiber port ur eg is LT Robust insulated and ESSE M fire retardant case 9 COMI RS 232 Wiring information Wiring information 2 RS 485 PDS 220 Series User Manual V1 0 Jun 2010 15 3 3 PDS 220Fx Selection Guide 100 Base FX Multi PDS 220FT ST connector 2 km 100 Base FX 5 422 SC connector ns 2 km 220 80 MHz 512 512
10. 13 20181 05 Uerzion 2 2 15 pr 29 2 1 186EL LIB 2 8 Mau 13 2HB8 tcp dm32 LIB Uer 1 20 21 20081 6 3 20 SAVE Description This command is used to set the PDS 220Fx module to either back up or not back up autoexec bat and files when using the load command Effect Immediate When the command is used backup copies of the autoexec bat and vcom ini files will be saved cave 0 When the command 15 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 save PDS 220 Series User Manual V1 0 Jun 2010 58 6 3 21 LOAD Description This command is used to load files to the built in flash disk on the PDS 220Fx module It should only be used to update the firmware Effect Immediate This command is coordinated with the MiniOS7 load command and be used to update 3230 vcom ini or autoexec bat file s X Load is not a Telnet command Example 21 1 1 36 COM1 115200 4 8 1 FC 0 CTS 0 DIR C Documents and pds a uPAC 7186E4_UDP gt dir H ucb 6 323H exe 0571372008 11 16 87 8363901445 F 18662 6666 9447 00 1 bat 83 04 2008 11 26 82 18 66612 19449 9 0i otal File number is 2 Free space 3755979 bytes PAC 71I86ER_UDP gt
11. 31 2009 b 8 B TCPIIP Library version 4 20 Dec 24 2009 Free Memory bytes 455168 PDS 220 Series User Manual V1 0 Jun 2010 26 After connecting to the PDS 220Fx the web browser will show the firmware information fi v n112022 00 Firmware Network Device Information Aiasname SS VCOMS Firmware version wA232Apr12200 O Library version FreeMemory bytes 5 2 Network Settings lt gt Sea Command Port Web Server Telnet Server Ping Gateway at start 9 Connection WDT timeout ms Network timeout ms Network Setup page IP Address Subnet Mask Gateway The three items above are the most important network settings and should always correspond to the LAN definition If they do not match the PDS 220Fx module will not operate correctly If the settings are changed while the module is operating any connections to Virtual COM port based applications currently use will be lost and error will occur PDS 220 Series User Manual V1 0 Jun 2010 27 DHCP Client 0 disabled 1 enabled It is recommended that the DHCP Client setting 1s kept as disabled and that static network settings are used This ensures that your PDS 220Fx always uses a fixed IP Address and you don t need to continually reconfigure the Virtual COM mappings UDP
12. 99 sets the configuration of COM port BaudRate DataBits Parity StopBit s If n 0 the settings will be valid for all COM ports on the PDS 220Fx pu TIBBXW 1 36 1 115200 4 8 1 0 0 DIR C ADocuments and SettingsWMI seri pds Ucom3238 com 1 9768B8 8 M 1 connect H 2 76HB 8 MH 1 connect H Ucaomi23H com 1 76HH 8 E 1 1 76HH 8 E 1 connect H Ucaomi23H com H 76HH B8 E 1 1 76HH 8 E 1 connect H 2 76HB 8 E 1 connect PDS 220 Series User Manual V1 0 Jun 2010 46 6 3 5 Broadcast Description This command is used to Enable Disable listening broadcast packets on the PDS 220Fx Effect Immediate Command Arguments Description Broadcast 11 Queries the Broadcast settings Sets Broadcast to 1 Broadcast The system 15 able to receive broadcast packets Sets Broadcast to 0 The system will 1gnore broadcast packets Broadcast Example 7 7188 1 36 COM1 115200 H 8 1 FC 0 CTS 0 DIR C Documents and SettingsWser im pds O coms230 gt broadcast BroadGast 1 caom323H hrnadcast BroadGast coms230 gt broadcast 1 BroadGast i coaom323H PDS 220 Series User Manual V1 0 Jun 2010 47 6 3 6 SystemTimeout ms Description This command queries or sets the system timeout value If the SystemTimeout value is greater than zero and the PDS 220Fx does not receive any packets from any client within the Sy
13. ETSI Virtual COM Pert Serial Device Protocol Computer PDS 220 Series User Manual V1 0 Jun 2010 8 1 3 Why Web Server Technology Web server technology enables configuration of the PDS 220Fx via a standard web browser interface e g Google Chrome Firefox Internet Explorer or Mozilla etc This means that it is easy to check the configuration of the PDS 220Fx a fiber optic network without needing to install any other software tools thereby reducing the user s learning curve COMPortSettingsavedin EEPROM 1 115200 8 N 1 FTL 1 DBDT 0 0 EndChar 00 M0 ST 100 MAT 0 COM 2 115200 8 N 1 FTL 1 DBDT 0 0 EndChar 00 M0 ST 100 MAT 0 222 Current Used Setting COM 1 145200 8 N 1 FTL 1 DBDT 0 2 EndChar 00 M0 ST 100 MAT 0 COM2 115200 8 N 1 FTL 1 DBDT 0 2 EndChar 00 M0 ST 100 MAT 0_ Rx Fifo Trigger Level Data Buffered Delay Time DBDT Mode M1 Slave Mode o M2 Half Slave Mode M3 Modbus Gateway Master Ack Timeout MAT jms 0 DISABLE C Save current setting to EEPROM current setting PDS 220 Series User Manual V1 0 Jun 2010 9 2 Typical Applications for the PDS 220Fx 2 1 RS 232 485 422 Device Networking Using Virtual COM Technology The PDS 220Fx series is designed to allow RS 232 485 422 devices to be connected to a fiber optic network The VxComm uti
14. End Char Description This command 15 used to query or set the EndChar parameter PDS 220Fx sends a data string from the serial port to the TCP client immediately after it receives a char in the data string that matches the EndChar value set by this command Set EndChar 00 to disable the EndChar feature Effect Immediate Endchr Queries the EndChar setting sets the EndChar character Example 7188X W 1 36 COMT1 115200 8 8 1 FC 0 C TSS DIR C XDocuments and Settings servum inipds7 O com323H endchar EndChar HD com3z3H endchar HB EndChar HB EndChar 0D EndChar 0B Send ah Send Mah 81 31 61 68 31 31 61 68 7 Received 3C 31 31 61 68 0 3C 31 31 61 68 2 lt 11 gt 1 i i i PDS 220 Series User Manual V1 0 Jun 2010 52 6 3 11 IP Description This command is used to query or set the IP address Effect After the next reboot IP Queriesthe P address Sets the IP address 6 3 12 MASK Description This command is used to query or set the subnet Mask value Effect After the next reboot Command Arguments Description mask 177 Queries the subnet Mask value Sets the subnet Mask value 1 36 1 115200 8 11 5 0 Documents and Settings User pds O com323B8 mask AS K 255 255 255 8 comi23H mask 2255 255 255 254 AS K 255 255 255 254
15. PDS 220 Series User Manual V1 0 Jun 2010 53 6 3 13 GATEWAY Description This command is used to query or set the outgoing subnet Gateway address Effect After the next reboot Gateway Queries the Gateway address Sets the Gateway address com323BH gatewauy 1H H 8 255 ATEWAY 160 0 8 255 6 3 14 MAC Description This command is used to query the MAC address Effect Setting the address 1s not allowed Queries the MAC address Setting the address is not allowed O ac mB 00 EB 2H 88 9 com3z3H PDS 220 Series User Manual V1 0 Jun 2010 54 6 3 15 NAME Description This command is used to query the name of a PDS 220Fx module Effect Setting the name 15 not allowed name Queries the name of a PDS 220Fx module 6 3 16 ALIAS Description This command is used to query or set the alias of a PDS 220Fx module The maximum character length of the alias name 1s 16 bytes Effect Immediate alias Queries the alias sets the alias of a PDS 220Fx module to Example 7 7188X 1 36 COM1 115200 8 8 1 FC 0 C TS 0 DIR C ADocuments and 7 com3i23H alias ALIAS com3s230 gt alias p752 ALIAS p752 PDS 220 Series User Manual V1 0 Jun 2010 55 6 3 17 DHCP Description This command is used to set the DHCP client to either enabled or disabled The DHCP function will automatically retrieve a dynamic IP
16. amount of data the FIFO reaches the limitation If the amount of data transferred is large and uses a high transfer speed such as 115200 bps setting a smaller value 15 helpful in preventing data loss DBDT ms Data Buffer Delay Timeout When the COM port does not receive data from devices connected for longer than the period defined in the DBDT setting the PDS 220Fx will determine that the data transfer 1s complete and return to processing working tasks PDS 220 Series User Manual V1 0 Jun 2010 32 Other settings MO mode Other Setting Current MO Transparent Mode MO Transparent Mode 2 1 Tini 0 Transparent Mode Multi echo mode Condition 1 One client sends a request to the PDS 220Fx module to access each device PDS 220Fx module the echoes the data from each device to each connected client COM PDS 220 Series User Manual V1 0 Jun 2010 33 Condition 2 No clients send any requests to the PDS 220Fx module The PDS 220Fx module echoes data from the devices to each connected client d errem E Slave Mode Single echo mode Condition 1 One client sends a request to the PDS 220Fx module to access the other devices The PDS 220Fx module echoes data from the devices to the client that requested the service PDS 220 Series User Manual V1 0 Jun 2010 34 Condition 2 No c
17. autoexec bat Save 0 comi23H zaue H Backup ini file H com323H load ress E to download file a Load 3230 exe Input Filename vc6_3236 exe ransfer time is 765000 seconds Ucom3236 gt quit PAC 7186ER_UDP gt dir H ucb 323H exe H5 13 2H8HB 11 16 97 8363901 445P 188682 9447 BaP l autoexec bhat H3 H4 2HHB8 11 26 82 18 00012 19449 HBHE 9 44B 23ucb 3238 11 16 07 83033 1 445 1944 9991 18393 PAC 7186Ea_UDP gt 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 specified file PDS 220 Series User Manual V1 0 Jun 2010 59 21 2 71885 W 1 36 1 115200 8 11 0 8 0 DIR C Documents and PhC 7186E2 UDP dir 2 323BH exe 85713726068 11 16 87 83039 1445F 18682 6666 9447 BHF 1 83 04 2008 11 26 H2 1 8 H6612 19 449 Bibi otal File number is 2 Free space 3755979 bytes 718 gt bat com323BH saue 1 Pd Save 1 Backup file 1 com3230 gt load save file autaexec hat ress ALT_E to download filet Input filename ucb 323BH exe Pd Load 3230 exe 1H 65HHH seconds ranzfer time is com323HB quit ommand not supportted f PRC
18. only client PCs whose IP address 1s included in the range listed in the filter table will be able to connect to the PDS 220Fx module Any requests from other PCs will be rejected SET 1D 4 Set only only clients whose IP address is included in the filter table are able to connect to the PDS 220Fx module Set IP2 set a range of IP address as a starting and ending point This setting allows clients whose IP address is included in the IP filter range to connect to the PDS 220Fx module Set IP1 Mask set the IP filter range as amp Mask 0 amp Mask Mask Only clients whose IP address 1s included in the IP filter range are able to connect to the PDS 220Fx module For instance 10 0 9 5 mask 255 255 255 0 amp MASK 10 0 9 0 mask 0 0 0 255 This allows clients whoes IP address is included in the range 10 0 9 0 10 0 9 255 to connect to the PDS 220Fx module PDS 220 Series User Manual V1 0 Jun 2010 30 P Click the Update button to validate the settings COM1 B FTL 1 aE COM 2 9600 8 M 1 FTL 1 DBDT 0 LL m Char ll cm 23 Tr DBDT t setting COM Port Current Used Setting COM 1 500 8 H 1 FTL 1 DBOT 0 3 Endchareo0 2 9600 8 M 1 FTL 0 3 EndChareo0 a MO Transparent
19. physical network Each has an assigned IP address IP and and a MAC address and 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 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 IPs The question arises how does map that address to the MAC address for B ARP provides a method of dynamically mapping 32 bit address to the corresponding 48 bit MAC address The term dynamic is used since it happens automatically and is normally not a concern for either the application user or the system administrator 2 Clients and Servers The client server paradigm uses the direction of initiation to categorize whether a program 15 a client or server In general an application program that initiates peer to peer communication 15 called a client End users usually invoke client programs when they use network services Most client programs consist of conventional application program development tools Each time a client program 1s 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
20. that allows you to rapidly design robust custom Fiber optics applications The built in high performance MiniOS7 boots up the PDS 220Fx just one second and gives you fastest responses 1 1 Why Fiber Optic Solutions Fiber optic communication permits transmission of data over longer distances than other forms of communication because the signals travel along the fiber with minimum loss and no crosstalk Fiber optics provides the following important features e Immunity to electromagnetic interference EMI Motors relays welders and other industrial equipment generate a tremendous amount of electrical noise that can cause major problems with copper cabling e High electrical resistance making it safe to use near high voltage equipment or between areas with different earth potentials e No sparks important in environments that contain flammable or explosive gas No electromagnetic radiation and it 15 difficult to tap into the signal without causing disruption which 15 an important factor in high security environments Because of these reasons optical fibers have largely replaced copper wire communications in core networks in the developed world PDS 220 Series User Manual V1 0 Jun 2010 5 Applications NS 200AFx PDS 220Fx Power Supply 7000 01 7000 FF I RS 422 485 F M 7000 1 7000 I O modules I 87K I O modules Ethernet 3 LE Instrument PC VxComm Factory F
21. to MSComm CommPort for more details 4 prefix must be added to the COM port name device name if it is greater than COM 9 Please note however that the character is a special escape symbol in the C C language so you have to use the prefix in PDS 220 Series User Manual V1 0 Jun 2010 72 3 Does the VxComm Driver PC support auto reconnection after fixing a network break Yes the VxComm Driver PC supports the auto reconnection mechanism in version 2 00 and above The VxComm Utility allows the user to set the Keep Alive Time ms and Connection Broken Time ms in the server options For more details refer to the Adding a PDS server and configuring the VxComm Driver section of the VxComm Driver Utility User Manual PDS 220 Series User Manual V1 0 Jun 2010 To 4 Why doesn t the VxComm Driver PC receive data from the PDS 220Fx module Make sure that the PDS 220Fx module is operating in mode 0 MO The PDS 220Fx module uses the following communication modes Transparent Mode Multi echo shared In this mode data is echoed from the COM ports of the PDS 220Fx module to each client that 1s connected to the PDS 220Fx module Slave Mode Single echo Non Shared Version In this mode data is echoed from the COM ports of PDS 220Fx 2 6 12 and module to the specific client that requested the service above In M1 mode if the client does not send a r
22. 0 49 6 3 8 M Description This command is used to query or set the echo mode Effect Immediate Mo Queries the echo mode settings Sets the multi echo mode to enable When set to multi echo mode the PDS 220Fx echoes data from a device to all clients that are connected Sets the single echo mode to enable When set to single echo mode the PDS 220Fx echoes data from a device to the client that requested the service O PDS 220 Series User Manual V1 0 Jun 2010 50 6 3 9 EchoCmdNo Description This command 15 used to query or set the EchoCmdNo parameter The EchoCmdNo parameter is used to set whether the PDS 220Fx prefixes the Virtual COM command to the corresponding response Virtual COM commands are used to configure a PDS 220Fx through TCP port 10000 Effect Immediate EchoCmdNo Queries the EchoCmdNo settings If EchoCmdNo 0 a Virtual COM command number Ech dN RN 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 1 36 COM1 115200 N 8 1 FC 0 C TS 0 DIR C ADocuments and SettingsAUseru amp ilpds7 C coms230 gt echocmdno Ec hoGmdNo coms230 gt echocmdno 1 i caom323H echoacmdno Ec hoGmdNo EchoCmdNo 0 EchoCmdNo 1 1310 0 8 254 PDS 220 Series User Manual V1 0 Jun 2010 51 6 3 10
23. 1 checksum CGC M setcom parameters as follows Parity N n None parity E e Even parity O o Odd parity M m Mark parity 1 S 5 Space parity 0 Step 8 Move SWI to the Run mode position as shown in the diagram above Step 9 Power off the module and then power on again PDS 220 Series User Manual V1 0 Jun 2010 64 Step 10 Execute ping 192 168 255 1 t by using a run command as follows Hun 3 Type the name of a program folder document or Internet resource and Vvindows will open it far sau Execute Ping 192 168 255 1 on Open ping 192 168 2551 the PC client Pinging 192 168 255 1 with 32 bytes of data Reply from 172 Reply from 192 Reply from 172 Reply from 172 Reply from 1772 Reply from 172 from 192 From 192 from 172 192 from 192 bytes 32 time 5ms bytes 32 time 2ms Th It h ld b bytes 32 time ims e pine results Shou e bytes 32 time 2ms 5 bytes 32 time 2ms 1 E smooth and continuous bytes 32 time 2ms bytes 32 time 2ms bytes 32 time ims bytes 32 time ims bytes 32 time ims 1 i a 1 m m 21 41 zl 2 i Note e 192 168 255 1 is the default IP of PDS 220Fx module The IP address can be changed using the instructions in step 8 If the PDS 220Fx cannot be successfully pinged from the PC refer to step 8 for details of how t
24. 1 0 Jun 2010 61 6 3 23 RESET Description This command 15 used to reboot the PDS 220Fx module Effect Immediate rest Reboots the PDS 220Fx module 2 68 1 36 COM1 115200 4 8 1 FC 0 CTS 0 and pds com323H rezet IGP DAS MiniOS7 UDP for 7186 2 82 build Hi5 Hnpr 29 2008 15 35 16 0 14 31 SRAM 512K FLASH 512 CPU R22 46 1 FU internal ENABLEDCWDT timeout H 8 sec Serial number Hi 63 42 FD HE DS PAC 7186Ea_UDP 6 3 24 QUIT Description This command is used to quit the firmware of PDS 220Fx module Effect Immediate qut Quits the firmware Example 9 T188XW 1 36 COM1 115200 H 8 1 FC 0 C TS 0 DIR C Documents and Settings Useruiiipds O caom323H quit 7 lUDP PDS 220 Series User Manual V1 0 Jun 2010 62 Appendix A Linking to a Development PC Init Mode 0910 Run Mode E step 1 Connect the download cable CA0910 between the PDS 220Fx module and COM or COM 2 of the development as per the diagram above step 2 Slide SWI to the Init mode position as shown in the diagram above Step 3 Unzip the 7188XW_yyyymmdd zip file on the PC The file is located in the CD Napdos MiniOS 7 utility folder Step 4 Apply power Vs GND to the PDS 220Fx module Vs can be anywhere from
25. 2 DEVICE NET WOR 10 2 2 10 39 40 8 11 2 3 CONFIGURABLE FIBER OPTIC DATA LOGGER 11 3 HARDWARE INFORMATION 2 2 ew eoct pases ee ev eve oa av ea eoe Uo da eU e reet Seo 14 3 1 MLB 14 3 3 PDS 220FX SELECTION GUME dee rot e Qro ee ode de Neat dea 16 3 4 IP TIN AS SIG NIVITEN ES 17 4 SETTING UP THE PDS 220EX MODULE 19 5 CONFIGURATION VIA A WEB BROW SER 26 5 1 CONNECTING TO THE PDS 220FX MODULE ccccscescecceccsccscescecceccscescscescscescescescscescescscscescescescescesescescesens 26 5 2 NETWORK 27 5 3 DP TIETER 30 5 4 CEE 31 5 5 MISCELLANEOUS SETTINGS rad opto pase ode nete dissi 37 6 CONSOLE FBEINER COMMANDS 39 6 1 OPERATIONTILOWCHART be ent E ederent oett 39 6 2 SWITCHING BETWEEN INIT NORMAL
26. 24 4 a string in the send field then click the send button If a response 1s received it will be displayed in the received field Click Send to send a string _ to your PDS 220Fx module eu Terminal 1 0 Sep_06 2007 x COM Terminal Y1 U Sep_06 2007 PIE Send 01 Send Send Interval ims 24 3031 4D lo Received 54 30 3140 01M Clear Recevied Made The response message is Hex Text displayed here Hex C Text Exit Status OK Complete 5 If the test 1 successful then your COM port program should now be able to work with this Virtual COM port now PDS 220 Series User Manual V1 0 Jun 2010 25 5 Configuration via a Web Browser Once the PDS 220Fx module has been correctly configured and is functioning normally the configuration details can be retrieved or amended using either the VxComm Utility or a standard web browser such as Google Chrome Firefox Internet Explorer or Mozilla etc 5 1 Connecting to the PDS 220Fx Module a Note Changing the configuration of the PDS 220Fx can cause client program errors when the Virtual COM port is opened Enter the IP Address of the PDS 220Fx module in the URL field and press Enter to connect to the PDS 220Fx module up Version Network Device Information a comport Setting Misc Setting OSversion 22231 242009 OS Library version v2 8 Aug
27. ET 1 stat 24 00 USED VET 1 stat H 26 HB8 USED VET 1 stat H 28 USED VET 1 stat H 3H HB HOT USED VET 1 stat H Socket Tupe 8H ITI TCP Server 16661 amp 811 TCP Servuer i1B8BHH2 82 I TCGP Server 16663 H31 TCP Seruer idltiBi4 841 TCP Server 16665 H5 I TCP H6 I TCP Seruer 23 H71 TCP Seruer 8H Hs 1 UDP 181 U nlsed 12 1 Uunlsed 141 Unlised 16 1 Unlsed 18 1 Unlised 28 1 Unlsed 22 1 Uunl sed L24 UnUsed 26 UnUsed 28 UnUsed 38 1 Uunlised LA 1 Unlised Lii 1 Uunlsed 13 1 Uunlsed 15 1 Unlsed 17 1 Unlsed 119 1 Unlsed 21 1 1 23 1 Uunlsed 25 UnUsed 27 1 Uunlsed 29 1 Uunl sed 1 Uunlised 13 HH HOT USED VET 1 stat H 15 HBH HOT USED VET 1 stat H USED VET 1 stat H 19 HB HOT USED VET 1 stat H 21 HBH HOT USED VET 1 stat H 23 HH HOT USED VET 1 stat H 25 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 220 Series User Manual V1 0 Jun 2010 6 3 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 If n 0 the configuration of all COM ports will be listed in the same manner as when using the com command above
28. Mew Password CD 2 Set the Web Read Only value to 0 and click the UPDATE button 3 Check that the Web Read Only value is 0 and then click Logout to complete the Operation PDS 220Fx Misc Setup Page Logout Misc Setting Current New Alias Name PDS 1F Web Read Only Set New Password Confirm Mew Password 4 The User can restore the PDS 220Fx password to the default value admin by using the config RESET console command refer to the Console Telnet Commands List section This command restores most of the PDS 220Fx settings to the factory default values The PDS 220Fx must be rebooted to load the new configuration including the default password PDS 220 Series User Manual V1 0 Jun 2010 38 6 Console Telnet Commands List 6 1 Operation Flowchart Run Mode for Virtual COM applications for MiniOS7 Commands for Downloading Firmware Run Firmware 3232 autoexec Init mode Console Mode for Console Commands PDS 220 Series User Manual V1 0 Jun 2010 39 6 2 Switching between Init Normal Modes PDS 220Fx Normal Run Mode Init Mode Comparison Table Init Run Modes Mode Firmware VCOM Telnet Console Stop Init Mode is used to firmware accepts MiniOS7 from PDS COM 1 only Running Run Mode 15 used for Virtual COM applications and accepts Virtual COM commands TCP por
29. Mode P The COM port settings are saved in the EEPROM on the PDS 220Fx module COM Port Setting saved in EEPROM COM 1 9600 8 1 FTL 1 DBDT 0 0 EndChar 00 COM 2 9600 8 1 FTL 1 DBDT 0 0 EndChar 00 PDS 220 Series User Manual V1 0 Jun 2010 P The Currently Used COM Port Settings List COM Port Current Used Setting 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 pont rate bits bits Trig Level COMI 19500 1 ms Apply current setting Note If the Set COM Port button is clicked without checking the Apply current setting the new settings will be saved to the EEPROM of the PDS 220Fx without changing the COM port and the new settings will only be valid after the module is next powered on If the Apply current setting checked when the Set COM Port button is clicked the new settings will be valid immediately Port The COM port number on the PDS 220Fx 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 sets the number of characters that the FIFO can store and the PDS module will read the data once the
30. N THE PDS 220Fx IP FILTER LIST HOW CAN I SOLVE THIS 0 02022 0 000000000000000000000000 81 PDS 220 Series User Manual V1 0 Jun 2010 3 Packing List The shipping package includes the following items PDS 220Fx series hardware module One printed quick start guide One software utility CD Note If any of these items is missed or damaged contact the local distributor 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 220Fx Document VxComm Driver Virtual COM CD NAPDOS Driver VxComm_ Driver Firmware CD ANAPDOSWPDS PDS 220Fx VxComm Server PDS MiniOS7 CD NAPDOS PDS PDS 220Fx OS_image PDS 220 Series User Manual V1 0 Jun 2010 4 1 Introduction The PDS 220Fx series is a family of Programmable Device Servers also known as serial to Fiber gateways that are designed to enable optical fiber connectivity to be added to RS 232 422 485 devices The user friendly VxComm Driver Utility allows users to easily turn the built in COM ports of the PDS 220Fx series into standard COM ports on a PC By virtue of its protocol independence a small core OS and high flexibility the PDS 220Fx series is able to meet the demands of every network enabled application PDS 220Fx series includes a powerful and reliable Xserver programming structure
31. PDS 220Fx Series User Manual Warranty 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 15 believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use or for any infringements of patents or other rights of third parties resulting from its use Copyright Copyright 2010 by ICP DAS rights are reserved Trademark Names used are for identification only and may be registered trademarks of their respective companies PDS 220 Series User Manual V1 0 Jun 2010 1 Table of Contents 1 HE Qe 5 1 1 WHY FIBER OPTIC SOLUTIONS cccccccecccsccscceccecceccesceccesccecceccescescuscesceecceccescscescasceseeescsscescscescesseeseescescscascans 5 1 2 WHY VXCOMM TECHNOLOGY coercet desist ashe dese bee dota ton oa 7 1 3 WHY WEB SERVER TECHNOLOGY 225 Aan eck 9 2 TYPICAL APPLICATIONS FOR THE PDS 22UE X deca redes 10 2 4 2 4 83 4
32. Search 0 disabled 1 always enabled 2 enable the UDP Search function until another client is connected Default 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 all of the clients are disconnected from the module Command Port The default Command Port 1s 10000 Web Server Telnet Server disabled 1 enabled Ping Gateway at start 0 disabled 1 enabled If this option 1s set to 1 enabled the PDS 220Fx module will send a ping packet to the gateway during the power on stage This function 15 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 continually send an empty ACK followed by a TCP data packet Ims later So it delays transmission a little TCP ACK Delay and then combines the ACK and data packet into one This efficiently reduces the number of packets being transmitted and reduces network loading PDS 220 Series User Manual V1 0 Jun 2010 28 Broadcast Receive broadcast packets 0 Reject UDP broadcast packets Connection WDT timeout ms default 0 disabled min 10000 If the PDS 220Fx module does not receive any data from a client PC within the specified Connection WDT timeout period the module will close the connection to the client Network WDT timeout ms 0 disabled mi
33. able to operate on the Internet using a legal public IP address which can be obtained from your ISP or network administrator Public IP Address Internet PDS 220 Series User Manual V1 0 Jun 2010 77 A private internet client may communicate with a public Internet server PDS 220Fx modules only if the NAT service for the client 1s available Private IP Address Internet ed D Private Address Public IP Address Note Internet Assigned Numbers Authority RFC Request for Comments ISP Internet Service Providers Network Address Translator PDS 220 Series User Manual V1 0 Jun 2010 78 7 Can I use the SetCommState API to change 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 SetCommState API can be used to configure the settings Third party tools may provide OpenCom function that can be used to accessing COM port In actuality the CreateFile and SetCommState APIs must be used to implement these kinds of functions 8 How many PCs be connected to a single PDS 220Fx device This depends on how many serial ports are available on the PDS 220Fx module and how many serial ports that can be connected to on each PC The PDS 220Fx module has 32 sockets in total including some reserved listening sockets The PDS 220Fx module provides a si
34. address setting for the PDS 220Fx Thus it 1s recommended that the DHCP function 1s disabled and a static IP address setting 15 used This prevents having to continually reconfigure virtual COM mappings again and again Effect Immediate DHCP 20 Disables the DHCP client DHCP Enables the DHCP client Example 9 71885 1 36 COM 1 115200 8 8 1 FC 0 C TS 0 DIR C ADocuments and O PDS 220 Series User Manual V1 0 Jun 2010 56 6 3 18 UDP Description This command is used to configure the UDP Search function UDP 15 used to set the action mode for when PDS 220Fx module receives a UDP search command Effect Immediate Rejects UDP search commands UDP PDS 220Fx will not reply to any UDP search commands and cannot be searched again Replies to UDP search commands UDP 1 PDS 220Fx modules will reply to search commands and can be searched 2 Default Replies to UDP search commands until a client is connected Example 9 7188XW 1 36 COM 1 115200 N 8 1 FC 0 C TS 0 DIR C ADocuments and 437 O PDS 220 Series User Manual V1 0 Jun 2010 57 6 3 19 VER Description This command is used to query the version information for a PDS 220Fx module VER Queries the version information 1 36 COM1 115200 4 8 1 FC 0 CTS 0 AERE O comi23H uer Firmuare u3 2 3HIMau
35. al Chinese of the DCON utility ri UTILITY YERA5U Searching for 1I 700077777 Modules Line Help tTranditional Chinese End Module supported f pom Description h bout PDS 220 Series User Manual V1 0 Jun 2010 13 3 Hardware Information 3 1 Features Built in Watchdog timer for use in harsh environments Built in self tuning ASIC controller on the RS 485 port Built in 100 Base FX optical fiber port Built in OS ICP DAS MiniOS7 ODM service is available 3 2 Specifications Models PDS 220FT PDS 220FC PDS 220FCS PDS 220FCS 60 80186 80MHz or compatible 512 KB Flash 512 KB Erase unit is one sector 64 KB 100 000 erase write cycles 16 KB Data retention 40 years 1 000 000 erase write cycles Watchdog LED Indicators m Link Act Fiber Port 100 Base FX 100 Base FX 100 Base FX 100 Base FX ST connector SC connector SC connector SC connector Multi mode fiber cables Single mode fiber cables Single mode fiber cables 50 125 62 5 125 or 100 140 um 8 3 125 8 7 125 9 125 or 8 3 125 8 7 125 9 125 or 10 125 um 10 125 um Wavelength 1300 or 1310 nm Min TX Output 20 dBm Wavelength 1300 or 1310 nm Wavelength 1300 or 1310 nm Max TX Output 14 dBm Min TX Output 15 dBm Min TX Output 5 dBm Max RX Sensitivity 32 dBm Max TX Output 8 dBm Max TX Output 0 dBm Max RX Overload 8 dBm Max RX Sensitivity 34 dBm Max
36. atr 1 uu a Double click the name of your PDS 220Fx module Address 801 00 0d e0 80 00 00 3 Contact your Network Administrator to obtain the correct network configuration details such as IP Mask Gateway etc Enter the network settings and then click the button The PDS 220Fx module will be restarted immediately Configure the Ethernet settings P Address Sub net Mask Gatewa ServerName Chars DHCP IP Address Sub net Mask Fontact your Network Administrator to get Gateway cor onfiguration before any changing Cancel PDS 220 Series User Manual V1 0 Jun 2010 21 Step 3 Configuring Virtual COM Ports 1 Make sure that the new IP Mask Gateway settings have been saved click the Search Servers button again to search for your PDS 220Fx module and then click the name of your PDS 220Fx module once to select it Click the name of your PDS 200Fx mu Search Servers Name Alias IP Address Gatewa MAC Address DHCP PD5 220Fx 10 1 120 220 255 255 0 0 10 1 0 254 00 09 0 90 30 44 OFF Configuration UDP e mir Server Information SALLI server Name PDS 220Fx Get name automatically IP Range Start 10 1 120 220 Skip duplicated IP Range End 10 1 120 220 Includes the following special IP O Net I nas 2 Virtual
37. ces 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 more information 2 3 Configurable Fiber Optic Data Logger Using the VxComm driver PDS 220Fx I 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 from the 7000 via the fiber optic network signal data originating from the I 7000 modules can be analyzed using MS Excel without the need to create any custom programs 1 The DCON utility includes a data logger function as show below ri DCON UTILITY VERA for I 700078000 Modules otart End 755 Description PDS 220 Series User Manual V1 0 Jun 2010 11 2 Configure the system connection as shown below and click the Start button to begin logging data Data logger Lag Contig CNCPDA amp IDCON Litilis amp canficLog Config txt Lag Report CNCPDASIDCON Utilit reportLog_Reporttet View Total 20 commands 0 Baudrate Checksum Command Response Trimed response Compare _ Interva Count Error Log Ta File Log error ony Error Counter Summation 3 Open the log file in MS Excel to read the log data as shown in the example below Microsoft Excel File Edit View Insert For
38. equest to the COM port of the PDS 220Fx module then the module won t return any data to it For more information please refer to section 5 4 COM Port Settings 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 220 Series User Manual V1 0 Jun 2010 74 5 Does transmission speed become faster when a serial device is working with Serial to Fiber optic device servers The speed depends on the applications For transparent applications Ethernet latency is included in the transmission and may become slower However you can improve communication speed by increasing the Baud rate since you can place the device server closer to the serial device and reduce the communication distance Higher Baud rate should be able to be used for short cable distances without any communication problems 2 4 Traditional Time Used New Time Used R amp 232 485 422 Transmit Time Transmit Time RS 232 485 422 RS 232 485 422 Transmit Time Fiber to Ethernet Converter g TCP Transmit Time Traditional time used RS 232 485 422 transmit time C New time used Internet Fiber optic transmit time RS 232 485 422 transmit time A B C All TCP packets need an extra ACK packet t
39. ies or sets the IP address MASK Queries or sets the subnet Mask value GATEWAY Queries or sets the Gateway address Queries the MAC address MAC Queries module name Sets the alias for a PDS 220Fx DHCP Enables Disables the DHCP client Sets whether to reply to a UDP search command 19 VER Determines whether or not backup copies of the autoexec bat and vcom ini s files are saved when using the load command Loads a file to the built in flash disk on the PDS 220Fx This command should only be used to update the firmware only CONFIG Restores the factory default settings RESET Reboots the PDS 220Fx module 24 o Exits the running firmware PDS 220 Series User Manual V1 0 Jun 2010 41 6 3 1 IPFILTER Description This command is used to query or edit IP the 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 15 specified the IP filter table can access the PDS 220Fx Effect Immediate Queries the IP filter table ipfilter ADD 1 1 Adds an IP address to the IP filter table ADD 1 1 1 2 Adds a range of IP addresses 1 2 to the IP filter table ipfilter DEL ip1 Deletes an IP address from the IP filter table DEL ipl 1 2 Deletes a range of IP addresses 1 2 from the IP filter
40. ket will be delivered directly otherwise if the packet will be delivered via gateways or routers PDS 220 Series User Manual V1 0 Jun 2010 69 15 16 17 TCP Transmission Control Protocol provides a reliable flow of data between two hosts It 15 associated with tasks such as dividing the data passed to it from applications into appropriately sized chunks for the network layer below acknowledging received packets setting timeouts to make certain that the other end acknowledges packets that are sent and so on TCP IP Transmission Control Protocol TCP and the Internet Protocol IP are the standard network protocols They are almost always implemented and used together and are called TCP IP TCP IP can be used to communicate across any set of interconnected networks 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 PDS 220 Series User Manual V1 0 Jun 2010 70 FAQ 1 How dol access a remote PDS 220Fx that is situated behind an NAT or firewall Modem Client PC Fiber to Ethernet Converter The remote site must have a NAT server or a router that supports NAT NAT stands for Network Address Translator By using configuring the NAT server NAT can forward bypass all specified tcp port connections to
41. lients send any requests to the PDS 220Fx module The PDS 220Fx module doesn t echo any data from the devices to any client CLINT In MI the slave mode timeout setting 15 used to set the waiting time after the last character of the request 15 sent to the device If the device does not respond within the timeout period the PDS 220Fx module will return a timeout error and process the next request Other Setting Current 00 MO Transparent Mode M1 Slave Mode PDS 220 Series User Manual V1 0 Jun 2010 35 ire Request Response Response AN PDS 220 Series User Manual V1 0 Jun 2010 5 5 Miscellaneous settings UPDATE Alias Name allocates an alias to the PDS 220Fx module Web Read Only 0 disabled 1 enabled A If the Web Read Only property is set to 1 enabled the web server will not be able to save any new configurations to the PDS 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 9 LOGIN PDS 220 Series User Manual V1 0 Jun 2010 or PDS 220Fx Misc Setup Page Logout Misc Setting Current New Alias Name PDS 1F Web Read Only 1 7 Set Mew Password Confirm
42. lity allows the built in PDS 220Fx COM port to be virtualized to a standard COM port on a host PC as shown below Fiber 100M COE 1 2 on the PDS 220Fx 1s mapped to on the host PC CON Fiber converter PDS 220Fx IP 1 7000 01 1 2 on the PDS NL HOME EE 220FXx 15 mapped to 5 6 on the host 27 2 PDS 220Fx Fiber to Ethernet ap 2 7000 01 7000 FF converter 4 TENE ES COM 255 um 256 a Si PDS220Fx m 8 Fiber to Ethernet P n JETER xComm Driver converter In the configuration above Meter 1 is virtualized to link to COMG on the host PC Therefore a program originally designed for the MS COMM standard can still access the meter without the need for any modification to the program PDS 220 Series User Manual V1 0 Jun 2010 10 2 2 Fiber I O Applications The PDS series provides fiber optic I O solution Linking to 1 7000 Series Modules The I 7000 series provides a variety of I O operations such as D I D O A D D A Counter and Frequency Measurement etc The 7000 series was originally designed to be used with RS 485 networks so 2 on the PDS 220Fx can be used to link to 1 7000 series modules These modules are very robust and work well in harsh industrial environments By using VxComm technology programs on the host PC that support serial devi
43. loor 2 Serial Port Pair Connection Through the Optical Fiber Factory Floor 1 I 7000 Remote I O M 1 2 Why VxComm Technology In general writing code for a TCP IP program is more difficult than for a COM port program or perhaps 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 220Fx to allow up to 256 COM ports to be used on the central computer VxComm driver saves time when accessing serial devices through the fiber optic network without the need for reprogramming the COM port software on the PC Hub Fiber 100M CO CONT 1 1 i Fiber to Ethernet converter PD5 220Fx IP 1 F kem o CON CON PDS 220Fx 8 Fiber to Ethernet gp 7000 204 7000 2FF converter CON COM 255 COME COM 256 E a Im 1 n mi PDS 220Fx Fiber to Ethernet ZEE converter rogo 01 7009 FF vVxComm Driver PDS 220 Series User Manual V1 0 Jun 2010 7 VxComm driver controls all the details of the TCP IP programming and with the assistance of PDS 220Fx and VxComm technology your COM port program will be able to access your serial devices through the fiber optic network in the same way as it would through a standard COM port Transparent a 1 L E Tip
44. mat Tools Data Window Help m ESSAY X E f da 2 2 Arial 0 Start log at ero SESS reportlog B 1 Start log ad 11 26 01 2 14 36 1 0 2 S600 010 gt HI00 00 000 62 3 14 36 2 40 2 an SH 000 00 000 65 4 14 36 3 30 2 4600 O 0 gt HO00 00 000 65 8 14 3 4 20 2 4600 0 0 gt H00 00 gt 000 60 1000 14 36 5 10 2 ann 010 gt 000 00 gt 000 66 7 14 36 6 0 2 aen 010 gt 000 00 gt 000 66 14 36 7 40 2 S600 010 gt H000 00 gt 000 66 9 14 36 8 30 2 as 010 000 00 00 71 1000 10 14 36 9 20 2 4600 O 0 gt HO00 00 1000 14 14 36 10 1 2 ann O io 2100 00 000 67 712 14 36 11 0 2 ann 010 00 00 000 271 13 14 36 12 4 2 S600 010 z HIDD DO 00 55 14 14 36 13 3 2 S600 010 gt HIOO 00 000 72 15 14 36 14 2 2 4600 D 010 gt H00 00 gt 000 66 18 14 36 15 1 2 4600 010 gt HO00 00 gt 000 60 1000 1573 44 37 40 7 acnn nan annn nn annn 7n 1nnn PDS 220 Series User Manual V1 0 Jun 2010 By using the I 7000 DCON utility and MS Excel in conjunction with VxComm technology the signal data of I 7000 modules from the fiber optic network can be analyzed without the need to create any custom programs For more information about the log function refer to the online help feature English and Tradition
45. n 30000 default 300000ms If the PDS 220Fx module does not receive any data from any of the clients within the specified Network WDT timeout period the module will reboot itself The default setting 15 300000 ms 300 seconds This setting is the same as the SystemTimeout setting unit ms on the Console Telnet command and is the same as the STxxx command line parameter unit seconds When the Console Telnet command is used to clear the EEPROM the Network WDT timeout SystemTimeout setting will also be cleared to 0 This setting must then be reconfigured using the SystemTimeout Console Telnet command Master IP default empty disabled If the Master IP is set only a client using the Master IP can change the COM port configuration which prevents the COM port configuration from being changed by other clients After setting the new configuration click the Set TCP IP button to save it If the Reset System option 15 checked the PDS 220Fx module will reboot itself after the saving operation is complete otherwise the original settings will still be valid until the module is next powered on am PDS 220 Series User Manual V1 0 Jun 2010 29 5 3 IP Filter Setting The IP filter setting limits which client PCs are able to link to the PDS 220Fx module via specific IP addresses When one or more IP addresses are set in the filter table
46. ngle command port for configuring the data serial ports Thus no matter how many data serial ports on the PDS 220Fx are used one more socket connection 1s needed for the command port in order to configure them Listening Available Max PCs when Max PCs when Model Data Ports Racker Sockets using all data using data ports port PDS 220Fx 2 6 32 6 26 29 3 9 29 2 14 Notes 1 CMD Port Command Port port 10000 The CMD Port is used to configure the data ports TCP port 10001 10008 of a PDS 220Fx module such as Baud rate and data format etc 2 The data port TCP port 10001 10008 which are mapped to serial ports 1 8 of 7188E 8000E PDS 220Fx is only used to send receive data 3 The Listening Sockets for PDS 220Fx modules Number of Data ports 1 CMD port IO port Web Telnet UDP Search 4 The number of Available Sockets for PDS 220Fx modules max 32 sockets Listening sockets 5 The maximum number of PCs when using all data ports of the PDS Available sockets data ports 1 command port 6 The maximum number of PCs when using 1 data port of the PDS Available sockets 1 data port 1 command port 7 The web uses TCP port 80 and can be disabled if necessary PDS 220 Series User Manual V1 0 Jun 2010 79 8 Telnet uses TCP port 23 and can be disabled if necessary 9 The UDP search function will occupy one socket UDP 0 Doesn t support UDP search UDP 1 gt Sup
47. o change the configuration of the PDS 220Fx module The MAC address of the PDS 220Fx module should be unique on the same network Refer to step 8 for details of how to change the MAC address of the PDS 220Fx module The default MAC address 15 unique to each individual PDS 220Fx In general if the host PC can ping the PDS 220Fx module smoothly and continuously all other software and drivers for the PDS 220Fx module will operate correctly Therefore users should ensure that the development PC is able to ping the PDS 220Fx module smoothly before any further testing 15 carried out PDS 220 Series User Manual V1 0 Jun 2010 65 Appendix B Frame Ground Electronic circuits are constantly vulnerable to Electro Static Discharge ESD which becomes worse in a continental climate area PDS 220Fx series modules feature a new design for the frame ground which provides a path for bypassing ESD allowing enhanced static protection capability and ensures that the module is more reliable It is recommended that the Frame Ground of the PDS 220Fx module 15 connected to the earth ground such as the ground of an AC power supply to provide better ESD protection for the module The PDS 220Fx module 15 designed with a Frame Ground contact point F G as shown in the figure below PDS 220 Series User Manual V1 0 Jun 2010 66 Glossary 1 ARP Address Resolution Protocol Consider two machines A and B that share a
48. o commit the transmit action This also causes a little additional delay in communication PDS 220 Series User Manual V1 0 Jun 2010 75 For Xserver applications transmission speed can become faster Users 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 a high performance by pre acquiring data before being required by the client and then the response will be immediate 4 Traditional Time Used L a New Time Used TEP Transmit Time CP Transmit Data Acquisition and Time Compression PDS 220Fx C Ea GF Traditional time used RS 232 485 422 transmit time C n modules New time used Internet Fiber optic transmit time A B C PDS 220 Series User Manual V1 0 Jun 2010 6 Why does the PDS 220Fx module fail on a public Internet connection The default IP address of the PDS 220Fx module is 192 168 255 1 which can only be used on a private Internet connection A private network packet will not be routed via a public Internet connection which 15 the reason why the PDS 220Fx module failed on the Internet The has reserved three address spaces for private internets RFCI916 10 0 0 0 10 255 255 255 10 8 prefix 172 16 0 0 172 31 255 255 1724 0 12 prefix 192 166 0 0 192 168 255 255 192 168 16 prefix The PDS 220Fx module is
49. 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 3 Firmware Firmware 15 an alterable program located or stored in the semi permanent storage area e g ROM EEPROM or Flash memory PDS 220 Series User Manual V1 0 Jun 2010 67 4 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 5 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 find out what 15 wrong with the network communication 6 Internet Physically the Internet 1s a collection of packet switching networks interconnected by gateways along with the 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 7 IP Internet Protocol address Every interface on an Internet must have a uni
50. ports UDP search and always occupies one socket UDP 2 Supports UDP search but while there is a connection present the UDP search function will be stopped PDS 220 Series User Manual V1 0 Jun 2010 80 9 search for connect to the PDS 220Fx if the IP address of my PC is not in the PDS 220Fx IP filter list How can I solve this problem you cannot search for connect to the PDS 220Fx the IP Address of your 15 not in the PDS 220Fx IP filter list You can solve the problem by using the following method Add the IP address of your PC to the PDS 220Fx IP filter table by using the console command as detailed section 8 4 1 Change the IP address of your PC to one of the IP addresses listed in the IP filter table Disable the IP filter function on the PDS 220Fx by using the console command Refer to section 8 4 1 for detail Clear all configuration settings on the PDS 220Fx by using the config RESET command detailed section 8 4 22 This command also clears the IP filter table password and alias settings etc and you will have to reboot the PDS 220Fx to load any new configuration PDS 220 Series User Manual V1 0 Jun 2010 81
51. que 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 48 bit integer known as its MAC address also called an Ethernet address hardware address or physical address They are normally written as eight hexadecimal numbers such as 00 71 88 af 12 3e 0f 01 Ethernet hardware manufacturers purchase blocks of MAC addresses and assign them in sequence as they manufacture the Ethernet interface hardware Thus no two hardware interfaces have the same MAC address 9 Optical fiber Optical fiber is made up of the core which carries the light pulses the cladding which reflects the light pulses back into the core and the buffer coating which protects the core and cladding from moisture damage etc Together this creates a fiber optic cable which can carry up to 10 million messages at any time using light pulses Fiber optics 15 the overlap of applied the science and the engineering field concerned with PDS 220 Series User Manual V1 0 Jun 2010 68 the design and application of optical fibers Optical fibers are widely used in fiber optic communications which permits transmission over longer distances and a
52. specified PDS 220Fx devices For example NAT 10000 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 contains a built in firewall feature you will have to configure the NAT to allow incoming TCP port connections For example TCP port includes 10000 10002 and 10010 10012 of NAT In the VxComm Utility you have to add PDS 220Fx by using the NAT address and the NAT TCP ports instead of the PDS 220Fx settings For example To add the first PDS 220Fx it s IP Port should be NAT 10000 To add a second PDS 220Fx it s IP Port should be NAT 10010 PDS 220 Series User Manual V1 0 Jun 2010 2 How do I open virtual COM port greater than 9 by calling CreateFile Win32 API If you want to open COM 10 the correct method of calling the CreateFile 1s as follows CreateFile N WNCOMIO address or name of the communications device fdwAccess access mode read write 0 share mode NULL address of the security descriptor OPEN EXISTING create method 0 file attributes NULL file handling with the attributes to be copied NOTES 1 This syntax also works for COM ports 1 through 9 For more information see MS 2115831 2 The Maximum numbers of port that can be accessed using the VxComm Driver 15 256 3 A Valid COM port number for MSCOMM OCX must be between 1 and 16 Please refer
53. stemTimeout period the PDS 220Fx will reboot itself Effect Immediate SystemTimeout Queries the SystemTimeout settings Sets the SystemTimeout Unit ms The default factory setting is 300000 ms 300 seconds 5 minutes and the min value is 30000 ms 30 seconds SystemTimeout Example 9 718828 1 36 COM1 115200 N 8 1 FC 0 CTS 0 DIR C ADocuments and SettingsMIserviipds O com323H suystemtimeout S ustemTimeout H caom323H sustemtimeout 5 ustemTimenout 4HBHBHHB com3230 gt s ystemt imeout Sus teml imeout com323H PDS 220 Series User Manual V1 0 Jun 2010 48 6 3 7 SocketTimeout ms Description This command is used to query or set the SocketTimeout parameter If the SocketTimeout value is greater than zero and the PDS 220Fx does not receive any data from a client PC within the SocketTimeout period the PDS 220Fx will close the socket connection between itself and the client PC Effect Immediate Command Arguments Description SocketTimeout oo Queries the SocketTimeout settings Sets the SocketTimeout Unit ms SocketTimeout default disabled min 10000 2 7188 1 36 0 1 115200 4 8 1 0 0 DIR C Documents and SettingsiU pds com3230 gt sockett imeout SocketTimeout com323H sockettimeout 2HBHBBHH SocketT imeout 2 coms230 gt sockett imeout Soc ketTimeout PDS 220 Series User Manual V1 0 Jun 201
54. t 10000 and Telnet commands TCP port 23 Running Console Mode is used to configure the Virtual COM PDS COM1 is the console port that accepts console commands while other ports are still working with Virtual COM applications PDS 220 Series User Manual V1 0 Jun 2010 40 6 3 Command List n IPFILTER Retrieves Sets the range of IP addresses that are allowed to access the PDS IPCONF Queries the network configuration IP Mask Gateway M AC addresses SOCKET Lists the status of each socket Listen Not Used Yet together with the type of each socket TCP Server Port No UDP Unused 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 Broadcast module can receive Broadcast packets If there are no network communications during the SystemTimeout period the SystemTimeout PDS 220Fx will reboot itself automatically If there 1s no data sent received on the connection during the SocketTimeout 7 SocketTimeout l period the PDS 220Fx will close the connection automatically Retrieves Sets the echo mode 8 Transparent Mode Multi Echo Data Shared MI Slave Mode Single Echo Non Shared Queries or sets the EchoCmdNo parameter that enables or disables adding EchoCmdNo Command Number before a response EndChar Sets a character that determines the end of a response string Quer
55. t higher bandwidths data rates than other forms of communications 10 Packet A packet 1s 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 11 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 15 often the starting point to determine what the problem 15 12 RARP Reverse Address Resolution Protocol RARP provides a method of dynamically mapping 48 bit MAC address to the corresponding 32 bit IP address 32 bit IP address ARP RARP 48 bit MAC address 13 Socket Each TCP segment contains the source and destination port number that can be used to identify the sending and receiving application These two values along with the source and destination IP address the IP header uniquely identify each connection The combination of an IP address and a port number 15 called a socket 14 Subnet Mask The Subnet mask is often simply called the mask Given its own IP address and its subnet mask a host can determine if a TCP IP packet 1s destined for a host that 1s 1 on its own subnet or 2 on a different network If 1 the pac
56. table Note The IP address that follows the DEL command should already be listed in the IP filter table DEL n Deletes item from the IP filter table ipfilter DEL Deletes all items from the IP filter table saves the IP filter table to the EEPROM If the IP filter ipfilter SAVE table is empty the data currently stored in the EEPROM will be cleared LOAD Loads the IP filter table from the EEPROM X The IP filter table is loaded automatically when PDS 220Fx is booted Use the ipfilter save command to save a new IP filter table to the EEPROM PDS 220 Series User Manual V1 0 Jun 2010 42 Example 2 7188XW 1 36 COMI 115200 N 8 1 FC 0 CTS 0 DIR C Documents and 7 com323H ipfilter filter HBH ip i1H H 8 2H comi23H ipfilter add 1H H 8 25 IP filter HB8 ip 18 H 8 2H filter tdi ip i1H H 8 25 comi23H ipfilter add 1H H 8 3H 1H H 8 4H IP filter HH ip 1H H 8 2H IP filter H1 1ip 18 H 8 25 IP filter H2 ip rangye 1H H 8 3H 1H H 8 4H comi23H ipfilter del 1H H 8 3H 1H H 8 4H IP filter HdH ip 1H H 8 2H IP filter H81 ip 1H H 8 25 com323H ipfilter del HH IP filter HBH ip 1H H 8 25 com323H ipfilter del EF IP Filter com323H ipfilter save Save IP Filtert IP Filter setting is Cleared com32z30 gt ipfilter load Load B IpFilter setting o IP Filtert PDS 220 Series User Manual V1 0 Jun 2010 6 3 2 IPCONF

Download Pdf Manuals

image

Related Search

Related Contents

Hilti 3487022 Use and Care Manual  4 MB - イグス  Handleiding  Whirlpool MH3184XPB0 User's Manual  Dinner Roll Dough Made with Whole Grains, 05295  

Copyright © All rights reserved.
Failed to retrieve file