MENU
The MENU command outputs the menu of the CAMAC subroutine. A summary of the commands is listed below.EXIT Return to CFIMENU main menu LOOP Loop on next command HELP Accesses this help file CRATE User enters value of crate to become default
Crate controller operations: Z_CRATE CAMAC Z C_CRATE CAMAC C SET_INH Set Inhibit CLR_INH Clear inhibit TST_INH Test inhibit EN_DEM Enable crate demand DI_DEM Disable crate demand TST_DEM_EN Test if crate demand enabled TST_DEM_PR Test if crate demand is present LOAD_ST Load CAMAC station no. register RD_GR_LAM Read graded LAM
Operations accessing branch driver CSR0: READ_CSR0 Read value of CSR 0 of branch driver X_RESET Disable SS=7 on no X response X_SET Enable SS=7 on no X response
Data control: DIS_BLK_OUT Disable display of block transfer data EN_BLK_OUT Enable display of block transfer data (default) DEC_DATA Change base of data display to decimal (default) OCT_DATA Change base of data display to octal HEX_DATA Change base of data display to hexadecimal DIS_DIRECT Disable direct data transfer through CFI EN_DIRECT Enable direct data transfer through CFI (default)
Single word transfer operations: CNAF Camac operation - user enters C,N,A,F
Block transfer operations: Q_STOP_BLOCK Block transfer operation terminated on no Q response UNIDEV_BLOCK Block transfer operation wordcount terminated to fixed address MULDEV_BLOCK Block transfer operation wordcount terminated incrementing address
This command causes the CAMAC crate controller to send a 'Z' to the default CAMAC crate. The command sent is N(28),A(8),F(26).
C_CRATE
This command causes the crate controller to send a 'C' (i.e. clear) the default CAMAC crate. The command sent is N(28),A(9),F(26).
SET_INH
This command causes the crate controller to set the inhibit on the default CAMAC crate. The command sent is N(30),A(9),F(26).
CLR_INH
This command causes the crate controller to clear the inhibit on the default CAMAC crate. The command sent is N(30),A(9),F(24).
TST_INH
This command causes the crate controller to test the inhibit on the default CAMAC crate. The command sent is N(30),A(9),F(27).
EN_DEM
This command causes the crate controller to enable CAMAC crate demand on the default crate. The command sent is N(30),A(10),F(26).
DI_DEM
This command causes the CAMAC crate controller to disable crate demand on the default crate. The command sent is N(30),A(10),F(24).
TST_DEM_EN
This command causes the CAMAC crate controller to test state of crate demand on the default crate. A Q=1 is returned if enabled. The command sent is N(30),A(10),F(27).
TST_DEM_PR
This command causes the CAMAC crate controller to test CAMAC crate demand on the default crate. A Q=1 is returned if present. The command sent is N(30),A(11),F(27).
LOAD_ST
This command causes the CAMAC crate controller to load CAMAC station number register (Q=1) on the default crate. The command sent is N(30),A(8),F(16).
RD_GR_LAM
This command causes the CAMAC crate controller to read graded LAM (Q=1) on the default crate. The command sent is N(30),A(0-7),F(0).
CNAF
CNAF allows the user to enter CAMAC commands to any CAMAC crate on the system, by inputting the values of C (CAMAC crate number), N (CAMAC slot), A (CAMAC subaddress), F (CAMAC function) and data value.If the value of C is zero or not specified, the default crate value is used (entered by using the CRATE command). The result of the operation (Q,X response and data) is reported.
The base of the data value is by default in decimal, but can be changed to hexadecimal or octal by entering the HEX_DATA or OCT_DATA commands prior to the CNAF command.
If, instead of entering the parameters N,A,F, a carriage return is entered, the last command will be repeated. For continuous looping on a command, see HELP CAMAC LOOP.
To exit from the CNAF command back to the CAMAC menu, enter Control Z or -1.
EXIT
This command returns control to the CFIMENU program.
LOOP
Parameter NLOOP - number of times to loop on next command e.g. CAMAC>LOOP 5This command will repeat the next command entered NLOOP times. IF the value of NLOOP is not supplied, it will be prompted for. By entering a value of 0 for NLOOP, the next command will be repeated an infinite number of times. During the infinite loop, typing any character on the terminal will return control to the main CAMAC menu.
CRATE
parameter CRATE_NUMBERe.g. CAMAC> CRATE 3
This command is used to set up the default crate value. If the parameter CRATE_NUMBER is not supplied, it will be prompted for.
All operations except CNAF and all block transfers are performed on the default crate. See HELP CNAF or Q_STOP_BLOCK,UNIDEV_BLOCK,MULDEV_BLOCK for details.
READ_CSR0
This command reads and interprets CSR 0 of the Branch driver. The most significant 16 bits contain the manufacturer's ID. Access to the functions in CSR0 is available using the CFIMENU command BRDRV.
X_RESET
This command disables the FASTBUS error response SS=7 generated by the branch driver when no X-response has been detected after a CAMAC operation. This is the default.
X_SET
This command enables the FASTBUS error response SS=7 generated by the branch driver when no X-response has been detected after a CAMAC operation. By default, this error response is disabled.
Q_STOP_BLOCK
Unidevice block transfer, repeat mode - slave terminated (Q-stop )A block transfer is performed to one address that terminates when no Q response is generated.
The user can perform a block transfer to any CAMAC crate on the system, by inputting the values of C (CAMAC crate number), N (CAMAC slot), A (CAMAC subaddress), F (CAMAC function). The maximum number of transfers is requested, and the data prompted for (if the operation is a write).
If the value of C is zero or not specified, the default crate value is used (entered by using the CRATE command). The result of the operation (Q,X response and data) will be reported.
The base of the data value is by default in decimal, but can be changed to hexadecimal or octal by entering the HEX_DATA or OCT_DATA commands prior to the CNAF command.
If, instead of entering the parameters C,N,A,F, a carriage return is entered, the last command will be repeated. For continuous looping on a command, see HELP CAMAC LOOP.
To exit back to the CAMAC menu, enter Control Z or -1.
MULDEV_BLOCK
A block transfer is performed to an incrementing CAMAC address that is word count terminated (see below).The user can perform a block transfer to any CAMAC crate on the system, by inputting the values of C (CAMAC crate number), N (CAMAC slot), A (CAMAC subaddress), F (CAMAC function). The number of transfers is requested, and the data prompted for (if the operation is a write).
If the value of C is zero or not specified, the default crate value is used (entered by using the CRATE command). The result of the operation (Q,X response and data) will be reported.
The base of the data value is by default in decimal, but can be changed to hexadecimal or octal by entering the HEX_DATA or OCT_DATA commands prior to the CNAF command.
If, instead of entering the parameters C,N,A,F, a carriage return is entered, the last command will be repeated. For continuous looping on a command, see HELP CAMAC LOOP.
To exit back to the CAMAC menu, enter Control Z or -1.
Unidevice block transfer, controller synchronized - to single address, (NTA is not incremented) - Master wordcount terminated
A block transfer is performed to a particular CAMAC address. The number of words transferred is determined by the word count.
The user can perform a block transfer to any CAMAC crate on the system, by inputting the values of C (CAMAC crate number), N (CAMAC slot), A (CAMAC subaddress), F (CAMAC function). The number of transfers (word count) is requested, and the data prompted for (if the operation is a write).
If the value of C is zero or not specified, the default crate value is used (entered by using the CRATE command). The result of the operation (Q,X response and data) will be reported.
The base of the data value is by default in decimal, but can be changed to hexadecimal or octal by entering the HEX_DATA or OCT_DATA commands prior to the CNAF command.
If, instead of entering the parameters C,N,A,F, a carriage return is entered, the last command will be repeated. For continuous looping on a command, see HELP CAMAC LOOP.
To exit back to the CAMAC menu, enter Control Z or -1.
Additional Information on:
HELP
Accesses this CFIMENU help file.
DIS_DIRECT
Disables direct transfer via the CFI. With stored transfer, transfers of a maximum of 3892 words are allowed. This command uses the CFIMENU FMODE command.The default is that direct transfers are enabled (so block transfers up to 32000 words can be handled).
EN_DIRECT
Enables direct transfer via the CFI (the default). Block transfers of up to 32000 words can be handled in this mode.This command uses the CFIMENU FMODE command.
DIS_BLK_OUT
Disables display of block transfer data. The number of transfers only is displayed.
EN_BLK_OUT
Enables display of block transfer data (the default).
DEC_DATA
Changes the base for inputting the data to decimal in the CNAF, Q_STOP_BLOCK, UNIDEV_BLOCK, or MULDEV_BLOCK command. Decimal is the default.
OCT_DATA
Changes the base for inputting the data to octal in the CNAF, Q_STOP_BLOCK,UNIDEV_BLOCK, or MULDEV_BLOCK command. Decimal is the default.
HEX_DATA
Changes the base for inputting the data to hexadecimalin the CNAF, Q_STOP_BLOCK,UNIDEV_BLOCK, or MULDEV_BLOCK command. Decimal is the default.
COMMAND_FILE
An example of the format to use the command CAMAC in a command file is shown:!CAMAC.CCM CAMAC ! Branch driver is in slot 19 (hex) 19
! Above blank line signified default logical address CRATE 1 ! Default crate is crate 1 CLR_INH ! Clear crate inhibit (on crate 1) CNAF ! Perform a CAMAC operation on C=1,N=8,A=0,F=16,Data=1 ,8,0,16,1 -1 OCT ! Set octal data CNAF ! C=3,N=12,A=0,F=16,Data=777 (octal)
Additional Information on:
Converted from .HLP to .HTML by HLPTOHTML.