Celestron CGEM - 1100 Computerized Telescope CGEM Series Manual - Page 60

Appendix C - RS-232 Connection

Page 60 highlights

Appendix C - RS-232 Connection You can control your telescope with a computer via the RS-232 port on the computerized hand control and using an optional RS-232 cable (#93920). Once connected, the telescope can be controlled using popular astronomy software programs. Communication Protocol: The CGEM Mount communicates at 9600 bits/sec, No parity and a stop bit. All angles are communicated with 16 bit angle and communicated using ASCII hexadecimal. Description PC Command ASCII Hand Control Response Notes Echo Goto Azm-Alt Goto Ra-Dec Get Azm-Alt Get RA-Dec Cancel Goto Is Goto in Progress Is Alignment Complete Commands below available on version 1.6 or later HC version Stop/Start Tracking 32-bit goto RA-Dec 32-bit get RA-Dec Commands below available on version 2.2 or later 32-bit goto Azm-Alt 32-bit get Azm-Alt Kx B12AB, 4000 R34AB, 12CE Z E M L J X# # # 12AB, 4000# 34AB, 12CE# # 0# or 1# 0# or 1# Useful to check communication 10 characters sent. B=Command, 12AB=Azm, comma, 4000=Alt. If command conflicts with slew limits, there will be no action. Scope must be aligned. If command conflicts with slew limits, there will be no action. 10 characters returned, 12AB=Azm, comma, 4000=Alt, # Scope must be aligned 0=No, 1=Yes; "0" is ASCII character zero 0=No, 1=Yes V Tx x = 0 (Tracking off) x = 1 (Alt-Az on) x = 2 (EQ-N) x = 3 (EQ-S) r34AB0500,12CE0500 e 22 # # 34AB0500,12CE0500# Two bytes representing V2.2 Alt-Az tracking requires alignment The last two characters will always be zero. b34AB0500,12CE0500 z # 34AB0500,12CE0500# The last two characters will always be zero. The cable required to interface to the telescope has an RS-232 male plug at one end and a 4-4 telephone jack at the other end. The wiring is as follows: 60

  • 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

60
Appendix C - RS-232 Connection
You can control your
telescope with a computer via the RS-232 port on the computerized hand control and using an
optional RS-232 cable (#93920). Once connected, the telescope can be controlled using popular astronomy software
programs.
Communication Protocol:
The CGEM Mount communicates at 9600 bits/sec, No parity and a stop bit. All angles are communicated with 16 bit angle
and communicated using ASCII hexadecimal.
Description
PC Command ASCII
Hand Control Response
Notes
Echo
Kx
X#
Useful to check communication
Goto Azm-Alt
B12AB, 4000
#
10 characters sent. B=Command,
12AB=Azm, comma, 4000=Alt.
If
command conflicts with slew limits,
there will be no action.
Goto Ra-Dec
R34AB, 12CE
#
Scope must be aligned. If
command conflicts with slew limits,
there will be no action.
Get Azm-Alt
Z
12AB, 4000#
10 characters returned,
12AB=Azm, comma, 4000=Alt, #
Get RA-Dec
E
34AB, 12CE#
Scope must be aligned
Cancel Goto
M
#
Is Goto in Progress
L
0# or 1#
0=No, 1=Yes; "0" is ASCII
character zero
Is Alignment Complete
J
0# or 1#
0=No, 1=Yes
Commands below
available on version 1.6
or later
HC version
V
2
2
Two bytes representing V2.2
Stop/Start Tracking
Tx
x = 0 (Tracking off)
x = 1 (Alt-Az on)
x = 2 (EQ-N)
x = 3 (EQ-S)
#
Alt-Az tracking requires alignment
32-bit goto RA-Dec
r34AB0500,12CE0500
#
32-bit get RA-Dec
e
34AB0500,12CE0500#
The last two characters will always
be zero.
Commands below
available on version 2.2
or later
32-bit goto Azm-Alt
b34AB0500,12CE0500
#
32-bit get Azm-Alt
z
34AB0500,12CE0500#
The last two characters will always
be zero.
The cable required to interface to the telescope
has an RS-232 male plug at one end and a 4-4
telephone jack at the other end.
The wiring is
as follows: