Wednesday, August 15, 2018

Microscan MicroHawk: Default code read communication out via TCP port 2001


The result of a code read is typically sent over Ethernet on port 2001.   The Telnet client in Windows 10 can display the code read data.

Use the setup window to check what port numbers are used for TCP communication.

Start at the MicroHawk's web interface, located at 192.168.188.2

Gear icon in top right to view setup menu

Click the gear icon to display the setup menu

The advanced icon will open the settings window

Click the Advanced icon to open the settings window.

There are two TCP ports for communication, note what value Port 1 has.
Make a note of the value next to TCP Port 1.  This will be the port number used to connect the telnet client in order to see the read data.

The telnet client can be run from the windows command prompt.

Enter CMD in the search box next to the windows icon, and open the command prompt.


This is usually found at the bottom left of the display.

At the command prompt, start the telnet client by entering the following line:
Telnet 192.168.188.2 2001

Telnet is the command, you need the IP address of the MicroHawk and the port number from settings.
Telnet is the command.  It is followed by a space, then the IP address of the MicroHawk.  Then another space.  Finally the port number from the settings window.

If the Telnet command is not recognized, you need to enable it as a windows feature, see this link:
http://lowtechllcblog.blogspot.com/2018/06/enabling-telnet-on-windows-10.html

Once connected every good read will send the value of the code.



The web interface has a built in terminal to see the formatted data. 
The web interface terminal window will display the formatted data on a good read.