This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ng_protocol [2018/06/07 15:49] scott [Syntax] |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== NG Protocol ====== | ||
- | |||
- | NG Protocol is an ascii communication protocol used by Mtnops telescopes at Steward Observatory. It is primarily used to control and get status from TCS but it is used on some peripheral systems as well like the [[1m_40inch_i52: | ||
- | |||
- | |||
- | ===== Syntax ===== | ||
- | ==== Send Syntax ==== | ||
- | |||
- | The syntax of NG protocol consists of 4 white space separated words which are header information. These are followed by white space separated arguments ending with a new line character. | ||
- | |||
- | The Header Data consists of: | ||
- | ^Word Number ^ Name ^ Description ^Examples ^ | ||
- | | 0 | | ||
- | | 1 | SYSID | The System ID | TCS or FWHEEL | | ||
- | | 2 | REFNUM | ||
- | | 3 | queryType | Whether the instruction is a COMMAND or REQUEST| COMMAND| | ||
- | |||
- | An example at the 61" kuiper telescope. | ||
- | |||
- | If you wanted the telescope RA the command would be | ||
- | "BIG61 TCS 123 REQUEST RA\n" | ||
- | |||
- | If you wanted set the bias rates in ra to 5 arcsecs per sec the command would be: | ||
- | "BIG61 TCS 3 COMAMND BIASRA 5\n" | ||
- | |||
- | There are plenty of example commands at the [[tcs: | ||
- | |||
- | ==== Response Syntax ==== | ||
- | TODO | ||