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

The text of a manual · part 3 of 4

CAMAC Testing Procedures: A Guide on How to Manually Test CAMAC Modules, pages 19 to 27

Pages 19 to 27 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 19

PR2402 AND PR2403 PARALLEL INPUT REGISTERS These modules are used extensively in the INT (and JKT) for providing input signals to the TCS from many of the telescope’s mechanisms and console push buttons that are still in use. PR2402 modules are also used in the WHT ‘CLIP CENTRE’ crate for reading some of the engineering console switches and status from the dome and shutters. In all telescope SYSTEM crates, a PR2402 is used to supply the TCS with UTC data from the Time Service.

Figure 15 PR2402 test setup This photo shows a PR2402 under test using the metal test box. As only the switches on the box are used, the box doesn’t require the +Vcc supply derived from the crate’s 9 pin D connector. In this example, the switches have been set to random ON or OFF positions and the bits activated can be seen displayed on the DTM4 in slot N1. The two toggle switches at the top on the box are set to CAMAC and STAT. n.b. The OPTO/STD option doesn’t work. Leave the switch on the side of the box set to STD.

John Mills

CAMAC TEST PROCEDURES

17

Page 20

IMPORTANT – As these modules use Hughes connectors, the pins or sockets on the connectors can be easily damaged. Ensure the test cable connector is squarely aligned before clamping down the finger screw.

Figure 16 PR2402 Test Controller setup The PR2402 has two 24 bit input registers. The 58way Hughes connectors are labelled INPUT A (upper) and INPUT B (lower). There is also a push button for clearing out the data from the input registers. The modules sub-addresses are: INPUT A (upper connector) = A0 F0 INPUT B (lower connector) = A1 F0 Using the PR2402 test cable and either the metal or plastic test box, connect the cable to INPUT B (lower socket). It should be noted that the 58way Hughes connectors on this module have the polarising sleeve reversed between INPUT A and INPUT B. On the upper connector, the cable is at the top of the plug, on the B side the cable is at the bottom of the plug as shown in the photo. With the SC-TST-1 set up as shown in Figure 16, toggle the switches on the box to produce the following bit patterns: • • • •

Write all ones Write all zeros Alternate bits Reverse bits

111111111111111111111111 000000000000000000000000 101010101010101010101010 010101010101010101010101

Check the Read and Write LED’s on the DTM4 conform to the switch settings. Now move the cable to INPUT A (upper socket). Toggle the switch A1 on the SC-TST-1 to the left. This sets A= 0 to read from INPUT A. Perform the tests as described above and again check the LED’s on the DTM4 follow the switches. Bits failing to be detected are usually caused by a damaged input buffer chip and these are easy to replace. A similar effect may be produced if the test cable is not fully inserted so check that also before deciding if the module is faulty.

TESTING A PR2403 PARALLEL INPUT REGISTER These modules are only used in the INT/JKT CAMAC system. The difference being the A and B inputs are OPTO-ISOLATED whereas on the PR2402 the input circuitry accepts standard TTL signals. Testing the PR2403 module uses the same procedure as above. However, use the plastic test box for these modules and change the middle toggle switch (in the group of three) from STD to OPTO.

John Mills

CAMAC TEST PROCEDURES

18

Page 21

OD2407 DUAL 24 BIT OUTPUT DRIVER These modules are only used in the INT/JKT CAMAC systems. They are used for driving hardware such as relays and generating commands for moving the dome, focus and instrument turntables. For testing this module, use the WGR2403 word generator in slot N4 (A0 F0) to write data to the OD2407 in slot N8 A0 (or A1) with F16 being set. The DTM4 will automatically display the read and write data present on the bus and does not need to be addressed as such.

Figure 17 OD2407 test setup

This photo shows the OD2407 module under test using the metal test box. As with the plastic test box, the LED’s on the metal box require a +Vcc supply also. Connect the special power cable as shown in the photo. In this example, OUTPUT B (lower connector) is being tested and the switches on the word generator set to produce an alternate 010101... bit pattern. This can be seen displayed on both the read and write groups of LED’s on the DTM4 as well as on the test box. IMPORTANT – as these modules use Hughes connectors, ensure the test cable connector is squarely aligned before clamping down the finger screw.

John Mills

CAMAC TEST PROCEDURES

19

Page 22

Figure 18 OD2407 Test Controller setup This INT module has two 24 bit output registers. The output connectors are 38way Hughes types. These being: OUTPUT A (upper connector) - module sub-address = A0 F16 OUTPUT B (lower connector) - module sub-address = A1 F16 Test OUTPUT A A=0 F=16 Using the OD2407 test cable and either the metal or plastic test box, connect the cable to OUTPUT A (upper socket). It should be noted that the 38way Hughes connectors on this module have the polarising sleeve reversed between OUTPUT A and OUTPUT B. On the upper connector, the cable is at the top of the plug, on the B side the cable is at the bottom of the plug as shown in the photo. With the SC-TST-1 set up as shown in Figure 18, toggle the switches on the WGR2403 to produce the following bit patterns: • • • •

Write all ones Write all zeros Alternate bits Reverse bits

111111111111111111111111 000000000000000000000000 101010101010101010101010 010101010101010101010101

Check that both the read and the write groups of LED’s displayed on the DTM4 and the LED’s on the test box conform to the word generator switches. This is important as the data displayed on the DTM4 module may be correct, but the data sent out from the module connector could be faulty. It is not unknown for an output driver chip to be damaged and this test will show if this is so.

Test REG 1 A=1 F=16 Now move the test cable to the lower connector. This is the setup as shown in Figure 17. Toggle the switch A1 (Operation 2 group) to the right – i.e. A= 1 and repeat the above tests. If the LED’s on both output channels are in agreement with the word generator switches then the module is working correctly. If some of the LED’s on the test box are not illuminated, it may be simply a bad cable connection. So check the cable connectors are properly seated before deciding if the module is faulty.

John Mills

CAMAC TEST PROCEDURES

20

Page 23

TESTING THE RGO 32BIT COUNTER MODULE GENERAL INFORMATION These modules are used on all telescope CAMAC systems and convert the data from the INCREMENTAL encoders to an UP/DOWN binary count which the TCS requires to determine the angular position of where the telescope is pointing. An incremental encoder produces two trains of pulses known as LEAD and LAG. The optical plate (or tape band) is made in such a way to produce these 90 degree phase shifted signals. Depending on what signal is detected first by the steering logic within the counter module e.g. LEAD > LAG or LAG > LEAD determines whether the encoder is moving in a CW or CCW direction. The electronics used for this is known as a QUADRATURE DETECTOR. Another consideration is that an incremental encoder needs a datum or reference point to set the counter module to a known value or starting position. Along with the lead and lag tracks, there is also a 1 pulse per revolution (1ppr) signal generated by the encoder. The BEI incremental encoders used on the INT produce 16,000 bits (counts) from the lead and lag tracks plus a very narrow 1ppr pulse for every revolution completed. However, in the case of a telescope, a more precise reference is required and this is achieved by an external signal sent from either a proximity switch (usually an inductive sensor) or a slotted opto-switch. In both of these systems, a metal flag attached to the telescope axes moves past (or through) the sensor thus generating a pulse known as the ZEROSET signal. As this signal can only occur when the telescope axes are in a certain position, we now have a way of determining exactly where the telescope is pointing and a means for the TCS to set the encoder count to a known value. In practice, the ZEROSET pulse is logically ANDED (within the encoder line driver box) with the encoder 1ppr, so that a very accurate angular position is determined for the telescope axes. In the case of the INT/JKT the ZEROSET occurs when the telescope is vertical (at the ZENITH) and the Hour Angle at ~0 degrees and the DEC axis ~+28 degrees. With the WHT (being an Alt-azimuth mounting) this is determined with the ALTITUDE (elevation) axis o o at ~90 degrees (89 48’) and the AZIMUTH axis at ~300 degrees (298 35’). To set the RGO32BIT COUNTER to an initial known value, there are inputs for both the encoder 1ppr and ZEROSET pulses. The encoder data needs to be continually updated, thus the counter module needs to be CLOCKED at a constant rate. This also needs to be referenced to Universal Time (UTC) due the rotation of the Earth and the apparent movement of celestial objects across the sky. A 20Hz (50mS) signal which comes from the Time Service and thus referenced to UTC is used to clock the RGO32BIT COUNTERS for this purpose. There are 3 GREEN Leds below the main 32 bit display to show these actions. These being labelled from the bottom up: • • •

1PPR ZERO CLOCK

The main 32 bit LED display uses RED Leds set in blocks of four which show the binary weighting of the counts.

John Mills

CAMAC TEST PROCEDURES

21

Page 24

TEST SETUP USING A BEI INCREMENTAL ENCODER The image below shows the test setup using a BEI incremental as the pulse generating source. A coaxial lead with LEMO connectors takes the 20Hz output from the FREQUENCY GENERATOR to the CLOCK input connector of the module. This emulates the 20Hz signal from the Time Service.

Figure 19 RGO32bit counter test setup (1)

Between the encoder and the counter module, a special line driver box is used to convert the TTL outputs from the LEAD, LAG and 1PPR of the encoder to differential pair (opto-isolated) inputs which the counter module requires. The input connector is standard 37way D type. The line driver box requires a +5V supply and a bench PSU is used for this. To simulate the ZERSET pulse, a push button the line driver box provides this signal.

John Mills

CAMAC TEST PROCEDURES

22

Page 25

Figure 20 RGO32bit counter setup (2) The above image shows the line driver box, bench PSU and sitting above that, the GAEBRIDGE ENCODER SIMULATOR which I will describe how to use later. When testing this module, there is an important point to take into consideration. A standard CAMAC bus has 24 read and write lines, but this module reads in 32 bits of data. To achieve this, the data is transferred to the bus by reading in two 16 bit blocks. The module’s sub-address lines being set to either A=0 to read the lower 16 (or LSB) bits or A=1 to read the upper 16 (or MSB) bits. There are also two modes of reading the encoder data into the RGO32bit counter: 1. Clocked in continuously at 20Hz (normal operation) 2. The data is read in when a Strobe Pulse from either the 1PPR or ZEROSET signal is detected. In practice, the second mode of operation would only be required when the telescope is ZEROSET at the start of observing and from then on, the encoder modules are STATICISED from the 20Hz signal from the Time Service.

John Mills

CAMAC TEST PROCEDURES

23

Page 26

It should also be noted that when a 1PPR or ZEROSET pulse in (or the CLOCK signal) is detected, the green LED’s on the 32 bit counter will stay illuminated. Only by taking the branch crate OFF LINE and performing a C/Z will these bits (and displays) be cleared. As the 20Hz signal is being supplied from the Frequency Generator, the CLOCK Led should re-appear once the crate is brought back on line. Using the BEI encoder to test the module is simple. Just rotate the shaft and depending on the direction, the red LED’s on the module’s 32 bit display will move either UP or DOWN. However, if the SC-TST-1 is not setup to address the module, although the red LED’s will change with movement, the data from the module will not be transferred to the bus and that is what we need to test. Note: On the encoder body and shaft are marked two reference lines. The point where these two lines cross is when the 1ppr signal is generated. Figure 21 RGO32bit counter test Controller setup The diagram shows for Operation 1, the address of the module at N8 and subaddress A1 F0 selected. The sub-address will be changed from A=0 to A=4 during the test procedure. Operation 2 is set to write data to the DTM4 module (N1 A0 F16) Test the Clock, 1ppr and ZERSET signals. •

Take the crate off line and perform a C/Z. All the LED’s on the module should be OFF.

•

Put the crate back on line again and the CLOCK Led should come on.

•

Move the encoder shaft slowly and when the 1ppr reference lines pass, check the 1ppr LED comes on.

•

Now push the ZEROSET button on the line driver box. Check that the ZERO Led comes on.

If all this works ok, the module is detecting these pulses correctly. Test the LSB bits are being read onto the bus in continuous mode - Using Register 1 • •

A=0 F=0 (switch A1 in diagram toggled to the left)

Take the crate off line, do a C/Z and put the crate back on line.

The red LED display should be blank. If the encoder is just even lightly touched, either most (certainly the MSB upper 16 bits) will be displayed or just a few of the low order bits displaying. •

Now move the encoder shaft rapidly. The LED’s will either count up down (in pure binary) depending on the direction of rotation.

•

Check the DTM4 displays show the same bit pattern as the red LED’s on the RGO32bit counter module.

If all looks ok the LSB encoder bits are being read correctly. Test the MSB bits are being read onto the bus in continuous node – Using Register 1 •

A=1 F=0 (switch A1 set as in Figure 21)

John Mills

CAMAC TEST PROCEDURES

24

Page 27

•

Perform the test as above. The bits displayed on the DTM4 will now be changing much more slowly. This is because the encoder needs to complete a full 16 bit (65,535 counts) before bit 16 (the lowest order bit in the MSB range) will change state.

•

Check again that the DTM4 and LED display on the RGO32bit counter are in agreement.

When the encoder is rotated and the bits are counting UP, it would take many turns of the encoder shaft to check out the full 32 bit range, but doing this for a minute or so is good enough to show that the MSB bits are being read onto the CAMAC bus. A further test is to rotate the encoder shaft so the bits count DOWN. All the MSB will then be displayed when a 32 bit zero count is passed. To reset the counter registers, take the crate off line and perform a C/Z. This will return the counter displays to a cleared condition. Another way to clear the counter is by sending the CAMAC command F9 A0. To do this, set the switches on the SC-TST-1 (Operation 1 column) to A0 and F9 and the counter should reset to zero. Test the LSB bits are being read onto the bus in strobed mode - Using Register 2 These tests are basically the same as before, the difference being that data will only be transferred to the bus when a 1ppr signal or a ZEROSET pulse is received. •

Set the SC-TST-1 to A=2 F=0

•

Turn the encoder shaft. Data will now only be transferred when the 1ppr is detected. i.e. Once for each rotation of the encoder shaft.

•

Check that the DTM4 and the LED display on the RGO23bit counter are in agreement

•

Turn the encoder shaft for a time then stop and push the ZERSET button on the line driver box

•

Check that the DTM4 and the LED display on the RGO23bit counter are in agreement

Test the MSB bits are being read onto the bus in strobed mode - Using Register 2 •

Set the SC-TST-1 to A=3 F=0

•

Turn the encoder shaft. Data will now only be transferred when the 1ppr is detected. i.e. Once for each rotation of the encoder shaft.

•

Check that the DTM4 and the Led display on the RGO23bit counter are in agreement

•

Turn the encoder shaft for a time then stop and push the ZERSET button on the line driver box

•

Check that the DTM4 and the Led display on the RGO23bit counter are in agreement

This completes the general data transfer tests on the RGO32bit counter using the test BEI encoder. More information and the full set of CAMAC commands can be found in the RGO 32BIT CAMAC COUNTER USER MANUAL. A copy of which is in the office where the CAMAC testing is done.

John Mills

CAMAC TEST PROCEDURES

25