Page: 54/81 User Manual PSU-CTRL-2D, Rev.1-00: Software Interface
Function COM_HVPSU2D_GetHousekeeping
int COM_HVPSU2D_GetHousekeeping
(WORD PortNumber, double & VoltRect,
double & Volt5V0, double & Volt3V3,
double & TempCPU);
Command: H
©
Response: H
FFFFDDDDCCCCTTTT
©
Saves the housekeeping data in the variables
VoltRect
,
Volt5V0
,
Volt3V3
, and
TempCPU
, and returns an error code according to
The return values in the variables
VoltRect
,
Volt5V0
, and
Volt3V3
are supply voltages in V, their nominal values are 10 V,
5.0 V, and 3.3 V. The return value in the variable
TempCPU
is the tem-
perature of the CPU in ºC.
Note that the return value in the variable
VoltRect
is the rectified
voltage supplied by the mains transformer. Its value changes with
changing mains voltage but the controller works properly as long as it
is larger than about 6 V.
The response to the direct command (
H
©
) contains 3 x 4 hexadecimal
digits for the variables
VoltRect
(
FFFF
),
Volt5V0
(
DDDD
), and
Volt3V3
(
CCCC
), followed by 4 hexadecimal digits (
TTTT
) for the
variable
TempCPU
. The voltage values are in mV, i.e. in order to con-
vert them into values in V, they have to be divided by 10
3
. The tem-
perature variable
TempCPU
is received in units of 10 mK, i.e. it has to
be converted by subtracting the offset of 27315 and dividing by 100 to
get the value in ºC.
CGC Instruments
Tel.: +49 (371) 355 098–55
Hübschmannstr. 18 | D–09112 Chemnitz
Fax: +49 (371) 355 098–60
internet: www.cgc-instruments.com
e–mail: [email protected]