6K Misc - Ethernet (TCP/IP) Communications via HyperTerminal

This shows you how to use HyperTerminal to connect to a 6K via Ethernet bypassing Motion Planner and the Com6srvr software that comes with the 6K. This also assumes that you have already correctly setup the 6K for ethernet communications.

For this example we will use HyperTerminal Personal Edition - Version 6.03 available from Hilgraeve Inc (HyperTerminal Windows 7, 8, 10, 11 Terminal Emulator - Hilgraeve ).

Please take your own steps to ensure you have the correct permissions and licenses, to install and run this software on your Computer.

HyperTerminal Private Edition is a more powerful version of HyperTerminal, which comes in Windows 95, 98, 2000, XP and NT 4.0. It also supports, in addition to RS232 COM Ports, the TCP/IP Winsock functions.

Some standard Versions of HyperTerminal, bundled with Windows , also support the selection of TCP/IP Winsock Functions.

hyperterminal-pe-6-1_4524-20240521-001502.bmp

 

 

connectiondescription_4525-20240521-001502.bmp

 

 

 

 

 

 

 

"Host Address" is the IP Address set in the 6K Controller with the NTADDR Command, shown in the TNT Report.

Port Number 5002 is the main receive and transmit port, used by the 6K for Ethernet communications.
PORT 5002 (TCP/IP ASCII Commands)

A. Receive Description
This port receives standard 6K ASCII commands. Connecting to this port disables RS232 port 1. This connection acts as the 6K's communication port 1.

B Transmit Description
This port transmits ASCII in response to a 6K command. The 6K communication settings (EOL, EOT, ERRLVL, etc) that frame the response are those of port 1.

This information is in the Ethernet Specification Document available from Compumotor.

Now we need to adjust some of the ASCII Setup. Goto File / Properties:

 

Select SETTING tab and check the "Send Line ends with Line Feeds" and "Echo Typed Character Locally" boxes. Select OK twice.

Now type some commands in the Terminal Window. You should see your commands echoed back with the correct response and the Status should show a TCP/IP connection.

 

 

 

(Note: With the default Version of Hyperterminal provided with Windows 98 SE, the local echo did not work for us)

You might now want to save your newly created Connection type, with "File" => "Save" or "Save As..." so that you can "Open" it again for later use.

This could be used for communication and troubleshooting on computers where Motion Planner or COM6SVR have not been installed, or if you are trying to isolate the COM6SVR or Motion Planner Software from the equation when hunting down a problem. It can also be used if you do not wish to use the COM6SVR or to get familiar with 6K Ethernet Communications before writing your own Communications Driver.