User’s Manual PCI-CAMAC
W-I e
–N e
-R
Plein & Baus GmbH
1 PCI-CAMAC SYSTEM: General description
With the help of the PCI-CAMAC system which consists of CAMAC crate controller CC32 and the PCI card PCIADA, users of the CAMAC bus profit of the technical success, which takes place in the PC development. For a fast and efficient CAMAC control and data read-out the system supports 16-bit and 32-bit wide data transfers.
A huge variety of software is available for a PC. In parallel it’s performance was constantly improved. Modern operating systems were developed which turn the PC into a powerful workstation. On the other hand the number of UNIX workstations which are equipped with PCI increases strongly. The PCI-CAMAC system can be used in this environment too.
Drivers and programming tools for PCI-CAMAC are provided for different operating systems and programming languages.
Drivers for Windows-95/98 and Windows-NT offers an easy access to CAMAC data way. For C and Turbo Pascal users the Pascal and C-libraries provide easy routines to operate CAMAC modules.
Working with the LINUX driver all advantages of UNIX multi user and multi tasking operating system can be used for CAMAC operations.
The PCIADA interface card supports 16 and 32 – bit PCI bus slave access. It provides programmable interrupt generation on PC. PCIADA is also compatible to the PCI-VME system.
To link CAMAC systems equipped with the CC32 into a VME based data acquisition a VME slave module VC32(VMEADA) is available, which can replace the PCIADA in this case.
1.1
Summary PCIADA / CPCIADA
•
PCI-interface based on standard PCI chip
PLX9050
produced by
PLX-Technology
• support of (8), 16 u. 32 bit PCI-bus slave accesses
• direct data mapping into the target address area with automatic „low-big-endian“ conversion.
• use of
32K
memory segment below the 1MB limit to be accessible for MS-DOS applications
• supports interrupt source from CC32 (maskable LAM) and local „timeout“ interrupt source
• differential bus driver and receiver for fast and reliable data transfer
1.2
Summary CC32 CAMAC crate controller
• transparent D16 and D24 (D32) CAMAC data way access
• 32K NAF coding / addressing
•
24 bit programmable LAM-mask register
•
LAM-interrupt transfer to PCIADA
•
FASTCAMAC Level 1
• LED-display for:
+6V
CAMAC-access, local CC32-access, INHIBIT and LAM. (stretched to 5 ms)
•
•
•
CAMAC data way display for: Q, X, C, Z, N1...16, A1…8, F1…16 and Data1…24.
CAMAC-cycle tuning (Busy to S1) for each station, range 300ns and 200ns, S1/S2=100ns
Broadcast CAMAC-WRITE and broadcast-mask register no interference of PC operation due to CAMAC crate on / off changes (if interrupt disabled)
November 00 1 *00479.A1
User’s Manual
1.3
Front Panel
PCI-CAMAC
CC32
CAMAC-CONTROLLER
W-I e
–N e
-R
Plein & Baus GmbH
Power
Local Acces
Camac Acces
Inhibit
LAM Flip-Flop stredched to
5 m s
Q-Acknowledge
X-Acknowledge
Clear-Cycle
Initialise-Cycle
Station Number
Sub-Addres
Funktion
Connector t o
PCIADA or VC32(VMEADA)
Camac-Data
November 00 2 *00479.A1
User’s Manual PCI-CAMAC
W-I e
–N e
-R
Plein & Baus GmbH
1.4
Installation PCIADA and CC32
1.4.1
ATTENTION
Observe precautions for handling:
•
Electrostatic device!
Handle only at static safe work stations. Do not touch electronic components or wiring
•
The CAMAC crate as well as the used PC have to be on the same electric potential. Different potentials can result in unexpected currents between the CC32 and PCIADA which can destroy the units.
•
Do not plug the CC32 into a CAMAC crate under power.
Switch off the CAMAC crate first before inserting or removing any CAMAC module!
For safety reasons the crate should be disconnected from AC mains.
•
Do not plug in the PCIADA into a PC under power. First switch off the computer and disconnect from AC mains.
1.4.2
Installation
1. Check the CC32 jumpers and set them according to the required functionality (see
1.5. Crate number
). There are no user-definable settings on the PCIADA-card.
2. Turn off the PC and any peripheral equipment. Remove the power cable .
3. Remove the computer outside cover and locate a free PCI-expansion slot.
4. Carefully slide the PCIADA card into the PCI slot. After the card is firmly in secure it’s fastening tab to the PC chassis with a screw.
5. Replace the PC cover and power cord.
6. Switch off the CAMAC crate and remove the power cord. Plug in the CC32 on the far right slots
(normally slot 24 & 25) and secure it with the front panel screw.
7. Attach one end of the 50-pin cable to the CC32 connector and the other side to the PCIADA card.
8. Switch on the CAMAC crate and the PC. The Plug-and-Play Bios should automatically recognize the card.
9. Install the PCIADA/CC32 driver from the attached CD-ROM as described within the driver manual for your operating system.
10. To work with DOS based programs accessing the PCI-CAMAC system add or modify the
EMM386.EXE line in the CONGIG.SYS (as shown on the CD-ROM at
\DOS\PASCAL\Readme.txt).
11. Test the installation with the software delivered on CD-ROM.
November 00 3 *00479.A1
User’s Manual PCI-CAMAC
W-I e
–N e
-R
Plein & Baus GmbH
1.5
Crate number
Using more than one PCIADA cards in one PC to control multiple CAMAC crates requires to differ between the connected CC32 controllers. For this purpose a crate number can be defined by jumper setting on the CC32 board. Please see the location of the jumper array on the component scheme (see
3.17).
Attention: If using multiple CC32 controllers with the same crate number connected to PCIADA cards in one PC it is not possible to differ between the CAMAC controllers and to access them. This can result in unexpected effects.
The actual crate number setting can be determined by software reading the
CC32-Status.
J304 J303 J302 J301 Function
x
I x
I x
I x
:
Crate number for multiple PCI-CC32 installations
(factory prepared setting, crate number = 1)
I
:
=
= jumper is installed jumper is not installed
1.6
Access times and performance
Typical access times based on a Pentium 133MHz (including reading of program-code):
Access type
PCI to CC32 internal D16
PCI to CC32 internal D32
PCI to CC32 Dataway D16
PCI to CC32 Dataway D32 (R/W24)
PCI to CC32 Dataway FAST LEVEL1 D32 (D24)
WR-time / us
0,6
0,65
1,4 (1,2)
-
1,4 (1,2)
RD-time / us
1,0
1,5
1,8 (1,6)
2,0 (1,8)
1,5
Values in brackets ( ..) are obtained with Cycle-Tune bits = 11
November 00 4 *00479.A1