Celestron CGEM - 925 Computerized Telescope CGEM Series Manual - Page 61

Additional RS232 Commands

Page 61 highlights

Additional RS232 Commands Send Any Track Rate Through RS232 To The Hand Control 1. Multiply the desired tracking rate (arcseconds/second) by 4. Example: if the desired trackrate is 150 arcseconds/second, then TRACKRATE = 600 2. Separate TRACKRATE into two bytes, such that (TRACKRATE = TrackRateHigh*256 + rackRateLow). Example: TrackRateHigh = 2 TrackRateLow = 88 3. To send a tracking rate, send the following 8 bytes: a. Positive Azm tracking: 80, 3, 16, 6, TrackRateHigh, TrackRateLow, 0, 0 b. Negative Azm tracking:80, 3, 16, 7, TrackRateHigh, TrackRateLow, 0, 0 c. Positive Alt tracking: 80, 3, 17, 6, TrackRateHigh, TrackRateLow, 0, 0 d. Negative Alt tracking: 80, 3, 17, 7, TrackRateHigh, TrackRateLow, 0, 0 4. The number 35 is returned from the handcontrol Send A Slow-Goto Command Through RS232 To The Hand Control (note: Only valid for motorcontrol version 4.1 or greater) 1. Convert the angle position to a 24bit number. Example: if the desired position is 220, then POSITION_24BIT = (220/360)*224 = 10,252,743 2. Separate POSITION_24BIT into three bytes such that (POSITION_24BIT = PosHigh*65536 + PosMed*256 + PosLow). Exampe: PosHigh = 156, PosMed = 113, PosLow = 199 3. Send the following 8 bytes: a. Azm Slow Goto: 80, 4, 16, 23, PosHigh, PosMed, PosLow, 0 b. Alt Slow Goto: 80, 4, 17, 23, PosHigh, PosMed, PosLow, 0 4. The number 35 is returned from the handcontrol Reset The Position Of Azm Or Alt 1. Convert the angle position to a 24bit number, same as Slow-Goto example. 2. Send the following 8 bytes: a. Azm Set Position: 80, 4, 16, 4, PosHigh, PosMed, PosLow, 0 b. Alt Set Position: 80, 4, 17, 4, PosHigh, PosMed, PosLow, 0 3. The number 35 is returned from the handcontrol 4. Note: If using Motorcontrol version less than 4.1, then send: a. Azm Set Position: 80, 3, 16, 4, PosHigh, PosMed, PosLow, 0 b. Alt Set Position: 80, 3, 17, 4, PosHigh, PosMed, PosLow, 0 61

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71

61
Additional RS232 Commands
Send Any Track Rate Through RS232 To The Hand Control
1.
Multiply the desired tracking rate (arcseconds/second) by 4.
Example: if the desired trackrate is 150
arcseconds/second, then TRACKRATE = 600
2.
Separate TRACKRATE into two bytes, such that (TRACKRATE = TrackRateHigh*256 +
rackRateLow).
Example:
TrackRateHigh = 2
TrackRateLow = 88
3.
To send a tracking rate, send the following 8 bytes:
a.
Positive Azm tracking
:
80, 3, 16, 6, TrackRateHigh, TrackRateLow, 0, 0
b.
Negative Azm tracking
:80, 3, 16, 7, TrackRateHigh, TrackRateLow, 0, 0
c.
Positive Alt tracking
:
80, 3, 17, 6, TrackRateHigh, TrackRateLow, 0, 0
d.
Negative Alt tracking
:
80, 3, 17, 7, TrackRateHigh, TrackRateLow, 0, 0
4.
The number 35 is returned from the handcontrol
Send A Slow-Goto Command Through RS232 To The Hand Control
(note:
Only valid for motorcontrol version 4.1 or greater)
1.
Convert the angle position to a 24bit number.
Example:
if the desired position is 220
, then
POSITION_24BIT = (220/360)*2
24
= 10,252,743
2.
Separate POSITION_24BIT into three bytes such that (POSITION_24BIT = PosHigh*65536 +
PosMed*256 + PosLow).
Exampe:
PosHigh = 156, PosMed = 113, PosLow = 199
3.
Send the following 8 bytes:
a.
Azm Slow Goto:
80, 4, 16, 23, PosHigh, PosMed, PosLow, 0
b.
Alt Slow Goto:
80, 4, 17, 23, PosHigh, PosMed, PosLow, 0
4.
The number 35 is returned from the handcontrol
Reset The Position Of Azm Or Alt
1.
Convert the angle position to a 24bit number, same as Slow-Goto example.
2.
Send the following 8 bytes:
a.
Azm Set Position:
80, 4, 16, 4, PosHigh, PosMed, PosLow, 0
b.
Alt Set Position:
80, 4, 17, 4, PosHigh, PosMed, PosLow, 0
3.
The number 35 is returned from the handcontrol
4.
Note:
If using Motorcontrol version less than 4.1, then send:
a.
Azm Set Position:
80, 3, 16, 4, PosHigh, PosMed, PosLow, 0
b.
Alt Set Position:
80, 3, 17, 4, PosHigh, PosMed, PosLow, 0