Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.apo.nmsu.edu/Telescopes/HardwareControllers/index.html
Дата изменения: Wed Sep 3 21:30:45 2014 Дата индексирования: Sat Apr 9 23:18:14 2016 Кодировка: Поисковые слова: п п п п р п р п р п р п р п р п р п р п р п |
These controllers move telescope axes, process guide images, adjust mirrors, operate devices in the enclosure, and control the mirror covers and such. Each controller accepts text commands via a standard RS-232 serial interface. In addition, some controllers require a separate highly accurate 1 Hz reference pulse.
Multiple controllers (except the guide image controller) may co-exist in one box and share one serial interface. Specify which controller before sending a command. Prefix the command with a device specifier word. For example, ROT STATUS solicits status from the rotator controller.
Each hardware controller uses the following standard interface. It is based on FORTH controllers, since those are widely used. It was designed to be simple and easy to implement. Some of these rules only apply to commands that the TCC may execute, and so may be relaxed for engineering commands. "Commands" and "input" refer to data input to the controller. "Replies" and "output" refer to data output by the controller.
Note: The Galil motion controllers output a semicolon for each command that appears on a line (as part of the command echo). As a result, the TCC's standard interface driver was enhanced to allow ignoring one specific character in replies. When talking to the Galils the TCC ignores semicolons in replies.
Russell Owen