For more detailed information on the APS event generator and receiver records refer to Chapter 11 on page 69.
-------------------------------------------------------------- Field Type DCT Initial Access Modify Rec Proc PP Monitor -------------------------------------------------------------- VAL CHAR No 0 Yes No Yes No OUT OUTLINK Yes 0 No No No No ENAB RECCHOICE Yes 0 Yes Yes No Yes ENM LONG Yes 0 Yes Yes No Yes LENM LONG No 0 Yes No No Yes LOUT LONG No 0 Yes No No Yes OUT0 RECCHOICE Yes 0 Yes Yes No Yes OUT1 RECCHOICE Yes 0 Yes Yes No Yes OUT2 RECCHOICE Yes 0 Yes Yes No Yes OUT3 RECCHOICE Yes 0 Yes Yes No Yes OUT4 RECCHOICE Yes 0 Yes Yes No Yes OUT5 RECCHOICE Yes 0 Yes Yes No Yes OUT6 RECCHOICE Yes 0 Yes Yes No Yes OUT7 RECCHOICE Yes 0 Yes Yes No Yes OUT8 RECCHOICE Yes 0 Yes Yes No Yes OUT9 RECCHOICE Yes 0 Yes Yes No Yes OUTA RECCHOICE Yes 0 Yes Yes No Yes OUTB RECCHOICE Yes 0 Yes Yes No Yes OUTC RECCHOICE Yes 0 Yes Yes No Yes OUTD RECCHOICE Yes 0 Yes Yes No Yes VME RECCHOICE Yes 0 Yes Yes No Yes --------------------------------------------------------------
------------------------------------------------------------------------------------- Name Summary Description ------------------------------------------------------------------------------------- OUT Output Link Specifies the card containing the mapping RAM to be programmed. ENAB Event Enable Enables the operation of this record. If this is set to `Disabled', then the values in the record are ignored. ENM Event Number The event number to be described. This indicates the position in the mapping RAM that is to be programmed. LENM Last Event Number LOUT Last Output Enable Mask OUTn Output Enable (n=0-D) May be set to `Enable' or `Disable' in order to set or clear the corresponding bit in the mapping RAM. The meanings of these bits depend on what outputs are enabled on the event receiver board (selected in the related er record) and are described in the document "Event System" by Frank Lenksus. VME VME Interrupt May be set to `Enable' or `Disable' in order to select a Enable VME interrupt upon the occurrence of event ENM. The time is automatically latched when the VME interrupt is generated. VAL Value Field Not used. -------------------------------------------------------------------------------------
In order to configure the event receiver device support, a call must be made to set the address for each of the event receiver cards present in the IOC. This configuration call is as follows:
ErConfigure(<card>, <A16 board address>, <IRQ Vector>, <IRQ Level>)Where <card> is the card to be configured, <A16 board address> is the 16-bit address of the board in A16 space, <IRQ Vector> is the vector number to use when generating VME interrupts, and <IRQ Level> is the VME backplane.