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

The text of a manual · part 2 of 4

CAMAC Testing Procedures: A Guide on How to Manually Test CAMAC Modules, pages 10 to 18

Pages 10 to 18 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 10

READ AND WRITE TESTS – SYSTEM TO BRANCH – BRANCH TO SYSTEM As the Branch Coupler is across slots 15/16 in the test rack SYSTEM crate, this determines the branch number to be 16 The branch crate number can be set from 1 to 7. In these tests we will use 2 as the crate number. So ensure the rotary switch is set to this number. These tests also assume that a DTM4 dataway monitor is in slot N1 and a WGR2403 Word Generator is in slot N4 in BOTH crates.

Set up the SC-TST-1 Test Controller as follows:

TEST 1 - Read WGR2403 in SYSTEM crate and write to the DTM4 in the BRANCH crate:

Figure 5 System to Branch crate transfer

• •

Operation 1 - All switches set to ‘0’ except N4 =1 Operation 2 - switches BR16 =1 C2 =1 N1 =1 F16 =1

Send the following bit patterns using the 24 switches on the SYSTEM crate WGR2403. Check that the WRITE LED’s on the BRANCH crate DTM4 agree. • • • •

Write all ones Write all zeros Alternate bits Reverse bits

111111111111111111111111 000000000000000000000000 101010101010101010101010 010101010101010101010101

If any bits are missing (or refuse to change state), change the CRATE CONTROLLER for a known working spare and repeat the above test. If the problem persists, change the BRANCH COUPLER for a known working spare and repeat the above test. Providing the WGR2403 and DTM4 are working ok then changing a CC or BC should resolve the problem of which module is faulty.

John Mills

CAMAC TEST PROCEDURES

8

Page 11

TEST 2 - Read WGR2403 in BRANCH crate and write to the DTM4 in the SYSTEM crate:

Figure 6 Branch to System crate transfer • •

Operation 1 - switches BR16 =1 C2 =1 N4 = 1 Operation 2 - switches N1 =1 F16 =1

Send the following bit patterns using the 24 switches on the BRANCH crate WGR2403. Check that the WRITE LEDS on the SYSTEM crate DTM4 agree. • • • •

Write all ones Write all zeros Alternate bits Reverse bits

111111111111111111111111 000000000000000000000000 101010101010101010101010 010101010101010101010101

If any bits are missing (or refuse to change state), change the CRATE CONTROLLER for a known working spare and repeat the above test. If the problem persists, change the BRANCH COUPLER for a known working spare and repeat the above test. Providing the WGR2403 and DTM4 are working ok then changing a CC or BC should resolve the problem of which module is faulty.

If any of the above tests fail, it will generally identify either a faulty CRATE CONTROLLER or BRANCH COUPLER. There could be a problem in that a fault situation may exist if the crate number is changed, but the Branch Coupler test as described at the beginning of this section should identify this when the crate number switch is changed and if a corresponding LED on the Branch Coupler does not come on. It is worth carrying out these tests again using a different crate number if such a problem is suspected. Another indication of the heath of the system is to check the OPERATION 1 and 2 and Q and X LED’s on the TST-1. These should all be on when running the TST-1 in Continuous 1MHz clocking mode.

John Mills

CAMAC TEST PROCEDURES

9

Page 12

TESTING INPUT REGISTER AND OUTPUT DRIVER MODULES There are a variety of these modules in use. Some types are only used in the WHT and others in the INT/JKT systems. These being: WHT system: • HY450-4 - 24 bit (twisted pair) input and output register - (52w D connectors) • IR48 - Dual 24 bit input register (31way D connectors) • OD48 (or OR48) - Dual 24 bit output driver (output register - has less current drive) • OD2411 - Dual 24 bit output register - (37w D type connectors) INT/JKT system: • PR2402 - Dual 24 bit input register (standard TTL inputs) - also used in WHT • PR2403 - Dual 24 bit input register with opto-isolated inputs • OD2407 - Dual 24 bit output driver To test these modules, special test boxes are available which provide a 24 bit input function using switches and a 24 bit output display using LED’s. Connections are via 37way D sockets and are labelled as to which is an INPUT or an OUTPUT connection. There is also a third connector, but this is never used and is marked as such.

Figure 7 Input Register and Output Driver test boxes These boxes are essentially the same and both can be used for module testing. However, when testing the WHT OD/OR48 or the IR48 modules use the box shown on the left (referred to as the plastic test box) as the test cables for these modules will only fit into these connectors which are mounted without the clamping plate. The same applies for testing the OD2411 module. Another caveat is to use this box for testing the PR2403 input registers (opto-isolated inputs). The metal box has this facility also, but no longer works. Unfortunately we have no documentation for these boxes and the circuitry within the metal box is very fragile! The boxes are also fitted with 3 toggle switches to set the mode of operation. Set these to: • • •

CAMAC - other position is CF (never used) STAT - other position is PULSE STD - other position is OPTO (on plastic test box)

John Mills

CAMAC TEST PROCEDURES

10

Page 13

For testing the HYTEC 450-4 modules, a special test box is available:

Figure 8 HY450-4 Test Box

This box has a dual function: 1. Using the 2 cables labelled 450-4 INPUT and OUTPUT. It can be used for testing the module in a standalone mode which will be described later. 2. Using all 4 cables (two are marked as TO and FROM encoder) the box can be used to monitor real time encoder data by un-plugging an encoder cable from the 450-4 module and connecting the box in a ‘series configuration’. For this to work, all the switches must be set to DIRECT (toggled up). The centre and bottom switch positions (+5 and 0V) simply generate a logic 1 or 0 state for module bit pattern testing. In the photo the switches have been set to produce an alternate 1010... bit pattern.

TEST CABLES These are kept in box near the test rack and are as follows: 1. 2. 3. 4. 5.

OD/OR48 - Output Driver IR48 - Input Register OD2411 - Output driver PR2402/3 – Input Register OD2407 – Output Driver

John Mills

CAMAC TEST PROCEDURES

11

Page 14

MODULE TEST PRELIMINARIES

Figure 9 IR48 Test Controller setup For standard module tests, I prefer to use the BRANCH crate. This is simply because the test rack has a pull out tray and cables running between the test box placed on the tray and the module under test are closer together. As the following tests will be performed using the Branch crate and the module under test will be inserted into slot N8, the SC-TST-1 needs to be configured as shown in Figure 9. That is Operations 1 and 2 are executed using BR =16 and C=2. N8 A1 F0 reads REG 1 of the IR48 and N1 A0 F16 writes the data to the DTM4.

IR48 DUAL 24 BIT INPUT REGISTER This WHT module has two 24 bit standard TTL input registers. These being: REG 0 (upper connector) - module sub- address = A0 F0 REG 1 (lower connector) - module sub-address = A1 F0 Using the IR48 test cable and the plastic test box, connect the cable to REG 1 (lower socket). With the SC-TST-1 set up as shown in Figure 9, 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

Figure 10 IR48 test setup Check the lower group of LED’s on the IR48 (and also the R/W LED’s on the DTM4) agree with the switches. This is shown in the photo and with an alternate 101010... bit pattern generated. Now move the cable to the REG 0 connector (upper socket). Toggle the switch A1 on the SC-TST-1 to the left. This sets A= 0 to read REG 0. Perform the tests as described above and check the upper group of LED’s on the IR48 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.

John Mills

CAMAC TEST PROCEDURES

12

Page 15

OD48 DUAL 24 BIT OUTPUT DRIVER Note: There are two versions of this module used in the WHT, the OD48 and the OR48. For test purposes these modules are the same. The only difference being the OD48 can sink more current. For testing these modules, we use the WGR2403 word generator in slot N4 (A0 F0) to write data to the OD48 in slot N8 A0 (or A1) and 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 11 Test setup for OD/OR48 modules

The image above shows the test setup using the plastic test box with the OD48 test cable plugged into REG 0 (upper connector). The LED’s in the test boxes need a +Vcc supply so a special power cable is required which plugs into the CAMAC crate’s 9 pin front panel D connector. This is nominally at +6V, but this voltage is reduced to +5 within the test box. The 0V earth return is made via the test cable.

John Mills

CAMAC TEST PROCEDURES

13

Page 16

Figure 12 OD/OR48 Test Controller setup This WHT module has two 24 bit output registers. The output connectors are high density 31way D type. These being: REG 0 (upper connector) - module sub- address = A0 F16 REG 1 (lower connector) - module sub-address = A1 F16 Test REG 0 A=0 F=16 Using the OD48 test cable and the plastic test box, connect the cable to REG 0 (upper socket). With the SC-TST-1 set up as shown in Figure 12, 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 the upper group of LED’s illuminated on the OD48 and the LED’s on the test box are the same. This is important as the local display on the module may be working, 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 Move the test cable to the lower connector on the module. Toggle the switch A1 to the right – i.e. A= 1 and repeat the above tests. If all LED’s in the lower group on the OD48 and those on the test box agree, 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.

TESTING THE OD2411 This is a 48-channel 40mA/30V O/P Register with handshake and is used in the WHT NASMYTH crate to provide the velocity demand (control bits) to the CW and CCW instrument rotator servos. This module functionally is the same as the OD48. The difference being that the connectors on the module are standard 37way D types and not the 31way high density D type as used on the OD48 module. The cable labelled OD2411 is required for testing this module and plugs into the plastic test box. The module connectors are labelled OUTPUTS A and B instead of REG 0 and REG 1, but to test this model, follow the procedure above as for an OD/OR48. Output A = A0 F16 Output B = A1 F16

John Mills

CAMAC TEST PROCEDURES

14

Page 17

HYTEC 450-4 24 BIT INPUT/OUTPUT REGISTER These WHT modules are used to read the data from the absolute encoders. The inputs and outputs are differential pairs and conform to RS422/423 standards. To test this module, a special test box is available (see description on page 10). A nice feature about this setup is that both the INPUT and OUTPUT registers can be tested together.

Figure 13 HYTEC 450-4 test setup The photo shows the test box in use. In this example, all 24 bits have been set which can be seen displayed on the DTM4 and Branch Terminator in the branch crate as well as on the test box. The 450-4 OUTPUT connector is the upper one, the INPUT connector being the lower. Ensure the cables labelled as 450-4 OUT and 450-4 IN are inserted into the appropriate connectors. There are two more cables coming from the test box labelled TO and FROM ENCODER, but for this test they are not required. Below the LED’s are test points for the 24 differential input and output connections and can be used for monitoring purposes using a meter or oscilloscope.

John Mills

CAMAC TEST PROCEDURES

15

Page 18

The test box requires a +5V supply (of at least 2A) and the power cable seen to the right connects to a bench PSU. The input signals are derived from 24 toggle switches on the box, their state being shown by the row of red LED’s below. The green LED’s are driven from the module’s output register. The toggle switches have 3 positions, but only the centre and down positions are used. These are labelled as +5V and 0V. However due to internal buffering and chip inversion, the logic states sent to the 450-4 input register are: Switch Centre Bit = 0 Switch Down Bit =1

Figure 14 450-4 Test Controller setup Both read and write data operations are performed simultaneously on the same module Operation 1 - To read the switch data: N8 A0 F0 (read input register) Operation 2 - To write data to LED’s: N8 A1 F16 (overwrite output register)

Use the switches on the 450-4 test box to generate the following bit patterns • • • •

Write all ones Write all zeros Alternate bits Reverse bits

111111111111111111111111 000000000000000000000000 101010101010101010101010 010101010101010101010101

Because the input data is being passed back out of the module, both the GREEN and RED Leds should be in agreement.

As mentioned for the previous I/O module tests. A bad connection between the test cable and module connector can cause problems with bits missing so ensure these connectors are pushed in fully. The 450-4 is quite a complex module with a host of CAMAC commands for performing other operations such as clearing, setting or testing the LAM bit. There are also commands for clearing a register after reading it. A full set of instructions along with the connector pin details are readily available. The usual problems with 450-4 modules are missing or stuck bits and the above test is more than adequate to show this type of fault.

John Mills

CAMAC TEST PROCEDURES

16