module _c27937V; title 'CAMAC 279 V12.3 A. MASON 11-16-98' c27937V device 'F153'; "Pin definitions B0,B1,B2,B3,B4,B5,B6,B7 pin 1,2,3,4,5,7,8,9; ET1P,ET0P,ET1,ET0 pin 11,12,13,14; DV,TDCE pin 6,15; GND,VCC pin 10,20; T1,T2,T3,T4 pin 16,17,18,19; event = [B7..B0]; equations !TDCE = DV & (event == ^h2F); " $2F MI Clean-Up !T1 = !ET0P & ET1P " Only after 1 Shot TO # DV & (event == ^h2F); " $2F T2 = DV & (event == ^h20) "Arm gate set by OR of MI # DV & (event == ^h21) "resets, reset by end of # DV & (event == ^h23) "beam event ($26) # DV & (event == ^h29) # DV & (event == ^h2A) # DV & (event == ^h2B) # DV & (event == ^h2D) # DV & (event == ^h2E) # T2 & !((event == ^h26) & DV); !ET1 = ET0; " ET0 Input = BP "DESCRIPTION: This PAL decodes TCLK events for the CAMAC 279 " module and the TDCE pulse. This PAL is unique " and is programmed for 279 [V12.3]. " " For this version of the 279, the Ext Trig 0 signal " (BP /AIP) is connected from 9-10 rather than 9-12 so " that the one shot fires on the high-low transition " of the input. The ET0 input of this PAL is also " connected to 9-10. /BP is also applied to a 100 ms one " shot that times when BP is asserted. During this " time, the fall of BP does not generate an ARM. " " For this PAL: " TDCE = $2F " " T1 = Set ARM for Chan 0. " Fires when MI Beam Permit signal " falls after Permit has been up " for 100 ms or upon TCLK $2F. " " ET1 = /BP and is defined as an output. " " Note: ET1 is an output here to fire the one shot " normally attached to EXT Trig 1. IC #9-2 " must be floated to make this work. Easier to " program the ET1 pin than adding a wire. end _c27937V