EasyManua.ls Logo

Caen NIM8304 - 7 Communication Protocol; Monitor Commands Related to Channel X

Default Icon
44 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Document type:
Title:
Revision date:
Revision:
User's Manual (MUT)
Mod. NIM8304 12 slot 7U(5+2) Switching NIM Crate
14/04/2014
3
NPO:
Filename:
Number of pages:
Page:
00121/09:N8304.MUTx/03
NIM8304_REV3.DOC
44
42
7. Communication Protocol
This protocol is based on commands made of sequences of ASCII characters. The
format of one command is the following:
$CMD:***,CH*,PAR:***,VAL:***.**<Cr>
field 'CH' is:
0..5 for commands related to one of possible channels
6 for commands related to the Crate.
The format of the response string is one of the following:
#CMD:ERR<Cr>
Command Format wrong or command not recognised
#CH:ERR<Cr>
Channel Field not present or channel value wrong
#PAR:ERR<Cr>
Field parameter not present or parameter not
recognised
#VAL:ERR<Cr>
Set Value wrong (<Min or >Max)
#CMD:OK,VAL:*****<Cr>
Command Ok ***** = value
7.1 Monitor Commands related to channel 'X' :
$CMD:MON,CH:X,PAR:NAME<Cr>
Readout channel name (ex. +6V..)
$CMD:MON,CH:X,PAR:VMIN<Cr>
Readout minimum value of the voltage
Monitor
$CMD:MON,CH:X,PAR:VMAX<Cr>
Readout maximum value of the voltage
Monitor
$CMD:MON,CH:X,PAR:VRES<Cr>
Readout resolution value of the voltage
Monitor
$CMD:MON,CH:X,PAR:VMON<Cr>
Readout value of the voltage Monitor
$CMD:MON,CH:X,PAR:ISET<Cr>
Readout value of current limit
$CMD:MON,CH:X,PAR:IMIN<Cr>
Readout minimum value of current limit
$CMD:MON,CH:X,PAR:IMAX<Cr>
Readout maximum value of current limit
$CMD:MON,CH:X,PAR:IRES<Cr>
Readout value resolution of current limit
$CMD:MON,CH:X,PAR:IMON<Cr>
Readout value of the current Monitor
$CMD:MON,CH:X,PAR:STAT<Cr>
Readout value of channel status
Values read are reported in correct format (comma and decimal where necessary).
Meaning of STATUS bits
Bit 0 -> ON/OFF
1 : ON 0 : OFF
Bit 1 -> Over Current
1 : provided current > Iset
Bit 2 -> Over Voltage Protection
1 : VMON > V nominal + 10%
Bit 3 -> Under Voltage Protection
1 : VMON < V nominal - 10%
Bit 4 ..7 -> N.C.
0
Bit 8 -> Calibration Error
1 : Error on coefficient of calibration

Table of Contents

Related product manuals