Celestron NexStar 4SE Computerized Telescope NexStar Communication Protocol v - Page 6
RTC Commands, Get Longitude
View all Celestron NexStar 4SE Computerized Telescope manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 6 highlights
^24) is a fraction of a rotation. To convert to degrees, multiply by 360. chr(1) & chr(0) & chr(0) & chr(0) & chr(3) Get Longitude ((x*65536)+(y*256)+z)/(2 ^24) is a fraction of a rotation. To convert to degrees, multiply by 360. "P" & chr(1) & chr(176) & chr(2) & chr(0) & chr(0) & chr(0) & chr(3) Get Date x is month (1-12) y is day (1-31) "P" & chr(1) & chr(176) & chr(3) & chr(0) & chr(0) & chr(0) & chr(2) Get Year (x * 256) + y = year "P" & chr(1) & chr(176) & chr(4) & chr(0) & chr(0) & chr(0) & chr(2) 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+ chr(x) & chr(y) & "#" 1.6+ chr(x) & chr(y) & "#" 1.6+ chr(x) & chr(y) & chr(z) & "#" 1.6+ RTC Commands The following table shows various RTC commands on the CGE mount. Command Function Get Date x is month (1-12) y is day (1-31) PC Command "P" & chr(1) & chr(178) & chr(3) & chr(0) & chr(0) & chr(0) & Hand Control Response chr(x) & chr(y) & "#" Applies to Versions 1.6+