5.3. DIAGnostic

5.3. DIAGnostic

The purpose of the DIAGnostic subsystem is to provide a tree node for all of the PSU service and diagnostic routines used in routine maintenance and repair.

 

SCPI command

Description

DIAGnostic

 

[:INFOrmation]

 

:ADC?

Returns the latest values acquired by ADC

:CALibration?

Returns a list of the calibration parameters

:FAN?

Returns status of the cooling fan.

:PROTection?

Returns the information about all protections.

:TEST?

Returns results of the most recent self-test

 

5.3.1. DIAGnostic[:INFOrmation]:ADC?

Syntax

DIAGnostic[:INFOrmation]:ADC? [<channel>]

Description

This query returns the latest values acquired by ADC (Analog-to-Digital Converter) of the currently selected channel.

Return

Return a list of quoted strings. The U_SET and I_SET are values measure on DAC outputs, and U_MON and I_SET on the channel output binding posts.

Parameters

Name

Type

Range

Default

<channel>

Discrete

CH1|CH2

n/a

Usage example

DIAG:ADC? CH2

"U_SET=10.1202", "U_MON=10.12", "I_SET=3.00", "I_MON=1.23"

Related Commands

MEASure[:SCALar]:CURRent[:DC]

MEASure[:SCALar][:VOLTage][:DC]

[SOURce[<n>]]:CURRent[:LEVel][:IMMediate][:AMPLitude]

[SOURce[<n>]]:VOLTage[:LEVel][:IMMediate][:AMPLitude]

5.3.2. DIAGnostic[:INFOrmation]:FAN?

Syntax

DIAGnostic[:INFOrmation]:FAN?

Description

Use this query to obtain information about cooling fan state.

Return

Returns -1 if cooling fan is not installed (see SYSTem:CPU:[INFOrmation]?), 0 if fan is stalled (fault condition) or measured fan speed in rpm.

 

Cooling fan is periodically tested while it’s working (that depends of measured channel’s temperature sensor value). When it does not passed the test, programmed output current is automatically limited to value defined with ERR_MAX_CURRENT constant (conf_advanced.h). If load that draws more current then ERR_MAX_CURRENT value output current will be set to zero.

Usage example

DIAG:FAN?

1205.00

Related Commands

MEASure[:SCALar]:TEMPerature[:THERmistor][:DC]

SYSTem:CPU:[INFOrmation]

5.3.3. DIAGnostic[:INFOrmation]:CALibration?

Syntax

DIAGnostic[:INFOrmation]:CALibration? [<channel>]

Description

This query returns a list of calibration parameters for the currently selected channel. If the selected channel is in the calibration mode (CALibration[:MODE] ON) then all calibration information collected to the current calibration step will be returned. Otherwise the calibration data stored in non-volatile memory will be returned.

Return

The information will be returned as a list of quoted strings.

Parameters

Name

Type

Range

Default

<channel>

Discrete

CH1|CH2

n/a

Usage example

Calibration parameters for H24005 PSU model when the channel 1 is not in the calibration mode:

DIAG:INFO:CAL? CH1

"remark=20161211 he2","u_cal_params_exists=1","u_min_level=0.15V","u_min_data=0.13
V","u_min_adc=0.11V","u_mid_level=19.10V","u_mid_data=19.07V","u_
mid_adc=18.75V","u_max_level=38.00V","u_max_data=37.90V","u_max_a
dc=37.35V","u_min_range=0.019735V","u_max_range=39.997578V","i_ca
l_params_exists=1","i_min_level=0.05A","i_min_data=0.04A","i_min_
adc=0.04A","i_mid_level=2.42A","i_mid_data=2.42A","i_mid_adc=2.42
A","i_max_level=4.80A","i_max_data=4.81A","i_max_adc=4.79A","i_mi
n_range=0.012135A","i_max_range=4.999954A"

The query results when a channel is just entered the calibration mode:

DIAG:INFO:CAL?

"u_level=none", "i_level=none"

The query results when a channel is at the step MIDdle of the voltage calibration:

DIAG:INFO:CAL?

"u_min=0.11V", "u_level=mid", "u_level_value=24.05V", "u_adc=24.14V", "i_level=none"

Related Commands

CALibration:REMark

CALibration:SAVE

5.3.4. DIAGnostic[:INFOrmation]:PROTection?

Syntax

DIAGnostic[:INFOrmation]:PROTection?

Description

This query returns information about all supported output protection mechanisms.

Return

The information will be returned as a list of quoted strings.

Usage example

DIAG:PROT?

"CH1 u_tripped=0","CH1 u_state=0","CH1 u_delay=5.00 ms","CH1 u_level=39.99 V","CH1 i_tripped=0","CH1 i_state=1","CH1 i_delay=20.00 ms","CH1 p_tripped=0","CH1 p_state=1","CH1 p_delay=10.00 s","CH1 p_level=155.00 W","CH2 u_tripped=0","CH2 u_state=0","CH2 u_delay=5.00 ms","CH2 u_level=39.99 V","CH2 i_tripped=1","CH2 i_state=1","CH2 i_delay=20.00 ms","CH2 p_tripped=0","CH2 p_state=1","CH2 p_delay=10.00 s","CH2 p_level=155.00 W","temp_AUX_tripped=0","temp_AUX_state=0","temp_AUX_delay=10.00 s","temp_AUX_level=55.00 oC","temp_CH1_tripped=0","temp_CH1_state=1","temp_CH1_delay=30.00 s","temp_CH1_level=75.00 oC","temp_CH2_tripped=0","temp_CH2_state=1","temp_CH2_delay=30.00 s","temp_CH2_level=75.00 oC"

Related Commands

[SOURce[<n>]]:CURRent:PROTection:DELay[:TIME]

[SOURce[<n>]]:CURRent:PROTection:STATe

[SOURce[<n>]]:CURRent:PROTection:TRIPped?

[SOURce[<n>]]:POWer:PROTection

[SOURce[<n>]]:POWer:PROTection:DELay[:TIME]

[SOURce[<n>]]:POWer:PROTection:STATe

[SOURce[<n>]]:POWer:PROTection:TRIPped?

[SOURce[<n>]]:VOLTage:PROTection:DELay[:TIME]

[SOURce[<n>]]:VOLTage:PROTection:STATe

[SOURce[<n>]]:VOLTage:PROTection:TRIPped?

SYSTem:TEMPerature:PROTection[:HIGH][:LEVel]

SYSTem:TEMPerature:PROTection[:HIGH]:DELay[:TIME]

SYSTem:TEMPerature:PROTection[:HIGH]:STATe

SYSTem:TEMPerature:PROTection[:HIGH]:TRIPped?

5.3.5. DIAGnostic[:INFOrmation]:TEST?

Syntax

DIAGnostic[:INFOrmation]:TEST?

Description

This query returns results of the most recent self-test (see *TST? command).

Return

The information will be returned in the following format: "<return code, device name, installed, return message>" where the return code could be one of the following values:

  • 0 – failed
  • 1 – passed
  • 2 – skipped

This information format will repeat with as many iterations as the number of devices found in configuration parameters of the PSU. While in the Stand-by mode this command will returns only test results for the Arduino shield devices.

 

Return code for the BP option will always be 2 (skipped).

Usage example

Return self-test results when SD card is not found:

DIAG:TEST?

"1, EEPROM, installed, passed","0, SD card, installed, failed","2, Ethernet, installed, skipped","1, RTC, installed, passed","1, DateTime, installed, passed","2, BP option, installed, skipped","1, Fan, installed, passed","1, AUX temp, installed, passed","1, CH1 temp, installed, passed","1, CH2 temp, installed, passed","1, CH1 IOEXP, installed, passed","1, CH1 DAC, installed, passed","1, CH1 ADC, installed, passed","1, CH2 IOEXP, installed, passed","1, CH2 DAC, installed, passed","1, CH2 ADC, installed, passed"

 

Return self-test results while PSU is in the Stand-by mode:

DIAG:TEST?

"1, EEPROM, installed, passed","1, SD card, installed, passed","2, Ethernet, installed, skipped","1, RTC, installed, passed","1, DateTime, installed, passed","2, BP option, installed, skipped","1, Fan, installed, passed","1, AUX temp, installed, passed","1, CH1 temp, installed, passed","1, CH2 temp, installed, passed","1, CH1 IOEXP, installed, passed","1, CH1 DAC, installed, passed","1, CH1 ADC, installed, passed","1, CH2 IOEXP, installed, passed","1, CH2 DAC, installed, passed","1, CH2 ADC, installed, passed"

Related Commands

*TST?

SYSTem:POWer