background image

ww

w

.ip

el

ec

tr

on

ix

.c

om

 

 IPEX 

(IP Electronix)

                

PH422Ex2

User’s Manual

 

 

Page 14 of 21 

                                                                          Doc No. : PH422Ex2-UM-001  

                                                                                                                                                                   14 January 2014 

10.

 

Connecting to Device via TCP Socket 

It is possible to directly connect to PH422Ex2 RS-422 Serial Ports from any node of the network by using socket 
programming. This is simply done if you know only PH422Ex2 IP Address and socket port number for each Port. 
The port numbers is as follow: 

-

 

Port 1 : 9761 

-

 

Port 2 : 9762 

For example we connect to Port 1 by means of Hyper Terminal. Run Hyperterm.exe and from properties dialog 
box, select “TCP/IP (Winsock)”: 

 

Enter device IP Address in the “Host address:” section, for example 192.168.0.2 and the port number in the 
“Port Number:” section (port number for Port 1 is 9761 and for Port 2 is 9762), then click on OK. 

Now if you type some characters, you can see that port 1 TX Blue LED is blinking that means the data is sent to 
PH422Ex2 port 1. 

NOTICE: Don’t forget to set PH422Ex2 in 

SERVER Mode

 for this method of connection. 

Summary of Contents for PH422Ex2

Page 1: ...Doc No PH422Ex2 UM 001 USER S MANUAL IPEX IP Electronix 14 January 2014 PH422Ex2 2 RS 422 Serial Port to Ethernet Terminal Server Client...

Page 2: ...TIONS 3 3 PACKAGE CHECKLIST 4 4 TOP PANEL 4 5 FRONT PANEL 5 6 RS 422 CONNECTING METHODS 6 7 CONNECTION DIAGRAM 7 8 DEVICE NETWORK AND SERIAL PORT SETTINGS 9 9 NETWORK CONNECTION TESTING 12 10 CONNECTI...

Page 3: ...ween Ethernet and RS 422 sides PH422Ex2 comes complete with drivers for Microsoft Windows XP CE 2003 2008 7 Its setup file creates 2 virtual COM Port on your Server PC or Laptop with configurable baud...

Page 4: ...eneral Indicators POWER LED Green It is turned ON when the power supply connects to VDC and GND correctly SERVER LED Green It is turned ON if the device is in Server Mode CLIENT LED Green It is turned...

Page 5: ...www ipelectronix com IPEX IP Electronix PH422Ex2 User s Manual Page 5 of 21 Doc No PH422Ex2 UM 001 14 January 2014 5 Front Panel...

Page 6: ...w ipelectronix com IPEX IP Electronix PH422Ex2 User s Manual Page 6 of 21 Doc No PH422Ex2 UM 001 14 January 2014 6 RS 422 Connecting methods 6 1 14BRS 422 Point to Point 6 2 15BRS 422 Multi Drop Netwo...

Page 7: ...ication software you want There are two methods in order to be connected to the PH422Ex2 COM Ports via Ethernet As the first way it is possible to connect to the device by opening a normal COM Port if...

Page 8: ...her via Ethernet network you can use this connecting method Take two PH422Ex2 Set one PH422Ex2 as Server and another one as Client with adding Remote Server IP on it These two converters are connectin...

Page 9: ...ort 1 of PH422Ex2 Now run a terminal emulator on your computer You can find some terminal emulators in the Utility folder in the installation CD For example we use Microsoft Hyper Terminal Run Hyperte...

Page 10: ...on the Hyper Terminal Entering Device Network and Serial Ports Setting Menu IMPORTANT Now to enter device network and serial ports settings menu follow the below procedure step by step 1 Push the CONF...

Page 11: ...lt settings in this page It is possible to change the entire network and serial ports settings from this menu For example if you want to change the IP Address of the device first press 1 enter new IP...

Page 12: ...y the green and yellow LEDs on the PH422Ex2 s RJ45 socket will blink Now it is important to check the network wiring topology and testing all the cables routers switches in the route from PH422Ex2 to...

Page 13: ...21 Doc No PH422Ex2 UM 001 14 January 2014 If there are any problems in the network you could not see response from the device If you see this timeout window you can t continue installation and first...

Page 14: ...t numbers is as follow Port 1 9761 Port 2 9762 For example we connect to Port 1 by means of Hyper Terminal Run Hyperterm exe and from properties dialog box select TCP IP Winsock Enter device IP Addres...

Page 15: ...he second method for connecting to PH422Ex2 serial ports is to install virtual COM port driver on your computer and open ports as a normal Windows COM port Run PHEx2_32bit exe if your Windows is 32 bi...

Page 16: ...www ipelectronix com IPEX IP Electronix PH422Ex2 User s Manual Page 16 of 21 Doc No PH422Ex2 UM 001 14 January 2014 In this dialog box click on Next Now click on Install...

Page 17: ...op any running application on your system and then from Windows Start Programs IPEX run PHEX2 exe Simply Enter PH422Ex2 IP Address and serial port number for Port 1 and Port 2 and then press apply For...

Page 18: ...2 User s Manual Page 18 of 21 Doc No PH422Ex2 UM 001 14 January 2014 If during installation you see this Window Select Install the software automatically Recommended and click on Next Now click on Fin...

Page 19: ...NOTICE If COM Port number you select is previously used by other application you cannot choose that port number for the device To see which COM Port is in use by the system run Device Manager and from...

Page 20: ...EX IP Electronix PH422Ex2 User s Manual Page 20 of 21 Doc No PH422Ex2 UM 001 14 January 2014 Now you can see which COM port is free and which COM port is in use You must select COM port number for you...

Page 21: ...arantee All products manufactured by IPEX are under warranty regarding defective materials for a period of one year from the date of delivery to the original purchaser 14 Technical Support If you have...

Reviews: