User manual
1.0 Introduction
This document contains information regarding the implementation of host
mode control for the SG-7200 controller. This document is written to give
programmers and implementers the necessary information to interface with the
SG-7200 Controller.
The advantage of using a host mode is that it gives the programmer full control
of the TNC and the ability to interrogate the controller at any time to find the
current status and operating mode.
2.0 Entering Host Mode
To enter the Host mode. The user or program must send the command HOST
<cr> to the SG-7200. At this point the controller will enter Host Mode.
3.0 Command Definitions
4.0 Command Program to TNC Structure
All Data and commands must be sent to the TNC in the form of Host Blocks.
There are several of these forms of blocks. Each will be examined below.
4.1 Requesting Command Information from the Controller
If desired, the programmer may request the current status of any valid
TNC command. To use this feature, send the following host block.
The TNC will now respond with the Host Command followed by any
additional numeric or character data. To send the OP (report OpMode)
command to the TNC we would send.
<SOH><0x4F>OP<ETB>
4.2 Sending Command Data to the Controller
To send commands with data to the controller we use a similar
approach. In this case the Host Command is followed by the parameters
for the command.
49
© 1999 SGC Inc
SGC Inc. SGC Building, 13737 S.E. 26th St. Bellevue, WA. 98005 USA
P.O.Box 3526, 98009 Fax: 425-746-6384 or 746-7173 Tel: 425- 746-6310 or 1-800-259 7331
E-mail: sgc@sgcworld.com Web site: http://www.sgcworld.com
SOH Defined as HEX 01
DLE Defined as HEX 10
ETB Defined as HEX 17
<SOH> 0x4F Host Command <ETB>
(2Bytes)