background image

Appendix D 

– Hexadecimal Table 

 

Dec  Hex 

Bin 

 

Dec  Hex 

Bin 

 

Dec  Hex 

Bin 

 

Dec  Hex 

Bin 

0   0  

00000000  

    64  

40   01000000    

128   80   10000000  

    192   c0  

11000000  

1   1  

00000001  

    65  

41   01000001    

129   81   10000001  

    193   c1  

11000001  

2   2  

00000010  

    66  

42   01000010    

130   82   10000010  

    194   c2  

11000010  

3   3  

00000011  

    67  

43   01000011    

131   83   10000011  

    195   c3  

11000011  

4   4  

00000100  

    68  

44   01000100    

132   84   10000100  

    196   c4  

11000100  

5   5  

00000101  

    69  

45   01000101    

133   85   10000101  

    197   c5  

11000101  

6   6  

00000110  

    70  

46   01000110    

134   86   10000110  

    198   c6  

11000110  

7   7  

00000111  

    71  

47   01000111    

135   87   10000111  

    199   c7  

11000111  

8   8  

00001000  

    72  

48   01001000    

136   88   10001000  

    200   c8  

11001000  

9   9  

00001001  

    73  

49   01001001    

137   89   10001001  

    201   c9  

11001001  

10   a  

00001010  

    74  

4a   01001010     

138   8a   10001010  

    202   ca  

11001010  

11   b  

00001011  

    75  

4b   01001011     

139   8b   10001011  

    203   cb  

11001011  

12   c  

00001100  

    76  

4c   01001100     

140   8c   10001100  

    204   cc  

11001100  

13   d  

00001101  

    77  

4d   01001101     

141   8d   10001101  

    205   cd  

11001101  

14   e  

00001110  

    78  

4e   01001110     

142   8e   10001110  

    206   ce  

11001110  

15   f  

00001111  

    79  

4f  

01001111     

143   8f  

10001111  

    207   cf  

11001111  

16   10   00010000  

    80  

50   01010000     

144   90   10010000  

    208   d0  

11010000  

17   11   00010001  

    81  

51   01010001     

145   91   10010001  

    209   d1  

11010001  

18   12   00010010  

    82  

52   01010010     

146   92   10010010  

    210   d2  

11010010  

19   13   00010011  

    83  

53   01010011     

147   93   10010011  

    211   d3  

11010011  

20   14   00010100  

    84  

54   01010100     

148   94   10010100  

    212   d4  

11010100  

21   15   00010101  

    85  

55   01010101     

149   95   10010101  

    213   d5  

11010101  

22   16   00010110  

    86  

56   01010110     

150   96   10010110  

    214   d6  

11010110  

23   17   00010111  

    87  

57   01010111     

151   97   10010111  

    215   d7  

11010111  

24   18   00011000  

    88  

58   01011000     

152   98   10011000  

    216   d8  

11011000  

25   19   00011001  

    89  

59   01011001     

153   99   10011001  

    217   d9  

11011001  

26   1a   00011010  

    90  

5a   01011010     

154   9a   10011010  

    218   da  

11011010  

27   1b   00011011  

    91  

5b   01011011     

155   9b   10011011  

    219   db  

11011011  

28   1c  

00011100  

    92  

5c   01011100     

156   9c   10011100  

    220   dc  

11011100  

29   1d   00011101  

    93  

5d   01011101     

157   9d   10011101  

    221   dd  

11011101  

30   1e   00011110  

    94  

5e   01011110     

158   9e   10011110  

    222   de  

11011110  

31   1f  

00011111  

    95  

5f  

01011111     

159   9f  

10011111  

    223   df  

11011111  

32   20   00100000  

    96  

60   01100000     

160   a0   10100000  

    224   e0  

11100000  

33   21   00100001  

    97  

61   01100001     

161   a1   10100001  

    225   e1  

11100001  

34   22   00100010  

    98  

62   01100010     

162   a2   10100010  

    226   e2  

11100010  

35   23   00100011  

    99  

63   01100011     

163   a3   10100011  

    227   e3  

11100011  

36   24   00100100  

    100   64   01100100     

164   a4   10100100  

    228   e4  

11100100  

37   25   00100101  

    101   65   01100101     

165   a5   10100101  

    229   e5  

11100101  

38   26   00100110  

    102   66   01100110     

166   a6   10100110  

    230   e6  

11100110  

39   27   00100111  

    103   67   01100111     

167   a7   10100111  

    231   e7  

11100111  

40   28   00101000  

    104   68   01101000     

168   a8   10101000  

    232   e8  

11101000  

41   29   00101001  

    105   69   01101001     

169   a9   10101001  

    233   e9  

11101001  

42   2a   00101010  

    106   6a   01101010     

170   aa   10101010  

    234   ea  

11101010  

43   2b   00101011  

    107   6b   01101011     

171   ab   10101011  

    235   eb  

11101011  

44   2c  

00101100  

    108   6c   01101100     

172   ac   10101100  

    236   ec  

11101100  

45   2d   00101101  

    109   6d   01101101     

173   ad   10101101  

    237   ed  

11101101  

46   2e   00101110  

    110   6e   01101110     

174   ae   10101110  

    238   ee  

11101110  

47   2f  

00101111  

    111   6f  

01101111     

175   af  

10101111  

    239   ef  

11101111  

48   30   00110000  

    112   70   01110000     

176   b0   10110000  

    240   f0  

11110000  

49   31   00110001  

    113   71   01110001     

177   b1   10110001  

    241   f1  

11110001  

50   32   00110010  

    114   72   01110010     

178   b2   10110010  

    242   f2  

11110010  

51   33   00110011  

    115   73   01110011     

179   b3   10110011  

    243   f3  

11110011  

52   34   00110100  

    116   74   01110100     

180   b4   10110100  

    244   f4  

11110100  

53   35   00110101  

    117   75   01110101     

181   b5   10110101  

    245   f5  

11110101  

54   36   00110110  

    118   76   01110110     

182   b6   10110110  

    246   f6  

11110110  

55   37   00110111  

    119   77   01110111     

183   b7   10110111  

    247   f7  

11110111  

56   38   00111000  

    120   78   01111000     

184   b8   10111000  

    248   f8  

11111000  

57   39   00111001  

    121   79   01111001     

185   b9   10111001  

    249   f9  

11111001  

58   3a   00111010  

    122   7a   01111010     

186   ba   10111010  

    250   fa  

11111010  

59   3b   00111011  

    123   7b   01111011     

187   bb   10111011  

    251   fb  

11111011  

60   3c  

00111100  

    124   7c   01111100     

188   bc   10111100  

    252   fc  

11111100  

61   3d   00111101  

    125   7d   01111101     

189   bd   10111101  

    253   fd  

11111101  

62   3e   00111110  

    126   7e   01111110     

190   be   10111110  

    254   fe  

11111110  

63   3f  

00111111  

    127   7f  

01111111     

191   bf  

10111111  

    255   ff  

11111111 

Summary of Contents for NetPort

Page 1: ...NetPort User Guide Version v1 2 July 2020 ...

Page 2: ...ing data 21 5 1 If you do NOT have an application which can talk to a TCP IP Socket 21 5 2 If you have an application already which can talk to a TCP IP Socket 23 6 Appendix A Setup Mode Parameters 24 6 1 Accessing Setup Mode 24 6 2 Server Configuration Network Configuration 26 6 2 1 IP Address 26 6 3 Channel 1 Configuration Serial Port Parameters 27 6 3 1 Baudrate 28 6 4 E mail Settings 37 6 5 Ex...

Page 3: ...nix link and use it to detect your NetPort 4 Assign an IP address to your NetPort so you can consistently reach it 5 Change the serial settings in NetPort to match those of your serial equipment 6 Make a successful connection and transfer data If you require more information than this User Guide covers here are some options Data https www alphamicro net product view all franchises alpha micro uk e...

Page 4: ...om Port and are regarded as the Masters in an RS232 connection They are equipped with 200mm DB9 cables terminated with plugs pins DCE Data Communications Equipment versions behave similarly to a modem and are regarded as the Slaves in an RS232 connection They are equipped with 200mm DB9 cables terminated with sockets PSU The PSU s provided with the DVK s are UK versions AMCSPS128 European versions...

Page 5: ...etup should look like this V e r i f i c a t i o n C h e c k If powered up correctly the NetPort power LED will light yellow and remains on This LED is on the RS232 end Verification Check 2 If the Ethernet Port on NetPort has authenticated with the LAN successfully then the LED s will confirm the speed and connect mode according to the RHS section of the diagram below Internal 3v3 Power Yellow ON ...

Page 6: ...ocate an IP address to your NetPort Set up a serial tunnel from the network to the NetPort Change settings in NetPort to make it compatible with your serial equipment The following diagram may help you to establish what decisions you need to make and the appropriate action to get things running as quickly as possible ...

Page 7: ...cal Port 10001 DEVICE INSTALLER WEB MANAGER RS232 SESSION TELNET No Can you access NetPort s RS232 Port and connect it to a PC or Terminal Yes Access to a web browser No Yes Using Redirector to provide a Virtual Com Port that magically connects to NetPort No Yes Change NetPort Serial port settings DEVICE INSTALLER WEB MANAGER RS232 SESSION TELNET Establishing the IP Address Establishing the connec...

Page 8: ...__________ Hardware Address You may need to know the unit s hardware address also known as a MAC address On later NetPorts this is printed on the white label which is fixed to the underside of the unit Earlier NetPorts did not have this label so you may need to use Device Installer to detect this MAC address and write it down if required The format is 00 20 4a XX XX XX where XXs are unique numbers...

Page 9: ...n keep pressing Search Note If the unit cannot find a DHCP Server to obtain an address then it will default into AutoIP mode assuming an IP address in the region 169 254 xxx xxx and show in DeviceInstaller in red In some cases re applying power to the Netport will allow it to enumerate on your network successfully If the Network has no DHCP Server then you will have to set the IP address manually ...

Page 10: ...If the NetPort is shown in DeviceInstaller 1 Select the NetPort to be modified 2 Click the Assign IP icon 3 Select Assign a specific IP address and click Next 4 Enter the IP address The Subnet mask displays automatically based on the IP address if desired you may change it On a local network you can leave the Default Gateway blank all zeros Click Next ...

Page 11: ...5 Click the Assign button and wait several seconds until a confirmation message displays Click Finish 6 You should see NetPort displayed like this ...

Page 12: ...n in DeviceInstaller 1 Click on Assign IP 2 When prompted enter the hardware address in the format 00 20 4a XX XX XX where the XXs are unique numbers assigned to each individual product Click Next 3 Select Assign a specific IP Address ...

Page 13: ... automatically based on the IP address if desired you may change it On a local network you can leave the Default gateway blank all zeros Click Next 5 Click the Assign button and wait several seconds until a confirmation message displays Click Finish ...

Page 14: ...pment To do this you can use Web Config via any webrowser Telnet ASCII menus over the network RS232 port using an application such as HyperTerminal 4 4 1 Via Web Interface 4 4 2 Open a browser on a computer on a compatible Subnet as the NetPort Enter the IP Address of the NetPort into the browser and press ENTER ...

Page 15: ...Within 5 seconds a Java based applet will upload into the browser and look like this ...

Page 16: ... the range 192 168 0 x the subnet will be 255 255 255 0 or 8 bit Leave as 0 0 0 0 for DHCP allocated Gateway If the NetPort is expected to establish connection outside of the Firewall Gateway that belongs to the LAN you will need to tell it which Gateway to use Leave as 0 0 0 0 for DHCP allocated High Performance ONLY enable if you need the NetPort to run at RS232 speeds of 460kbps 920kbps Telnet ...

Page 17: ...In cases when you want NetPort to initiate the connection specify the IP Address of the target device here Note if you are attaching to a device behind a firewall you may need to add an entry into the routing table to reach the remote device Remote Port Specify the remote TCP IP port of the device you wish NetPort to connect to This port number does not have to be the same as that set inside NetPo...

Page 18: ... port 10001 will result in you connecting to the RS232 port of NetPort and not the config menus Once Telnet has established a link You will need to press ENTER within 3 seconds or NetPort will time out and close the session Once the session has begun NetPort will scroll through all of its config in an ASCII format and then offer an ASCII menu ...

Page 19: ...enu fields without changing them Top tip Ensure you save any changes made in the above by selecting Menu 9 4 4 4 Via Serial Port master config port The RS232 port is always enabled and is therefore the master config port To access the config menus you will need to establish a serial session using a PC or Terminal 1 For a PC connect as follows Connect NetPort to the COM Port of the PC LAN01 LAN06 v...

Page 20: ...rn off CAPS Lock turn off power to NetPort and repeat the above 4 You will need to press ENTER within 3 seconds or NetPort will time out and close the session 5 Once the session has begun NetPort will scroll through all of its config in an ASCII format and then offer an ASCII menu See Appendix A Setup Mode Parameters for a full breakdown of the options and hexadecimal masks In Summary To change IP...

Page 21: ...u have 2 options without creating a specific software application 1 Use Com Port Redirector to assign a Virtual Com Port to the NetPort you can then use your existing application software to communicate via COMx over the Ethernet without any TCP IP knowledge where x is the Com Port number you have configured in Redirector a Install Com Port Redirector on the PC that the Virtual Com Port is require...

Page 22: ...ng NetPort s Serial Parameters to connect to your Equipment Run HyperTerminal from the Accessories Communications menu Select TCP IP Winsock mode from the pull down menu Enter the IP Address of your NetPort and 10001 for the port number If HyperTerminal does not successfully connect check that you have entered the IP address and Port number correctly Additionally check that the NetPort settings ma...

Page 23: ...e same inside NetPort To do this you can use Telnet ASCII menus over the network Web Config via any webrowser RS232 port using an application such as HyperTerminal Note At the time of going to press NetPort is factory set to Local Port 14001 and will need changing by the user to 10001 See section 4 4 Changing NetPort s Serial Parameters to connect to your Equipment ...

Page 24: ...y have different configuration options 6 1 Accessing Setup Mode Using a Telnet Connection To configure the unit over the network establish a Telnet connection to port 9999 Note You can also use DeviceInstaller to access Telnet Select the device from the main window list and click the Telnet icon If you use the Telnet icon on the DeviceInstaller toolbar skip steps 1 and 2 1 From the Windows Start m...

Page 25: ...terminal emulation program to your unit s serial port The default serial port settings are 9600 baud 8 bits no parity 1 stop bit no flow control 2 To enter Setup Mode reset the unit by cycling the unit s power power off and back on The self test will begin You have one second to enter three lowercase x characters xxx Note The easiest way to enter Setup Mode is to hold down the x key at the termina...

Page 26: ...network parameters display when you select Server configuration option 0 The IP Address Set Gateway IP Address and Netmask fields display the current values Server Configuration Parameters 6 2 1 IP Address The IP address must be set to a unique value in your network ...

Page 27: ...ow via a serial connection DHCP Name If a DHCP server has automatically assigned the IP address and network settings you can discover the unit by using the DeviceInstaller network search feature There are three methods for assigning DHCP names to the unit Default DHCP Name If you do not change the DHCP name and you are using an IP of 0 0 0 0 then the DHCP name defaults to CXXXXXX XXXXXX is the las...

Page 28: ...0800 and 921600 bits per second see Expert Settings to configure High Performance Mode to attain these speeds I F Interface Mode The Interface I F Mode is a bit coded byte entered in hexadecimal notation Interface Mode Options 1 2 stop bits are implemented by the software This might influence performance The following table demonstrates how to build some common Interface Mode settings Common Inter...

Page 29: ... to this channel The port number selected is the Incoming TCP UDP port and Outgoing TCP UDP source port Use Port 0 when you want the outgoing source port to change with each connection If the port number is 0 a random value of at least 50000 is used to actively establish a connection Each subsequent connection increments the number by 1 When the port number reaches 59999 it wraps around to 50000 O...

Page 30: ...Connect Mode Options Incoming Connection ...

Page 31: ...Response Manual Connection Address Example ...

Page 32: ...leted 4 After completing the hostlist repeat the previous step if necessary to edit the hostlist again 5 For Retrycounter enter the number of times the Lantronix unit should try to make a good network connection to a hostlist entry that it has successfully ARPed The range is 1 15 with the default set to 3 6 For Retrytimeout enter the number of seconds the unit should wait before failing an attempt...

Page 33: ...unit treats compound AT commands as unrecognized commands If the Full Verbose option is in effect the unit responds to an unrecognized command string that is otherwise formatted correctly begins with AT and ends with carriage return with the OK message and takes no further action If the 1 Character Response option is in effect the unit responds to an unrecognized command string that is otherwise f...

Page 34: ...ation IP address used with an outgoing connection Remote Port You must set the remote TCP port number for the unit to make outgoing connections This parameter defines the port number on the target host to which a connection is attempted Note To connect an ASCII terminal to a host using the unit for login purposes use the remote port number 23 Internet standard port number for Telnet services ...

Page 35: ...de Disconnect Mode DTR drop either drops the connection or is ignored Disconnect Mode Options Flush Mode Buffer Flushing Using this parameter you can control line handling and network buffers with connection startup and disconnect You can also select between two different packing algorithms Flush Mode Options Function 7 6 5 4 3 2 1 0 ...

Page 36: ...is option is not enabled the unit interprets them independently If Send Immediately After Characters is not set any characters already in the serial buffer are included in the transmission after a transmit condition is found If this option is set the unit sends immediately after recognizing the transmit condition sendchar or timeout Note A transmission might occur if status information needs to be...

Page 37: ...enabled in Disconnect Mode If the option is enabled you can set a password on the serial port 6 4 E mail Settings Note You can change these settings via Telnet or serial connections only not on the Web Manager To configure e mail settings via DeviceInstaller see the help files in DeviceInstaller Help The unit can send an e mail to multiple recipients when a specific trigger event occurs There are ...

Page 38: ...ly an expert should change these parameters You must definitely know the consequences the changes might have TCP Keepalive time in seconds This option allows you to change how many seconds the unit will wait during a silent connection before attempting to see if the currently connected network device is still on the network If the unit then gets no response it drops that connection ARP Cache timeo...

Page 39: ... note of the reserved port numbers on above 6 6 Security Settings You can change security settings via Telnet or serial connections only not on the Web Manager We recommend that you set security over the dedicated network or over the serial setup If you set parameters over the network Telnet 9999 someone else could capture these settings Caution Disabling both Telnet Setup and Port 77FE will preve...

Page 40: ...s The default setting is the N No option which enables remote configuration You can configure the unit by using DeviceInstaller web pages Telnet or serial configuration The Y Yes option disables remote configuration and web sites Note The Y Yes option disables many of the GUI tools for configuring the unit including the embedded Web Manager tool Disable Web Server This setting defaults to the N op...

Page 41: ...e steps below to configure AES encryption on the XPort Note Configuring encryption should be done through a local connection to the serial port of the NetPort or via a secured network connection Initial configuration information including the encryption key is sent in clear text over the network 1 Telnet to the configuration port on the NetPort Port 9999 Example Telnet command syntax is shown belo...

Page 42: ...hese pins on standard variants of NetPort 6 7 Factory Defaults Select 7 to reset the unit s Channel 1 configuration e mail settings and expert settings to the factory default settings The server configuration settings for IP address gateway IP address and Netmask remain unchanged The configurable pins settings also remain unchanged The specific settings that this option changes are listed below Ch...

Page 43: ... to enter three lowercase z characters zzz for Monitor Mode with network connections or three lowercase y characters yyy for Monitor Mode without network connections Note The easiest way to enter Setup Mode is to hold down the appropriate key at the terminal or emulation while resetting the unit A 0 prompt indicates that you have successfully entered Monitor Mode 7 1 2 Via a Telnet Connection To c...

Page 44: ...ngs unit with IP address x x x x to check device status AT ARP Table Shows the unit s ARP table entries TT TCP Connection Table Shows all incoming and outgoing TCP connections NC Network Connection Shows the unit s IP configuration IP address Subnet Mask Gateway where applicable Note if the user has fixed these parameters then they may not be an accurate reflection of the real time status on the L...

Page 45: ...rmware is damaged you can recover the firmware file by using DeviceInstaller to download the ROM file over the serial port 1 Start DeviceInstaller If your PC has more than one network adapter a message displays Select an adapter and click OK 2 From the Tools menu select Advanced Recover Firmware or f8 The Serial Port Firmware Upgrade window displays 3 For Port on PC enter the COM port to which you...

Page 46: ...1110 94 5e 01011110 158 9e 10011110 222 de 11011110 31 1f 00011111 95 5f 01011111 159 9f 10011111 223 df 11011111 32 20 00100000 96 60 01100000 160 a0 10100000 224 e0 11100000 33 21 00100001 97 61 01100001 161 a1 10100001 225 e1 11100001 34 22 00100010 98 62 01100010 162 a2 10100010 226 e2 11100010 35 23 00100011 99 63 01100011 163 a3 10100011 227 e3 11100011 36 24 00100100 100 64 01100100 164 a4 ...

Page 47: ......

Reviews: