139
Other Modes of Operation
Other ways of using your TNC are covered in this section.
Some of the following modes of operation require special software, so they may not be
available if you are using standard terminal programs such as HyperTerminal or
Procomm Plus.
Remote Sensing and Control
You can use two (or more) packet radio stations, each containing a Kantronics TNC, to
implement remote sensing and/or remote control, as follows:
remote control of another TNC: from a local Kantronics TNC-based radio
station, use the MYREMOTE command to establish control of a remote
Kantronics TNC-based radio station and issue commands for the remote TNC
to carry out. For details, see the Command Reference.
sense analog inputs: use the ANALOG command to gather and report the
status of one or two analog input lines in the remote TNC. Kantronics single
port and multi-port TNCs contain an 8 bit A/D converter and additional
circuitry that converts the analog voltage presented at two specified inputs
into digital values from 0 to 255. You can then use these digital values
(reported in binary) as an approximation of the analog voltage values at the
time the TNC interrogated the analog inputs. For details on the ANALOG
command, see the Command Reference.
Note: As documented in the ANALOG command and the radio port pin
specifications, single port devices and multiport devices use different input lines and
ports for analog sensing.
control output voltages: use the CTRL command to control the voltages on
selected output lines in the remote TNC (up to two output lines in single port
devices and four output lines in multi-port devices). Each of these output lines
can be set to OPEN (i.e., OFF) or GROUNDED (i.e., ON) by the CTRL
command. Also, the CTRL command can be used with any or all of these
output lines to send a specified number of short ON/OFF pulses (each pulse
lasting about 100 ms, with a fixed length pause between pulses) or a single
long (about 1.5 s) ON/OFF pulse. For details on the CTRL command, see the
Command Reference.
You can also use the ANALOG and/or CTRL commands, without the REMOTE
command, to carry out sensing and control functions at a local Kantronics TNC.
The following diagram illustrates the use of two Kantronics TNC/radio stations for
remote control and sensing. These operations could be carried out manually or via a
terminal program running in the computer in the central TNC station.