PNS MANUAL: installation / control

How to connect the instrument to a control PC

IT IS INTENDED THAT IN OCTOBER THE PC WILL BE REPLACED WITH A HP LAPTOP "PNS-LAPTOP" STORED AT THE DOME (IT IS VERIFIED FOR STORAGE AT -60 DEG!) THE CONTROLLER WILL ALSO BE REPLACED. THE LAPTOP WILL NOT -AT PRESENT- DRIVE THE OLD CONTROLLER, BUT HAS A PARALLEL PORT AND SO IT COULD BE DONE, AS A BACKUP.

PNS Box

The instrument should be connected to the 19" rack-mounted box (the PNS box). SHUTTER and MASK on the instrument should be connected to the SH1(J107) and MIR (J109) sockets on the rear of the box. Sometimes the observatory staff will have done this.

Once this is done, it should be possible to manually activate the shutter and mask from the front of the PNS box. If the corresponding lamps light up, the shutter (or mask) will be in the closed position.

Control Software
The instrument is controlled using a few simple programs which communicates with the PNS box via the printer port of a PC. They read the status of the instrument by the same means. If you are using am observatory PC the programs may be installed. Look under C:\PNS. Otherwise you will need to download them. The programs to download are:

CALIB.EXE
EXPOSE.EXE
FOCUS.EXE
MASKC.EXE
MASKO.EXE
SHUTC.EXE
SHUTO.EXE
STATUS.EXE

Use a PC with DOS, or with a DOS window under Windows (not Windows 2000). A laptop will usually also work. Ignore, or click away, any password prompt. Go to Programs -> MS-DOS prompt, then ALT+ENTER to change from full-screen to a window.

Note on changing to a new PC
The software addresses the parallel port directly and needs to be appropriately compiled: by default the executables have been compiled on the assumption that the port is at 0x378. To check that this is the case, type at the C:\ prompt:

debug
d 0040:08 L8
- if the response starts with the numbers 78 03, e.g.:
0040:0008 78 03 x x x x x x
(the x s can be anything) then the software should work. If not, it'll need to be recompiled.
quit

Cables
Locate the following cables, which should be labelled:

cable 1 a custom-made cable which splits a 25-pin plug into two outputs
cable 2 a standard cable with a 25-pin plug connected to a 9-pin plug "optie A"
cable 3 a standard 25-pin to 25-pin extention cable (short)
cable 4 a standard cable with a 25-pin plug connected to a 9-pin plug "optie B"
cable 5 a standard 25-pin to 25-pin extention cable (long), perhaps still draped around the A&G box at the WHT

WHT Hookup: with PC in control room

things should now work - what if they don't?
  1. are you really connected to the printer port?
  2. is the PC suitable (see above)?
  3. have you checked the connectors?
drastic solutions when all else has failed Notes:
Nasmyth at TNG

Nothing organised yet.


preliminary information on upgraded controller and laptop:
installation of laptop
About this Document

We need your input, to keep these notes up-to-date. Please add to this document, or create new ones which can be linked from it. Edit the document directly. Last updated ND 27-3-2006.


Documents of this background colour are part of a set linked from the manual