• 검색 결과가 없습니다.

SCPI Commands

문서에서 User Manual OPX-93D (페이지 58-71)

5-13. LOAD DEFAULD

6. SCPI Commands

Users could control the power supply with remote interface using SCPI(Standard Commands for Programmable Instruments) commands. RS232, GPIB allows to control many product at once, it should be adequate to use in F.A (Factory Authorization) & Lab product data acquiring.

Hope this commands are appropriate for your solution.

6 1 C d S t

6-1. Commands Syntax

▌English small letter are possible to omit.

▌There are no Capital/Small letters divided in input commands.

▌Number of Spaces(20H) or tap(09H) have no limit.

▌Commands can be sent with comma ';' .

▌Rectangle bracket ([ ]) is option or parameters.

▌Parameters inside Braces({ }) cannot be jumped.

▌ ( )

▌Triangle bracket (< >) are changeable.

▌2 Bar( | ) or more indicates the more parameter.

▌Command letters are standard LF(0x0A).

▌Sending at once, Maximum text is 40byte.

6-2. Commands

APPLy{<voltage>}[,<current>]

APPLy?

[SOURce:]VOLTage{<voltage>|UP|DOWN}

VOLTage?

VOLTage:STEP{<numeric value>}

VOLTage:STEP?

Output Setting Commands

VOLTage:STEP?

VOLTage:PROTection{<voltage>}

VOLTage:PROTection?

VOLTage:PROTection:STATe {0|1|OFF|ON}

VOLTage:PROTection:STAT?

VOLTage:PROTection:TRIPped?

VOLTage:PROTection:CLEar VOLTage:UVL{<voltage>}

VOLT :UVL?

VOLTage:UVL?

VOLTage:OVL{<voltage>}

VOLTage:OVL?

CURRent{<current>|UP|DOWN}

CURRent?

CURRent:STEP{<numeric value>}

CURRent:SETP?

CURR PROT i { }

CURRent:PROTection{<current>}

CURRent:PROTection?

CURR t PROT ti STAT {0|1|OFF|ON}

CURRent:PROTection:STATe {0|1|OFF|ON}

CURRent:PROTection:STAT?

CURRent:PROTection:TRIPped?

CURRent:PROTection:CLEar CURRent:UCL{<current>}

CURRent:UCL?

CURRent:OCL{<current>}

CURRent:OCL?

FLOW?

CH?

MEASure:CURRent[:DC]?

MEASure:VOLTage[:DC]?

Measurement Commands

CAL:VOLT {voltage|MIN|MAX}

CAL:CURR {current|MIN|MAX}

Calibration Commands

FACT:USER-M {CLR} FACT:OVP {DIS|ENA}

FACT:LAST-STA {DIS|SAF|FUL} FACT:OVP?

FACT:LAST-STA? FACT:OCP {DIS|ENA}

FACT:AUTO-CUR {DIS|ENA} FACT:OCP?

FACT:AUTO-CUR? FACT:ADC {5|20|50|100|300|1300}

FACT:AUTO-LOC {DIS|ENA} FACT:ADC?

Factory Commands

FACT:AUTO-LOC? FACT:LOAD-DEF

SYSTem:BEEPer KEYL {OFF|ON}

SYSTem:ERRor? KEYL?

SYSTem:VERSion? *IDN?

System Commands

SYSTem:REMote *SN?

SYSTem:REMote {232|GPIB} *RST

SYSTem:LOCal *SAV {1|2|3|4|5|6|7|8|10}

OUTPut[:STATe] {OFF|ON|0|1} *RCL {1|2|3|4|5|6|7|8|10}

OUTPut[:STATe]? *CLS

6 3 A l C d 6-3. Apply Commands

Command which controls output voltage and current using PC remote interface.

APPLy {<voltage>}[,<current>]

This command controls voltage and current at the same time.

> voltage Input voltage value

> current Input current value

1) APPL 4 3 S t V lt 4V t 3A ex1) APPL 4,3 Set Voltage 4V, current 3A ex2) APPL 4 Set Voltage 4V, not the current APPLy?

This command is for checking current setting voltage and current.

Return value first digits are voltage, and after comma, the digits are current.

Return value "voltage,current"

) APPL? l "4 0000 3 0000"

ex) APPL? return value "4.0000,3.0000"

6-4. Output Voltage & Current Setting & Operation Commands

This command is to control output voltage and current using PC Remote Interface.

[SOURce:]VOLTage{<voltage>|UP|DOWN}

U bl t t t t lt d t d t lt d t ill b t

Users are able to set output voltage and current, product voltage and current will be set.

Before putting UP. DOWN command, Use VOLT:STEP command to set the range.

> Voltage Input voltage value

> UP Increase voltage setting as the step value

> DOWN Decrease voltage setting as the step value ex1) volt 4 Input voltage 4V

2) lt I th t l

ex2) volt up Increase as the step value

If power supply power input and after *RST command, voltage step value will be default.

Read reference *RST Command about Default value.

[SOURce:]VOLTage?

Note

[ ] g

Check current setting voltage.

Return value "voltage"

ex) volt? return value "4.0000"

[SOURce:]VOLTage:STEP{<numeric value>}

Command which set-up step value for VOLT UP or VOLT DOWN.

> numeric value Setting available voltage in step rangeg g p g ex) volt:step 0.5 Set-up step value 0.5V

[SOUR ]VOLT STEP?

[SOURce:]VOLTage:STEP?

Command which checks setting step value.

Return value "numeric value"

ex) volt:step? return value "0.5000"

[SOURce:]VOLTage:PROTection{<voltage>}

This command set-up OVP(Over voltage protection) Trip Level.

> voltage Input voltage in OVP setting range

> voltage Input voltage in OVP setting range.

ex) volt:prot 9.9 Set-up 9.9V for OVP Level.

[SOURce:]VOLTage:PROTection?

This command checks OVP(Over voltage protection) Trip Level.

Return value "numeric value"

ex)return value "9.9000"

[SOURce:]VOLTage:PROTection:STATe {0|1|OFF|ON}

This command set-up OVP function enable/disable.

> 0 OR OFF Disable OVP Function.

> 1 OR ON Enable OVP Function.

ex) volt:prot:stat off Set-up to disable OVP Function.

[SOURce:]VOLTage:PROTection:STATe?

[SOURce:]VOLTage:PROTection:STATe?

This command checks OVP function activated or deactivated.

Return value "0" - OVP Function is deactivated.

"1" - OVP Function is activated.

ex) volt:prot:stat?return value "1"

[SOURce:]VOLTage:PROTection:TRIPped?

This command checks whether there is a Trip in current OVP(Over voltage protection) This command checks whether there is a Trip in current OVP(Over voltage protection).

Return value "0" - Normally activating

"1" - Output is shut down because of OVP Trip ex) volt:prot:trip? return value "1"

[SOURce:]VOLTage:PROTection:CLEar

This command clears OVP(Over voltage protection) Trip.

Before removing the trip, please checkg p, p "3-4. Programming Over Voltage Protection(OVP)" g g g ( ) to find the cause of the trip.

ex) volt:prot:cle Clear OVP Trip.

When OVP Trip occurs, it shut-off output voltage/current. When voltage and current are set-up, it saves the value, but will not be printed before the trip is cleared.

Note

[SOUR ]VOLT UVL {< lt >}

[SOURce:]VOLTage:UVL {<voltage>}

This command can set-up UVL(Under voltage limit) Level.

> voltage Set-up current setting value ~ Maximum Limit range ex) volt 4 Set-up voltage first.

volt:uvl 3 Set-up voltage less than above voltage value.

From now on, less than 3V cannot be set.

[SOURce:]VOLTage:UVL?

This command checks the UVL(Under voltage limit) Level.

Return value "numeric value"

ex) volt:uvl? return value "3.0000"

[SOURce:]VOLTage:OVL {<voltage>}

This command can set-up OVL(Over voltage limit) Level This command can set up OVL(Over voltage limit) Level.

> voltage Set-up 0V ~ Current setting value ex) volt 4 Set-up voltage first.

volt:ovl 5 Set-up voltage more than above voltage value.

From now on, more than 5V cannot be set.

[SOURce:]VOLTage:OVL?

This command checks the OVL(Over voltage limit) Level.

This command checks the OV (Over voltage limit) evel.

Return value "numeric value"

ex) volt:ovl? return value "5.0000"

[SOURce:]CURRent{<current>|UP|DOWN}

Output current are able to set, and product output current will be set right away.

Before using UP, DOWN commands, use CURR:STEP command to set-up setting range.

> current Input current value

> UP Increase current as the step value

> DOWN Decrease current as the step value ex1) curr 2.5 Setting 2.5A current

ex2) curr up Setting increase current as the step value

After *RST command and power supply ON, Current step value will be default.

Read reference *RST Commands for Default value.

Note

[SOUR ]CURR t?

[SOURce:]CURRent?

This commands check current power supply setting current.

Return value "current"

ex) curr? return value "2.5000"

[SOURce:]CURRent:STEP{<numeric value>}

This command set-up step value using CURR UP or CURR DOWN commands.

i l I l i f il bl

> numeric value Input step value in range of available current ex) curr:step 0.1 Setting step value 0.1A

[SOURce:]CURRent:STEP?

Command which checks set-up step value.

Return value "numeric value"

ex) curr:step? return value "0 1000"

ex) curr:step? return value 0.1000 [SOURce:]CURRent:PROTection{<current>}

This command set-up OCP(Over current protection) Trip Level.

> current Input current in range of OCP setting ex) curr:prot 3.3 Set-up OCP Level 3.3A.

[SOURce:]CURRent:PROTection?

[SOURce:]CURRent:PROTection?

This command checks the OCP(Over current protection) Trip Level.

Return value "numeric value"

ex) curr:prot? return value "5.2000"

[SOURce:]CURRent:PROTection:STATe {0|1|OFF|ON}

This command checks whether OCP Function is activated/deactivated.

> 0 OR OFF OCP Function is deactivated

> 0 OR OFF OCP Function is deactivated.

> 1 OR ON OCP Function is activated.

ex) curr:prot:stat off Set-up OCP function to deactivate.

[SOURce:]CURRent:PROTection:STATe?

This command checks whether OCP function is activated/deactivated.

Return value "0" - OCP Function is deactivated.

"1" - OCP Function is activated1 OCP Function is activated.

ex) volt:prot:stat?return value "1"

[SOURce:]CURRent:PROTection:TRIPped?

This command checks whether there is a trip in OCP(Over current protection).

Return value "0" - Normally activating

"1" - OCP Tripped ) : t:t i ? t l "1"

ex) curr:prot:trip? return value "1"

[SOUR ]CURR t PROT ti CLE [SOURce:]CURRent:PROTection:CLEar

This command clears OCP(Over current protection) Trip.

Before clearing the Trip, please read reference "3-5. Programming Over Current Protection(OCP)"

to find cause of the trip.

ex) curr:prot:cle Clears OCP Trip.

Note

When OCP Trip occurs, power supply shut-off output voltage/current. When voltage and current are set, it will be saved, but will not be printed before the trip is cleared.

[SOURce:]CURRent:UCL{<current>}

This command set-up UCL(Under current limit) Level.

> numeric value Set-up current setting value ~ Maximum limit ex) curr 2.5 Set-up current first.

ex) curr 2.5 p

curr:ucl 2 Set-up current less than above current value.

From now on, less then 2A cannot be set, using Curr commands.

[SOURce:]CURRent:UCL?

This command checks the UCL(Under current limit) Level.

Return value "numeric value"

ex) curr:ucl? return value "2.0000"

[SOURce:]CURRent:OCL{<current>}

This command set-up OCL(Over current limit) Level.

> numeric value Set-up 0A ~ Maximum Limit.

ex) curr 2.5 Set-up current first.

curr:ocl 3 Set-up current more than above current value.

From now on, more than 3A cannot be set, using Curr commands.

[SOURce:]CURRent:OCL?

This command checks the OCL(Over current limit) Level Return value "numeric value"

ex) curr:ocl? return value "3.0000"

FLOW?

This command checks power supply current CV(Constant Voltage) CC(Constant Current) This command checks power supply current CV(Constant Voltage), CC(Constant Current) Return value "CV" - Constant Voltage Condition

"CC" - Constant Current Condition ex) FLOW? return value "CV"

CH?

This command checks output channel of current connected power supply.

Return value "1" - Channel 1(P1) Return value 1 Channel 1(P1)

"2" - Channel 2(P2)

6-5. Measure Commands

This command measures readback voltage and current of power supply. It does not require DVM(Digital Volt Meter) or Ammeter to measure.

MEASure:VOLTage[:DC]?

This command measure power supply output voltage.

Return value "voltage"

)

ex) meas:volt? return value "4.0000"

MEASure:CURRent[:DC]?

This command measure power supply output current.

Return value "current"

ex) meas:curr? return value "1.0000"

6 6 C lib ti C d 6-6. Calibration Commands

This is command about Remote Calibration.

CAL:VOLT {voltage|MIN|MAX}

Command about Voltage Calibration.

Please mind sequence of Calibration.

Read reference '4-6 Calibration Using Remote Interface"

> voltage Measures MIN range calibration voltage and MAX range calibration voltage Save voltage value.

> MIN Operates low range voltage calibration.

> MAX Operates high range voltage calibration.

ex) Operate voltage calibration sequence.

CAL:VOLT MIN Operate Low value.

CAL:VOLT voltage Send measured voltage to DVM.

CAL:VOLT MAX Low value is done, operate High value.

CAL:VOLT voltage Send measured voltage to DVM.

When voltage value is sent after MIN or MAX value, it will be saved in Calibration range automatically.

CAL:CURR {current|MIN|MAX}

Command about current Calibration.

Please mind sequence of Calibration.

Read reference"4-6 Calibration Using Remote Interface"

Read reference 4 6 Calibration Using Remote Interface

> current Measure MIN Range calibration of current value, and MAX Range calibration of current value. Save current value.

> MIN Operate Low range current Calibration.

> MAX Operate High range current Calibration.

ex) Operate current calibration sequence.

CAL:CURR MIN Operate Low value.

CAL:CURR current Send measure current to DAM CAL:CURR current Send measure current to DAM.

CAL:CURR MAX Low value is done, operate High value.

CAL:CURR current Send measured current to DAM.

6-7. Factory Commands

Calibration restore and 10 other functions setting.

FACT:USER-M {CLR}

Once 『User Memory』reset is done, previous data cannot be restored.

Read reference "5-3. USER-MEM CLEAR" for further information

> CLR Reset user memory range.

ex) fact:user-m clr

FACT:LAST-STA {DIS|SAF|FUL}

Commands which set-up output condition when the power is ON.

> DIS Disable, Booting power supply with default value.

> SAF Safety, restores power before shut-down, and booting with output OFF.

> FUL Fully, Booting power supply with same condition before it was OFF.

ex) fact:last-sta saf Safety상태로 설정합니다.

FACT:LAST-STA?

It is command which checks Last-state condition value.

Return value "DISABLE"

"SAFETY"

"FULLY"

ex)fact:last-sta? return value "SAFETY"

FACT:AUTO-CUR {DIS|ENA}

This command makes voltage/current range to minimum when front panel is not used for a long time.

> DIS Disable, Auto cursor is disabled.

> ENA Enable, Auto cursor is enabled.

ex) fact:auto-cur ena Set-up to enable auto cursor.

FACT:AUTO-CUR?

It is command which check Auto Cursor setting value.

Return value "0" Disable Condition

"1" Enable Condition ex)fact:auto-cur? return value "1"

ex)fact:auto cur? return value 1 FACT:AUTO-LOC {DIS|ENA}

This command can lock front panel keys when there is no act for a long time.

> DIS Disable, Auto Lock function is disabled.

> ENA Enable, Auto Lock function is enabled.

ex) fact:auto-loc ena Set-up to enable auto lock function.

FACT AUTO LOC?

FACT:AUTO-LOC?

It is command which checks Auto Key Lock setting value.

Return value "0" Disable Condition

"1" Enable Condition ex)fact:auto-loc? return value "1"

FACT:OVP {DIS|ENA}

I i hi h h k h h OV f i i bl i bl

It is command which checks whether OVP function is enabled or disabled.

> DIS Disable, OVP function is disabled.

> ENA Enable, OVP function is enabled.

ex) fact:ovp dis Set-up OVP function to be disabled.

FACT:OVP?

It is command which checks whether OVP is enabled or disabled.

" "

Return value "0" Disable Condition

"1" Enable Condition ex)fact:ovp? return value "0"

FACT:OCP {DIS|ENA}

It is command which checks whether OCP function is enabled or disabled.

> DIS Disable, OCP function is disabled.

> ENA Enable OCP function is enabled.

ex) fact:ocp dis Set-up OCP Function to be disabled.

FACT:OCP?

It is command which checks whether OCP is enabled or disabled.

Return value "0" Disable Condition

"1" Enable Condition ex)fact:ocp? return value "0"

FACT:ADC {5|20|50|100|300|1300}

It is command which set-up power supply voltage/current speed and accuracy.

> 5 Measuring voltage or current 5times/1sec, Highly-accurate

> 20 Measuring voltage or current 20times/1sec, Highly-accurate

> 50 Measuring voltage or current 50times/1sec, accurate

> 100 Measuring voltage or current1005times/1sec, accurate

> 300 Measuring voltage or current 300times/1sec, Measure hunting value

> 1300 Measuring voltage or current 1300times/1sec, Measure hunting value ex) fact:ADC 5 Sampling speed is low, however, it is very accurate.

FACT ADC?

FACT:ADC?

It is command which checks ADC Sampling speed/

Return value "5Hz" 5times/1sec sampling time

"20Hz" 20times/1sec sampling time

"50Hz" 50times/1sec sampling time

"100Hz" 100times/1sec sampling time

"300Hz" 300times/1sec sampling time

"1.3KHz"1.3KHz 1300times/1sec sampling time1300times/1sec sampling time ex)fact:ADC? return value "5Hz"

FACT:LOAD-DEF

It is command which reset Factory Mode setting value.

However, calibration range will not be intialized, User-memory range will be cleared.

ex)fact:load-def Reset factory mode setting

6-8. System Commands

Power supply controlling commands.

SYSTem:BEEPer

It is command which cause alarm once.

ex) syst:beep It will be alarmed.

SYSTem:ERRor?

It is command which checks error messages from power supply.

Error messages will be saved up to 10 fixed memory, from 11th error, the lastest error message will be deleted. If users check the error message, the message will be deleted.

Return value - error number ,"message"

ex) syst:err? return value -222 "Out of data"

ex) syst:err? return value 222, Out of data

1. Read reference "7. Error Messages" for further information.

2. Use CLS command to clear all error messages. *RST commands will not clear all error messages.

SYSTem:VERSion?

Users are able to check power supply version Note

Users are able to check power supply version.

Return "YYYY.Ver" YYYY - Indicates the YEAR Ver - Indicates the version ex) syst:vers? return value "2008.3"

SYSTem:REMote

Set-up Power supply remote control.

ex) syst:rem

SYST REM t {232|GPIB}

SYSTem:REMote {232|GPIB}

It is command which changes communication interface. However, in GPIB Interface, it can be only changed to RS232, an error could occur when user tries to change it to GPIB.

ex) syst:rem gpib Change from RS232 Interface to GPIB SYSTem:LOCal

It is command which change from Remote condition to Local condition.

When it is Local condition keys are allowed to be used And by pressing I/O LOCAL Key When it is Local condition, keys are allowed to be used. And by pressing I/O LOCAL Key, it will become manual.

ex) syst:loc

OUTPut[:STATe] {OFF|ON|0|1}

It is command which controls power supply output shutting off or allowing to print.

> 1 OR ON Output Allowed

> 0 OR OFF Output shut-off

> 0 OR OFF Output shut off ex1) outp on Output Allowed ex2) outp off Output shut-off OUTPut[:STATe]?

It is command which check power supply output condition.

Return value " 0 " Output shut-off condition

" 1 "1 Output Allowedp ex) outp? return value "1"

KEYL {OFF|ON}

It is command which coltrols front panel key & encoder switch lock system.

> ON Key prohibited

> OFF Key allowed

ex1) keyl on Key prohibited ex1) keyl on Key prohibited ex2) keyl off Key allowed KEYL?

It is command which checks whether the keys and switches are locked or unlocked.

Return value " 0 " Control available

" 1 " Control not available ex) keyl? return value "1"

*IDN?

It is command which checks power supply condotion.

It has 3 version information with ','(comma).

Return value "ODA Technologies,OPX-Series,1.3-1.3-1.2,1"

First Manufacturer

S d M d l N

Second Model Name

Thi d Th 3 diff t i f d t Third There are 3 different versions of product.

First System controller Version Second Front panel Version Third SCPI protocol Version

Fourth Channel 1 or 2 which is connected with interface.

ex) *idn? return value "ODA Technologies,OPX-Series,1.3-1.3-1.2,2"

*SN?

*SN?

Able to check the serial number of power supply. This is appliable for Windows application.

Return value "oda-00-0000-00000"

ex) *SN? return value "oda-01-0923-00185"

*SAV {1|2|3|4|5|6|7|8|10}

It is command which saves in『User memory』power supply voltage current protection level It is command which saves in User memory』power supply voltage, current, protection level.

There are number 1~10 memories.

> 1 ~ 10 Memory saving range ex) *sav 2Save in number 2 memory

*RCL {1|2|3|4|5|6|7|8|10}

It is command which applys saved 『User Memory』to power supply.

Memories are selectable from 1 to 10.

Memories are selectable from 1 to 10.

> 1 ~ 10 Memory range

ex) *rcl 2 Apply number 2 memory to power supply

*CLS

It is command which clears all error stack.

ex) *CLS

*RST

It is command about Power Supply reset. It is description below.

> Output OFF

> Voltage Limit 0V

> Current Limit set-up maximum value

> OVP OVP set-up maximum value

> OCP OCP set-up maximum value

> OCP OCP set up maximum value

> UVL 0V

> OVL Voltage Limit MAX value

> UCL 0A

> OCL Current Limit MAX value

> Volt:Step Set-up minimum value

> Curr:Step Set-up minimum value

> Key Lock OFF

> Factory Mode Maintains seting before Reset.

> Trip Condition Automatically clears when OVP or OCP is tripped.

문서에서 User Manual OPX-93D (페이지 58-71)

관련 문서