background image

NexStar Communication Protocol

 

 
This document describes the serial commands supported by the Celestron NexStar hand control.  This information 
applies to the NexStar GPS, NexStar GPS-SA, NexStar iSeries, NexStar SE Series, NexStar GT, CPC, SLT, Advanced-
GT, and CGE mounts. 
 
Communication to the hand control is 9600 bits/sec, no parity and one stop bit via the RS-232 port on the base of the 
hand control. 
 
Note: the GT hand control prior to version 104.0 should be treated as version 1.2 in the tables below.  Version 104.0 
should be treated as version 4.03. 

Get Position Commands 

The following commands retrieve the position of the telescope in either RA/DEC or AZM-ALT coordinates. 
 
The position is returned as a hexadecimal value that represents the fraction of a revolution around the axis.  Two 
examples are given below: 
 

 

If the Get RA/DEC command returns 34AB,12CE then the DEC value is 12CE in hexadecimal.  As a percentage 
of a revolution, this is 4814/65536 = 0.07346.  To calculate degrees, simply multiply by 360, giving a value of 
26.4441 degrees. 

 

If the precise GET AZM-ALT command returns 12AB0500,40000500 then the AZM value is 12AB0500 in 
hexadecimal.  As a percentage of a revolution, this is 313197824/4294967296 = 0.0729 or 26.252 degrees. 

 
The standard commands offer a precision of 1/65536 * 360 * 60 * 60 = about 19.8 arcseconds per unit while the precise 
commands offer a precision of 1/16777216 * 360 * 60 * 60 = about 0.08 arcseconds per unit (only the upper 24 bits are 
used). 
 

Note

:  if the telescope has not been aligned, the RA/DEC values will not be meaningful and the AZM-ALT values will 

be relative to where the telescope was powered on.  After alignment, RA/DEC values will reflect the actual sky, 
azimuth will be indexed to North equals 0 and altitude will be indexed with 0 equal to the orientation where the optical 
tube is perpendicular to the azimuth axis. 
 

Command Function 

PC Command  Hand Control 

Response 

Applies to 
Versions 

Get RA/DEC 

“E” 

“34AB,12CE#” 

1.2+ 

Get precise RA/DEC 

“e” 

“34AB0500,12CE0500#” 

1.6+ 

Get AZM-ALT 

“Z” 

“12AB,4000#” 

1.2+ 

Get precise AZM-ALT 

“z” 

“12AB0500,40000500#” 

2.2+ 

 

GOTO Commands 

The following commands direct the telescope to GOTO a specified RA/DEC or AZM-ALT position.  As with the Get 
Position commands, the values are in hexadecimal and represent the fraction of a rotation around the axis. 
 

Note

:  GOTO RA/DEC commands will not work unless the telescope is aligned. 

 

Command Function 

PC Command 

Hand 
Control 
Response 

Applies to 
Versions 

GOTO RA/DEC 

“R34AB,12CE” 

“#” 

1.2+ 

GOTO precise RA/DEC 

“r34AB0500,12CE0500” 

“#” 

1.6+ 

GOTO AZM-ALT 

“B12AB,4000” 

“#” 

1.2+ 

Summary of Contents for 21020

Page 1: ... a revolution this is 313197824 4294967296 0 0729 or 26 252 degrees The standard commands offer a precision of 1 65536 360 60 60 about 19 8 arcseconds per unit while the precise commands offer a precision of 1 16777216 360 60 60 about 0 08 arcseconds per unit only the upper 24 bits are used Note if the telescope has not been aligned the RA DEC values will not be meaningful and the AZM ALT values w...

Page 2: ... through 3 04 the value for EQ North is 1 and EQ South is 2 This has been corrected to match the other models in current hand control versions Command Function PC Command Hand Control Response Applies to Versions Get Tracking Mode t chr mode 2 3 Set Tracking Mode T chr mode 1 6 Slewing Commands The following commands allow you to slew move the telescope at fixed or variable rates For variable rate...

Page 3: ...Low chr 0 chr 0 1 6 Variable rate Alt or Dec slew in positive direction P chr 3 chr 17 chr 6 chr trackRateHigh chr trackRateLow chr 0 chr 0 1 6 Variable rate Alt or Dec slew in negative direction P chr 3 chr 17 chr 7 chr trackRateHigh chr trackRateLow chr 0 chr 0 1 6 Fixed rate Azm or RA slew in positive direction P chr 2 chr 16 chr 36 chr rate chr 0 chr 0 chr 0 1 6 Fixed rate Azm or RA slew in ne...

Page 4: ... 33 chr 50 chr 41 chr 0 chr 118 chr 20 chr 17 chr 1 The format of the time commands is QRSTUVWX where Q is the hour 24 hour clock R is the minutes S is the seconds T is the month U is the day V is the year century assumed as 20 W is the offset from GMT for the time zone Note if zone is negative use 256 zone X is 1 to enable Daylight Savings and 0 for Standard Time For example to set the time to 3 ...

Page 5: ...e H chr Q chr R chr S chr T chr U chr V chr W chr X 2 3 GPS Commands The following table shows various commands that can be sent to a GPS unit Note all units of time are in UT Command Function PC Command Hand Control Response Applies to Versions Is GPS Linked X 0 if linked 0 if not linked P chr 1 chr 176 chr 55 chr 0 chr 0 chr 0 chr 1 chr x 1 6 Get Latitude x 65536 y 256 z 2 P chr 1 chr 176 chr x ...

Page 6: ...chr 1 chr 176 chr 3 chr 0 chr 0 chr 0 chr 2 chr x chr y 1 6 Get Year x 256 y year P chr 1 chr 176 chr 4 chr 0 chr 0 chr 0 chr 2 chr x chr y 1 6 Get Time x is the hours y is the minutes z is the seconds P chr 1 chr 176 chr 51 chr 0 chr 0 chr 0 chr 3 chr x chr y chr z 1 6 RTC Commands The following table shows various RTC commands on the CGE mount Command Function PC Command Hand Control Response Ap...

Page 7: ... 1 6 Set Date x is month 1 12 y is day 1 31 P chr 3 chr 178 chr 131 chr x chr y chr 0 chr 0 3 01 Set Year x 256 y year P chr 3 chr 178 chr 132 chr x chr y chr 0 chr 0 3 01 Set Time x is the hours y is the minutes z is the seconds P chr 4 chr 178 chr 179 chr x chr y chr z chr 0 3 01 Miscellaneous Commands Command Function PC Command Hand Control Response Applies to Versions Get Version V chr major ...

Page 8: ...If serial commands are blindly sent without waiting for a response then some commands may be dropped or the software driver could see responses that are for earlier commands Pass through Commands with No Response Commands that start with P are special pass through commands that communicate with a specific telescope device For instance the Slew commands talk directly to the motor control If a P com...

Reviews: