To echo commands, Test the connection, Hyperterminal settings shortcut – Gentec-EO PC-Gentec-EO (for MAESTRO and INTEGRA) User Manual

Page 40: Serial command format, Serial protocol rules, Text mode rules

Advertising
background image

PC-Gentec-

EO User’s Manual Revision 5.0

39

7.1.2.3

To echo commands

The commands you type will not appear in the HyperTerminal window, unless you setup the
HyperTerminal to do so. Only the response from the INTEGRA will be displayed. If you prefer to see the
commands you are typing, on the HyperTerminal window click the File menu and execute the following
sequence:

File

→ Properties → Settings (tab) → ASCII setup → select “Echo typed characters locally→ OK

7.1.2.4

Test the connection

In the HyperTerminal window, type *VER. If the response you receive tells you the version of your
INTEGRA, you are successfully connected and ready for serial command action.

7.1.2.5

HyperTerminal settings shortcut

When you end the session, HyperTerminal asks if you want to save your settings. To avoid inputting the
communication parameters again in the future, save by clicking Yes. The next time you execute the
string of commands, the name of your session will appear after HyperTerminal. Clicking on the session
name will open the connection using the saved settings. To avoid re-entering the string of commands,
put a shortcut to this file on your desktop:

Search for the file name. Select the file. Right click and select Shortcut in the drop down menu.

8

SERIAL COMMAND FORMAT

8.1.1.1

Serial Protocol Rules:

Commands are sent as text strings. The response will either be data or an empty string.

8.1.1.2

Text mode rules:

All text commands must begin with a trig character (*). You do not need to end with a line-feed, a
carriage-return, or both. Parameters must NOT be separated by any spaces. Characters do not have to
be capitals, mixed upper and lower case is ok. Replies to all text mode commands are also in text mode,
and end with a carriage-return and line-feed.

In case of an error, the reply string is in the following format:

Error X: reason [enter]

X is the error code, and reason is an explanation. See Error Codes at the end of this section.

Because all Text Mode replies end with a carriage return <CR> or line-feed <LF> (or both), a text reply
contains tabulations when many elements need to be separated in the string. This is useful when
exporting data to a spreadsheet.

Advertising