
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
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.
1. Connect the USB cable to the rear panel USB B
port.
> Interface[F3] and set
the Interface setting to USB.
Interface Configuration
Configure to USB Remote Interface
5

PEL-3000 Programming Manual
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
> Interface[F3] and set
the Interface setting to GPIB.
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
Configure GPIB Interface
To use GPIB, the optional GPIB port must be installed. See the user
manual for details.
6

INTERFACE OVERVIEW
2400, 4800, 9600, 19200, 38400
1. Connect an RS232C cable from the PC to the
rear panel RS232 port.
2. Press
> Interface[F3] and
set the Interface setting to RS232.
3. Set the Baud Rate, Stop Bit and Parity settings.
2: RxD (Receive data)
3: TxD (Transmit data)
5: GND
4, 6 ~ 9: No 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
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
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.
Realterm can be downloaded on Sourceforge.net
free of charge.
For more information please see
http://realterm.sourceforge.net/
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
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.
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.
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
9. The function check is complete.
15

PEL-3000 Programming Manual
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
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.
A single command
with/without a parameter
A query is a simple or
compound command
followed by a question mark
(?). A parameter (data) is
returned.
Two or more commands on
the same command line.
Compound commands are
separated with either a semicolon (;) 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
CONFigure:VON
MAX;:CONFigure:VDELay
MIN
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.
:CURRent:LEVel?
:CURRENT:LEVEL?
:current:level?
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

1.0 0A
1
2 3 4
:CURRent:Set
1. Command header
2. Space
3. Parameter 1
4. Unit or suffix.
[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
20

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
:ABORt .................................................................................. 30
:INPut ..................................................................................... 30
:INPut:SHORt ...................................................................... 31
: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
[:CONFigure]:PARallel ........................................................ 47
[: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
[:CONFigure]:EXTernal[:CONTrol] ................................. 57
[:CONFigure]:EXTernal:LOADonin ................................ 57
[:CONFigure]:EXTernal:SYNC ......................................... 58
: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[: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
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.
Parameter/
Return parameter
Common Commands
25

PEL-3000 Programming Manual
*ESE 8
Sets bit 4 of the ESE register.
*ESE?
>12
Bits 3 and 4 are set in the Standard Event Status
Enable register.
Reads the Standard Event Status register. This
command will also clear the Standard Event Status
register.
Return parameter
<NR1> (bit weight)
*ESR?
>48
Bits 5 and 6 are set in the Standard Event register.
Queries the manufacturer, model number, serial
number, and firmware version of the instrument.
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
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.
*OPC?
>1
Indicates that all pending operations are complete.
The Recall Instrument State command restores the
instrument settings from a previously saved
memory setting.
*RCL 20
Recall setting memory 20.
Resets the unit. This is command forces the
ABORt, and *CLS
27

PEL-3000 Programming Manual
The Save Instrument State command saves the
instrument settings to one of the memory setting
slots.
*SAV 20
Saves the current setting to memory 20.
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.
Parameter/
Return parameter
Note: Bit 1 and 2 cannot be set, however bit 2 (ERR)
can be returned.
*SRE 8
Sets bit 4 of the Service Request Enable register.
28