Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 1 of 4

CAMAC Testing Procedures: A Guide on How to Manually Test CAMAC Modules, pages 1 to 9

Pages 1 to 9 of 33

The original document is the PDF (1.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

Filed in the catalog under the Camac Output register Driver CAMAC

Page 1

THE ISAAC NEWTON GROUP OF TELESCOPES

CAMAC TESTING PROCEDURES A GUIDE ON HOW TO MANUALLY TEST CAMAC MODULES

REV 1.0

Author : Date : Source :

E. J. Mills June 2010 ~eng/document_archive/electronics/camac/manuals/test_procedure.doc

This document is also available in PDF format in the public_html directory at: http://www.ing.iac.es/~eng/electronics/misc/test_procedure.pdf

Page 2

TABLE OF CONTENTS OVERVIEW ..................................................................................................................................................... 2 LAYOUT OF RACK FOR CAMAC TESTING AND REPAIRS ............................................................ 3 THE SYSTEM CRATE.................................................................................................................................... 3 THE BRANCH CRATE................................................................................................................................... 4 CRATE INTER-CONNECTIONS................................................................................................................... 5 MODULES GENERALLY LEFT IN TEST CRATES ................................................................................... 5 BASIC SETTINGS FOR THE SC-TST-1 TEST CONTROLLER ................................................................. 5 WGR2403 WORD GENERATOR AND DTM4 DATAWAY MONITOR TESTING ................................... 6 TESTING BRANCH COUPLERS (BC) AND CRATE CONTROLLERS (CC)............................................ 7 BRANCH COUPLER (BC) ............................................................................................................................ 7 CRATE CONTROLLER (CC)........................................................................................................................ 7 READ AND WRITE TESTS – SYSTEM TO BRANCH – BRANCH TO SYSTEM...................................... 8 TESTING INPUT REGISTER AND OUTPUT DRIVER MODULES ........................................................ 10 TEST CABLES ............................................................................................................................................ 11 MODULE TEST PRELIMINARIES............................................................................................................. 12 IR48 DUAL 24 BIT INPUT REGISTER....................................................................................................... 12 OD48 DUAL 24 BIT OUTPUT DRIVER ..................................................................................................... 13 TESTING THE OD2411............................................................................................................................... 14 HYTEC 450-4 24 BIT INPUT/OUTPUT REGISTER ................................................................................... 15 PR2402 AND PR2403 PARALLEL INPUT REGISTERS............................................................................. 17 TESTING A PR2403 PARALLEL INPUT REGISTER................................................................................. 18 OD2407 DUAL 24 BIT OUTPUT DRIVER ................................................................................................. 19 TESTING THE RGO 32BIT COUNTER MODULE.................................................................................... 21 GENERAL INFORMATION........................................................................................................................ 21 TEST SETUP USING A BEI INCREMENTAL ENCODER......................................................................... 22 GAEBRIDGE ENCODER SIMULATOR ..................................................................................................... 26 USING THE SIMULATOR.......................................................................................................................... 27 TESTING MISCELLANEOUS MODULES ................................................................................................. 27 MULTIDAC (Digital to Analogue Converter) ............................................................................................... 27 HYTEC ADC1232 (Analogue to Digital) Module ......................................................................................... 28

Page 3

LIST OF FIGURES FIGURE 1 TEST CRATES................................................................................................................................ 3 FIGURE 2 SC-TST-1 TEST CONTROLLER .................................................................................................... 6 FIGURE 3 BRANCH COUPLER ...................................................................................................................... 7 FIGURE 4 CRATE CONTROLLER.................................................................................................................. 7 FIGURE 5 SYSTEM TO BRANCH CRATE TRANSFER................................................................................. 8 FIGURE 6 BRANCH TO SYSTEM CRATE TRANSFER................................................................................. 9 FIGURE 7 INPUT REGISTER AND OUTPUT DRIVER TEST BOXES ........................................................ 10 FIGURE 8 HY450-4 TEST BOX..................................................................................................................... 11 FIGURE 9 IR48 TEST CONTROLLER SETUP .............................................................................................. 12 FIGURE 10 IR48 TEST SETUP ...................................................................................................................... 12 FIGURE 11 TEST SETUP FOR OD/OR48 MODULES .................................................................................. 13 FIGURE 12 OD/OR48 TEST CONTROLLER SETUP .................................................................................... 14 FIGURE 13 HYTEC 450-4 TEST SETUP ....................................................................................................... 15 FIGURE 14 450-4 TEST CONTROLLER SETUP........................................................................................... 16 FIGURE 15 PR2402 TEST SETUP ................................................................................................................. 17 FIGURE 16 PR2402 TEST CONTROLLER SETUP ....................................................................................... 18 FIGURE 17 OD2407 TEST SETUP................................................................................................................. 19 FIGURE 18 OD2407 TEST CONTROLLER SETUP....................................................................................... 20 FIGURE 19 RGO32BIT COUNTER TEST SETUP (1).................................................................................... 22 FIGURE 20 RGO32BIT COUNTER SETUP (2).............................................................................................. 23 FIGURE 21 RGO32BIT COUNTER TEST CONTROLLER SETUP ............................................................... 24 FIGURE 22 GAEBRIDGE ENCODER SIMULATOR .................................................................................... 26 FIGURE 23 BIT 15 DISPLAYED ................................................................................................................... 27 FIGURE 24 BREAK OUT BOX FOR ADC MODULES ................................................................................. 28 FIGURE 25 TESTING THE SYSTEM CRATE............................................................................................... 30 FIGURE 26 BRANCH CRATE ....................................................................................................................... 31

DOCUMENT HISTORY Revision 1.0 - First released - June 2010

John Mills

E. J. MILLS

CAMAC TEST PROCEDURES

1

Page 4

OVERVIEW CAMAC (Computer Automated Measurement And Control) is a control/data acquisition system based on CRATES and MODULES which was originally developed in the 1960’s for the nuclear research industry (CERNE). It conforms to a standard both in mechanical and electronic specifications. CAMAC is used to interface the various mechanisms of the telescope to and from the TCS (Telescope Control System). The abbreviation TCS is used in a generic sense and refers to both the hardware and software which performs this function. Under normal use, commands to CAMAC are sent or received via a DEC ALPHA computer running VMS and performs various tasks such as reading the telescope’s position encoders, sending the demanded velocity rate, moving the dome, adjusting the focus, etc. A CAMAC system always consists of a SYSTEM CRATE and normally one or more BRANCH crates. The CAMAC BUS consists of 24 read/write lines which are used to pass data between the TCS and the outside world. The bus also carries lines for module number decoding, module sub-addressing, function codes, control signals and interrupt handling. In CAMAC terminology, these interrupts are known as LAM’s (Look At Me). The bus is extended out to the other crates in the system referred to as branch crates using a high density twisted pair DATAWAY cable. Although commands are sent or read by a computer in normal use, it is possible to run a CAMAC system manually and it is for this non-standard mode of operation why this document has been written. It enables many different types of modules to be tested (and likewise repaired) without the need of a computer. Throughout this document, I will use the standard convention of nomenclature for CAMAC commands. The only difference being that these will now be generated by setting up switch patterns on a test controller rather than being sent by a computer.

According to CAMAC convention, the BCNAF protocol is: B

Branch number

1 to 7

System crate is always B0 C0

C

Crate number

1 to 7

Determined by a switch on the Crate Controller

N

Module slot number

1 to 23

Slots 24/25 reserved for Crate Controller

A

Module sub-address

0 to 15

Input- Output, A or B channels, etc.

F

Function

0 to 31

Read, write, test or set LAM, etc.

John Mills

CAMAC TEST PROCEDURES

2

Page 5

LAYOUT OF RACK FOR CAMAC TESTING AND REPAIRS The image below shows the test rack used for CAMAC module testing which is located in an office on the first floor of the INT (first door on the left after entering the floor from the east stairwell). This rack has been left in a state to be usable at any time. It is powered from the mains sockets behind on the wall, but these are switched off when the equipment is not in use. Two crates are used:

Figure 1 Test crates

THE SYSTEM CRATE The upper crate is the SYSTEM crate which contains a standard EXECUTIVE CONTROLLER type (MX-CTR-3) and a manual test controller (SC-TST-1). It should be noted that a link cable (with 4 pin LEMO connectors) must be present between the executive controller OUT and test controller IN rear LEMO sockets. This is called the Arbitration Bus and if missing or broken the test system will not work. A BRANCH COUPLER (BR CPR 4-1) is fitted into slots 15/16. This allows modules in the lower branch crate to be tested when either (or both) of the switches labelled as BR16 on the test controller are toggled to the right.

John Mills

CAMAC TEST PROCEDURES

3

Page 6

THE BRANCH CRATE The lower crate is a BRANCH crate. Although a single system crate can be used to test most of the modules in use at the ING, using a two crate system has the advantage that the more complex modules such as crate controllers, branch couplers and branch terminators can also be checked out if suspect. The branch crate is fitted with a standard CRATE CONTROLLER which always occupies slots 24/25. It should be noted there are several models of crate controllers in use at the ING. Some are of the earlier CC-A1 types and others are the more recent CC-A2 models. There are also variations between different manufactures (GEC, FISHER, etc). For example, some have C and Z push buttons for performing a crate re-initialisation whilst others use a centre biased C/Z toggle switch. However, they all perform the same function and are interchangeable. The number of the BRANCH is determined by in which slots the BRANCH COUPLER module in the SYSTEM crate is placed. In the WHT, the branch coupler in the system crate occupies slots 19/20. This when under computer control determines the branch (and the three crates daisy chained from it) to be on B6. In the test rack, the branch coupler occupies slots 15/16 which would equate to B4 (as used on the INT system). I have used this branch number to simplify the use of the SC-TST-1 test controller in that only toggling the switch B16 will enable read/write operations via the branch crate. As this test setup is only a two crate system, the branch crate is fitted with a BRANCH TERMINATOR (BT 6502) and mounted as always beside the crate controller and occupying slots 22/23. The branch crate address is determined by a rotary switch on the crate controller. There are 7 positions thus a maximum of seven crates can be supported on a branch. In the WHT, three branch crates are used C1, C2 and C2 and all are on B6. Each crate controller is therefore setup up accordingly. On the test branch crate, this can be set to any number between 1 and 7, but normally I have left this to be C2. Changing this number is required to test the functionality of branch couplers and crate controllers. However, whatever branch crate number is selected, the same value must be enabled on the TEST CONTROLLER (TST-1) for data transfers to or from the branch crate. E.g. The branch and crate selection switches on the TST-1 would be set as thus: Read from System crate and write to the Branch crate: • Operation 1 - left hand column BR and C switches set to ‘0’ • Operation 2 - right hand column BR and C switches - BR16 and C2 set to ‘1’ Read from Branch crate and write to the System crate: • Operation 1 - left hand column BR and C switches - BR16 and C2 set to ‘1’ • Operation 2 - right hand column BR and C switches set to ‘0’ Perform read or write operations only within the Branch crate: • Operation 1 - left hand column switches - BR16 and C2 set to ‘1’ • Operation 2 - right hand column switches - BR16 and C2 set to ‘1’ From the above, it can be seen in the case of performing read or write operations only using the System crate, the BR and C switches on the TST-1 would be: • Operation 1 - left hand column BR and C switches - set to ‘0’ • Operation 2 - right hand column BR and C switches – set to ‘0’ • Note – Switches set to the left = 0 Switches toggled to the right = 1

John Mills

CAMAC TEST PROCEDURES

4

Page 7

CRATE INTER-CONNECTIONS Connections between the branch coupler in the system crate and the branch crate controller are made using a standard CAMAC DATAWAY cable which comes fitted with Hughes 132 pin connectors. A shorter cable of the same specification connects the crate controller to the branch terminator. The cable connectors are fitted with a polarising sleeve over the fastening screw which ensures the connector can only be fitted in one orientation. VERY IMPORTANT: Always take great care when removing or inserting these cables. If the connector is not perfectly aligned with the socket on the module, it is very easy to bend or break a male pin or worst still, damage a female socket. The individual sockets are very difficult to replace and there is now only one extraction tool for Hughes connectors that still works on site! Experience has shown it is best to partially insert the connector then carefully ‘wiggle’ the plug to ensure it will seat squarely before tightening down the screw. The screw only needs to be finger tight.

MODULES GENERALLY LEFT IN TEST CRATES Both the system and branch crates contain a DTM4 (dataway monitor) and a WGR2403 (24 bit Word generator). These can also be found in the CAMAC systems on all ING telescopes and are left there for test purposes if needed. The WGR2403 consists of 24 toggle switches (left= 0 - right=1) for generating bit patterns on the bus. There is also a switch at the top for setting the LAM. The DTM4 displays via LED’s, 24 bit read and write operations on the bus. There are also LED’s which display the status of the A (module sub address) and F (function) lines. Other signals such as the S1, S2 and Busy lines and the Z and C lines (Initialise and Clear commands) and the X and Q responses are also displayed. This is a useful module in that data can be also written to it (using A0 F16) which is good for showing if there are any bits stuck (or which refuse to clear) on the bus. In the branch crate (although in what slot it is located is unimportant) is a FREQUENCY GENERATOR module. This was built in-house many years ago (1986) by Nuria, a student who I still remember. This module was made to provide standard frequencies for test purposes that are used by the TCS. Some of these signals are now obsolete, but I recently changed what was the 50Hz output to 20Hz. This is the timing signal used on all telescopes to strobe (clock) the incremental encoder up-down 32 bit counters and would normally come from the Time Service and referenced to UTC. Other useful signals still used and available from this module are the 1MHz square wave and the 1 pulse (of 20mS) per second. These signals are needed when testing CAMAC modules such as the ED012 pulse generator and the LP34 millisecond generator.

BASIC SETTINGS FOR THE SC-TST-1 TEST CONTROLLER The SC-TST-1 contains two rows of switches for Operation 1 and 2 (see Fig 2) allowing module address, sub address and functions to be set up or modules in branch crates to be checked. The test module can work in 3 modes determined by a 3 position toggle switch: 1. Up - Continuous (clocking at 1MHz) 2. Down - Slow speed (clocking at 10Hz) 3. Centre - Single step operation using the MAN CYCLE switch

John Mills

CAMAC TEST PROCEDURES

5

Page 8

Figure 2 SC-TST-1 Test Controller Normally the continuous mode (CONT switch up as shown) is used. This clocks the CAMAC system at its normal 1MHz rate. The setup as shown is used to test the read and write bits in the SYSTEM crate. The DTM4 monitor display should be in slot N1 and the WGR2403 word generator in slot N4. As we will be reading from the word generator as the first operation and writing the configuration of the WGR2403 switches to the DTM4 (second operation) and no branch crate used, the TST-1 switches as shown are correct. The BCNAF order would be: Operation 1 - Read WGR2403 switches in slot N4 B0 C0 N4 A0 F0 Operation 2 - Write result to DTM4 in slot N1 B0 C0 N1 A0 F16 The LED’s on both the READ and WRITE displays should show the state of the switches as set on the word generator. e.g.: • • • •

Set all bits high 111111111111111111111111 Clear all bits low 000000000000000000000000 Alternate bits 101010101010101010101010 (as shown in image) Reverse bits 010101010101010101010101

WGR2403 WORD GENERATOR AND DTM4 DATAWAY MONITOR TESTING The above test is also useful for checking the correct operation of the WGR2403 and DTM4 modules. The switches on the word generator can suffer with dirty contacts which may cause bits to fail. LED buffer chips on a DTM4 (or the LED’s themselves) rarely fail, but it’s not unknown. A more likely problem with missing or intermittent bits are the gold plated edge connectors which can tarnish or dirty contacts within an edge connector socket mounted on the back plane within the crate. Simply cleaning the module contacts with a solvent cleaner usually cures these problems. In the case of the internal edge connectors, spray the solvent into the contacts then using a module which is missing the bottom locking screw (there are plenty!) push it in and out several times to ensure the cleaner has worked its way into the contacts. If there are still problems with either a WGR2403 or a DTM4, these are easy to repair, but these modules are generally very reliable. IMPORTANT: These test modules must be in full working order before carrying out tests for suspected faults on either a Branch Coupler or Crate Controller module. For this reason it is best to test these modules in the SYSTEM crate. If for some reason bits are missing or stuck when sent across a branch, it’s more likely to be a fault with a crate controller or branch coupler rather than with the WGR2403 or DTM4 test modules.

John Mills

CAMAC TEST PROCEDURES

6

Page 9

TESTING BRANCH COUPLERS (BC) AND CRATE CONTROLLERS (CC) The usual method of checking these modules would be to perform a read or write instruction from the system crate to the branch crate and then reverse the procedure. A failure to read or write data over a branch could be due to either module. Experience has shown it is generally the CC which fails, but on rare occasions the BC was faulty.

Figure 3 Branch coupler BRANCH COUPLER (BC) In the test system crate this module occupies slots 15/16 and is selected by setting a BR16 switch on the TST-1 to ‘1’. Ensure both crates are powered up and the branch crate is on-line. The 3 way switch OFF - INTERNAL - ON is usually left in the ON position. This should illuminate the Branch Demand ENABLED led on the BC. On the CC, rotate the crate number selector switch threw positions 1 to 7. Check the SR Leds 1 to 7 on the BC corresponds to the crate number selected on the CC. If this works, the Branch Coupler is probably ok, but further tests for reading and writing via the Branch crate to the System crate and then again but in the opposite direction will need to be carried out to confirm that both the BC and CC are functioning correctly.

Figure 4 Crate controller CRATE CONTROLLER (CC) Figure 4 shows the Crate Controller and Branch Terminator as fitted in the test branch crate. The crate number (1 to 7) rotary switch is between the connectors. To the left of this is a locking lever switch for taking the crate ON or OFF line. Below that is a biased toggle switch for performing a crate Clear and Initialise (C/Z) operation. These three switches are present on all makes and models of crate controllers but not necessarily in the positions as shown. It is always advisable to take the crate off line and execute a C/Z before using the branch crate. This will clear all module data registers and will extinguish any LED’s that may be ON from a previous operation. For example, take the crate off line, perform a C/Z and put the crate back on line again. Any LED’s which come back illuminated may signify a stuck bit/s on the bus if no read or write instruction from a module has been set up.

John Mills

CAMAC TEST PROCEDURES

7