CONTROLS
CAMAC 333
SCALER
BINARY
ED-218623

CONTROLS HARDWARE RELEASE NO. 77.0

CAMAC 333 Module

Eight Channel 24 Bit Binary Scaler

Robert J. Ducar

February 10, 1992 DRAFT

CONTENTS

1  DESCRIPTION
2  CAMAC 333 OP CODES
3  CAMAC 333 MODULE - I/O ASSIGNMENTS
4  CAMAC 333 MODULE - FRONT PANEL
5  SPARES
6  DOCUMENTATION          
7  PALS DOCUMENTATION
   PALS DIRECTORY

Note: Please see Ann Mason or Bob Ducar for more information.

 

        1  DESCRIPTION
           The one-wide CAMAC 333 module provides eight 24 bit  binary
        scaler channels.  The module has a variety of trigger and gate
        options, as well as a  TCLK  interface.   Individual  channels
        exhibit  ability  to count inputs having a frequency in excess
        of 25 MHz.
           Each channel has overflow indication with ability to  count
        beyond  overflow.   Any  channel  overflowing results in a LAM
        condition.  Channels may be reset individually or as a  group.
        One  or  more  TCLK  events  may  be  used to reset all of the
        scalers.
           Channel count inputs are provided at both the front of  the
        module  and the rear I/O connector.  Front count inputs may be
        either NIM or TTL convention.  The rear count inputs  are  TTL
        and   can   accommodate  positive  or  negative  edge  inputs.
        Internal one-shots may be employed  to  filter  input  signals
        that   exhibit   excessive   leading   and/or   falling   edge
        oscillations.
           External gates for each channel are provided  at  the  rear
        I/O  connector.   Gates  may  also  be developed from the TCLK
        interface and may be applied to individual scaler channels.
           Given the variety of input and gating  options,  individual
        modules  are  identified by unique version numbers.  CAMAC 333
        versions are  detailed  in  a  separate  document  [DUCAR.DOC]
        CMC333.VER.
 
        2  CAMAC 333 OP CODES
            All codes return module Q and X immediately. 
            LAM is asserted upon overflow of any channel.

            F(0) A(n)   Read Scaler Channel n    n = 0 -> 7
            ---------   
                        R24 (MSB)      -        (LSB) R1
                        --------------------------------
                        MSB   -   Scaler Count   -   LSB
            F(1) A(0)   Read Count Enable Status
            ---------   
                        R7 (MSB)       -       (LSB) R1
                        -------------------------------
                        CE7 CE6 CE5 CE4 CE3 CE2 CE1 CE0
                        CEn = 1 when Count Enabled for Scaler Channel n.
            F(1) A(1)   Read External Gate Enable Status
            ---------   
                        R7 (MSB)       -       (LSB) R1
                        -------------------------------
                        EG7 EG6 EG5 EG4 EG3 EG2 EG1 EG0
                        EGn = 1 for when External Gate for Scaler 
                              Channel n allows counting.
            F(1) A(2)   Read Scaler Overflow Status
            ---------   
                        R7 (MSB)       -       (LSB) R1
                        -------------------------------
                        OF7 OF6 OF5 OF4 OF3 OF2 OF1 OF0
                        OFn = 1 when Scaler Channel n has Overflowed.
                        Any Channel Overflow results in LAM.
            F(1) A(3)   Read Master Clear TCLK Event Number
            ---------   
                        R7 (MSB)       -       (LSB) R1
                        -------------------------------
                        MSB   -   TCLK Event   -    LSB
 
            F(6) A(0)   Read Module Number 
            ---------
                        R16 (MSB)       -       (LSB) R1
                        --------------------------------
                        |      $014D Hex, 333 Dec      |
            F(6) A(1)   Read Module Version Number 
            ---------
                        R8 (MSB)       -       (LSB) R1
                        -------------------------------
                        |        Version Number       |
            F(7) A(0)   Dummy Read - No Data are Returned
            ---------
            F(9) A(n)   Reset Scaler Channel n    n = 0 -> 7
            ---------
            F(9) A(15)  Reset All Scaler Channels
            ----------
                        This command is a logical or with Z*S2, 
                        power-up clear, and optional TCLK event(s).
 
        3  CAMAC 333 MODULE - I/O ASSIGNMENTS
             Rear I/O:  36 Position Edge Connector   A = R    B = L
             POS  SIGNAL            POS  SIGNAL               
             ---  --------------    ---  ----------------
              1L  Common             1R  TCLK Input
              2L    |                2R  TCLK Output
              3L    |                3R  EG7  ------
              4L    |                4R  EG6       |
              5L    |                5R  EG5       |
              6L    |                6R  EG4  External Gate
              7L    |                7R  EG3     Inputs
              8L    |                8R  EG2       |
              9L    |                9R  EG1       |
             10L    |               10R  EG0  ------
             11L    |               11R  T7R  ------
             12L    |               12R  T6R       |
             13L    |               13R  T5R       |
             14L    |               14R  T4R  Rear Trigger 
             15L    |               15R  T3R     Inputs 
             16L    |               16R  T2R       |
             17L    |               17R  T1R       |
             18L  Common            18R  T0R  ------
 
        4  CAMAC 333 MODULE - FRONT PANEL
               The CAMAC 333 module has the following front 
               panel features:
            N led:       Red (stretched)
            LAM led:     Red, On for any Channel Overflow
            TCLK:  led, Green (stretched), On when TCLK is present
                   Lemo Input, Alternate to Rear I/O Input
                   Lemo Output, Additional to Rear I/O Output,
                                74F3037 Driver
            Channel Input:  led and Lemo Pair for Each of 8 Channels,
                            led, Red (Stretched)
                            Lemo Input, Alternate to Rear I/O Input
 
        5  SPARES
           A supply of CAMAC 333 operational spares is  maintained  on
        the  second  floor  of  the  Linac  Annex.  Given the multiple
        options afforded by this module,  caution  is  advised  before
        replacement.   On-board  jumper options are provided for front
        input NIM or TTL selection, and for  rear  input  positive  or
        negative  edge  count  input.   The later jumper should not be
        installed for applications utilizing  the  front  count  input
        connection.
 
        6  DOCUMENTATION
             0812-ED-218623   Schematic
             0812-BD-218624   Artwork (RF-137)
             0812-BD-218625   Master Drawing
             0812-BD-218626   Solder Mask
             0812-BD-218627   Silkscreen
             0812-MC-218628   Front Panel Mechanical
             0812-MD-218629   Front Panel Silkscreen 
             0812-MD-34863    Outline Drawing
 
        7  PALS DOCUMENTATION
             Directory:   DEVL::USR$DISK3:[DUCAR.PALS]
             Filenames:  33310A.DAT  NAF Decoder             PLS173
                         33315A.DAT  Channel Reset Decoder   PLS153
                         33357A.DAT  TCLK Decoder            PLS173
                         33363A.DAT  TCLK Decoder            PLS173
        rjd:  DEVL::USR$DISK3:[DUCAR.DOC]CMC333.RNO

                PALS DOCUMENTATION
PALS Directory
33310a33315a33357a33357b
33357c33357d33363a

 

module 33310a
title ' CAMAC 333                                 R. DUCAR
 11-8-91 '
33310a device 'f173';
PUC, F16, F8, F4, F2, F1  pin 1,2,3,4,5,6;
A2, A4, N, A1, S1  pin 7,8,9,10,11;
S2, Z, A8, QX, DF0, READ   pin 13,14,15,16,17,18;
CLR, DF9S1, DF1, BN, DF6  pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.;
"Use standard PALASM operators
@ALTERNATE
equations
  ;
 
 /DF0 = /N*F16*F8*F4*F2*F1*A8*CLR                   ;" F(0)A(0-7)
 
 /DF1 = /N*F16*F8*F4*F2*/F1*A8*/A4*CLR              ;" F(1)A(0-3)
 
 /DF6 = /N*F16*F8*/F4*/F2*F1*A8*/A4*/A2*CLR         ;" F(6)A(0-1)
 
 /DF9S1 = /N*F16*/F8*F4*F2*/F1*A8*/S1*CLR           ;" F(9)A(0-7)S1
 
 /CLR = /N*F16*/F8*F4*F2*/F1*/A8*A4*A2*A1*/S1*PUC + " F(9)A(15)S1
        /PUC + /Z*/S2*PUC
 
 /BN = /N                                           ;" Buffered N
 
 /READ = /DF0 + /DF1 + /DF6
 
 QX = /DF0 + /DF1 + /DF6 +
      /N*F16*F8*/F4*/F2*/F1*A8*/A4*/A2*/A1*CLR +    " F(7)A(0)
      /N*F16*/F8*F4*F2*/F1*A8*CLR +                 " F(9)A(0-7)
      /N*F16*/F8*F4*F2*/F1*/A8*A4*A2*A1             ;" F(9)A(15)
 
 
"DESCRIPTION:  This PAL provides the first level of NAF 
               decoding for the CAMAC 333 module.
end 33310a

module 33315a
title ' CAMAC 333                                  R. DUCAR
 1-23-92 '
33315a device 'f153';
CEC, NC2, DF9S1, CLR, A2   pin 1,2,3,4,5;
A4, NC7, A1, NC9  pin 6,7,8,9;
R3, R5, R4, R1, R6  pin 11,12,13,14,15;
NC16, R2, R7, R0  pin 16,17,18,19;
H,L,X,Z = 1,0,.X.,.Z.;
"Use standard PALASM operators
@ALTERNATE
equations
 
 
 /R0 = /DF9S1*/A4*/A2*/A1 + /CLR + /CEC       " F(9)A(0)S1
 
 /R1 = /DF9S1*/A4*/A2*A1 + /CLR + /CEC        " F(9)A(1)S1
 
 /R2 = /DF9S1*/A4*A2*/A1 + /CLR + /CEC        " F(9)A(2)S1
 
 /R3 = /DF9S1*/A4*A2*A1 + /CLR + /CEC         " F(9)A(3)S1
 
 /R4 = /DF9S1*A4*/A2*/A1 + /CLR + /CEC        " F(9)A(4)S1
 
 /R5 = /DF9S1*A4*/A2*A1 + /CLR + /CEC         " F(9)A(5)S1
 
 /R6 = /DF9S1*A4*A2*/A1 + /CLR + /CEC         " F(9)A(6)S1
 
 /R7 = /DF9S1*A4*A2*A1 + /CLR + /CEC          " F(9)A(7)S1
 
 
"DESCRIPTION:  This PAL provides the RESETS for the individual
               scalers of the CAMAC 333 module.
end 33315a

module 33357a
title ' CAMAC 333                                 R. DUCAR
 1-23-92 '
33357a device 'f173';
B0, B1, B2, B3, B4, DE  pin 1,2,3,4,5,6;
B5, B6, B7, NC10, NC11  pin 7,8,9,10,11;
NC13, NC14, CEC, NC16, NC17, NC18   pin 13,14,15,16,17,18;
NC19, NC20, NC21, NC22, NC23  pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.;
"Use standard PALASM operators
@ALTERNATE
equations
  ;
 
 /CEC = /DE*/B7*/B6*/B5*/B4*/B3*/B2*/B1*/B0             ;" $00
 
 
"DESCRIPTION:  This PAL decodes TCLK events for the CAMAC 333 
               module.  The "CEC" output clears all of the 
               scalers on the module.  This PAL is written for 
               Version 1.0.
end 33357a

module 33357b
title ' CAMAC 333                                  R. DUCAR
 1-23-92 '
33357b device 'f173';
B0, B1, B2, B3, B4, DE  pin 1,2,3,4,5,6;
B5, B6, B7, NC10, NC11  pin 7,8,9,10,11;
NC13, NC14, CEC, NC16, NC17, NC18   pin 13,14,15,16,17,18;
NC19, NC20, NC21, NC22, NC23  pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.;
"Use standard PALASM operators
@ALTERNATE
equations
  ;
 
 /CEC = /DE*B7*B6*/B5*B4*B3*B2*/B1*/B0                   ;" $DC
 
 
"DESCRIPTION:  This PAL decodes TCLK events for the CAMAC 333 
               module.  The "CEC" output clears all of the 
               scalers on the module.  This PAL is written for 
               Version 2.0.
end 33357b

module 33357c
title ' CAMAC 333                                  R. DUCAR
 1-24-92 '
33357c device 'f173';
B0, B1, B2, B3, B4, DE  pin 1,2,3,4,5,6;
B5, B6, B7, NC10, NC11  pin 7,8,9,10,11;
NC13, E26, CEC, _20F, _21F, _29F   pin 13,14,15,16,17,18;
_2AF, _2BF, _2DF, _2EF, NC23  pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.;
"Use standard PALASM operators
@ALTERNATE
equations
  ;
 
 /CEC = /DE*/B7*/B6*B5*/B4*/B3*/B2*/B1 +                 " $20 $21
        /DE*/B7*/B6*B5*/B4*B3*/B2*/B1*B0 +               " $29
        /DE*/B7*/B6*B5*/B4*B3*/B2*B1 +                   " $2A $2B
        /DE*/B7*/B6*B5*/B4*B3*B2*/B1*B0 +                " $2D
        /DE*/B7*/B6*B5*/B4*B3*B2*B1*/B0                  ;" $2E
 
 _20F = /DE*/B7*/B6*B5*/B4*/B3*/B2*/B1*/B0 + 20F*/E26     " $20 Flag
 
 _21F = /DE*/B7*/B6*B5*/B4*/B3*/B2*/B1*/B0 + 21F*/E26     " $21 Flag
 
 _29F = /DE*/B7*/B6*B5*/B4*/B3*/B2*/B1*/B0 + 29F*/E26     " $29 Flag
 
 _2AF = /DE*/B7*/B6*B5*/B4*/B3*/B2*/B1*/B0 + 2AF*/E26     " $2A Flag
 
 _2BF = /DE*/B7*/B6*B5*/B4*/B3*/B2*/B1*/B0 + 2BF*/E26     " $2B Flag
 
 _2DF = /DE*/B7*/B6*B5*/B4*/B3*/B2*/B1*/B0 + 2DF*/E26     " $2D Flag
 
 _2EF = /DE*/B7*/B6*B5*/B4*/B3*/B2*/B1*/B0 + 2EF*/E26     " $2E Flag
 
 E26 = /DE*/B7*/B6*B5*/B4*/B3*B2*B1*/B0                  ;" $26
 
 
 
 
"DESCRIPTION:  This PAL decodes TCLK events for the CAMAC 333 
               module.  The "CEC" output clears all of the 
               scalers on the module.  This PAL is written for 
               testing the module.
end 33357c

module 33357d
title ' CAMAC 333                                  R. DUCAR
 8-18-92 '
33357d device 'f173';
B0, B1, B2, B3, B4, DE  pin 1,2,3,4,5,6;
B5, B6, B7, NC10, NC11  pin 7,8,9,10,11;
PE, BC, CEC, BBF, C03, C5   pin 13,14,15,16,17,18;
C6, C9, GDE, GPE, GATE  pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.;
"Use standard PALASM operators
@ALTERNATE
equations
  ;
 
 BC = /DE*B7*/B6*B5*B4*B3*B2*/B1*/B0                 ;" $BC
 
 BBF = /DE*B7*/B6*B5*B4*B3*/B2*B1*B0 + BBF*/BC       " $BB Flag
 
 /C03 = /DE*B7*B6*/B5*/B4*/B3*/B2*/B1*/B0 +          " $C0 + $C3
        /DE*B7*B6*/B5*/B4*/B3*/B2*B1*B0               ;
 
 /C5 = /DE*B7*B6*/B5*/B4*/B3*B2*/B1*B0               ;" $C5
 
 /C6 = /DE*B7*B6*/B5*/B4*/B3*B2*B1*/B0               ;" $C6
 
 /C9 = /DE*B7*B6*/B5*/B4*B3*/B2*/B1*B0               ;" $C9
 
 /GDE = BBF*/DE                                      ;" Gated DE
 
 /GPE = BBF*PE                                       ;" Gated PE
 
 GATE = BBF                                          ;" Buffered BBF
 
 
"DESCRIPTION:  This PAL decodes TCLK events for the CAMAC 333 
               module.  The "CEC" output clears all of the 
               scalers on the module.  This PAL is written for 
               diagnosing TCLK problems.
 
 	Channel 0:   Spare 50 Ohm TTL Input (McClure Unassigned Events)
 	Channel 1:   Event $C0 + $C3
 	Channel 2:   Event $C5
 	Channel 3:   Event $C6
 	Channel 4:   Event $C9
 	Channel 5:   Decoded Events
 	Channel 6:   Parity Errors
 	Channel 7:   Missing Clock Stream
 
 	All Channels Gated ON by $BB, Gated OFF by $BC.
end 33357d

module 33363a
title ' CAMAC 333                                  R. DUCAR
 11-4-91 '
33363a device 'f173';
B0, B1, B2, B3, B4, DE  pin 1,2,3,4,5,6;
B5, B6, B7, NC10, NC11  pin 7,8,9,10,11;
NC13, NC14, NC15, NC16, NC17, NC18   pin 13,14,15,16,17,18;
NC19, NC20, NC21, NC22, NC23  pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.;
"Use standard PALASM operators
@ALTERNATE
equations
  ;
 
     = /DE*/B7*/B6*/B5*/B4*/B3*/B2*/B1*/B0      ;" $00
 
 
"DESCRIPTION:  This PAL decodes TCLK events for the CAMAC 333 
               module.  There is no requirement for this PAL
               at the present time.
end 33363a

Security, Privacy, Legal