Result Codes; Complete At Command Set - Patton electronics MicroStat II 3022 User Manual

Miniature statistical multiplexer
Table of Contents

Advertisement

5.2 RESULT CODES

Besides echoing back AT commands, the Model 3022 returns its
own result codes to sub-channel 1 after executing a command. The
result codes indicate whether or not the execution was satisfactory. You
may define result codes as English words (Q0), or numeric digits (Q1),
or you may disable them entirely (Q2). The chart on the following page
describes these codes.
Digit Code
Word Code
Meaning of Code
0
OK
Command line executed without errors
4
ERROR
Error in the command line
Note
1
: For screen display purposes, a carriage-return/line feed character sequence
will follow word result codes, while only a carriage-return character will follow numeric
result codes.
Note
: If you do not have a remote Model 3022 connected to the communication
2
line, an "error" result code will show before you hit <ENTER/CR>.
5.3 COMPLETE "AT" COMMAND SET
The Model 3022 command set has two types of commands: Mode
Setting Commands , and Channel Configuration Commands . The Mode
Setting Commands select operating modes and parameter values for
the Model 3022. The Channel Configuration Commands change the
configuration of the channel that you have selected. Both will have an
immediate effect when you press the <ENTER/CR> key. In order to
store the commands in non-volatile memory, you must key AT[W or
AT@W after the command have been entered.
5.3.1 MODE SETTING COMMANDS
The Mode Setting Commands select operating modes and
parameter values for the Model 3022. The letter "n" that follows the
command letter represents a numeric value. The text describes valid
choices, where (*) is the initial selection after a software reset T
command.
Mode Setting Commands
________________________________________________________
Command
Function
________________________________________________________
AT
Command line prefix. The attention command precedes all
other commands listed below.
[
Directs the local Model 3022 to execute the following
commands. The Model 3022 discards all characters before
the "[" character, unless it has a connection to a remote
Model 3022 or you have enabled modem commands.
11
Mode Setting Commands (continued)
________________________________________________________
Command
Function
________________________________________________________
@
Directs the remote Model 3022 to execute the following
commands. The remote Model 3022 responds to all the
commands after the "@" character and returns the result
code. The local unit does not process those commands.
The local Model 3022 rejects the command line if: (a) the
@ command is not immediately following the AT prefix, (b)
the local Model 3022 does not have a connection to the
remote Model 3022, and (c) the remote Model 3022 is in
Local Online Command Mode.
\\\
This command has two functions:
1) If entered while in pass through mode (AT[Y0), local
mux will leave that mode and return to offline command
mode.
2) If received from online data mode, either from sub-
channel 1 or 2, local mux will enter online command mode
on that particular channel
Cn
Selects channel number for subsequent channel
configuration commands. At the start of each command
line, selection reverts to "0 deselects any channel".
*n = 0, deselects any channel
n = 2, channel 2
n = 1, channel 1
n = 3, communication link (modem)
Dn
Tells the remote Model 3022 to enter Remote Online
Command Mode, so that it can be configured. Also tells
the remote Model 3022 to return to Online Data Mode
when configuration is finished. (Note: This command must
be preceded by the AT[ command, and can only be used
when the local Model 3022 is in Local Online Command
Mode).
n = 0, tells the remote Model 3022 to exit Remote
Online Command Mode and return to Online Data
Mode.
12

Advertisement

Table of Contents
loading

Table of Contents