Tutorial

Settings and Measurement

Voltage and current

The output voltage and output current are controlled by the VOLTage and CURRent commands. The output ON/OFF state is controlled by the OUTPut command.

:VOLTage 18    'Set the voltage to 18 V

:CURRent 5    'Set the current to 5 A

:OUTPut ON    'Turn the output on

To set the current to the maximum value, set the value of the CURRent command to MAXimum.

The setting can be set to a value in the range from 0 to 105 % of the rated output current.

:VOLTage 18    'Set the voltage to 18 V

:CURRent MAXimum    'Set the current to the maximum value

To set the voltage to the maximum value, set the value of the VOLTage command to MAXimum.

The setting can be set to a value in the range from 0 to 105 % of the rated output voltage.

:CURRent 5    'Set the current to 5 A

:VOLTage MAXimum    'Set the voltage to the maximum value

You can confirm the maximum allowed value that can be specified in the VOLTage and CURRent commands by specifying the MAXimum parameter in the VOLTage? and CURRent? queries, respectively.

:VOLTage? MAXimum

<Read the response>

:CURRent? MAXimum

<Read the response>

The values that the queries above return may vary depending on the VOLTage:PROTection (OVP) and CURRent:PROTection (OCP) settings.

If a value exceeding the upper limit is specified with the VOLTage or CURRent command, it is interpreted as MAXimum and does not result in an error.

Setting the protection functions

The PMX provides overvoltage protection (OVP) and overcurrent protection (OCP) functions that can be configured. The VOLTage:PROTection and CURRent:PROTection commands are used to set the OVP and OCP, respectively.

:VOLTage:PROTection 10    'Set the OVP to 10 V

:CURRent:PROTection 4.5    'Set the OCP to 4.5 A

If you want to set the OVP or OCP setting to the maximum or minimum value, you can specify MAXimum or MINimum for the parameter.

:VOLTage:PROTection MAXimum    'Set the OVP to the maximum value

:CURRent:PROTection MAXimum    'Set the OCP to the maximum value

The output turns off if an OVP or OCP function is activated.

Measurement

After you have set the output and protection function settings, query the measured values. The PMX can return the measured voltage and the measured current.

To measure the voltage and current, use the following queries.

:MEASure:VOLTage?    'Query the voltage output

:MEASure:CURRent?    'Query the current output

>top