SIGMA Hyper Terminal
SIGMA Hyper Terminal
User’s Manual
Revision: 11.08.2005
SELCO A/S SIGMA / HyperTerminal Manual
Table of Contents
1 Preface......................................................................................................................... 3
2 Installing HyperTerminal............................................................................................ 4
3 Configuring HyperTerminal ....................................................................................... 8
4 Starting a pre-configured HyperTerminal................................................................. 13
5 Configuring the Sigma module................................................................................. 15
6 Backing up the configuration.................................................................................... 22
7 Restoring the configuration....................................................................................... 28
8 Reducing the Send Text speed.................................................................................. 31
1 Preface
The SELCO SIGMA modules are easily configured by clear text commands issued
through the built-in RS232 interface. A standard TTY/ANSI terminal emulator is used as
programming tool.
This manual describes the installation and configuration of the HyperTerminal terminal
emulator. HyperTerminal is included with the Microsoft Windows operating systems.
2 Installing HyperTerminal
HyperTerminal is the terminal emulation software included with the Microsoft Windows
operating system. HyperTerminal is delivered together with most versions of Windows,
including Windows 95/98, Windows ME, Windows NT, Windows 2000 and Windows
XP.
HyperTerminal might or might not be installed on your PC. It depends on the version of
Windows used, as well as whether or not the choice was made to install HyperTerminal
during the initial installation of Windows.
If HyperTerminal is already accessible on your system, you can move on to the next
section of this manual (Configuring HyperTerminal). Else you will need to follow the
installation procedure described below. The procedure is based on Windows 98, which
typically do include HyperTerminal in the default installation. The procedure is very
similar in other versions of Windows. However, there might be minor differences in the
layout of the user interface (menus, dialogues etc.).
Left click on the Start button located at the lower left corner of the Windows desktop.
Then select Control Panel from the Settings menu.
The Control Panel windows will emerge on the screen. Now double-click (left mouse
button) on the Add/Remove Programs icon.
Double clicking on the Add/Remove Programs icon will bring up the Add/Remove
Programs Properties dialog.
The HyperTerminal application is part of the Windows setup (it’s on the Windows CD-
ROM), thus its necessary to left click on the Windows Setup tab.
Before showing the installed components, Windows needs a couple of seconds to scan
the PC. The above message is shown while this takes place.
Now left click on Communications components. Then left click on the Details button.
Left click on the check box just left of the HyperTerminal application. Afterwards left
click on the OK button.
Windows might now ask for the Windows CD-ROM. After inserting the CD-ROM (if
required), Windows will install the files associated with the HyperTerminal application.
3 Configuring HyperTerminal
The example shown below is based on the HyperTerminal application delivered with
Windows XP Professional. Other versions of HyperTerminal/Windows may vary a bit in
appearance; however the configuration sequence should be more or less the same.
Left click on the Start button at the lower left corner to activate the Windows Start Menu.
Then move the mouse pointer to Programs, Accessories, Communications. To start the
application, left click on HyperTerminal.
Left click on the Don’t ask me this question again check box.
Left click in the Name box and enter a name for the new connection (e.g. Direct COM1).
Then select an icon (move the slider and left/right and click on the desired icon).
At the Connect Using combo box, left click to select the COM-port. Select the COM-port
you wish to use (e.g. COM1 or COM2).
It’s normally not possible to use COM1 and COM3 (or COM2 and COM4)
simultaneously, e.g. you cannot use COM3 while you are using a mouse or a modem on
COM1 (vise versa). The reason is that the two ports share the same interrupt request.
COM1 and COM2 (and COM3 and COM4) can however be used simultaneously, as
these two COM-ports works on different interrupts.
The HyperTerminal application is now ready for use. Please note that the Sigma module
will acknowledge active connection with a welcome message (showing the revision info
of its hardware and software as a date) and a prompt. Also check that the word Connected
appears at the low left hand corner of the window. If not, left click on the call icon (third
icon on the toolbar).
You might want to save a short-cut to the Desktop, so that you can easily start the pre-
configured HyperTerminal next time you need it.
Left click on the Desktop icon (on the left side of the dialogue)
You should now find a Direct COM1.ht short-cut on your Windows desktop. Double
click (using the left mouse button) on this icon next time you need to use HyperTerminal
to configure a Sigma module.
To start the pre-configured HyperTerminal, first start up the PC and wait until the
Desktop is ready for your command.
Now double click on the Direct COM1.ht icon located on the Desktop.
HyperTerminal is started and ready for use. The Sigma module will (provided that it is
connected) acknowledge active connection with a welcome message and a prompt.
The HyperTerminal application will start and the Sigma module (in this case an S6000
IO/P module) will acknowledge the connection with a short welcome message and a “>”
prompt. The prompt indicates that the module is ready to receive a command.
The first command to try out could be READ CONFIG (read configuration).
The READ CONFIG command makes the module respond with a list of commands. The
listed commands represent the current settings.
Type READ CONFIG at the prompt and hit the ENTER key.
The list of configuration commands exceeds the number of lines in the HyperTerminal
window (we will deal with this problem later). Note however that the current
configuration of the module is shown as a list of commands. These commands are
actually shown in the same way as they should be typed. In other words, the module
responds as it would like to be commanded.
Note that it is necessary to hit ENTER key to make the “>” prompt appear after a READ
CONFIG command.
The last command (WRITE RS485 STOPBITS 1) indicates that the number of stop bits
on the RS485 port is currently set to 1. Lets for the sake of example, change the number
of stop bits to 2.
We will first have to switch the module from READ ONLY to READ/WRITE MODE.
This is done using the ENABLE command.
The module will now ask for the password. The default password is 0000 (four zeros).
Please note that the RS232 console password works independently from the password of
the user interface.
Once the password is entered, the module will acknowledge the entry into READ/WRITE
mode with an “E” in front of the prompt. The module can be switched back to READ
ONLY mode using the disable command.
Now type the command WRITE RS485 STOPBITS 2 at the prompt and hit the ENTER
key.
The module accepts the command without any error response. This indicates that the
command is valid.
Now check the configuration with another READ CONFIG command. Hit ENTER after
typing the command at the prompt.
It can now be seen that the number of stop bit has been changed to 2.
The remaining parameters can be altered in exactly the same way. The changed is stored
and made active within the module once the user has pressed the ENTER key (assuming
that the command is spelled correctly and no error is reported).
Remember to set the number of stop bits back to 1, following a procedure similar to the
one described above.
Keep in mind that the default configuration can be restored at any time by issuing the
command WRITE SYS SETUPDEFAULT YES. The default configuration is then
restored after the power to the module has been turned off and on.
Start the HyperTerminal from the desktop short-cut (double click on the Direct COM1.ht
short-cut).
Type READ CONFIG at the prompt, however at this time do not press ENTER.
It’s now necessary to choose a location and filename for the text file that is to contain the
configuration backup.
Left click on the Desktop icon at the left side of the dialogue.
Enter S6000 Config (or whatever name you prefer) into the File name field.
Now hit the ENTER key to execute the READ CONFIG command that was typed
previously.
This lists the current configuration, which has now also been captured to the text file on
the desktop.
Select Stop
This ends the capture mode. Hit the ENTER key to get the “>” prompt. Then close the
HyperTerminal application.
The configuration is now accessible as a readable text file. The text file contains the list
of commands necessary to reestablish the configuration from scratch.
The text file can be store on a disk for safe keeping, or it can be sent by e-mail as an
attachment (e.g. for support purposes).
It is also possible to retransmit the file back into the module in order to restore the
configuration. This feature is highly practical if you receive a file with a set of
configuration commands from SELCO.
Double click on the S6000 Config.txt (using the left mouse button) to check the content of
the file. Double clicking on a .txt file will open the file in the Notepad text editor.
It is necessary to scroll the contents of the notepad widow to view the full content of the
file.
It might be necessary to clean the text file for excess characters and lines. The excess
characters and lines (e.g. “>” prompts, linefeeds and commands) might be present at the
beginning and end of the command list. The amount of excess information depends on
when the capture was started and ended. The excess characters and lines can be easily
deleted by editing the file, where after the file can be updated using the Save… function
of the Notepad File menu.
Start the HyperTerminal from the desktop short-cut (double click on the Direct COM1.ht
short-cut).
Enable the module for READ/WRITE access using the ENABLE command (default
password is 0000). Then Left click on the Transfer menu.
It’s now necessary to choose the location and filename of the text file containing the
configuration.
Left click on the Desktop icon at the left side of the dialogue.
Click on the S6000 Config.txt (or whatever is the name of the file).
This causes the content of the text file (S6000 Config.txt) to be written back into the
Sigma module – line by line.
Start the HyperTerminal from the desktop short-cut (double click on the Direct COM1.ht
short-cut).
Select Properties
Set the Line delay to 50 millisecond. This is the delay between each command.
Set the Character delay to 2 milliseconds. This is the delay between the individual
characters.
Click on the OK button to accept the new settings and close the ASCII Setup dialogue.
It is practical to update the desktop short-cut (HyperTerminal configuration) with the new
settings.
Select Save.