Operating Instruction; Programming For The Hv4032A - LeCroy 2132 Operator's Manual

High voltage to camac interface
Table of Contents

Advertisement

PROGRAMMING FOR
THE HV4032A
OPERATING INSTRUCTIONS
Programming of the HV4032/2132 system involves a 16-bit word format.
The constituent syllables that comprise the datawords are as follows:
M Mainframe address, M=0 used for addressing all units on the daisy
chain (6 Bits)
C
Channel number (6 Bits)
V
Voltage (12 Bits)
T
Control Tag (See Figure 1) (4 Bits)
S
Software Switch (1-bit right justified in a 6-bit field)
The COMMANDS and RESPONSES are indicated in Figure 1. These
words are written into the 2132 via CAMAC F(16) commands. A list of
CAMAC function codes is given at the end of this Section.
Registers which have front-panel designations greater than 31 may be
written into through CAMAC as follows:
CAMAC Channel Number
32
33
34
35
36
37
The user software should keep track of values entered into these regis-
ters since there are no CAMAC commands to read them. Proper entry of
information into these registers may be checked through the front panel.
A programming example flow diagram is given in Figures 5 to 10 to
illustrate general procedure for operation of the 2132.
CAMAC clear (C or Z) is recommended after power up of the 2132. After
this initialization it should not be necessary to clear the module again.
Use of clear function may, in fact, cause erroneous data to be read out
should it coincide with data transferred from an HV4032).
Data buffer (FIFO) clearing can be performed by generating read cycles
F(2), until Q response equals zero. During normal read, F(2) should be
continued until Q=0 to ensure all data available has been cleared.
A Q response following a write command, F(16), indicates that the 16-bit
word had been accepted by the 2132. It will be transferred thereafter
according to the timing set internally by hardware in the 2132 Interface.
The Finished Response can be used for non-handshake commands to
inform the user when the command is completed the given example, the
33 words used to modify the voltage of 32 channels in mainframe 16 will
be transmitted to the HV4032 at a rate determined by hardware in the
Front Panel Number
33
43
47
70
70c
99
13

Advertisement

Table of Contents
loading

Table of Contents