Copyright © 2010-2014  Haldema - Tutti i diritti riservati, salvo diversamente indicato

SynScan è progettato per ricevere i comandi di controllo inviati da un computer attraverso la porta RS-232. Una volta collegato, SynScan può essere controllato dalla maggior parte dei software. SynScan comunica con il computer a 9600 bit/sec, nessuna parità e bit di stop. Tutti gli angoli relativi al posizionamento del telescopio vengono comunicati con numeri a 16 bit utilizzando il codice esadecimale ASCII.

Comunicazione RS-232

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

R43B, 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

HC version

V

22

Two bytes representing V 2.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

32-bit goto Azm-Alt

b34AB0500, 12CE0500

#


32-bit get Azm-Alt

z

34AB0500,

12CE0500#

The last two characters will

always be zero

Comandi RS232 addizionali


Sending a track rate through RS232 to the hand control


  1. Multiply the desired tracking rate (arc seconds /second) by 4. For example: if the desired track rate is 120 arc seconds/second (proximately 8 times of sidereal rate), then the TRACKRATE = 480.
  2. Separate TRACKRATE into two bytes, such that (TRACKRATE = TrackRateHighByte*256 + TrackRateLowByte). For example TRACKRATE = 480, then TrackRateHighByte = 1, TrackRateLowByte = 224.
  3. To send a tracking rate, send the following 8 bytes:

a. Positive Azm tracking: 80, 3, 16, 6, TrackRateHighByte, TrackRateLowByte, 0, 0

b. Negative Azm tracking: 80, 3, 16, 7, TrackRateHighByte, TrackRateLowByte, 0, 0

c. Positive Alt tracking: 80, 3, 17, 6, TrackRateHighByte, TrackRateLowByte, 0, 0

d. Negative Alt tracking: 80, 3, 17, 7, TrackRateHighByte, TrackRateLowByte, 0, 0

  1. The number 35 is returned from the hand control.


Sending a slow-Goto command through RS232 to the hand control


  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 = PosHighByte * 65536 + PosMedByte * 256 + PosLowByte). Example: PosHighByte = 156, PosMedByte = 113, PosLowByte = 199


  1. Send the following 8 bytes:

a. Azm Slow Goto: 80, 4, 16, 23, PosHighByte, PosMedByte, PosLowByte, 0

b. Alt Slow Goto: 80, 4, 17, 23, PosHighByte, PosMedByte, PosLowByte, 0

  1. The number 35 is returned from the hand control.


Reseting the position of Az 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, PosHighByte, PosMedByte, PosLowByte, 0

b. Alt Set Position: 80, 4, 17, 4, PosHighByte, PosMedByte, PosLowByte

  1. The number 35 is returned from the hand control.
Comunicazione RS-232