background image

  PST & PSS & PSH SERIES PROGRAMMABLE POWER SUPPLY 

PROGRAMMER MANUAL 

 

  19  

 

6. DETAILS OF COMMAND REFERENCE 

Each command in this chapter will give a detailed description. The 

examples of each command will be provided and what query form might 
return. 

*CLS

 (no query form) 

Function: 

Clear  all  event status data  register. This includes the Output Queue , 
Operation Event Status Register, Questionable Event Status Register, and 
Standard Event Status Register. 

Syntax: 

*CLS 

Examples : 

*CLS

 clears all event registers. 

 

*ESE  

Function: 

Set or return the bits in the Event Status Enable Register (ESER). The 
ESER enables the Standard Event Status Register (SESR) to be 
summarized on bit 5 (ESB) of the Status Byte Register (SBR).    

Syntax: 

*ESE  <NR1>  

*ESE?  

<NR1>  

is in the range from 0 through 255.

 

Returns: 

<NR1> 

is a number from 0 to 255 that indicates the decimal value of the 

binary bits of the ESER.

 

  PST & PSS & PSH SERIES PROGRAMMABLE POWER SUPPLY 

PROGRAMMER MANUAL 

 

  20  

 

Examples : 

*ESE 65

 sets the ESER to binary 

0100 0001

If the ESER contains the binary value 

1000 0010

,

 the *ESE?

 will 

return the value of 130.

 

 

*ESR? 

(query only) 

Function: 

Return and clear the contents of the Standard Event  Status Register 
(SESR). 

Syntax: 

*ESR?  

Returns: 

<NR1> 

is a number from 0 to 255 that indicates the decimal value of the 

binary bits of the ESER.

 

Examples : 

If the ESER contains the binary value 

1100 0110

,

 the *ESR?

 will 

return the value of 198.  

 

*IDN? 

(query only) 

Function: 

Return the unique identification code of the power supply. 

Syntax: 

*IDN?  

Returns: 

<string> 

includes  Manufacturer, model number, serial number and 

firmware version.

 

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Summary of Contents for PSH series

Page 1: ...l service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE INSPECTION Remotely inspect equipment before purchasing with our interactive website at www instraview com LOOKING FOR MORE INFORMATION Visit us on the web at www artisantg com for more information on ...

Page 2: ...NTERFAC E 1 3 CONNECTING POWER SUPPLY VIA RS232 INTERFACE 4 4 INPUT AND OUTPUT QUEUE 7 5 COMMANDS AND SYNTAX 7 6 DETAILS OF COMMAND REFERENCE 19 7 STATUS AND ERROR REPORTING 38 PST PSS PSH SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL ii Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 3: ...e GPIB T6 Talker Talker interface function includes basic talker serial poll and unaddress if MLA capabilities without talk only mode function PST PSS PSH SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 2 L4 Listener The power supply becomes a listener when the controller sends its listen address with the ATN attention line asserted The power supply does not have listen only capability SR1 Serv...

Page 4: ...MMER MANUAL 4 3 CONNECTING THE PROGRAMMABLE POWER SUPPLY VIA RS232 INTERFACE The RS 232 interface capabilities The RS232 interface provides a point to point connection between two items of equipment such as a computer and the power supply There are some parameters you need to set on the both sides Once you have set these parameters you can control the power supply through the RS232 interface l Bau...

Page 5: ...2 connector onthe rear panel for DB 9 D PST PSS PSH SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 6 Figure 2 Wiring configuration for DB9 to DB9 Computer s Connection A personal computer with a COM port is the essential facilities in order to operate the programmable power supply via RS232 interface The connections between power supply and computer are as follows I Connect one end of a RS232 ...

Page 6: ...488 2syntax has been adopted by SCPI to provide common commands for the identical functions of different programmable instruments PST PSS PSH SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 8 Figure 3 the relationship between IEEE 488 1 IEEE 488 2 and SCPI As shown in the figure 3 the IEEE 488 1 standard locates at layer A the layer A belongs to the protocol of interface function on the GPIB bu...

Page 7: ...l nodes form a header path to the last node called the leaf node Figure 4 Tree hierarchy Leaf node SYSTem AUTO Root node ERRor STATe STARt CYCLe Lower level node Leaf Node PST PSS PSH SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 10 The command header is configured by header path and leaf node Figure 5 shows the command header for the leaf node indicated in Figure 4 Figure 5 Command Header Pa...

Page 8: ...of commands are sent to the instrument it must add a LF to be a judgment for message terminator As for query command the return message of the instrument is also added a LF for PC to judge message terminator Entering Commands The standards that govern the command set for the programmable power supply allow for a certain amount of flexibility when you enter commands For instance you can abbreviate ...

Page 9: ...Commands l Miscellaneous Co mmands The tables also provide a brief explanation of each command PST PSS PSH SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 14 l General Setting Commands Table 2 lists the general setting commands that control and query the settings of the power supply Table 2 General Setting Commands Command Explanation CHANne l x CURRent NR2 1 Sets the value of current CHANnel x...

Page 10: ...AL 16 SRE Returns contents of Service Request Enable Register SRER STB Reads Status Byte Register SBR STATus OPERation COND ition Returns the contents of the OPERation condition register Returns NR1 STATus OPERation ENAB le NR1 Sets the contents of the enable mask for the OPERation event register STATus OPERation ENAB le Returns the contents of the enable mask for the OPERation event register Retu...

Page 11: ... times of execution SYSTem AUTO CYCLe Query the setting of the number of times of execution PST PSS PSH SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 18 SYSTem AUTO DELay NR1 Set the delay time under the current responding memory status SYSTem AUTO DELay Query the setting of the delay time under the current responding memory status SYSTem AUTO END NR1 Set the end memory section for auto execu...

Page 12: ... in the range from 0 through 255 Returns NR1 is a number from 0 to 255 that indicates the decimal value of the binary bits of the ESER PST PSS PSH SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 20 Examples ESE 65 sets the ESER to binary 0100 0001 If the ESER contains the binary value 1000 0010 the ESE will return the value of 130 ESR query only Function Return and clear the contents of the Sta...

Page 13: ... is in the range from 0 through 99 Examples RCL 12 recalls the setting data stored in memory location 12 PST PSS PSH SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 22 RST no query form Function Set all control settings of power supply to their default values but does not purge stored setting The equivalent panel control will be set as below Front Panel Control Default Setting OUTPUT OFF CURREN...

Page 14: ...the SRE returns 3 the SRER is set to 0000 0011 STB query only Function The query of the Status Byte register SBR with STB will return a PST PSS PSH SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 24 decimal number representing the bits that are set true in the status register Syntax STB Returns NR1 is in the range from 0 through 255 Examples STB returns 81 if SBR contains the binary value 0101 ...

Page 15: ...fer to the specification x for PSS PSH can only be 1 Returns PST PSS PSH SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 26 NR2 Examples CHANnel1 VOLTage 12 0 sets the channel 1 voltage limit to 12 0 volts CHANnel1 VOLTage returns 2 34 if the channel 1 voltage limit setting is 2 34 volts CHANnel x MEASure CURRent Query Only Function Read the actual output current of the specific channel Syntax ...

Page 16: ...he overvoltage protection value of the specific channel PST PSS PSH SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 28 Syntax CHANnel x PROTection VOLTage NR2 CHANnel x PROTection VOLTage x can be 1 or 2 or 3 NR2 Please refer to the specification x for PSS PSH can only be 1 Returns NR2 Examples CHANnel1 PROTection VOLTage 12 0 sets the channel 1 overvoltage protection limit to 12 0 volts CHANne...

Page 17: ...POWER SUPPLY PROGRAMMER MANUAL 30 Examples OUTPut STATe 1 enables the power supply output If the power supply output is disabled OUTPut STATe will return 0 STATus OPERation CONDition query only Function Return the contents of the OPERation register The programmable power supplies however do not use the OPERation register to report any conditions Syntax STATus OPERation CONDition Returns NR1 Exampl...

Page 18: ...ER MANUAL 32 register is non destructive Syntax STATus QUEStionable CONDition Returns NR1 Examples STATus QUEStionable CONDition returns 0 STATus QUEStionable ENABle Function Set or query the enable mask that allows the masked conditions in the event register to be reported in the sum mary bit If a bit is 1 true in the enable register and its associated event bit changes to 1 true the associated s...

Page 19: ...MMER MANUAL 34 SYSTem AUTO DELay Function Set the delay time under the current responding memory status The PSS and PSH series do not have this function Syntax SYSTem AUTO DELay NR1 SYSTem AUTO DELay NR1 is in the range from 1 through 59999 its unit is 100ms Returns NR1 Examples SYSTem AUTO DELay 1 sets auto delay time at 100ms for the memory of the specific section SYSTem AUTO DELay 1000 sets aut...

Page 20: ...art on from the memory of location 0 of the current device If the command SYSTem ATUO STARt Returns 2 means set the section 2 as the start PST PSS PSH SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 36 SYSTem AUTO STATe Function Set or return automatic sequence setting The PSS and PSH series do not have this function Syntax SYSTem AUTO STATe Boolean SYSTem AUTO STATe Boolean can be 0 OFF or 1 O...

Page 21: ...ort or enable the occurrence of certain events within the system If a specific event in the power supply sets a bit in a status register reading which can tell you what types of events have occurred Each bit in the status register corresponds to a bit in an enable register the enable bit must be high for the event to be reported to the Status Byte Register A Service Request SRQ is the last event t...

Page 22: ...gisters and their connections PST PSS PSH SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 40 Figure 8 Status registers and related commands The CONDit ion register is a read only register which monitors the present state of the instrument The CONDition register updates in real time and the inputs are not latched or buffered When a condition monitored by the CONDition register becomes true the b...

Page 23: ...tus Byte Register SBR l Standard Event Status Register SESR Status Byte Register SBR The SBR Table 6 summarizes the status of all other registers and queues Table 6 Status Byte Register SBR Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 OPER RQS MSS ESB MAV QUES E E NU NU The bit 0 and 1 are not used so these bits are always zero The bit 2 Error and Event indicates an error code is waiting to be ...

Page 24: ...and SRQ The programmable power supply has the PST PSS PSH SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 44 following enable registers l Event Status Enable Register ESER l OPERation Enable Register l QUEStionable Enable Register l Service R equest Enable Register SRER When one of the bits of the enable registers is high and the corresponding bit in the status register is high the enable regis...

Page 25: ... Settings conflict Timer setting error 4 221 Settings conflict Overvoltage protection setting error 4 221 Settings conflict Voltage setting error 4 PST PSS PSH SERIES PROGRAMMABLE POWER SUPPLY PROGRAMMER MANUAL 46 221 Settings conflict Current setting error 4 221 Settings conflict Recall setting error 4 221 Settings conflict Store setting error 4 222 Data out of range 4 222 Data out of range Volta...

Page 26: ...l service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE INSPECTION Remotely inspect equipment before purchasing with our interactive website at www instraview com LOOKING FOR MORE INFORMATION Visit us on the web at www artisantg com for more information on ...

Reviews: