Procedures

SUBJECT: TCS operations tcsiii\genprocd.lst

TITLE: General procedures

DATE: 25 March 1993

AUTHOR: W. Cruise REVISION: 0.2


Introduction

Purpose :

This paper provides detailed, step-by-step instructions for performing many of the procedures required to checkout and operate the telescope. It was written for Electronics Group personnel to use in the performance of system checkouts and troubleshooting. It may also be very useful to Telescope Operators, and others, who occasionally need a step-by-step guide to telescope operational procedures.

NOTICE: Due to the demise of the Electrnics Systems Group I have not be regularly updating the stuff in here. Some is good, some is hopelessly out of date. Use at your own risk. However, some of this is really the only docs on some of these ops.

A lot of the TCS III stuff has been updated on 29 Aug 1997.

Usage :

For the most part, it is not arranged in operationally sequential order, but is intended to be used as a reference manual.



Guide TV camera

The idea here is to test the guide camera signal and control paths, the leaky, and some monitors. Hopefully the simple test and troubleshooting procedures can catch some of the common problems.

Camera setup

Equipment setup

Power on camera

Check that the camera sees light



TCS clocks

DATE command

This checks the internal, software date being used by HP 1000 computer running the telescope.


Reset TCS solar clock

Due to various drifts in the clocks, it is useful to insure that the internal, hardware TCS clock is exactly on. The clock is located in bay 3 in the computer room, above the tape drive, and below the WWVB clock.


Reset sidereal time

This is the sidereal time displayed in the SIDEREAL TIME LED's on the TCS console. It is not used for anything except the operators convenience, but should be correct.


Reset the System D computer

NOTE: the System D computer no longer works!

The SYSTEM D computer, located in bay 5 in the computer room, provides drive for some of the LED displays on the TCS console. In a strict sense, it is not needed, but it is very useful.

Possible reset scenarios for this computer

If it is running, you can skip the boot procedure, and go to the setting. If it is dead, you may have to boot it first. However, first try the setting procedure. If there is no life, go to the boot.

Boot procedure

Normal, non-boot reset procedure



Telescope focus:

TCS focus readout

This is intended to test the upper end focus motion and the focus encoder The upper end must have been cabled for this test to work.

Troubleshooting focus problems :

If the encoder reading does not change, or does not move both directions at both speeds, you must troubleshoot the problem. This is a major malfunction, and will seriously affect observing. If it is not fixed after a bit of initial troubleshooting, inform the TIC so the priority can be advanced, and additional help obtained, if needed.


M2 Operations

the M2 command

This command on the TCS simply runs a program which was originally written for engineering work. This should clue you in to the quality to expect.

check for proper status

reposition the mirrors , if needed:

troubles moving the mirrors :



Autoguider system:

A/G handpaddle extension to Upper Coudé J10 (or J11)

  • this is for coudé only

  • in the 4th floor back observing room, at the left side of the console, near the HP terminal for moe, there is a connector on the front of the "V" panel for a Leak Memory handset. Hanging from the cable tray is a cable which can connect from this handset connector to the coudé room, by using the instrumentation cabling.

  • connect the cable to the console connector

  • find the other end of the cable, which should be connected to the coudé instrumentation cabling panel, and determine which connector it is on — J10 or J11

  • if the autoguider handset box is on the 4th floor, take it down to coudé.

  • in the coudé room, on the 3rd floor, install the handset box to the same numbered connecter used on the 4th floor.

  • test this box in the same manner as the T.O.'s handset box.

    AGBOX sees image in box



    Setting up the HP 1000 terminal

    Sometimes, for whatever reason, the buttons on the HP 2648 terminal get messed up, and make terminal operations difficult, or impossible. Use the following procedure to undo and reset the terminal.

    Hard reset

    Switch settings

    Terminal troubleshooting

    This section gives some quick checks and fixes for common terminal use problems.

    no prompt, or dead terminal

    terminal only uses a portion of screen width

  • the margins have become set

  • to reset an individual margin, move the cursor to where you want the margin using the cursor keys

  • press the CNTL key and the arrow key for the margin you want to set.

  • for example, to set the left margin, use the left arrow key to move to the far left of the screen. Then hold down CNTL and press the left arrow key again.

  • a hard reset is also a quick fix for this

    terminal only uses a portion of screen height

  • the memory lock has probably been set

  • there should be a light to indicate MEMORY LOCK on, but some of the terminals don't have this

  • press the MEMORY LOCK button

  • the MEMORY LOCK light should go out

  • text should scroll up to the top of the screen

    terminal operates slowly

  • the BAUD RATE may have been changed

  • turn the BAUD RATE knob to 9600



    Logging on to the TCS

    It is necessary to be logged onto the TCS software system to perform most of the procedures in these instructions, and other observing or setup instructions.

    Already running?

    If the system is already running, you do not need to log in. To determine if the TCS is already up, look at the channel 14 TV monitor:

    Log in prompt

    Log in



    Entering TCS III commands

    Working with an HP 1000 is a bit different than working with some more modern computers. However, it is not at all hard once you master a few of the differences.


    User interface:

    TCS uses the CFHT DILOG system, which was the main data acquisition user interface before PEGASUS was developed.

    Almost all of the TCS operations are in a command driven mode. There are no menus or questions. You must typically know the commands to be used. While not very good for the novice, command driven systems are typically preferred by experts and frequent users.


    Prompts:


    Execution:


    Help

    Help can be obtained with the extensive help system:

  • To obtain a list of all available commands (it will differ in different modes), use the ?? command.

  • As this is a dual purpose command, it may sometimes print an explanation of the last error message.

  • Just try again, and it will print a list of commands the second time.

  • To obtain additional help on any single command, just enter HELP commandname.

  • To get an explanation of the last error message, enter ??. or EXPLAIN. The explanation is whatever the programmer put into a text file when the program was written. The explanations range from the extremely helpful to the ridiculous.

  • To get an explanation of a previous error, enter EXPLAIN error_number, where error_number is the number which preceded the original error message.



    Logging off the TCS

    Normally the TCS III system is left running all the time. This is done so it can be accessed from data acquisition sessions. If you log off the TCS, be sure to check to see whether it is being used remotely. If possible log back on as soon as possible.

    Get prompt

  • Get a prompt at the console, and enter /E.

    Clear screen

  • Use the home key ( ) and CLEAR DISPLY key to clear the screen.

    Troubleshooting the TCS computer

    This section gives some quick checks and fixes for some common TCS computer problems.


    Terminal problems

  • Look in the terminal setup instructions, in section above.

    Computer self-check

    The HP 1000 computer has a self-check which is run when the unit is powered on. These checks should be reserved for qualified technical staff. To run the tests:

    Additional tests

    The machine has several other tests which must be run by front panel sequences. They should be run when the computer integrity is in question.

    FPP test

  • this tests the hardware floating point processor
  • store 105004 (octal) in the A-register
  • store 0 in the P-register
  • press PRESET
  • if the OVFL light remains on, the test has failed
  • press INSTR STEP
  • a 102077 (octal) indicates successful completion

    FFP test

  • this tests the fast Fortran processor firmware
  • store 105200 (octal) in the A-register
  • store 0 in the P-register
  • press PRESET
  • press INSTR STEP
  • a 102077 (octal) indicates successful completion

    SIS test

  • this tests the scientific instruction set firmware
  • store 105377 (octal) in the A-register
  • store 0 in the P-register
  • press PRESET
  • press INSTR STEP
  • a 102077 (octal) indicates successful completion

    VIS test

  • this tests the vector instruction set firmware
  • store 105477 (octal) in the A-register
  • store 0 in the P-register
  • press PRESET
  • press INSTR STEP
  • a 102077 (octal) indicates successful completion

    Booting problems

    RUN light will not stay on

    note: this stuff only applies to 7925 disk drives, which are no longer in use. Not sure of 7933 procedures, but believe should display RUN on the led's. They only have one or two control buttons, which are labeled something like LOAD.



    Booting the TCS computer

    Occasionally the TCS III system will be dead, and you can not log into the system. It may also crash, or hang during operations. At this time the old-fashioned remedy of rebooting the computer may be the best bet.

    Location

    Front panel sequence

    Boot completion



    Switching to the backup TCS computer

    If there is an unrecoverable failure of the TCS primary computer, it is fairly easy to switch to the backup computer. However, do not do this without first checking with Waimea to make sure it is both the right thing to do, and it is OK to attempt the switch.

    Stop the primary computer

    Flip the R-Buss switch

    Switch the T.O. console

    Start the backup computer

    Log on to the backup computer

    Backup computer status



    Getting the telescope ready for operation:

    These are the simple steps needed to make sure the telescope is set up for operation. They should be checked over before any attempts are made to move the telescope.

    Make sure it is OK for you to be moving the telescope

    Get the TELESCOPE KEY

    Ensure telescope hydraulics are on, and pressure is OK

    Ensure air pressure is up, and OK

    Ensure the telescope servo amplifiers are on

    Unlock the telescope



    Simple telescope operations

    Here are some simple steps for operating the telescope in computer mode, which is now most work is done.


    Prepare the telescope


    Put the TCS in computer mode :


    Safety check:


    Enter the position to slew to

    hour angle

    To slew to an hour angle position (relative to the telescope mount)

    right ascension

    To slew to a right ascension position (relative to the sky)


    Initiate the slew :


    Stopping the telescope

    There are several ways to stop the telescope when slewing. They are listed in reverse order of preference — try to stay away from the bottom of the list.

    normal completion

    STOP command

    emergency stops :



    Simple manual mode telescope operations

    These are some simple steps for operating the telescope without using the computer. This mode is mainly used for dire emergencies.


    Prepare the telescope

    All of the steps in section above must be accomplished successfully before trying to move the telescope.


    Safety check :

    All of the steps in section , above must be accomplished before starting to move the telescope.


    Get the TCS out of computer mode :

    Put the system in manual slew mode:


    Slew the telescope

    Move to the target:


    Considerations on using Manual Mode :

    Please remember that in manual mode the layer of protections offered by the TCS III software is totally absent. There is a lot more freedom, and therefore potential to seriously damage things. Note the following considerations.

    safety

    operational



    Telescope limits

    Typically one does not have to deal with the limits on a regular basis. However, on occasion the limits may become activated, and it will be necessary to clear them. The following material is from an older paper on the limit system, and should provide all the needed information.

    This section is intended to clarify the present travel limit switches and indicators in use on the telescope and at the operator's console, and to define the proper response to any limit indication. It is recognized that the limit system is inadequate, and hoped that these indications can be improved in the near future. If that occurs, additional memos will accompany the changes. It should also be noted that the limit nomenclature used here is the currently accepted means of identifying the various parts of this system. Past nomenclature often resulted in confusion about the functions of the system, and will no longer be used.

    End of axis travel limits

    Each telescope axis has limit switches at each end of its travel to prevent mechanical damage to the telescope. In fact, there are two sets of switches at each end of travel. These are called:

    hard limits :

    These switches are the final electronic safety feature before metal touches. They will activate at approximately +/-6:30 hours in HA, and +98 and -58 degrees for DEC.

    When a hard limit switch is activated, it brings the system to the manual mode with brakes on from any mode: — computer or manual, slew or track. It also illuminates one of the N, S, E, or W limit LED's on the console status panel.

    The computer console will display a brakes applied message, but probably nothing else to describe the condition.

    It should not be possible to move farther in the direction of the limit in either computer or manual mode.

    To get off the hard limit, one must set the system for manual slewing, dial in a moderate slew speed, first press the handset button necessary to get off the limit, and then press the center button to initiate slew mode. This may take several tries, with resets necessary between tries.

    soft limits :

    These switches are just before the hard limits (about 2 degrees), and should be the ones which get activated first in any limit situation. They were added, as an afterthought, during the telescope integration, and thus are implemented quite poorly.

    When any of the soft limits are activated, they illuminate the 8 degree limit LED on the console status panel. When slewing, the soft limits cause the telescope to drop into track. If this occurs at high speed, the system usually shuts down with an over acceleration LED indication on the console.

    When operating in tracking mode, the soft limits should have no effect on operation. It is thus possible to continue observations after a soft limit has been hit.

    They cause an 8 degree limit message to occur on the TCS terminal, if the computer is operating. As these limits are not handled separately in the system, there is no way of telling which limit is activated (or whether it is a real 8 degree limit or a long instrument limit).

    It is possible to initiate a computer slew while in a soft limit situation. That slew can either get the telescope off the limit, or cause it to go farther into the limit.


    Horizon limits

    Because the telescope can take the primary mirror beyond vertical in some orientations, before hitting an axis limit, the caisson central is equipped with two horizon limit switches. These are ball in cone devices, with a specific angle to the cone where the ball will roll out and activate the limit.

    These limits are:


    Long instrument limits

    Because some instruments mounted at cass can be long enough to hit the hour angle axis structure, it is necessary to have a system of additional, temporary limits to protect these instruments. This is done by placing ramps on the DEC drive gear, and having them activate a limit switch. This switch is wired in parallel with the 8 degree limit system, just as the axis soft limits are. Because of this, a long instrument limit indication is indistinguishable from an axis soft limit or an 8 degree limit.


    Response to limit indications

    Limit indications can indicate many problems with the telescope or the control system. They are intended to be the final protective systems to avoid catastrophic damage to the telescope or instruments. They must not be ignored. The following guidelines should help define appropriate action to take for various limit indications.

    8 degree limit transient activation :

    8 degree limit constant activation :

    3 degree limit constant activation :

    This means the 3 degree limit LED is fully illuminated. There was probably a brakes applied message, with no other information, on the terminal.

    The cause of this indication should only be the 3 degree cone limit switch becoming activated. This should happen at an airmass of about 13.3, and the telescope must be at extreme hour angles and very southern declination. Also, for this to happen, the telescope should have gone beyond the 8 degree limit, and it should also be illuminated. If it isn't, report it as a malfunction.

    It should not be possible to engage the 3 degree limit while slewing the telescope under normal conditions. The protections — most of which rely on correct encoder positions — are basic telescope limits, possible restricted limits, elevation limits, and the 8 degree limits.

    Reasons for encountering a valid 3 limit are:

    The first response to this very serious indication is to make a physical inspection of the telescope to ensure it is in the reported position, and that no damage has been done. Based on this examination, take the appropriate action:

    axis end of travel hard limit constant activation :

    This means one of the axis limit LED's is fully illuminated. There was probably a brakes applied message, with no other information, on the terminal.

    The cause of this indication should only be one of the axis end of travel hard limit switch becoming activated. This should happen at an hour angle of about six hours, thirty minutes, or a declination of +98 or - 58 degrees . Also, for this to happen, the telescope should have gone beyond an axis soft limit indication, so the 8 degree limit should also be illuminated. If it isn't, report it as a malfunction.

    It should not be possible to engage the axis hard limits while slewing the telescope under normal conditions. The protections — most of which rely on correct encoder positions — are basic telescope limits, possible restricted limits, elevation limits, and axis soft limits.

    Reasons for encountering a valid axis hard limit are:

    The first response to this very serious indication must be to make a physical inspection of the telescope to ensure it is in the reported position, and that no damage has been done.

    Based on this examination, take the appropriate action:


    Exceptions

    The limit system is designed to protect the telescope from physical harm during all operations. It is normally not intrusive on operations. Limit conditions are advertised in the Observers Handbook. If these procedures impede observations, permission must be obtained from one of the Directors, or the Chief Engineer to deviate from these rules. This permission should only be granted in cases where it can be conclusively demonstrated that the observations can be performed in safety. Any tests of equipment clearance must be performed at very slow speeds, in manual slew or track mode, and with observers in the dome watching closely for interference. Dome lights must be fully on for these tests. In no case will the axis end of travel hard limits, or the 3 degree horizon limit be bypassed in any fashion.

    If the limit system flagrantly inhibits valid observations, then the system should officially be reevaluated. I do not believe this is the case. Until that occurs, the limit system should be considered the final arbiter of safe telescope operations.