Instek PEL-3021, PEL-3041, PEL-3111, PEL-3211 Programming Manual

DC Electronic Load
PEL-3000
PROGRAMMING MANUAL
VERSION: 1.11
ISO-9001 CERTIFIED MANUFACTURER
This manual contains proprietary information, which is protected by copyright. All rights are reserved. No part of this manual may be photocopied, reproduced or translated to another language without prior written consent of Good Will company.
The information in this manual was correct at the time of printing. However, Good Will continues to improve products and reserves the rights to change specification, equipment, and maintenance procedures at any time without notice.
Good Will Instrument Co., Ltd. No. 7-1, Jhongsing Rd., Tucheng Dist., New Taipei City 236, Taiwan.
Table of Contents
Table of Contents
INTERFACE OVERVIEW ..................................................... 2
Front Panel Overview ............................. 3
Rear Panel Overview .............................. 4
Interface Configuration .......................... 5
COMMNAND OVERVIEW ................................................ 16
Command Syntax ................................. 16
Command List ..................................... 21
Error Messages .................................... 90
1
PEL-3000 Programming Manual
Front Panel Overview ........................................................ 3
Rear Panel Overview .......................................................... 4
Interface Configuration ..................................................... 5
Configure to USB Remote Interface ....................................................................... 5
Configure GPIB Interface ........................................................................................ 6
Configure RS232C ..................................................................................................... 7
RS232C/USB Remote Control Function Check ................................................... 8
Using Realterm to Establish a Remote Connection .............................................. 9
GPIB Function Check ............................................................................................ 13
INTERFACE OVERVIEW
This chapter describes basic configuration of IEEE488.2 based remote control.
2
INTERFACE OVERVIEW
I MON OUT TRIG OUT
1.5 - 150V
175W
0 - 35A
P0
P1
P4
P7
CAL.
P2
P5
P8
Lock
P3
P6
P9
Utility
Local
File
0
1
4
7
2
5
8
3
6
9
EnterClear
Shift
Preset
Load
On/ Off
Main
Help
FUNC
Short
Air inlet LCD Display Power key
FUNC/File
Help/Utility
Short
Load On/Off
USB Port, Preset and Shift keys
Number pad, Clear/ Lock and Enter keys
Main/Local
Scroll wheel
Function keys
Input terminals
I MON OUT, TRIG OUT
Front Panel Overview
(PEL-3021/PEL-3041 shown)
3
PEL-3000 Programming Manual
47 - 63 Hz
90 VA MAX.
AC
100 - 120 VAC 200 - 240 VAC
FRAME CONT
J 1
J 2
SER. NO. LB
RS232C
GPIB
WARNING
TO AVOID ELECTRIC SHOCK THE POWER CORD
DO NOT REMOVE COVERS.
NO OPERATOR SERVICEABLE COMPONENTS INSIDE.
PROTECTIVE GROUNDING CONDUCTOR MUST BE
REFER SERVICING TO QUALIFIED PERSONNEL.
CONNECTED TO GROUND.
Remote sense inputs
Frame control ports, J1, J2
RS232C port
USB port
USB device port
Exhaust fanGPIB Power socket
Rear panel inputs
Rear Panel Overview
(PEL-3021 / PEL-3041 shown)
4
INTERFACE OVERVIEW
USB configuration
PC side connector
Type A, host
PEL-3000 side connector
Rear panel Type B, slave
Speed
2.0 (full speed)
USB Class
USB CDC AMC
Note
Before USB can be used for remote control, it is necessary to install the PEL-3000 USB device driver, located on the accompanying User Manual CD.
Operation
1. Connect the USB cable to the rear panel USB B
port.
2. Press
Shift
+
Utility
Help
> Interface[F3] and set
the Interface setting to USB.
Interface Configuration
Configure to USB Remote Interface
5
PEL-3000 Programming Manual
Operation
1. Ensure the PEL-3000 is off before proceeding.
2. Connect a GPIB cable from a GPIB controller to
the GPIB port on the PEL-3000.
3. Turn the PEL-3000 on.
4. Press
Shift
+
Utility
Help
> Interface[F3] and set
the Interface setting to GPIB.
5. Set the GPIB address.
GPIB address
0~30
GPIB constraints
Maximum 15 devices altogether, 20m cable length,
2m between each device
Unique address assigned to each device
At least 2/3 of the devices turned On
No loop or parallel connection
Pin Assignment
112
1324
Pin
Signal
Pin
Signal 1~4
Data I/O 1~4
13~16
Data I/O 5~8
5 EOI
17
REN 6
DAV
18
Ground (DAV)
7 NRFD
19
Ground (NRFD)
8 NDAC
20
Ground (NDAC)
9 IFC
21
Ground (IFC)
10
SRQ
22
Ground (SRQ)
Configure GPIB Interface
To use GPIB, the optional GPIB port must be installed. See the user manual for details.
6
INTERFACE OVERVIEW
11
ATN
23
Ground (ATN)
12
SHIELD Ground
24
Single GND
RS232C Configuration
Connector
DB-9, Male
Baud Rate
2400, 4800, 9600, 19200, 38400
Stop Bit
1, 2
Parity
None, Odd, Even
Operation
1. Connect an RS232C cable from the PC to the
rear panel RS232 port.
2. Press
Shift
+
Utility
Help
> Interface[F3] and
set the Interface setting to RS232.
3. Set the Baud Rate, Stop Bit and Parity settings.
Pin Assignment
1 2 3 4 5
6 7 8 9
2: RxD (Receive data)
3: TxD (Transmit data)
5: GND
4, 6 ~ 9: No connection
PC Connection
Use a null modem connection as shown in the diagram below.
PEL-3000 PC
RxDPin2 RxD Pin2
GNDPin5 GND Pin5
TxD Pin3
TxDPin3
Configure RS232C
7
PEL-3000 Programming Manual
Functionality check
Invoke a terminal application such as RealTerm. For RS232C, set the COM port, baud rate, stop bit, data bit and parity accordingly.
To check the COM settings, see the Device Manager in the PC. For WinXP; Control panel → System → Hardware tab.
Run this query command via the terminal after the instrument has been configured for RS232/USB remote control (page 5).
*idn?
This should return the Manufacturer, Model number, Serial number, and Firmware version in the following format.
GW-INSTEK,PEL-3000, XXXXXXXXXXXX,
V.X.X.X.X
Manufacturer: GW-INSTEK Model number : PEL-3000 Serial number : XXXXXXXXXXXX Firmware version : V.X.X.X
RS232C/USB Remote Control Function Check
8
INTERFACE OVERVIEW
Background
Realterm is a terminal program that can used to communicate with a device attached to the serial port of a PC or via an emulated serial port via USB.
The following instructions apply to version
1.99.0.27. Even though Realterm is used as an example to establish a remote connection, any terminal program can be used that has similar functionality.
Note
Realterm can be downloaded on Sourceforge.net free of charge.
For more information please see http://realterm.sourceforge.net/
Operation
1. Download Realterm and install according to the
instructions on the Realterm website.
2. Connect the PEL-3000 via USB (page 5) or via
RS232 (page 7).
3. If using RS232, make note of the configured
baud rate, stop bits and parity.
4. Go to the Windows device manager and find
the COM port number for the connection. For example, go to the Start menu > Control Panel > Device Manager
Double click the Ports icon to reveal the connected serial port devices and the COM port for the each connected device.
Using Realterm to Establish a Remote Connection
9
PEL-3000 Programming Manual
If using USB, the baud rate, stop bit and parity settings can be viewed by right-clicking the connected device and selecting the Properties option.
5. Start Realterm on the PC as an administrator.
Click: Start menu>All Programs>RealTerm>realterm
Tip: to run as an administrator, you can right click the Realterm icon in the Windows Start menu and select the Run as Administrator option.
10
INTERFACE OVERVIEW
6. After Realterm has started, click on the Port tab.
Enter the Baud, Parity, Data bits, Stop bits and Port number configuration for the connection.
The Hardware Flow Control, Software Flow Control options can be left at the default settings.
Press Open to connect to the PEL-3000.
11
PEL-3000 Programming Manual
7. Click on the Send tab.
In the EOL configuration, check on the +CR and +LF check boxes.
Enter the query: *idn?
Click on Send ASCII.
8. The terminal display will return the following:
GW, PEL-3XXX,EXXXXXXX,VX.XX.XXX
(manufacturer, model, serial number, version)
9. If Realterm fails to connect to the PEL-3000,
please check all the cables and settings and try again.
12
INTERFACE OVERVIEW
Functionality check
Please use the National Instruments Measurement & Automation Controller software to confirm GPIB/LAN functionality.
See the National Instrument website, http://www.ni.com for details.
Operation
1. Start the NI Measurement and
Automation Explorer (MAX) program. Using Windows, press:
Start>All Programs>National Instruments>Measurement & Automation
2. From the Configuration panel access;
My System>Devices and Interfaces>GPIB0
GPIB Function Check
13
PEL-3000 Programming Manual
3. Press the Scan for Instruments button.
4. In the Connected Instruments panel the PEL-3000
should be detected as Instrument 0 with the address the same as that configured on the PEL-3000.
5. Double click the Instrument 0 icon.
2
3
4
5
6. Click on Communicate with Instrument.
7. In the NI-488.2 Communicator window, ensure
*IND? is written in the Send String: text box.
Click on the Query button to send the *IDN? query to the instrument.
8. The String Received text box will display the
query return:
GW, PEL-3XXX,EXXXXXXX,VX.XX.XXX
(manufacturer, model, serial number, version)
14
INTERFACE OVERVIEW
6
7 8
9. The function check is complete.
15
PEL-3000 Programming Manual
Compatible Standard
IEEE488.2
Partial compatibility
SCPI, 1999
Partial compatibility
Command Structure
SCPI (Standard Commands for Programmable Instruments) commands follow a tree-like structure, organized into nodes. Each level of the command tree is a node. Each keyword in a SCPI command represents each node in the command tree. Each keyword (node) of a SCPI command is separated by a colon (:).
For example, the diagram below shows an SCPI sub-structure and a command example.
:RESPonse:CRANGe :VRANGe
[:MODE]:CRANGe
:MODE
COMMNAND OVERVIEW
The Command overview chapter lists all PEL-3000 commands in functional order as well as alphabetical order. The command syntax section shows you the basic syntax rules you have to apply when using commands.
Command Syntax
16
COMMNAND OVERVIEW
Command types
There are a number of different instrument commands and queries. A command sends instructions or data to the unit and a query receives data or status information from the unit.
Command types
Simple
A single command with/without a parameter
Example
:CONFigure:RESPonse MAX
Query
A query is a simple or compound command followed by a question mark (?). A parameter (data) is returned.
Example
:CONFigure:RESPonse?
Compound
Two or more commands on the same command line. Compound commands are separated with either a semi­colon (;) or a semi-colon and a colon (;:).
A semi-colon is used to join two related commands, with the caveat that the last command must begin at the last node of the first command.
A semi-colon and colon are used to combine two commands from different
17
PEL-3000 Programming Manual
nodes.
Example
CONFigure:VON MAX;:CONFigure:VDELay MIN
Command Forms
Commands and queries have two different forms, long and short. The command syntax is written with the short form of the command in capitals and the remainder (long form) in lower case.
The commands can be written in capitals or lower-case, just so long as the short or long forms are complete. An incomplete command will not be recognized.
Below are examples of correctly written commands.
Long form
:CURRent:LEVel? :CURRENT:LEVEL? :current:level?
Short form
:CURR:LEV? :curr:lev?
Square Brackets
Commands that contain square brackets indicate that the contents are optional. The function of the command is the same with or without the square bracketed items, as shown below
For example for the query: “[:CONFigure]:GNG [:PASS]?
Both :CONFigure:GNG:PASS?” and “:GNG? are both valid forms.
18
Command Format
1.0 0A
1
2 3 4
:CURRent:Set
1. Command header
2. Space
3. Parameter 1
4. Unit or suffix.
Common Input Parameters
Type
Description
Example
<Boolean>
boolean logic
0, 1
<NR1>
integers
0, 1, 2, 3
<NR2>
decimal numbers
0.1, 3.14, 8.5
<NR3>
floating point
4.5e-1, 8.25e+1
<NRf>
any of NR1, 2, 3
1, 1.5, 4.5e-1
[MIN] (Optional parameter)
For commands, this will set the setting to the lowest value. This parameter can be used in place of any numerical parameter where indicated.
For queries, it will return the lowest possible value allowed for the particular setting.
[MAX] (Optional parameter)
For commands, this will set the setting to the highest value. This parameter can be used in place of any numerical parameter where indicated.
For queries, it will return the highest possible value allowed for the particular setting.
Unit Suffixes (Optional parameters)
Unit suffixes can be optionally used with most NRf type input parameters.
COMMNAND OVERVIEW
19
PEL-3000 Programming Manual
[A]
Amps
1.00A
[%]
Percentage
10%
[V]
Volts
5.00V
[W]
Watts
3.00W
[mS]
milliseconds
20mS
[mV]
Millivolts
150mV
[S]
Seconds
5S
[MHO]
Reciprocal of one ohm
0. 02MHO
[mA/uS]
Millamps/ microsecond
100mA/uS
[Hz]
Hertz
1000Hz
Message Terminator
LF
Line feed code (0x0A)
20
COMMNAND OVERVIEW
Common Commands
*CLS ....................................................................................... 25
*ESE ....................................................................................... 25
*ESR? ..................................................................................... 26
*IDN? ..................................................................................... 26
*OPC ...................................................................................... 27
*RCL ....................................................................................... 27
*RST ....................................................................................... 27
*SAV ....................................................................................... 28
*SRE ....................................................................................... 28
*STB? ..................................................................................... 29
*TRG ...................................................................................... 29
*TST? ..................................................................................... 30
Trigger Commands
:ABORt .................................................................................. 30
:INPut ..................................................................................... 30
:INPut:SHORt ...................................................................... 31
Measurement Commands
:MEASure:CURRent? .......................................................... 32
:MEASure:VOLTage? .......................................................... 32
:MEASure:POWer? .............................................................. 32
:MEASure:ETIMe? ............................................................... 33
Configure Subsystem Commands
[:CONFigure]:OCP .............................................................. 34
[:CONFigure]:OPP ............................................................... 35
[:CONFigure]:UVP ............................................................... 36
[:CONFigure]:OVP .............................................................. 36
[:CONFigure]:SSTart ............................................................ 37
[:CONFigure]:VON ............................................................. 38
[:CONFigure]:VDELay ........................................................ 38
:CONFigure:RESPonse ....................................................... 39
[:CONFigure]:CNTime ........................................................ 40
[:CONFigure]:COTime ........................................................ 40
[:CONFigure]:CRUnit .......................................................... 41
:CONFigure:DYNamic ........................................................ 41
:CONFigure:MEMory .......................................................... 42
:CONFigure:SHORt ............................................................. 43
Command List
21
PEL-3000 Programming Manual
[:CONFigure]:GNG:SPECtest ........................................... 43
[:CONFigure]:GNG:DTIMe .............................................. 44
[:CONFigure]:GNG:MODE .............................................. 44
[:CONFigure]:GNG[:PASS]................................................ 45
[:CONFigure]:GNG:H ........................................................ 45
[:CONFigure]:GNG:L ......................................................... 46
[:CONFigure]:GNG:C ......................................................... 46
Parallel Commands
[:CONFigure]:PARallel ........................................................ 47
Step Commands
[:CONFigure]:STEP:CCH ................................................... 48
[:CONFigure]:STEP:CCM .................................................. 49
[:CONFigure]:STEP:CCL .................................................... 50
[:CONFigure]:STEP:CC ...................................................... 50
[:CONFigure]:STEP:CRH ................................................... 51
[:CONFigure]:STEP:CRM .................................................. 51
[:CONFigure]:STEP:CRL .................................................... 52
[:CONFigure]:STEP:CR ...................................................... 52
[:CONFigure]:STEP:CVH ................................................... 53
[:CONFigure]:STEP:CVL ................................................... 53
[:CONFigure]:STEP:CV ...................................................... 54
[:CONFigure]:STEP:CPH ................................................... 54
[:CONFigure]:STEP:CPM ................................................... 55
[:CONFigure]:STEP:CPL .................................................... 55
[:CONFigure]:STEP:CP ...................................................... 56
External Commands
[:CONFigure]:EXTernal[:CONTrol] ................................. 57
[:CONFigure]:EXTernal:LOADonin ................................ 57
[:CONFigure]:EXTernal:SYNC ......................................... 58
Mode Subsystem Commands
:MODE .................................................................................. 59
[:MODE]:CRANge .............................................................. 59
[:MODE]:VRANge .............................................................. 60
[:MODE]:RESPonse ............................................................ 60
[:MODE]:DYNamic ............................................................ 61
22
COMMNAND OVERVIEW
Current Subsystem Commands
:CURRent[:VA] ..................................................................... 62
:CURRent:VB ........................................................................ 63
:CURRent:SRATe ................................................................. 63
:CURRent:L1 ......................................................................... 64
:CURRent:L2 ......................................................................... 64
:CURRent:SET ...................................................................... 65
:CURRent:LEVel .................................................................. 66
:CURRent:RISE .................................................................... 66
:CURRent:FALL ................................................................... 67
:CURRent:T1 ......................................................................... 67
:CURRent:T2 ......................................................................... 68
:CURRent:FREquency ......................................................... 69
:CURRent:DUTY ................................................................. 69
Resistance Subsystem Commands
:RESistance[:VA] .................................................................. 71
:RESistance:VB ..................................................................... 72
:RESistance:SRATe .............................................................. 72
:RESistance:L1 ...................................................................... 73
:RESistance:L2 ...................................................................... 74
:RESistance:SET ................................................................... 74
:RESistance:LEVel................................................................ 75
:RESistance:RISE ................................................................. 76
:RESistance:FALL ................................................................ 76
:RESistance:T1 ...................................................................... 77
:RESistance:T2 ...................................................................... 78
:RESistance:FREquency ...................................................... 78
:RESistance:DUTY ............................................................... 79
Voltage Subsystem Commands
:VOLTage[:VA] ..................................................................... 81
:VOLTage:VB ....................................................................... 81
Power Subsystem Commands
:POWer[:VA] ......................................................................... 83
:POWer:VB ............................................................................ 84
:POWer:L1 ............................................................................. 84
:POWer:L2 ............................................................................. 85
:POWer:SET ......................................................................... 85
:POWer:LEVel ...................................................................... 86
:POWer:T1 ............................................................................ 87
:POWer:T2 ............................................................................ 87
23
PEL-3000 Programming Manual
:POWer:FREquency ............................................................. 88
:POWer:DUTY ..................................................................... 89
24
COMMNAND OVERVIEW
*CLS ....................................................................................... 25
*ESE ....................................................................................... 25
*ESR? ..................................................................................... 26
*IDN? ..................................................................................... 26
*OPC ...................................................................................... 27
*RCL ....................................................................................... 27
*RST ....................................................................................... 27
*SAV ....................................................................................... 28
*SRE ....................................................................................... 28
*STB? ..................................................................................... 29
*TRG ...................................................................................... 29
*TST? ..................................................................................... 30
*CLS
Set
Description
Clears the error queue.
Query Syntax
*CLS
*ESE
Set
Query
Description
Queries or sets the Standard Event Status Enable register. The Standard Event Status Enable register determines which events can set the Event Summary bit (ESB) in the Status Byte Register. Any bits that are set to 1 enable the corresponding event. Each event is represented by a bit in the Standard Event Status Enable register.
Syntax
*ESE <NR1>
Query Syntax
*ESE?
Parameter/ Return parameter
<NR1> (bit weight)
Bit number / Description
4
3/ QYE
8 4/ DDE
16
5/ EXE
32
6/ CME
Common Commands
25
PEL-3000 Programming Manual
Example
*ESE 8
Sets bit 4 of the ESE register.
Query example
*ESE? >12
Bits 3 and 4 are set in the Standard Event Status Enable register.
*ESR?
Set
Query
Description
Reads the Standard Event Status register. This command will also clear the Standard Event Status register.
Query Syntax
*ESR?
Return parameter <NR1> (bit weight)
Bit number / Description
4
3/ QYE
8 4/ DDE
16
5/ EXE
32
6/ CME
Query example
*ESR? >48
Bits 5 and 6 are set in the Standard Event register.
*IDN?
Query
Description
Queries the manufacturer, model number, serial number, and firmware version of the instrument.
Query Syntax
*IDN?
Return parameter
<string>
Returns the instrument identification as a string in the following format:
GW-INSTEK, PEL-3021, XXXXXXXX, V.VV
Manufacturer: GWINSTEK
Model number : PEL-3021
Serial number : XXXXXXXX Firmware version : V.VV
26
COMMNAND OVERVIEW
*OPC
Set
Query
Description
This command sets the OPC (Operation Command Bit) bit (bit 0) of the Standard Event Status Register after the instrument has completed all pending operations. The query will return the status of the OPC bit.
Syntax
*OPC
Query Syntax
*OPC?
Return parameter <NR1>
1
Operation complete
Query Example
*OPC? >1
Indicates that all pending operations are complete.
*RCL
Set
Description
The Recall Instrument State command restores the instrument settings from a previously saved memory setting.
Syntax
*RCL <NR1>
Parameter <NR1>
1~256
Memory number 1 to 256
Example
*RCL 20
Recall setting memory 20.
*RST
Set
Description
Resets the unit. This is command forces the ABORt, and *CLS
Query Syntax
*RST
27
PEL-3000 Programming Manual
*SAV
Set
Description
The Save Instrument State command saves the instrument settings to one of the memory setting slots.
Syntax
*SAV <NR1>
Parameter <NR1>
1~256
Memory number 1 to 256
Example
*SAV 20
Saves the current setting to memory 20.
*SRE
Set
Query
Description
Queries or sets the Service Request Enable register. The Service Request Enable register determines which events in the Status Byte register can set the Master Summary bit (MSB) in the Status Byte Register. Any bits that are set to 1 will cause the MSS bit to be set.
Syntax
*SRE <NR1>
Query Syntax
*SRE?
Parameter/ Return parameter
<NR1> (bit weight)
Bit number / Description
1
1/Not used
2
2/ERR
4
3/ CSUM
8 4/ QUES
16
5/ MAV
32
6/ ESB
64
7/ RQS_MSS
128
8/ OPER
Note: Bit 1 and 2 cannot be set, however bit 2 (ERR) can be returned.
Example
*SRE 8
Sets bit 4 of the Service Request Enable register.
28
Loading...
+ 75 hidden pages