background image

ww

w

.ip

el

ec

tr

on

ix

.c

om

 

 IPEX 

(IP Electronix)

               

PH232Ex2

User’s Manual

 

 

Page 27 of 28 

                                                                          Doc No.: PH232Ex2-UM-001  

                                                                                                                                                            14 January 2022 

The Command Frame and Device Response as follows: 

1)

 

Change Redirect Setting Command 
This command consists of 6 bytes as follows: 

6

 

5

 

4

 

3

 

2

 

1

 

status

 

pn

 

‘W’

 

CODE-LSB

 

CODE-MSB

 

0x01

 

 
And the device response consists of 6 bytes as follows: 

6

 

5

 

4

 

3

 

2

 

1

 

status

 

pn

 

‘S’

 

CODE-LSB

 

CODE-MSB

 

0x01

 

 
These bytes are: 

0x01 : constant binary value = 0x01 

CODE-MSB : Most Significant 8 bits of Security Code 

CODE-LSB : Least Significant 8 bits of Security Code 

‘W’ : ASCII Character ‘W’, Write Command 

pn: Port Number, a binary value from 0x00 to 0x03 for PORT1 to PORT4 

status: Redirect Status Byte as follow: 

P4 

P3 

P2 

P1 

 

X: Don’t Care 

P[i] = 1 , means redirect to this port i is enabled 

P[i] = 0 , means redirect to this port i is disabled 

 

Security Code is a 16-Bits Integer password that can be a number from 1000 to 9999 (decimal). The default 

value is 1111 decimal (0x0457 Hexadecimal). 

For example, if the device password is 1111 and we want to redirect the port number 4 to the ports number 1 & 
3, we should send this six-byte frame to the device: 0x01 0x04 0x57 0x57 0x03 0x05

 

2)

 

Read Redirect Status Command 

This command is same as the change command but, we should send character ‘R’ instead of ‘W’, and 

status byte is not required. 

 

5

 

4

 

3

 

2

 

1

 

Pn

 

‘R’

 

CODE-LSB

 

CODE-MSB

 

0x01

 

 

The device response is similar to the previous one.

 

 

  

Summary of Contents for PH232E-2 Series

Page 1: ...Doc No PH232Ex2 UM 001 IPEX IP Electronix 14 January 2022 USER S MANUAL PH232Ex2 2 RS 232 OVER ETHERNET TERMINAL SERVER CLIENT...

Page 2: ...www ipelectronix com IPEX IP Electronix PH232Ex2 User s Manual Page 2 of 28 Doc No PH232Ex2 UM 001 14 January 2022...

Page 3: ...TTOM VIEW 6 6 FRONT VIEW 6 7 BACK VIEW 6 8 GENERAL INDICATORS 7 9 PORT INDICATORS 7 10 DEVICE POWER SUPPLY 7 11 RS 232 SERIAL PORTS PIN CONFIGURATION 8 12 RS 232 CONNECTING METHODS 9 13 CONNECTION DIA...

Page 4: ...EMI is implemented in its design and it has 3kV insulation between Ethernet and RS 232 sides Furthermore all the RS 232 ports are insulated from each other too 2 SPECIFICATIONS Number of Ports 2 RS 2...

Page 5: ...stalling the PH232Ex2 verify that the package contains the following items 1 1 PH232Ex2 Multiport 2 1 Quick Start Guide 3 1 Document and Driver CD ROM 4 2 DB9 Female Connector 5 1 220V AC to 12V DC Ad...

Page 6: ...www ipelectronix com IPEX IP Electronix PH232Ex2 User s Manual Page 6 of 28 Doc No PH232Ex2 UM 001 14 January 2022 4 TOP VIEW 5 BOTTOM VIEW 6 FRONT VIEW 7 BACK VIEW...

Page 7: ...s on continuously UDP LED Green Blinking this LED shows that the UDP mode for this port is selected and device is trying to connect in this mode If the network works properly then this LED turns on co...

Page 8: ...www ipelectronix com IPEX IP Electronix PH232Ex2 User s Manual Page 8 of 28 Doc No PH232Ex2 UM 001 14 January 2022 11 RS 232 SERIAL PORTS PIN CONFIGURATION...

Page 9: ...or other DCE devices DB9 Female Pin Number PH232Ex2 Port as DTE DB9 Male Pin Number Pin 1 DCD Output Pin 1 DCD Input Pin 2 RxD Output Pin 2 RxD Input Pin 3 TxD Input Pin 3 TxD Output Pin 4 DTR Input...

Page 10: ...er DTE devices DB9 Male Pin Number PH232Ex2 Port as DTE DB9 Male Pin Number Pin 7 RTS Output Pin 1 DCD Input Pin 3 TxD Output Pin 2 RxD Input Pin 2 RxD Input Pin 3 TxD Output Pin 6 DSR Input Pin 4 DTR...

Page 11: ...22 Simple Null Modem Connection to PC PLC Without Hardware Flow control PC PLC or other DTE devices DB9 Male Pin Number PH232Ex2 Port as DTE DB9 Male Pin Number Pin 3 TxD Output Pin 2 RxD Input Pin 2...

Page 12: ...ort of the PH232Ex2 then you can connect to the device behind the network by any application software you want by opening a TCP or UDP Socket without need of any auxiliary driver Any Device with a RS...

Page 13: ...ch other so RS 232 PORT of Server connects to RS 232 PORT of Client via network Now you can connect your RS 232 devices to COM Ports as shown in the following diagram Any Device with a RS 232 Port for...

Page 14: ...n device configuration webpage enter the device IP on your web browser address bar like this figure The device Default IP Address is 192 168 1 100 and the default Subnet Mask is 255 255 255 0 Now ente...

Page 15: ...ctronix PH232Ex2 User s Manual Page 15 of 28 Doc No PH232Ex2 UM 001 14 January 2022 Device Information Webpage You can see some general information about the device such as MAC address Firmware and Ha...

Page 16: ...w ipelectronix com IPEX IP Electronix PH232Ex2 User s Manual Page 16 of 28 Doc No PH232Ex2 UM 001 14 January 2022 Security You can change device configuration webpage user name and password in this pa...

Page 17: ...2022 Network Settings You can change all the network settings such as device IP Address in this page It is important to enter valid data in this section If you are not sure about your network settings...

Page 18: ...www ipelectronix com IPEX IP Electronix PH232Ex2 User s Manual Page 18 of 28 Doc No PH232Ex2 UM 001 14 January 2022 PORT Settings You can see and change all the port settings in this page...

Page 19: ...www ipelectronix com IPEX IP Electronix PH232Ex2 User s Manual Page 19 of 28 Doc No PH232Ex2 UM 001 14 January 2022 Pinout Guide RS 232 Port pinout is seen in this page...

Page 20: ...CE If you change the device IP and forget it you can see the new IP Address on the serial port Whenever you turn on the device it sends its IP Address and Subnet Mask to the RS 232 PORT1 The ports set...

Page 21: ...everything is set properly the green and yellow LEDs on the PH232Ex2 s RJ45 socket will blink Now it is important to check the network wiring topology and testing all the cables routers switches in t...

Page 22: ...14 January 2022 Now you should see the ping response from the device 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 contin...

Page 23: ...port numbers are 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 Ad...

Page 24: ...www ipelectronix com IPEX IP Electronix PH232Ex2 User s Manual Page 24 of 28 Doc No PH232Ex2 UM 001 14 January 2022...

Page 25: ...Switch If one serial port is redirected to itself you have a LOOP line that is very useful for testing a communication line There are two ways to set redirect for each port setting in main configurat...

Page 26: ...irect command from a remote workstation or software to device we need IP number or Host Name and the UDP port number The default UDP port number is 9765 and you can change this port number if necessar...

Page 27: ...a binary value from 0x00 to 0x03 for PORT1 to PORT4 status Redirect Status Byte as follow X X X X P4 P3 P2 P1 X Don t Care P i 1 means redirect to this port i is enabled P i 0 means redirect to this...

Page 28: ...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 20 TECHNICAL SUPPORT If you have...

Reviews: