
Document type:
Title:
Revision date:
Revision:
User's Manual (MUT)
Mod. V793, ICARUS Slow Control Module
16/01/01
0
NPO:
Filename:
Number of
pages:
Page:
00100/98:V793x.MUTx/00
V793_REV0.DOC
19
19
APPENDIX A
Here follows a short description of the V793 status array bits and of the CAENET communication data
packet exchanged with the Controller.
/***************************************************************/
/* */
/* Meaning of the V793 STATUS array bits: */
/* */
/*MSB st.[0] st.[1] st.[2] st.[3] st.[4] st.[5] st.[6] st.[7] */
/* EN_B8 EN_B16 ENA_O DRV_1 DAC1_11 DAC1_7 DAC2_11 DAC2_7*/
/* EN_B7 EN_B15 ENA_E DRV_2 DAC1_10 DAC1_6 DAC2_10 DAC2_6*/
/* EN_B6 EN_B14 CAL_O DRV_3 DAC1_9 DAC1_5 DAC2_9 DAC2_5*/
/* EN_B5 EN_B13 CAL_E DRV_4 DAC1_8 DAC1_4 DAC2_8 DAC2_4*/
/* EN_B4 EN_B12 C_TEST - CNT_1 DAC1_3 CNT_1 DAC2_3*/
/* EN_B3 EN_B11 EN_B19 - CNT_0 DAC1_2 CNT_0 DAC2_2*/
/* EN_B2 EN_B10 EN_B18 - - DAC1_1 - DAC2_1*/
/*LSB EN_B1 EN_B9 EN_B17 - - DAC1_0 - DAC2_0*/
/* */
/* EN_BRD bits are active low
*/
/* */
/***************************************************************/
/********************************************************************/
/*The message sent from the CAENET Controller has the format: */
/* */
/* MASTER IDENT. 1 */
/* CRATE NUMBER XX */
/* OPERATION CODE: */
/* byte high byte low */
/* 0 0 -> module identification */
/* 0 1 -> set V793 status */
/* 0 2 -> get V793 status */
/* */
/* Code 0 1 is followed by these bytes: */
/* */
/* ADC[0] status[0] -> en_brd 8..1 */
/* ADC[1] status[1] -> en_brd 16..9 */
/* ADC[2] status[2] -> A764_O-E V791_O-E C en_brd 19..17 */
/* ADC[3] status[3] -> DRV_1..4 X X X X */
/* ADC[4] status[4] -> DAC1_11..8 CNT1 CNT0 X X */
/* ADC[5] status[5] -> DAC1_7..0 */
/* ADC[6] status[6] -> DAC2_11..8 CNT1 CNT0 X X */
/* ADC[7] status[7] -> DAC2_7..0 */
/* */
/* ANSWER CODE: 0 -> OK */
/* FF00 -> module busy */
/* FF01 -> wrong code or incorrect message */
/*
*/
/* */
/* Code 0 2 gives back the bytes sequence indicated above */
/* preceded by the answer code */
/* CNT1 enables test pulsing on the V791 */