Download Print this page

Caen 803 Series Manual page 24

803x series 8-16 ch. programmable hv power supplies

Advertisement

CAEN
Electronic Instrumentation
Communication Protocol
Command interface
The command format is the following
$CMD:<attribute>[,CH:<chval>],PAR:<par_name>[,VAL:<par_val>]<CR><LF>
attribute = {"MON", "SET", "INFO"}
Each parameter, besides being associated to SET / MON parameter, is associated to a INFO command,
that provides the information that describes it
chval = 0..N with N = number of channels
The value N is reserved for group commands.
'par_name' is the name of the parameter object of the command
Response to command
The response format is the following
#<header>:<result>[,VAL:<par_val>]<CR><LF>
header = {"CMD", "LOC", "VAL", "CH", "PAR"}
result = {"OK", "ERR"}
'VAL' field is optional and used only in response to a command of "MON" or "INFO" type; it is not used in
response to a command of " SET" type
successful response to a command of " SET" type
#CMD:OK<CR><LF>
successful response to a command of "MON" type
#CMD:OK,VAL:<parval><CR><LF>
'parval' is the value of the monitored parameter
response to a command with attribute different from "MON", "SET", "INFO"
#CMD:ERR<CR><LF>
response to a SET command with the module in 'LOCAL' mode
#LOC:ERR<CR><LF>
response to a command of "SET" type with wrong 'VAL' field value
#VAL:ERR<CR><LF>
response to a command with wrong 'CH' field value
#CH:ERR<CR><LF>
response to a command with wrong ' PAR ' field value
#PAR:ERR<CR><LF>
Command "PARLIST"
The Command format is the following
$CMD:MON,PAR:PARLIST<CR><LF>
The module response is the list of board parameters:
#CMD:OK,VAL:<bdpar_list><CR><LF>
The board parameters are separated by ';'
Command "PARCHLIST"
The Command format is the following
$CMD:MON,CH:<ch>,PAR:PARCHLIST<CR><LF>
803x Series 8-16 Ch. Programmable HV Power Supplies
24

Advertisement

loading