Celestron 21020 Communication Protocol Manual page 4

Nexstar hand control
Table of Contents

Advertisement

slew in positive
direction
Fixed rate ALT (or DEC)
slew in negative
direction
Time/Location Commands (Hand Control)
The following commands set the time and location in the hand control.
The format of the location commands is: ABCDEFGH, where:
A is the number of degrees of latitude.
B is the number of minutes of latitude.
C is the number of seconds of latitude.
D is 0 for north and 1 for south.
E is the number of degrees of longitude.
F is the number of minutes of longitude.
G is the number of seconds of longitude.
H is 0 for east and 1 for west.
For example, to set the location to 118°20'17" W, 33°50'41" N, you would send (note that latitude is before longitude):
"W" & chr(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:26:00PM on April 6, 2005 in the Eastern time zone (-5 UTC: 256-5 = 251) you would
send:
"H" & chr(15) & chr(26) & chr(0) & chr(4) & chr(6) & chr(5) & chr(251) & chr(1)
Note: All values are sent in binary format, not ASCII.
Note: The Get commands do not retrieve the time and location from the GPS unit (if one is present). The time and
location are retrieved from the hand control. You must first enter the View Time/Site menu to update the hand control
time if you want the time from the GPS or, use the GPS Commands in the next section.
Command Function
chr(2) &
chr(17) &
chr(36) &
chr(rate) &
chr(0) &
chr(0) &
chr(0)
"P" &
chr(2) &
chr(17) &
chr(37) &
chr(rate) &
chr(0) &
chr(0) &
chr(0)
PC Command
"#"
Hand
Applies to
Control
Versions
1.6+

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents