Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ îðèãèíàëüíîãî äîêóìåíòà : http://www.meade.com/support/LX200CommandSet.pdf
Äàòà èçìåíåíèÿ: Wed Feb 1 23:00:05 2006
Äàòà èíäåêñèðîâàíèÿ: Mon Oct 1 21:03:53 2012
Êîäèðîâêà:
Mead e Tel escope Ser i al Co m m and Pr otocol
Revision L 9 October 2002 Introduction This paper documents the Meade Telescope Serial Control Protocol utilized to remotely command and control Meade Telescopes. This command language contains a core of common commands supported by all telescope. Due to different implementation and technological advances the command has extension that are not supported by all model. The differences are noted in the descriptive text for the commands. Finally, there are a series of new commands proposed for the LX200GPS. These commands are indicated in the Appendix A at the end of this document. As an extension to the Telescope Protocol beginning with the LX200GPS, a possible response to any command is ASCII NAK (0x15). Should the telescope control chain be busy and unable to accept an process the command, a NAK will be sent within 10 msec of the receipt of the `#' terminating the command. In this event, the controller should wait a reasonable interval and retry the command. Telescope Command Groupings: ------------------ Supported -----------Command Group Command Designator Symbol AutoStar LX200<16" LX 16" Alignment Query x x x Alignment* A x x x Active Backlash $B Reticule Control* B x p p Sync Control C p p p Distance Bars D x x x Fan* f p Focus Control Commands F p p p GPS Commands g Get Information G x x x Home Position Commands* h x x Hour H x x x Initialize Telescope I Library L p p p Movement M x p x High Precision P x x x Smart Drive Control* $Q x x x Quit Command Q x x x Field De-rotator r p Rate Control R p p p Set Information S x x x Tracking Frequency T p p p User Format Control U p x x Way point (Site) W x x x Help Commands ? x x Notes: Commands accepted by the telescopes are shown in the table above indicated by an x entry. This means that the telescope will accept these commands and respond with a syntactically valid response where required. A "p" indicated only a subset of this command class is supported. Due to the differing implementations of the telescopes, some of the commands may provide static responses or may do nothing in response to the command. See the detailed description of the commands below to determine the exact behavior. ACK - Alignment Query ACK <0x06> Query of Returns: A If scope L If scope P If scope LX200GPS x x x x x x x x x x x x x x x x x x x x x x x x -

alignment mounting mode. in AltAz Mode in Land Mode in Polar Mode


Meade Telescope Protocol A - Alignment Commands :Aa# Start Telescope Automatic Alignment Sequence [LX200GPS only] Returns: 1: When complete (can take several minutes). 0: If scope not AzEl Mounted or align fails :AL# :AP# :AA# Sets telescope to Land alignment mode Returns: nothing Sets telescope to Polar alignment mode Returns: nothing Sets telescope the AltAz alignment mode Returns: nothing

$B ­ Active Backlash Compensation :$BAdd# Set Altitude/Dec Antibacklash Returns Nothing :$BZdd# Set Azimuth/RA Antibacklash Returns Nothing B - Reticule/Accessory Control :B+# Increase reticule Brightness Return: Nothing :B-# Decrease Reticule Brightness Return: Nothing

:B# Set Reticle flash rate to (an ASCII expressed number) Values of 0..3 for LX200 series Values of 0..9 for Autostar and LX200GPS Return: Nothing :BDn# Set Reticule Duty flash duty cycle to (an ASCII expressed digit) [LX200 GPS Only] Values: 0 = On, 1..15 flash rate Return: Nothing

C - Sync Control :CL# Synchonize the telescope with the current Selenographic coordinates. :CM# Synchronizes the telescope's position with the currently selected database object's coordinates. Returns: LX200's - a "#" terminated string with the name of the object that was synced. Autostars & LX200GPS - At static string: " M31 EX GAL MAG 3.5 SZ178.0'#"

D - Distnace Bars :D# Requests a string of bars indicating the distance to the current library object. Returns: LX200's ­ a string of bar characters indicating the distance. Autostars and LX200GPS ­ a string containing one bar until a slew is complete, then a null string is returned.

-2-


Meade Telescope Protocol f - Fan Command :f+# LX 16"­ Turn on the tube exhaust fan LX200GPS ­ Turn on power to accessor panel Autostar & LX200 < 16" ­ Not Supported Returns: nothing :f-# LX 16"­ Turn off tube exhaust fan LX200GPS - Turn off power to accessory panel Autostar & LX200 < 16" ­ Not Supported Returns: Nothing LX200GPS ­ Return Optical Tube Assembly Temperature Returns # - a `#' terminated signed ASCII real number indicating the Celsius ambient temperature. All others ­ Not supported

:fT#

F ­ Focuser Control :F+# Start Focuser moving inward (toward objective) Returns: None :F-# :FQ# :FF# :FS# Start Focuser moving outward (away from objective) Returns: None Halt Focuser Motion Returns: Notrhing Set Focus speed to fastest setting Returns: Nothing Set Focus speed to slowest setting Returns: Nothing

:F# Autostar & LX200GPS ­ set focuser speed to where is an ASCII digit 1..4 Returns: Nothing LX200 ­ Not Supported g ­ GPS/Magnetometer commands :g+# LX200GPS Only - Turn on GPS Returns: Nothing :g-# :gps# :gT# LX200GPS Only - Turn off GPS LX200GPS Only ­ Turns on NMEA GPS data stream. Returns: The next string from the GPS in standard NEMA format followed by a `#' key Powers up the GPS and updates the system time from the GPS stream. The process my take several minutes to complete. During GPS update, normal handbox operations are interrupted. [LX200gps only] Returns: `0' In the event that the user interrupts the process, or the GPS times out. Returns: `1' After successful updates

G ­ Get Telescope Information :G0# Get Alignment Menu Entry 0 Returns: A `#' Terminated ASCII string. [LX200 legacy command] :G1# Get Alignment Menu Entry 0 Returns: A `#' Terminated ASCII string. [LX200 legacy command]

-3-


Meade Telescope Protocol :G2# :GA# Get Alignment Menu Entry 0 Returns: A `#' Terminated ASCII string. [LX200 legacy command] Get Telescope Altitude Returns: sDD*MM# or sDD*MM'SS# The current scope altitude. The returned format depending on the current precision setting. Get Local Telescope Time In 12 Hour Format Returns: HH:MM:SS# The time in 12 format Get Browse Brighter Magnitude Limit Returns: sMM.M# The magnitude of the faintest object to be returned from the telescope FIND/BROWSE command. Command when searching for objects in the Deep Sky database. Get current date. Returns: MM/DD/YY# The current local calendar date for the telescope. Get Calendar Format Returns: 12# or 24# Depending on the current telescope format setting. Get Telescope Declination. Returns: sDD*MM# or sDD*MM'SS# Depending upon the current precision setting for the telescope. Get Currently Selected Object/Target Declination Returns: sDD*MM# or sDD*MM'SS# Depending upon the current precision setting for the telescope. Get Find Field Diameter Returns: NNN# An ASCIi interger expressing the diameter of the field search used in the IDENTIFY/FIND commands. Get Browse Faint Magnitude Limit Returns: sMM.M# The magnitude or the birghtest object to be returned from the telescope FIND/BROWSE command. Get UTC offset time Returns: sHH# or sHH.H# The number of decimal hours to add to local time to convert it to UTC. If the number is a whole number the sHH# form is returned, otherwise the longer form is return. On Autostar and LX200GPS, the daylight savings setting in effect is factored into returned value. Get Current Site Longitude Returns: sDDD*MM# The current site Longitude. East Longitudes are expressed as negative Get High Limit Returns: sDD* The minimum elevation of an object above the horizon to which the telescope will slew with reporting a "Below Horizon" error. Get Local Time in 24 hour format Returns: HH:MM:SS#

:Ga#

:Gb#

:GC#

:Gc#

:GD#

:Gd#

:GF#

:Gf#

:GG#

:Gg#

:Gh#

:GL#

-4-


Meade Telescope Protocol The Local Time in 24-hour Format :Gl# Get Larger Size Limit Returns: NNN'# The size of the smallest object to be returned by a search of the telescope using the BROWSE/FIND commands. Get Site 1 Name Returns: # A `#' terminated string with the name of the requested site. Get Site 2 Name Returns: # A `#' terminated string with the name of the requested site. Get Site 3 Name Returns: # A `#' terminated string with the name of the requested site. Get Site 4 Name Returns: # A `#' terminated string with the name of the requested site. Get Lower Limit Returns: DD*# The highest elevation above the horizon that the telescope will be allowed to slew to without a warning message. Get Minimum Quality For Find Operation Returns: SU# Super EX# Excellent VG# Very Good GD# Good FR# Fair PR# Poor VP# Very Poor The mimum quality of object returned by the FIND command. Get Telescope RA Returns: HH:MM.T# or HH:MM:SS# Depending which precision is set for the telescope Get current/target object RA Returns: HH:MM.T# or HH:MM:SS Depending upon which precision is set for the telescope Get the Sidereal Time Returns: HH:MM:SS# The Sidereal Time as an ASCII Sexidecimal value in 24 hour format Get Smaller Size Limit Returns: NNN'# The size of the largest object returned by the FIND command expressed in arcminutes. Get tracking rate Returns: TT.T# Current Track Frequency expressed in hertz assuming a synchonous motor design where a 60.0 Hz motor clock would produce 1 revolution of the telescope in 24 hours.

:GM#

:GN#

:GO#

:GP#

:Go#

:Gq#

:GR#

:Gr#

:GS#

:Gs#

:GT#

-5-


Meade Telescope Protocol :Gt# Get Current Site Latitdue Returns: sDD*MM# The latitude of the current site. Positive inplies North latitude.

:GVD# Get Telescope Firmware Date Returns: mmm dd yyyy# :GVN# Get Telescope Firmware Number Returns: dd.d# :GVP# Get Telescope Product Name Returns: # :GVT# Get Telescope Firmware Time returns: HH:MM:SS# :Gy# Get deepsky object search string Returns: GPDCO# A string indicaing the class of objects that should be returned by the FIND/BROWSE command. If the character is upper case, the object class is return. If the character is lowercase, objects of this class are ignored. The character meanings are as follws: G ­ Galaxies P ­ Planetary Nebulas D ­ Diffuse Nebulas C ­ Globular Clusters O ­ Open Clusters Get telescope azimuth Returns: DDD*MM#T or DDD*MM'SS# The current telescope Azimuth depending on the selected precision.

:GZ#

h ­ Home Position Commands :hS# LX200GPS and LX 16" Seeks Home Position and stores the encoder values from the aligned telescope at the home position in the nonvolatile memory of the scope. Returns: Nothing Autostar,LX200 ­ Ignored :hF# LX200GPS and LX 16" Seeks the Home Position of the scope and sets/aligns the scope based on the encoder values stored in non-volatile memory Returns: Nothing Autostar,LX200 - Igrnored LX200GPS only: Sleep Telescope. Power off motors, encoders, displays and lights. Scope remains in minimum power mode until a keystroke is received or a wake command is sent. Autostar, LX200GPS and LX 16"Slew to Park Position Returns: Nothing LX200 GPS Only: Wake up sleeping telescope. Autostar, LX200GPS and LX 16" Query Home Status Returns: 0 Home Search Failed 1 Home Search Found 2 Home Search in Progress

:hN# :hP# :hW# :h?#

-6-


Meade Telescope Protocol LX200 Not Supported H ­ Time Format Command :H# Toggle Between 24 and 12 hour time format Returns: Nothing I ­ Initialize Telescope Command :I# LX200 GPS Only - Causes the telescope to cease current operations and restart at its power on initialization. L ­ Object Library Commands :LB# Find previous object and set it as the current target object. Returns: Nothing LX200GPS & Autostar ­ Performs no function :LCNNNN# Set current target object to deep sky catalog object number NNNN Returns : Nothing LX200GPS & Autostar ­ Implemented in later firmware revisions :LF# Find Object using the current Size, Type, Upper limit, lower limt and Quality contraints and set it as current target object. Returns: Nothing LX200GPS & Autostar ­ Performs no function Identify object in current field. Returns: # Where the string contains the number of objects in field & object in center field. LX200GPS & Autostar ­ Performs no function. Returns static string "0 - Objects found". Get Object Information Returns: # Returns a string containing the current target object's name and object type. LX200GPS & Autostar ­ performs no operation. Returns static description of Andromeda Galaxy.

:Lf#

:LI#

:LMNNNN# Set current target object to Messier Object NNNN, an ASCII expressed decimal number. Returns: Nothing. LX200GPS and Autostar ­ Implemented in later versions. :LN# :LoD# Find next deep sky target object subject to the current constraints. LX200GPS & AutoStar ­ Performs no function Select deep sky Library where D specifices 0 - Objects CNGC / NGC in Autostar & LX200GPS 1 - Objects IC 2 ­ UGC 3 ­ Caldwell (Autostar & LX200GPS) 4 ­ Arp (LX200 GPS) 5 ­ Abell (LX200 GPS) Returns: 1 Catalog available 0 Catalog Not found LX200GPS & AutoStar ­ Performs no function always returns "1" Select star catalog D, an ASCII integer where D specifies: 0 STAR library (Not supported on Autostar I & II) 1 SAO library 2 GCVS library

:LsD#

-7-


Meade Telescope Protocol 3 4 5 Returns: 1 2 Catalog Available Catalog Not Found Hipparcos (Autostar I & 2) HR (Autostar I & 2) HD (Autostar I & 2)

:LSNNNN# Select star NNNN as the current target object from the currently selected catalog Returns: Nothing LX200GPS & AutoStar ­ Available in later firmwares M ­ Telescope Movement Commands :MA# Autostar, LX 16", LX200GPS ­ Slew to target Alt and Az Returns: 0 - No fault 1 ­ Fault LX200 ­ Not supported :Me# :Mn# :Ms# :Mw# :MS# Move Telescope East at current slew rate Returns: Nothing Move Telescope North at current slew rate Returns: Nothing Move Telescope South at current slew rate Returns: Nothing Move Telescope West at current slew rate Returns: Nothing Slew to Target Object Returns: 0 1# 2#

Slew is Possible Object Below Horizon w/string message Object Below Higher w/string message

P - High Precision Toggle :P# Toggles High Precsion Pointing. When High precision pointing is enabled scope will first allow the operator to center a nearby bright star before moving to the actual taget. Returns: "HIGH PRECISION" Current setting after this command. "LOW PRECISION" Current setting after this command. $Q ­ Smart Drive Control $Q# Toggles Smart Drive PEC on and off for both axis Returns: Nothing Not supported on Autostar :$QA+ Enable Dec/Alt PEC [LX200gps only] Returns: Nothing :$QA:$QZ+ Enable Dec/Alt PEC [LX200gps only] Returns: Nothing Enable RA/AZ PEC compensation [LX200gps only]

-8-


Meade Telescope Protocol Returns: Nothing :$QZDisable RA/AZ PEC Compensation [LX200gpgs only] Return: Nothing

Q ­ Movement Commands :Q# Halt all current slewing Returns:Nothing :Qe# :Qn# :Qs# :Qw# Halt eastward Slews Returns: Nothing Halt northward Slews Returns: Nothing Halt southward Slews Returns: Nothing Halt westward Slews Returns: Nothing

r ­ Field Derotator Commands :r+# Turn on Field Derotator [LX 16" and LX200GPS] Returns: Nothing :r-# Turn off Field Derotator, halt slew in progress. [Lx 16" and LX200GPS] Returns Nothing

R ­ Slew Rate Commands :RC# Set Slew rate to Centering rate (2nd slowest) Returns: Nothing :RG# :RM# :RS# Set Slew rate to Guiding Rate (slowest) Returns: Nothing Set Slew rate to Find Rate (2nd Fastest) Returns: Nothing Set Slew rate to max (fastest) Returns: Nothing

:RADD.D# Set RA/Azimuth Slew rate to DD.D degrees per second [LX200GPS Only] Returns: Nothing :REDD.D# Set Dec/Elevation Slew rate to DD.D degrees per second [ LX200GPS only] Returns: Nothing :RgSS.S# Set guide rate to +/- SS.S to arc seconds per second. This rate is added to or subtracted from the current tracking Rates when the CCD guider or handbox guider buttons are pressed when the guide rate is selected. Rate shall not exceed sidereal speed (approx 15.0417"/sec)[ LX200GPS only] Returns: Nothing

-9-


Meade Telescope Protocol S ­ Telescope Set Commands :SasDD*MM# Set target object altitude to sDD*MM# or sDD*MM'SS# [LX 16", Autostar, LX200GPS] Returns: 0 Object within slew range 1 Object out of slew range :SbsMM.M# Set Brighter limit to the ASCII decimal magnitude string. SMM.M Returns: 0 - Valid 1 ­ invalid number :SBn# Set Baud Rate n, where n is an ASCII digit (1..9) with the following interpertation 1 56.7K 2 38.4K 3 28.8K 4 19.2K 5 14.4K 6 9600 7 4800 8 2400 9 1200 Returns: 1 At the current baud rate and then changes to the new rate for further communication

:SCMM/DD/YY# Change Handbox Date to MM/DD/YY Returns: D = `0' if the date is invalid. The string is the null string. D = `1' for valid dates and the string is "Updating Planetary Data# Note: For LX200GPS this is the UTC data! :SdsDD*MM# Set target object declination to sDD*MM or sDD*MM:SS depending on the current precision setting Returns: 1 - Dec Accepted 0 ­ Dec invalid :SEsDD*MM# Sets target object to the specificed selenographic latitude on the Moon. Returns 1- If moon is up and coordinates are accepted. 0 ­ If the coordinates are invalid :SesDDD*MM# Sets the target object to the specified selenogrphic longitude on the Moon Returns 1 ­ If the Moon is up and coordinates are accepted. 0 ­ If the coordinates are invalid for any reason. :SfsMM.M# Set faint magnitude limit to sMM.M Returns: 0 ­ Invalid 1 - Valid :SFNNN# Set FIELD/IDENTIFY field diamter to NNNN arc minutes.

#"

- 10 -


Meade Telescope Protocol Returns: 0 ­ Invalid 1 - Valid :SgDDD*MM# Set current site's longitude to DDD*MM an ASCII position string Returns: 0 ­ Invalid 1 - Valid :SGsHH.H# Set the number of hours added to local time to yield UTC Returns: 0 ­ Invalid 1 - Valid :ShDD# Set the minimum object elevation limit to DD# Returns: 0 ­ Invalid 1 - Valid :SlNNN# Set the size of the smallest object returned by FIND/BROWSE to NNNN arc minutes Returns: 0 ­ Invalid 1 - Valid :SLHH:MM:SS# Set the local Time Returns: 0 ­ Invalid 1 - Valid :SM# Set site 1's name to be . LX200s only accept 3 character strings. Other scopes accept up to 15 characters. Returns: 0 ­ Invalid 1 - Valid :SN# Set site 2's name to be . LX200s only accept 3 character strings. Other scopes accept up to 15 characters. Returns: 0 ­ Invalid 1 - Valid :SO# Set site 3's name to be . LX200s only accept 3 character strings. Other scopes accept up to 15 characters. Returns: 0 ­ Invalid 1 - Valid :SP# Set site 4's name to be . LX200s only accept 3 character strings. Other scopes accept up to 15 characters. Returns: 0 ­ Invalid 1 - Valid

- 11 -


Meade Telescope Protocol :SoDD*# Set highest elevation to which the telescope will slew Returns: 0 ­ Invalid 1 - Valid :Sq# Step the quality of limit used in FIND/BROWSE through its cycle of VP ... SU. Current setting can be queried with :Gq# Returns: Nothing :SrHH:MM.T# :SrHH:MM:SS# Set target object RA to HH:MM.T or HH:MM:SS depending on the current precision setting. Returns: 0 ­ Invalid 1 - Valid :SsNNN# Set the size of the largest object the FIND/BROWSE command will return to NNNN arc minutes Returns: 0 ­ Invalid 1 - Valid :SSHH:MM:SS# Sets the local sideral time to HH:MM:SS Returns: 0 ­ Invalid 1 - Valid :StsDD*MM# Sets the current site latitdue to sDD*MM# Returns: 0 ­ Invalid 1 - Valid :STTT.T# Sets the current tracking rate to TTT.T hertz, assuming a model where a 60.0 Hertz synchronous motor will cause the RA axis to make exactly one revolution in 24 hours. Returns: 0 ­ Invalid 1 - Valid :SwN# Set maximum slew rate to N degrees per second. N is the range (2..8) Returns: 0 ­ Invalid 1 - Valid :SyGPDCO# Sets the object selection string used by the FIND/BROWSE command. Returns: 0 ­ Invalid 1 - Valid :SzDDD*MM# Sets the target Object Azimuth [LX 16" and LX200GPS only] Returns:

- 12 -


Meade Telescope Protocol 0 ­ Invalid 1 - Valid T ­ Tracking Commands :T+# Increment Manual rate by 0.1 Hz Returns: Nothing :T-# :TL# :TM# :TQ# Decrement Manual rate by 0.1 Hz Returns: Nothing Set Lunar Tracking Rage Returns: Nothing Select custom tracking rate Returns: Nothing Select default tracking rate Returns: Nothing

:TDDD.DDD# Set Manual rate do the ASCII expressed decimal DDD.DD Returns: `1' U - Precision Toggle :U# Toggle between low/hi precision positions Low - RA displays and messages HH:MM.T sDD*MM High - Dec/Az/El displays and messages HH:MM:SS sDD*MM:SS Returns Nothing W ­ Site Select :W# Set current site to , an ASCII digit in the range 0..3 Returns: Nothing ? ­ Help Text Retrieval :??# Set help text cursor to the start of the first line. Returns: # The contains first string of the general handbox help file. :?+# Retrieve the next line of help text Returns: # The contains the next string of general handbox help file Retreive previos line of the handbox help text file. Returns: # The contains the next string of general handbox help file

:?-#

- 13 -


Meade Telescope Protocol Appendix A: LX200GPS Comma :Aa# :$BAdd# :$BZdd# :BD# :F# :g+# :g-# :gps# :gT# :I# :$QZ+# :$QZ-# :$QA+# :$QA-# :RADD.D# :REDD.D# :RgSS.S# :SBn# nd Extensions Automatically align scope Set Altitude/Dec Antibacklash Set Azimuth/RA Antibacklash Programmable Reticule Duty Cycle Set Focuer Speed Turn on GPS power Turn off GPS power Stream GPS data Updates Time of Day from GPS Initialize Telescope RA PEC Enable RA PEC Disable Dec PEC Enable Dec PEC Disable Programmable Slew Rates Programmable Slew Rates Programmable Guiding Rates Set Baud Rate

- 14 -