MEADE Instruments Corporation |
|
|
|
|
Alignment Query
|
|
|
Alignment
|
|
|
Reticule Control
|
|
|
Sync Control
|
|
|
Distance Bars
|
|
|
Fan*
|
|
|
Focus Control Commands
|
|
|
Get Information
|
|
|
Home Position Commands*
|
|
|
Hour
|
|
|
Library
|
|
|
Movement
|
|
|
High Precision
|
|
|
Smart Drive Control*
|
|
|
Quit Command
|
|
|
Field De-rotator
|
|
|
Rate Control
|
|
|
Set Information
|
|
|
Tracking Frequency
|
|
|
User Format Control
|
|
|
View PEC Scale Data
|
|
|
Waypoint (Site)
|
|
|
PEC Worm*
|
|
|
Help Commands
|
|
Each command grouping may have sub-groupings. The Library command group, as an example, can be further broken down into the logical categories of Library Commands affecting the Telescope and Library Commands which affect Objects.
Return To LX200 Command Set
Table of Contents
Return To LX200 Command Set
Top of Page
Notes:
* next to a command identifier indicates a command supported
only on the LX200 16-inch telescopes. The asterisk is not a part of the
command syntax.
<none> means nothing is returned from the telescope if listed in the Value(s) Returned column. <none> means no parameter is supplied and no parameter is needed if listed in the Takes As Parameter(s) column.
Letters & digits shown are the ASCII symbols of the returned values. For example the symbol 'A' as a "Values(s) Returned" entry means that the program should expect to receive an ASCII 'A' (0x41) as the return value. Similarly a lower case 'a' would indicate that the program should expect to receive an ASCII 'a' (0x61) as the return value.
<bool> is a boolean returned value of either an ASCII '0' (0x30) or an ASCII '1' (0x31). Zero is false.
<string> is a sequence of characters followed by a hash-mark (ASCII '#' 0x23).
If a symbol is indicated with enclosing symbols (as in parenthesis marks around the 12 or 24 in the #:Gl# command) the enclosing symbols are literal and are a part of the returned value.
A single ASCII digit as in the return value 2<string>
for the command #:MS# indicates
an ASCII '2' (0x32) value is prefixed to the <string>. The ASCII digit
and the <string> are both part of the returned value.
ACK
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
||
|
|
|
|||
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
||
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return To LX200 Command Set
Table of Contents
Return To LX200 Command Set
Top of Page
The grammar's syntax is simple consisting of the command prefix of a hash-mark and colon pair (ASCII 0x23 "#", ASCII 0x3A ":"), followed by a <statement>, followed by a end-character of a hash (or number) mark (ASCII 0x23 "#"). Making the <command> production rule:
<lx200-command> <==> <command-prefix>
<statement> <command-suffix>
<command-prefix> <==> '#'
':'
<command-suffix> <==> '#'
<statement> is defined
more formally in the BNF formalism detailed in the next section. Commands
are case-sensitive across the grammar. For instance :H#
is quite different than :h#
The first command toggles the 12/24
hour flag in the firmware and the second should return a value indicating
whether the search for home position succeeded, failed or is in progress.
Command processing begins upon receipt of the <command-suffix>.
The LX200 16-inch telescope has more statements than the smaller telescopes. The statements that are unique to the 16-inch telescope are indicated in the tabular listing of the commands contained in this HTML document.
Return To LX200 Command Set
Table of Contents
Return To LX200 Command Set
Top of Page
This page is under construction and is not complete. It is provided here as a reference (or starting point) to programmers who which to reference the formalism as far as it has been developed (or for those who wish to continue the formalism on their own). Please DO NOT assume that the formalism as shown here is complete or final. Changes will be made to this page.
The symbol <==> is the production symbol and should be read as "is produced by". Parenthesis and brackets are used as grouping symbols. Squoted vales are literal. The escape character is the reverse virgule (also known as a back-slash '\'). As an example look at the non-terminal <tick-suffix>.
Be aware that new commands and changes to both the grammar and the syntax are possible in the future. This page is intended as a GUIDE only.
<lx200-command> <==> <ack>
| <command-prefix> <statement> <command-suffix>
<statement> <==> <alignment-commandst>
| <reticule-control> | <sync-control> |
<command-prefix> <==> '#' ':'<distance-bars-control> | <fan-control> | <focus-control-commands> | <get-information-commands> | <home-position-commands> | <hour-commands> | <library-commands> | <movement-commands> | <high-precision-commands> | <smart-drive-controls> | <quit-control> | <field-derotator> | <rate-control> | <set-information-commands> | <tracking-frequency-commands> | <user-format-controls> | <view-pec-scale-data-commands> | <waypoint-commands> | <worm-sector-control> | <help-menu-control>
<digit> <==> '0'|'1'|'2'|'3'|'4'|'5'|'6'|'7'|'8'|'9'
<non-zero-digit> <==> '1'|'2'|'3'|'4'|'5'|'6'|'7'|'8'|'9'
<sign> <==> '+'|'-'
<command-suffix> <==> '#'
<degree-mark> <==> '°'
<base-6-digit> <==> '0'|'1'|'2'|'3'|'4'|'5'
<base-3-digit> <==> '0'|'1'|'2'
<tick-suffix> <==> '\''
Return To LX200 Command Set
Table of Contents
Return To LX200 Command Set
Top of Page
This page is under construction and is not complete. It is left in as a reference (or starting point) to programmers who which to have a visual reference to compliment the BNF formalism. Please DO NOT assume that the formalism as shown here is complete final or even started. Changes will be made to this page. The Railroad Syntax Diagrams are being converted to Adobe Acrobat Reader PDF format for distribution on this HTML page. Please be patient.
A
B
C
D
f
F
G
H
H
L
M
p
Q
r
R
S
T
U
V
W
X
?
Return To LX200 Command Set
Table of Contents
Return To LX200 Command Set
Top of Page
Return values from the issued commands fall into 4 categories:
|
|
|
|
|
|
|
|
|
|
||
|
|
The '0' is equivalent to false. The '1' is equivalent to true. |
|
||
|
|
|
|
||
|
|
|
|
The ACK command has no command prefix or suffix (no preceding hash-mark, colon and no trailing hash-mark). It is simply an ASCII 0x06. It returns a single character which is not terminated by a hash-mark.
The "#:D#" command returns a string of ASCII <DEL> (0x7f) characters, terminated by a hash-mark. The count of the <DEL> characters is the count of the bars indicated on the display of the hand controller.
The #:Gy#" command always returns the characters "GPDCO" in either upper or lower case combinations indicating which is active. Upper case characters indicate active.
The "#:GF#", "#:Gl#" and "#:Gs#" command return "numeric" as their value types, followed by a squote (single quotation) character (ASCII 0x27).
The "#:MS#" command returns one of three values, two of which may be viewed as mixed types. A single ASCII '0' (0x30) character if returned indicates that a slew is possible. If either an ASCII '1' (0x31) or an ASCII '2' (0x32) is returned, the ASCII value will be followed by a string (which is always terminated by an ASCII '#' [0x23]). The latter two examples could be seen as strictly string returns, however the return of just an ASCII '0' is not terminated by a hash-mark! This simply is an example of a mixed type return.
The "#:P#" command returns 14 characters. Either the string "HIGH PRECISION" or the string "LOW PRECISION". There are two spaces between the "W" in LOW and the "P" in PRECISION. Neither string is terminated by a hash-mark.
The "#:SC#" command returns a <bool> followed by a <string> followed by a <string>. Each string is hash-mark terminated. The second <string> will be all ASCII blanks (0x20) followed by the single hash-mark.
Return To LX200 Command Set
Table of Contents
Return To LX200 Command Set
Top of Page
This section is being developed separately in conjunction with a tutorial and programatical suite program. It will include examples of correctly and incorrectly formatted commands as well as valid and invalid responses to those commands. When this section is completed it will be published on the Meade WEB page, and otherwise distributed.
Return To LX200 Command Set
Table of Contents
Return To LX200 Command Set
Top of Page
Go to Home Index for Doc G's
Info Site
Go to The MAPUG Home Site