This document contains information which is protected by copyright. All rights are
reserved. Reproduction, adaptation, or translation without prior written permission
is prohibited, except as allowed under the copyright laws.
•Product Warranty
Agilent Technologies warrant Agilent Technologies hardware, accessories and
supplies against defects in materials and workmanship for the period of one year
from the warranty start date specified below. If Agilent Technologies receive
notice of such defects during the warranty period, Agilent Technologies will, at
its option, either repair or replace products which prove to be defective.
Replacement products may be either new or like-new.
Warranty service of this product will be performed at Agilent Technologies.
Buyer shall prepay shipping charges to Agilent Technologies and Agilent
Technologies shall pay shipping charges to return the product to Buyer.
However, Buyer shall pay all shipping charges, duties, and taxes for products
returned to Agilent Technologies from another country.
Agilent Technologies do not warrant that the operation of Agilent Technologies
products will be uninterrupted or error free. If Agilent is unable, within a
reasonable time, to repair or replace any product to a condition as warranted,
customer will be entitled to a refund of the purchase price upon prompt return of
the product.
The Agilent Technologies products may contain remanufactured parts
equivalent to new in performance or may have been subject to incidental use.
The warranty period begins on the date of delivery or on the date of installation
if installed by Agilent Technologies. If customer schedules or delays Agilent
Technologies installation more than 30 days after delivery, warranty begins on
the 31st day from delivery.
Warranty does not apply to defects resulting from (a) improper or inadequate
maintenance or calibration, (b) software, interfacing, parts or supplies not
supplied by Agilent Technologies, (c) unauthorized modification or misuse, (d)
operation outside of the published environmental specifications for the product,
or (e) improper site preparation or maintenance.
To the extent allowed by local law, the above warranties are exclusive and no
other warranty or condition, whether written or oral, is expressed or implied and
Agilent Technologies specifically disclaim any implied warranties or conditions
of merchantability, satisfactory quality, and fitness for a particular purpose.
Agilent Technologies will be liable for damage to tangible property per incident
up to the greater of $300,000 or the actual amount paid for the product that is the
subject of the claim, and for damages for bodily injury or death, to the extent
that all such damages are determined by a court of competent jurisdiction to
have been directly caused by a defective Agilent Technologies product.
To the extent allowed by local law, the remedies in this warranty statement are
customer’s sole and exclusive remedies. Expect as indicated above, in no event
will Agilent Technologies or its suppliers be liable for loss of date or for direct,
special, incidental, consequential (including lost profit or date), or other damage,
whether based in contract, tort, or otherwise.
For consumer transactions in Australia and New Zealand: the warranty terms
contained in this statement, except to the extent lawfully permitted, do not
exclude, restrict or modify and are in addition to the mandatory statutory rights
applicable to the sale of this product to you.
•Assistance
Product maintenance agreements and other customer assistance agreements are
available for Agilent Technologies products.
For any assistance, contact your nearest Agilent Technologies Sales Office.
•Certification
Agilent Technologies Inc. certifies that this product met its published
specifications at the time of shipment from the factory. Agilent further certifies
that its calibration measurements are traceable to the National Institute of
Standards and Technology (NIST), to the extent allowed by the Institute’s
calibration facility, and to the calibration facilities of other International
Standards Organization members.
Agilent 4155C/4156C provides three command modes to control the 4155C/4156C
via GPIB interface. You can control the 4155C/4156C using one of the following
command modes.
•4155/4156 SCPI command mode
SCPI means Standard Commands for Programmable Instruments. This mode is
the default mode of the 4155C/4156C, and allows you to control the 4155C/
4156C functions except for the timestamp, search, and the enhanced stop
condition the FLEX mode supports.
•4155/4156 FLEX command mode
FLEX means Fast Language for EXecution. This mode allows you to control
measurement functions of the 4155C/4156C. Command execution is faster than
the SCPI command mode.
•4145 syntax command mode
This mode allows you to execute the 4145A/B programs on the 4155C/4156C
directly with little or no modification. In this command mode, you cannot
control all functions of the 4155C/4156C.
To confirm the present control mode, see the language mode indicator on the screen,
or enter the CMD? command.
Language indicator The indicator is located between the fourth primary softkey and
the fifth primary softkey, and next to the screen lock indicator.
The meaning of the indicator is as follows:
S: SCPI command mode
F: FLEX command mode
4: 4145 syntax command mode
CMD? command This query command returns the present command mode. The
This manual describes about the 4155C/4156C FLEX command set and the 4145
syntax command set, and consists of the following chapters:
•4155C/4156C FLEX Commands
Lists the 4155C/4156C FLEX commands, and provides description, command
syntax, example statements, and so on. Also provides the command input
format, data output format, status byte information and error messages.
•4145B Syntax Commmand Set
Lists the 4145 Syntax commands, and provides description, command syntax,
example statements, and so on. Also provides the general conventions,
differences from the 4145A/B commands and status byte information.
For information about the 4155C/4156C SCPI command set, refer to SCPI Command Reference.
See User's Guide Measurement and Analysis and User's Guide General Information
for information about the 4155C/4156C itself.
Refer to Programmer's Guide to make a program and use built-in Instrument
BASIC controller.
NOTE4155C/4156C FLEX command set
The 4155C/4156C FLEX command set includes some commands which have the
same name as the GPIB command of Agilent 4142B DC Source/Monitor. This is
useful for you who create the 4155C/4156C measurement program by modifying
the program created to control the 4142B.
However the 4155C/4156C commands are not fully compatible with the 4142B
commands. So you need to do some modifications on the measurement program for
the 4142B.
To use the 4155C/4156C FLEX commands, enter the US or US42 command when
the 4155C/4156C is in one of the following state. This command causes the
4155C/4156C control mode transition.
•Power on state
•Interactive operation mode (normal operation mode, which is not GPIB control
mode)
•4155C/4156C SCPI command control mode
The control mode transition resets the 4155C/4156C settings. For the initial settings
in the FLEX command control mode, see the *RST command in the “Command
Reference” section in this chapter.
In the FLEX command control mode, you can use the all commands described in
this chapter, and the SCPI commands and the 4145A/B syntax commands are not
available.
If you use the built-in IBASIC controller, use the full IBASIC screen. All front panel
keys except for the following keys are available.
•MEASUREMENT key group
•
Plot/Print key
•
Save and Get keys
•IBASIC
Display key
If you use an external controller, the screen and front panel keys on the
4155C/4156C front panel are not available. Only the LOCAL secondary softkey is
available. This softkey is used to release the remote control state of the
4155C/4156C.
Syntax, command parameters, and example statements for the US and US42
command are shown below.
Difference between US command and US42 command is that the US42 command
provides the 4142B DC Source/Monitor-like response for the following items:
•Output data format
•Query response
•Status code (status byte)
Syntax Syntax of US command:
US
Syntax of US42 command:
US42[level]
Parameters level Support level for the 4142B-like response. Must be an integer. Refer to
the following table. If you do not specify this parameter, level is set to
255 (1+2+4+8+16+32+64+128). This means all levels are selected.
Example
Statements
If you select multiple levels, enter a value that is the sum of the desired
level values. For example, if you select levels 1, 2 and 4, enter 7
(1+2+4) as the level value.
1Supports the 4142B-like data output format. (FMT command
allows you to select data output format.)
2Supports the 4142B-like status code (status byte).
4Supports the 4142B-like query response.
8Supports the 4142B-like GNDU, VMU output switch setting.
(GNDU and VMU output switches are set to ON after executing
the CL command without specifying channel number.)
16
32Not defined.
64Not defined.
128Not defined.
a. Without level=16, you need to enter the RMD? command before enter-
ing the command (ex; ENTER (HP BASIC) command) to read the output data. If you select level=16, you do not need the RMD? command.
But you cannot read the output data correctly if both output data and
query response are in the 4155C/4156C output buffer.
Reads output data without RMD? command.
a
To Quit FLEX Command Mode
To quit the FLEX command control mode, do one of the following:
•Enter the :PAGE command (ex: OUTPUT @Hp415x;":PAGE")
•Enter the LOCAL (HP BASIC) command
•If you use an external controller: Select the LOCAL secondary softkey
displayed on the 4155C/4156C screen.
•If you use the built-in IBASIC controller: Press any key in the PAGE
CONTROL key group.
The control mode transition resets the 4155C/4156C settings except for the auto
calibration mode setting. Auto calibration is set to OFF forcibly.
4155C/4156C FLEX Commands
To Use 4142B Measurement Program
To Use 4142B Measurement Program
If you want to use the measurement program created to control Agilent 4142B
Modular DC Source/Monitor, remember the following precautions. You need to
modify the measurement program.
•Command syntax:
The 4155C/4156C FLEX commands need a space between the command and its
command parameter. The 4142B commands do not need a space.
Add a space between the command and the first command parameter as shown
in the following example:
•For 4142B:
OUTPUT @Hp4142;"DV1,0,20"!Applies 20V
•For 4155C/4156C:
OUTPUT @Hp4156;"DV 1,0,20"!Applies 20V
•Reading output data:
To read the 4155C/4156C output data after a measurement, use the RMD?
command as shown in the following example:
•For 4142B:
OUTPUT @Hp4142;"XE"!Executes measurements
ENTER @Hp4142;A$!Reads measurement data
•For 4155C/4156C:
OUTPUT @Hp4156;"XE"!Executes measurements
OUTPUT @Hp4156;"RMD?" !Puts data on the output buffer
ENTER @Hp4156;A$!Reads measurement data
If you select level=16 for the US42 command parameter, you do not need the
RMD? command before the ENTER command on this example. But you cannot
read the output data correctly if both output data and query response are in the
4155C/4156C output buffer.
For the 4155C/4156C FLEX commands which have the same name as the
4142B commands, such as DV and DI, the meaning and order of most
parameters are the same as the 4142B commands. However, the values available
for the command parameter will be different from the 4142B control command
because of the difference in measurement performance. Also, some optional
command parameters may be added.
Confirm the command parameters and the available values.
•Measurement unit channel numbers:
The channel numbers of the measurement units must be changed. To change the
channel numbers, use the ACH command. The ACH command translates the
channel numbers for the 4142B to the channel numbers for the 4155C/4156C.
For details, see the ACH command in the “Command Reference” section in this
chapter.
•Unsupported commands:
The following 4142B commands are not supported by the 4155C/4156C.
AIV, ASM, ASV, AVI, BDM, BDT, BDV, ERC,
PDI, PDM, PDV, POL
•Multiple command strings
The 4155C/4156C FLEX command mode does not support the multiple
command strings such as the following example. Do not enter the multiple
command strings.
The 4155C/4156C FLEX commands are composed of a header, numeric data, and
terminator, as shown in the syntax diagram in the following figure.
4155C/4156C Control Command Syntax Diagram
Header
The header is the command name, always contains alpha characters, and is not
upper or lowercase sensitive. Some command names also contain an asterisk (*) or
question mark (?). The following figure shows the syntax diagram for a header.
Numeric data is the command parameters. You need to insert a space between the
header and the command parameters (numeric data). Some parameters require
integer data. The following figure shows the syntax diagram for numeric data.
Numeric Data Syntax Diagram
The following 3 figures show the syntax diagrams for integer, fixed point, and
floating point data, respectively.
The terminator completes the GPIB command entry and starts command execution.
The following figure shows the terminator syntax diagram.
Terminator Syntax Diagram
%4
.(
.(
'1+
(
Special Terminator
If a semicolon (;) is inserted before the terminator, as shown in the following figure,
the preceding commands are not executed until the next command line is input and
another terminator is input, without a preceding semicolon. The command lines are
then executed together.
This section describes the data output formats of the 4155C/4156C. The
4155C/4156C provides the following four types of data output formats:
•“ASCII Format in US Mode”
•“Binary Format in US Mode”
•“ASCII Format in US42 Mode”
•“Binary Format in US42 Mode”
You can select the data output format using the FMT command. See the FMT
command for more information.
Conventions
The following conventions are used in the data output format tables (Table 1-1
through Table 1-4).
DataOutput data that the 4155C/4156C sends after a measurement.
[Data] Optional output data that is sent when there are multiple output
data. See FMT command. For example, after the sampling
measurements when the sampling point index output is
specified by the FMT command.
Time Stamp Function
The time stamp function is used to record the start time of the measurement. When
this function is enabled, the 4155C/4156C output data includes the time data (Time).
For example, in the staircase sweep measurements, the output data will be as
follows:
TimeN (N: integer) is the time from the point the count is cleared until the start of the
DataN measurement.
The time stamp function is not available for the quasi-static CV measurements,
linear search measurements, and binary search measurements in the US control
mode. It is not available for any measurement in the US42 control mode.
Table 1-1 shows the ASCII data output format in control mode set by the US
command. The format used depends on the measurement mode selected.
Table 1-1ASCII Data Output Format in US Control Mode
Measurement Mode Output Format
Stress Force
High Speed Spot
Spot
1ch Pulsed Spot
Staircase Sweep,
Pulsed Sweep,
Staircase Sweep with
Pulsed Bias
Status <terminator>
a
Status is the status information sent after a stress force.
Data <terminator>
a
Data is the data measured by the measurement unit
specified for the high speed spot measurement using the
MM command.
Data1 [,Data2] . . . . <terminator>
a
DataN (N: integer) is the data measured by one unit.
The order of Data is specified by the MM command.
Data <terminator>
a
Data is the data measured by the measurement unit
specified for the pulsed spot measurement using the
MM command.
Block1 [,Block2] ....<terminator>
a
Block1 is the block of data measured at the first sweep
step. Block2 is the block of data measured at the second
sweep step.
where Block consists of the following data:
Data1 [,Data2]....[,Source_data]
DataN (N: integer) is the data measured by one unit. The order of Data is specified by the MM command.
Source_data is the source data at the sweep step.
a. Terminator. <LF^EOI> or <,^EOI>, depending on the FMT command
Block1 is the block of the data measured at the first sampling
point.
Block2 is the block of the data measured at the second
sampling point.
where Block consists of the following data:
[Sampling_no,] Data1 [,Data2] . . . .
Sampling_no is the sampling point index. This value depends
on the sampling interval setting and the measurement time.
If the measurement time is shorter than the sampling interval,
Sampling_no will be N of BlockN (N: 1, 2, 3 . . . ).
If the measurement time is longer than the sampling interval,
Sampling_no is not N of BlockN.
For example, if the measurement time is longer than the
sampling interval and shorter than twice the sampling interval,
then the Sampling_no is 2 for Block1, and 4 for Block2.
The measurement time depends on the settings of the AV, AZ,
SIT and SLI commands.
DataN (N: integer) is the data measured by one unit. The order
of Data is specified by the MM command.
The Sampling_no and Data values can be discarded when the
range changes in the auto or limited auto ranging mode.
a. Terminator. <LF^EOI> or <,^EOI>, depending on the FMT command
Output Data The 4155C/4156C sends the measurement data (Data), source output data
(Source_data), sampling point index (Sampling_no), time data (Time) or status
information (Search or Status) in the format specified by the FMT 1, FMT 2, or
FMT 5 command.
•ASCII format with header (output by FMT 1 or FMT 5):
WData is for the first or intermediate sweep step.
EData is for the last sweep step.
•Status for Data, Sampling_no, or Status:
AAA Explanation
1A/D converter overflowed.
2One or more units are oscillating.
4Another unit reached its compliance setting.
8This unit reached its compliance setting.
Integration time too short for capacitance measurement.
16The PGU reached its compliance setting.
32The sweep measurement was stopped by the ESC stop
condition. Returned data is effective.
64Invalid data is returned. D is not used.
128EOD (End of Data).
If multiple status conditions are found, the sum of the AAA values is
returned. For example, if an A/D converter overflow occurred, and
an SMU was oscillating during the measurements, the returned AAA
value is 3 (1 + 2).
Table 1-2 shows the binary data output format in control mode set by the US
command. The format used depends on the measurement mode selected.
Table 1-2Binary Data Output Format in US Control Mode
Measurement Mode Output Format
Binary Format in US Mode
Stress Force
High Speed Spot
Spot
1ch Pulsed Spot
Staircase Sweep,
Pulsed Sweep,
Staircase Sweep with
Pulsed Bias
Status <terminator>
a
Status is the status information sent after a stress force.
Data <terminator>
a
Data is the data measured by the measurement unit
specified for the high speed spot measurement using
the MM command.
Data1 [Data2] . . . . <terminator>
a
DataN (N: integer) is the data measured by one unit.
The order of Data is specified by the MM command.
Data <terminator>
a
Data is the data measured by the measurement unit
specified for the pulsed spot measurement using the
MM command.
Block1 [Block2] . . . . <terminator>
a
Block1 is the block of data measured at the first sweep
step. Block2 is the block of data measured at the second
sweep step.
where Block consists of the following data:
Data1 [Data2] . . . . [Source_data]
DataN (N: integer) is the data measured by one unit. The order of Data is specified by the MM command.
Source_data is the source data at the sweep step.
a. Terminator. <LF^EOI> or <,^EOI>, depending on the FMT command
4155C/4156C FLEX Commands
Binary Format in US Mode
Measurement Mode Output Format
Sampling
Block1 [Block2] . . . . <terminator>
a
Block1 is the block of the data measured at the first
sampling point.
Block2 is the block of the data measured at the second
sampling point.
where Block consists of the following data:
[Sampling_no] Data1 [Data2] . . . .
Sampling_no is the sampling point index. This value
depends on the sampling interval setting and the
measurement time.
If the measurement time is shorter than the sampling
interval, Sampling_no will be N of BlockN (N: 1, 2, 3
. . . ).
If the measurement time is longer than the sampling
interval, Sampling_no is not N of BlockN.
For example, if the measurement time is longer than
the sampling interval and shorter than twice the
sampling interval, then the Sampling_no is 2 for Block1, and 4 for Block2.
The measurement time depends on the settings of the
AV, AZ, SIT and SLI commands.
DataN (N: integer) is the data measured by one unit.
The order of Data is specified by the MM command.
The Sampling_no and Data values can be discarded
when the range changes in the auto or limited auto
ranging mode.
a. Terminator. <LF^EOI> or <,^EOI>, depending on the FMT command
4155C/4156C FLEX Commands
Binary Format in US Mode
Output Data The 4155C/4156C sends the measurement data (Data), source output data
(Source_data), sampling point index (Sampling_no), time data (Time), or status
information (Search or Status) in the format specified by the FMT 3 or FMT 4
command.
The binary data is six (6) bytes long, and consists of some blocks as shown below:
For Data, Source_data, Sampling_no, Search, Status:
4155C/4156C FLEX Commands
Binary Format in US Mode
C Explanation
10011100 mA or 100 mF
101001 A or 1 F
11111Invalid data is returned.
D : Value of Data, Source_data, or Sampling_no; 26 bits.
This value is expressed as 26-bit binary data. It is used to calculate the
measurement data or source output data, using the equations shown
below. For Sampling_no, this value is the binary expression of the
value. You do not need the following equations.
Equations:
Measurement data = Count ´ Range /1000000
Source output data = Count ´ Range /20000
where, Count is the decimal value of D, and Range is the value
indicated by C.
If the top bit of the 26-bit binary data is 0, the Count is positive and
equal to the decimal value of the 25-bit binary data that follows the top
bit.
If the top bit is 1, the measurement data is negative. Calculate the Count
by subtracting 33554432 (10000000000000000000000000 in binary)
from the decimal value of the 25-bit binary data.
4155C/4156C FLEX Commands
Binary Format in US Mode
E : Status; eight bits.
•Status for Source_data:
E Explanation
00000001Data is for the first or intermediate sweep step.
00000010Data is for the last sweep step.
•Status for Data, Sampling_no, or Status:
E Explanation
00000001A/D converter overflowed.
00000010One or more units are oscillating.
00000100Another unit reached its compliance setting.
00001000This unit reached its compliance setting.
Integration time too short for capacitance
measurement.
00010000The PGU reached its compliance setting.
00100000Sweep measurement was stopped by the ESC stop
condition. The returned data is effective.
01000000Invalid data is returned. D is not valid.
10000000EOD (End of Data).
If multiple status conditions are found, the sum of the status values
is returned. For example, if an A/D converter overflow occurred
and an SMU was oscillating during the measurements, the returned
value is 00000011 (00000001+00000010).
F : Channel number of the measurement/source unit; five bits.
Block1 is the block of data measured at the first sweep
step. Block2 is the block of data measured at the second
sweep step.
where Block consists of the following data:
Data [,Source_data]
Data is the measurement data. Source_data is the
source data at the sweep step.
Sampling
Block1 [,Block2] . . . . <terminator>
Block1 is the block of the data measured at the first
sampling point. Block2 is the block of the data
measured at the second sampling point.
where Block consists of the following data:
[Sampling_no,] Data1 [,Data2] . . . .
Sampling_no is the sampling point index. This value
depends on the sampling interval setting and the
measurement time.
a
a
If the measurement time is shorter than the sampling
interval, the Sampling_no will be N of BlockN (N: 1, 2,
3 . . . ). If the measurement time is longer than the
sampling interval, the Sampling_no is not N of BlockN.
For example, if the measurement time is longer than
the sampling interval and shorter than twice the
sampling interval, then the Sampling_no is 2 for Block1, and 4 for Block2.
The measurement time depends on the settings of the
AV, AZ, SIT and SLI commands.
DataN (N: integer) is the data measured by one unit.
The order of Data is specified by the MM command.
The Sampling_no and Data values can be discarded
when the range changes in the auto or limited auto
ranging mode.
a. Terminator. <CR/LF^EOI>, <^EOI> or , (comma), depending on the
4155C/4156C FLEX Commands
ASCII Format in US42 Mode
Output Data The 4155C/4156C sends the measurement data (Data), source output data
(Source_data), sampling point index (Sampling_no), or stress status information
(Status) in the format specified by the FMT 1, FMT 2, or FMT 5 command.
•ASCII format with header (output by FMT 1 or FMT 5):
ABCDDDDDDDDDDDD
where no space is included between the parameters.
4155C/4156C FLEX Commands
Binary Format in US42 Mode
Measurement Mode Output Format
Pulse Sweep,
Block1 [Block2] . . . . <terminator>
Staircase Sweep with
Pulsed Bias
Block1 is the block of data measured at the first sweep
step. Block2 is the block of data measured at the second
sweep step.
where Block consists of the following data:
Data [Source_data]
Data is the measurement data. Source_data is the
source data at the sweep step.
Sampling
Block1 [Block2] . . . . <terminator>
Block1 is the block of the data measured at the first
sampling point. Block2 is the block of the data
measured at the second sampling point.
where Block consists of the following data:
[Sampling_no] Data1 [Data2] . . . .
Sampling_no is the sampling point index. This value
depends on the sampling interval setting and the
measurement time.
a
a
If the measurement time is shorter than the sampling
interval, then the Sampling_no will be N of BlockN (N:
1, 2, 3 . . . ). If the measurement time is longer than the
sampling interval, then the Sampling_no is not N of
BlockN. For example, if the measurement time is
longer than the sampling interval and shorter than
twice the sampling interval, the Sampling_no is 2 for
Block1, and 4 for Block2.
The measurement time depends on the settings of the
AV, AZ, SIT and SLI commands.
DataN (N: integer) is the data measured by one unit.
The order of Data is specified by the MM command.
The Sampling_no and Data values can be discarded
when the range changes in the auto or limited auto
ranging mode.
a. Terminator. <CR/LF^EOI>, <^EOI> or , (comma), depending on the
4155C/4156C FLEX Commands
Binary Format in US42 Mode
C : Measurement or output range; five bits.
C Explanation
010100.2 V range.
010112 V or 1 nA range.
0110020 V or 10 nA range.
0110140 V or 100 nA range.
01110100 V or 1 mA range.
01111200 V or 10 mA range.
10000100 mA range.
100011 mA range.
1001010 mA range.
10011100 mA range.
101001 A range.
11111Invalid data is returned.
D : Value of Data, Source_data, or Sampling_no parameter. This value is
expressed in 17-bit binary data. It is used to calculate the measurement
data or source output data using the following equations.
For Sampling_no, this value is the binary expression of the sampling
measurement point index value. You do not need the following
equations.
Equations:
Measurement data = Count ´ Range /50000
Source output data = Count ´ Range /20000
where, Count is the decimal value of D, and Range is the measurement
range or output range indicated by C.
If the top bit of the 17-bit binary data is 0, the Count is positive and
equal to the decimal value of the 16-bit binary data that follows the top
bit.
If the top bit is 1, the measurement data is negative. Calculate the Count
by subtracting 65536 (10000000000000000 in binary) from the decimal
value of the 16-bit binary data.
This section provides the status byte information for the 4155C/4156C in the FLEX
command control mode. The information depends on whether the control mode is
set by US command or US42 command. See Table 1-5 and Table 1-6. The status
byte bit assignment shown in Table 1-6 is identical to the 4142B definition.
Table 1-5In the US Command Mode
Bit Description
0Emergency Status
Indicates whether any emergency has occurred. If the instrument is in
the emergency status, this bit is set to 1.
1Measurement/Stress Status
Indicates whether the measurement/stress force has been executed. If
the instrument is in the measurement/stress status, this bit is set to 1.
4155C/4156C FLEX Commands
Binary Format in US42 Mode
2not used
3Questionable Status
Indicates whether output buffer is empty. If an unread query response
exists, this bit is set to 1.
4MAV (Message Available summary-message)
Indicates whether output buffer is empty. If an unread message exists,
this bit is set to 1.
5ESB (Event Status Bit)
Shows the logical ORed value of the error summary register bits.
6Request Service (RQS) Message
Indicates whether an SRQ (Service Request) has occurred. You cannot
mask this bit.
The AB command aborts the present operation and subsequent command execution.
Syntax AB
Remarks The AB command stops the operation now in progress, such as the measurement
execution, source setup changing, and so on. But this command does not change the
present condition. For example, if the 4155C/4156C just keeps to force the dc bias,
the AB command does not stop the dc bias output.
The AB command sets the 4155C/4156C as listed in the following table.
Present Operation 4155C/4156C Setting
Staircase Sweep MeasurementsSets specified start voltage or current.
1ch Pulsed Spot MeasurementsSets specified base voltage or current.
Pulsed Sweep MeasurementsSets specified base voltage or current.
Staircase Sweep with Pulsed
Bias Measurements
Pulsed Sweep with Pulsed Bias
Measurements
Sampling MeasurementsSets specified base voltage or current.
Stress ForceSets specified base voltage or current.
Self-Test
Self-Calibration
a
a
WAIT State (PA or WS
command)
Program Execution (RU or DO
command)
Sets specified start voltage or current and
base voltage or current.
Sets specified base voltage or current.
Same as set by CL command.
Same as set by CL command.
Settings do not change.
Settings do not change.
a. The AB command cannot abort this operation if the AB command is
executed from the internal memory program. But the AB command
from the memory program can abort the automatic calibration.
If you start an operation that you may want to abort, do not send any command after
the command or command string that starts the operation. If you do, the AB
command cannot enter the command input buffer until the intervening command
execution starts, so the operation cannot be aborted. In this case, use the Device
Clear (CLEAR command in HP BASIC) to end the operation.
The ACH command is effective when the instrument is in the US42 command
mode. Otherwise, the ACH command is not required to control the 4155C/4156C.
The ACH command assigns the channel numbers used in the measurement
programs for the 4142B to the channel numbers available for the 4155C/4156C.
Insert the US42 command and the ACH command to assign the channel numbers for
the 4142B to the 4155C/4156C channel numbers at the beginning of the
measurement program which was created to control the 4142B.
The ACH command translates the 4142B channel numbers to the 4155C/4156C
channel numbers at the program execution. You do not need to change the 4142B
channel numbers defined in the commands that follow the US42 and ACH
commands in the program. Do not change the 4142B channel numbers in the
program. Otherwise, the channel number will not be translated correctly.
Syntax ACH [chnum[,4142ch]]
If you do not specify both chnum and 4142ch, channel number assignment is
canceled and all channel number assignments are cleared.
Parameter chnum : Channel numbers available for the 4155C/4156C. Integer expression.
See below.
chnum Unit chnum Unit
1SMU121VSU1
2SMU222VSU2
3SMU323VMU1
4SMU424VMU2
a
5
a
6
SMU526GNDU
SMU6
a. For MPSMUs in the 41501A/B Expander. For HPSMU,
4142ch : Channel number used in the measurement program for the 4142B. 1 to
28 channels are available. Integer expression.
If the measurement program includes the control routine for the
41425A AFU, you should not assign the channel numbers for AFU.
The channel numbers should be for the 41420A HPSMU, 41421B
MPSMU, 41422A HCU, 41423A HVU or 41424A VSU/VMU. If you
specify the channel numbers for HCU or HVU, some commands and
measurement ranges cannot be used for the 4155C/4156C. In this case,
you must modify the command parameter settings.
If you do not specify 4142ch, this channel number is not assigned. This
is same as ACH N,N command.
The AV command sets the number of samples that are taken and averaged for the
measurement. This command setting is ignored by the following measurement
mode.
1. 1ch pulsed spot measurements with "keep pulse width"
2. Pulsed sweep measurements with "keep pulse width"
3. Staircase sweep with pulsed bias measurements with "keep pulse width"
4. Sampling measurements with the sampling interval less than 2 msec (see the MT
command)
where, "keep pulse width" means the measurement setup which the PT command
priority parameter is set to 0 or default setting (see the PT command).
Syntax AV averaging number[,averaging mode]
Parameters averaging number : 1 to 1023 are available in US command mode. Numeric
expression.
1 to 1023, and -1 to -1023 are available in US42
command mode. Initial setting is 1.
Example
Statements
For positive number input, the number of samples is set to
averaging number.
For negative number (-1 to -100) input, the AV command
sets the 4155C/4156C integration time to LONG, and sets
the PLC (Power Line Cycle) value to averaging number. If
averaging number is -101 to -1023, the PLC value is
automatically set to -100. To return the integration time to
SHORT, use the SLI command.
averaging mode : 0 or 1. Integer expression. Initial setting is 0. Used as a
placeholder only, the value is ignored. This parameter is
just to keep the 4142B control command syntax.
The AZ command enables or disables the automatic zero offset function of the
internal A/D converter (ADC). This command is effective for the measurement
range more than 1 nA range.
The internal ADC automatic zero offset function must be set to ON to satisfy the
measurement accuracy specifications. Set the function to OFF in cases that the
measurement speed is more important than the measurement accuracy. This reduces
the integration time to approximately half if the integration time is set to approx. 10
msec or more.
US, US42, *RST commands and the device clear enable the function.
Syntax AZ mode
Parameters modeMode ON or OFF. 0 or 1 are available. Initial setting is 1.
The BC command clears the output data buffer that stores measurement data and
query command response data. This command does not change the measurement
settings.
The BGI command specifies the current monitor channel and its search parameters
in the binary search measurement. This command is only for the US control mode.
This command ignores the RI command setting.
This command setting is cleared by the BGV, LGV and LGI commands.
Execution
The MM 15 command must be sent before sending this command.
Conditions
Syntax BGI chnum,mode,condition,Irange,Itarget
Parameters chnum: Channel number of the unit used to measure the current. Integer
expression.
chnum Unit chnum Unit
1SMU14SMU4
2SMU2
3SMU3
a
5
a
6
SMU5
SMU6
a. For MPSMUs in the 41501A/B Expander. For HPSMU,
channel number is 6, not 5.
mode: Search mode. 0 (limit mode) or 1 (repeat mode). See condition.
condition: Search condition. The meaning of the condition parameter depends on
the mode setting:
modecondition
0 The condition parameter must be the limit value for the
search target (Itarget). in A. The search stops when the
measurement data reaches Itarget ± condition.
The parameter must be either 0 or a positive value.
1The condition parameter must be the times of current
change of the source unit in the binary search. The
parameter must be a value from 1 to 16.
Irange: Ranging type for current measurement. Integer expression.
range
Ranging Type
a
9 (only for 4156C)10 pA limited auto ranging
10 (only for 4156C)100 pA limited auto ranging
111 nA limited auto ranging
1210 nA limited auto ranging
13100 nA limited auto ranging
141 mA limited auto ranging
1510 mA limited auto ranging
16100 mA limited auto ranging
171 mA limited auto ranging
1810 mA limited auto ranging
19100 mA limited auto ranging
20 (only for HPSMU)1 A limited auto ranging
a. Limited auto ranging uses the lowest available measure-
ment range that covers the measurement value, where the
specified range is the minimum range. For example, 10 mA
limited auto ranging uses the 10 mA range to measure 1 nA,
and uses the 100 mA range to measure 50 mA.
Itarget: Search target current (in A). Numeric expression.
0 to ±100 mA for SMU, 0 to ±1 A for HPSMU.
NOTEItarget and Irange
If the Itarget value is greater than the minimum measurement range specified by the
Irange parameter, the measurement unit does not use the measurement ranges below the Itarget value. It uses the lowest range that covers the Itarget value.
RemarksIn the limit search mode, if the search cannot find Itarget and the following two
conditions are satisfied, the 4155C/4156C repeats the binary search between the last
source value of the previous search and the source stop value.
•Itarget is between the first measurement data and the data at:
source value = | stop - start | / 2.
•Itarget is between the last measurement data and the data at source stop.
If search cannot find Itarget and the following two conditions are satisfied, the
4155C/4156C repeats the binary search between the last source value of the
previous search and the source start value.
•Itarget is between the measurement data at source stop and the data at:
source value = | stop - start | / 2.
•Itarget is between the last measurement data and the data at source start.
The BGV command specifies the voltage monitor channel and its search parameters
in the binary search measurement. This command is only for the US control mode.
This command ignores the RV command setting.
This command setting is cleared by the BGI, LGV and LGI commands.
Execution
The MM 15 command must be sent before sending this command.
Conditions
Syntax BGV chnum,mode,condition,Vrange,Vtarget
Parameters chnum: Channel number of the unit used to measure voltage. Integer
expression.
chnum Unit chnum Unit
1SMU1
2SMU2
a
5
a
6
SMU5
SMU6
3SMU323VMU1
4SMU424VMU2
a. For MPSMUs in the 41501A/B Expander. For HPSMU,
channel number is 6, not 5.
mode: Search mode. 0 (limit mode) or 1 (repeat mode). See condition.
condition: Search condition. The meaning of the condition parameter depends on
the mode setting:
modecondition
0 The condition parameter must be the limit value for the
search target (Vtarget). in V. The search stops when the
measurement data reaches Vtarget ± condition.
The parameter must be either 0 or a positive value.
1The condition parameter must be the times of voltage
change of the source unit in the binary search. The
parameter must be a value from 1 to 16.
Vrange: Ranging type for voltage measurement. Integer expression.
BGV
10 (only for VMU in differential mode)0.2 V limited auto ranging
11 2 V limited auto ranging
12 (for SMU and VMU in grounded mode)20 V limited auto ranging
13 (for SMU)40 V limited auto ranging
14 (for SMU)100 V limited auto ranging
15 (only for HPSMU)200 V limited auto ranging
a. Limited auto ranging uses the lowest available measurement
range that covers the measurement voltage, where the specified
range is the minimum range. For example, 20 V limited auto
ranging uses the 20 V range to measure 1 V, and uses the 100 V
range to measure 50 V.
Vtarget: Search target voltage (in V). Numeric expression.
0 to ±100 for SMU, 0 to ±200 for HPSMU.
NOTEVtarget and Vrange
If the Vtarget value is greater than the minimum measurement range specified by the
Vrange parameter, the measurement unit does not use the measurement ranges below the Vtarget value. It uses the lowest range that covers the Vtarget value.
RemarksIn the limited search mode, if the search cannot find Vtarget and the following two
conditions are satisfied, the 4155C/4156C repeats the binary search between the last
source value of the previous search and the source stop value.
•Vtarget is between the first measurement data and the data at:
source value = | stop - start | / 2.
•Vtarget is between the last measurement data and the data at source stop.
If search cannot find Vtarget and the following two conditions are satisfied, the
4155C/4156C repeats the binary search between the last source value of the
previous search and the source start value.
•Vtarget is between the measurement data at source stop and the data at:
source value = | stop - start | / 2.
•Vtarget is between the last measurement data and the data at source start.
The BSI command specifies the current output channel, and its source parameters in
the binary search measurement. This command is only for the US control mode.
This command setting is cleared by the BSV, LSV and LSI commands.
After search stops, source output goes to the source start value.
Execution
The MM 15 command must be sent before sending this command.
Conditions
Syntax BSI chnum,range,start,stop[,Vcomp]
If you send this command to the program memory (see the ST command), do not
omit the Vcomp parameter. It is necessary when using the internal program memory.
Parameters chnum: Channel number of the unit used to force current. Integer expression.
chnum Unit
1SMU1
2SMU2
3SMU3
4SMU4
a
5
a
6
SMU5 (MPSMU)
SMU6 (MPSMU or HPSMU)
a. For SMUs in the 41501A/B Expander.
range: Ranging type for current output. Integer expression.
a. Auto ranging uses the lowest available output range that
covers the start and stop values. Limited auto ranging is the
same, but the specified range is the minimum range. For
example, 10 mA limited auto ranging uses the 10 mA range
to force 1 nA, and uses the 100 mA range to force 50 mA.
start: Source start current (in A). Numeric expression. See Table 1-7.
Example
Statements
The start and stop parameters must have different values.
0 to ±100E–3 for SMU, 0 to ±1 for HPSMU
stop: Source stop current (in A). Numeric expression. See Table 1-7.
The start and stop parameters must have different values.
0 to ±100E–3 for SMU, 0 to ±1 for HPSMU
Vcomp: Voltage compliance value (in V). Numeric expression. See Table 1-7.
If you do not specify this parameter, Vcomp remains at its previous
value.
The BSM command specifies the source output control mode in the binary search
measurement. This command is only for the US control mode.
Execution
The MM 15 command must be sent before sending this command.
Conditions
Syntax BSM mode
Parameters mode: Source output control mode, 0 (normal mode) or 1 (cautious mode). If
you do not enter this command, the normal mode is set.
Normal mode
(BSM 0)
The operation of the normal mode is explained below. In this example the voltage
output mode is described. The method is also effective for the current output mode.
measurement & judgement
Vstop
-
Vdiff /2
+Vdiff
Vdiff = | Vstop
-
+Vdiff /4
Vdiff /8
-
-
Vdiff /16
+Vdiff /32
+Vdiff /64
Vstart |
target found
Vstart
measurement
1. The source unit forces Vstart, and the monitor unit makes a measurement.
2. The source unit forces Vstop, and the monitor unit makes a measurement.
If the target value is out of the range between the measured value at Vstart and
the measured value at Vstop, the search stops.
3. The source unit forces Vdiff /2, and the monitor unit makes a measurement.
If the result value is not the target value, the result value is used to decide the
direction (+ or –) of the next voltage change. The value of the change is always
half of the previous change.
4. Repeats this voltage change and measurement until the search condition is
satisfied. For information on the search condition, see the BGV or BGI
command. If the source change value is less than the setting resolution, the
search stops.
BSM
Cautious mode
(BSM 1)
The operation of the cautious mode is explained below. In this example the voltage
output mode is described. This method is also effective for the current output mode.
Vstop
-
measurement & judgement
Vdiff = | Vstop
-
+Vdiff /4
+Vdiff /2
Vdiff /8
-
Vdiff /16
+Vdiff /32
Vstart |
target found
+Vdiff /64
Vstart
measurement
1. The source unit forces Vstart, and the monitor unit makes a measurement.
2. The source unit forces Vdiff /2, and the monitor unit makes a measurement.
If the result value is not the target value, the result value is used to decide the
direction (+ or –) of the next voltage change. The value of the change is always
half of the previous change.
Example
Statements
3. Repeats this voltage change and measurement until the search condition is
satisfied. For information on the search condition, see the BGV or BGI
command. If the source output value is less than the setting resolution, the
search stops.
The BSSI command specifies the synchronous current output channel and its source
parameters in the binary search measurement. This command is only for the US
control mode.
The synchronous source output will be:
Synchronous source output = BSI source output + offset current
where BSI source output means the output set by the BSI command. This command
cannot be used with the BSV command (voltage force binary search).
This command setting is cleared by the BSSV, LSSV, or LSSI command.
Execution
Conditions
The MM 15 command must be sent before sending this command.
The BSI command must be sent before sending this command.
Syntax BSSI chnum,polarity,offset[,Vcomp]
If you enter this command into the program memory (see the ST command), do not
omit the Vcomp parameter. It is necessary when using the internal program memory.
Parameters chnum: Channel number of the unit used for synchronous current source.
Integer expression.
chnum Unit
1SMU1
2SMU2
3SMU3
4SMU4
a
5
a
6
SMU5 (MPSMU)
SMU6 (MPSMU or HPSMU)
a. For SMUs in the 41501A/B Expander.
polarity: Polarity of the BSI source output. 0 (negative) or 1 (positive).
if you set polarity=0, synchronous output = -BSI output +offset.
if you set polarity=1, synchronous output = BSI output + offset.
The BSSV command specifies the synchronous voltage output channel, and its
source parameters in the binary search measurement. This command is only for the
US control mode.
The synchronous source output will be:
Synchronous source output = BSV source output + offset voltage
where BSV source output means the output set by the BSV command. This
command cannot be used with the BSI command (current force binary search).
This command setting is cleared by the BSSI, LSSV, or LSSI command.
Execution
Conditions
The MM 15 command must be sent before sending this command.
The BSV command must be sent before sending this command.
Syntax BSSV chnum,polarity,offset[,Icomp]
If you enter this command into the program memory (see the ST command), do not
omit the Icomp parameter. It is necessary when using the internal program memory.
Parameters chnum: Channel number of the unit used for synchronous voltage source.
The BSV command specifies the voltage output channel, and its source parameters
in the binary search measurement. This command is only for the US control mode.
This command setting is cleared by the BSI, LSV, or LSI command.
After search stops, source output goes to the source start value.
Execution
The MM 15 command must be sent before sending this command.
Conditions
Syntax BSV chnum,range,start,stop[,Icomp]
If you enter this command into the program memory (see the ST command), do not
omit the Icomp parameter. It is necessary when using the internal program memory.
Parameters chnum: Channel number of the unit used to force the voltage. Integer
expression.
chnum Unit
1SMU1
2SMU2
3SMU3
4SMU4
a
5
a
6
SMU5
SMU6
21VSU1
22VSU2
a. For MPSMUs in the 41501A/B Expander. For HPSMU,
range: Ranging type for voltage output. Integer expression.
range
Ranging Type
a
0Auto ranging
11 (for SMU)2 V limited auto ranging
1220 V limited auto ranging
13 (for SMU)40 V limited auto ranging
14 (for SMU)100 V limited auto ranging
15 (only for HPSMU)200 V limited auto ranging
a. Auto ranging uses the lowest output range that covers the
start and stop values. Limited auto ranging is the same, but
the specified range is the minimum range. For example, 20
V limited auto ranging uses the 20 V range to force 1 V
start value to 10 V stop value.
start: Source start voltage (in V). Numeric expression. See Table 1-8.
The start and stop parameters must have different values.
0 to ±100 for SMU, 0 to ±200 for HPSMU.
stop: Source stop voltage (in V). Numeric expression. See Table 1-8.
Example
Statements
The start and stop parameters must have different values.
0 to ±100 for SMU, 0 to ±200 for HPSMU.
Icomp: Current compliance value (in A). Numeric expression. See Table 1-8. If
you do not specify this parameter, Icomp remains at its previous value.
Zero amps (0 A) is not allowed for Icomp.
The CA command performs calibration of the measurement unit. When you execute
the CA command, the output switches of the specified units are set to OFF.
Syntax CA [slotnum]
Parameters slotnum: Slot number. Integer expression. See below.
slotnum Unit calibrated
0GNDU
1SMU1
2SMU2
3SMU3
4SMU4
CA
Example
Statements
a
5
a
6
SMU5
SMU6
7VSU1, VSU2, VMU1 and VMU2
8PGU1 and PGU2
a. For MPSMUs in the 41501A/B Expander. For HPSMU,
channel number is 6, not 5.
If you do not specify slotnum, all units are calibrated.
The CL command disables the specified units by setting the output switches to OFF.
Execution
Conditions
No unit may be in the HIGH VOLTAGE state (forcing more than ±40 V, or voltage
compliance set to more than ±40 V). However, if you do not specify chnum for CL
command, there are no restrictions on the execution conditions.
Syntax CL [chnum[,chnum...[,chnum]...]]
Parameters chnum: Channel number. Integer expression. See below.
chnum Unit disabled chnum Unit disabled
1SMU121VSU1
2SMU222VSU2
3SMU3
4SMU4
b
5
b
6
SMU526GNDU
SMU627PGU1
23
24
a
a
28PGU2
a. VMU1 and VMU2 have the output switch in common.
b. For MPSMUs in the 41501A/B Expander. For HPSMU,
channel number is 6, not 5.
VMU1
VMU2
If you do not specify chnum in the US command mode, the 4155C/4156C sets all
units to 0 V in order, from higher voltage range (output range or measurement
range) to lower voltage range, and all output switches are set to OFF.
If you do not specify chnum in the US42 command mode, the CL command does
not open the output switch of GNDU and VMU. For SMU, VSU and PGU, the
4155C/4156C does the same operation as in the US command mode.
If you specify multiple chnums, the 4155C/4156C sets the units to 0 V in the
specified order, and the output switches are set to OFF.
For example, OUTPUT @Hp4156;"CL 1,2,3" disables SMU1, SMU2, and SMU3,
in that order.
The *CLS command clears the status byte register, standard event status register,
and error register. This command does not clear the enable registers.
This command also stops the monitoring of pending operations by the *OPC
command.
The CM command sets the Auto-Calibration mode to ON or OFF. If
Auto-Calibration is ON, and the following two conditions are satisfied, the
4155C/4156C automatically calibrates all units every 30 minutes.
•Output switches of all units have been OFF for 30 minutes
•The ST command is not entered at least 30 minutes after entering the last END
command.
Syntax CM mode
Parameters mode: Auto-calibration mode ON/OFF. Integer expression. See below.
The measurement mode set by this command is kept until the measurement mode is
specified again by this command. If you want to return the setting to the normal
mode (initial measurement mode), enter the CMM command with mode=0.
Syntax CMM chnum,mode
Parameters chnum : Channel number of SMU. Integer expression. See below.
chnum Unit chnum Unit
1SMU14SMU4
CMM
2SMU2
3SMU3
a
5
a
6
SMU5
SMU6
a. For MPSMUs in the 41501A/B Expander. For HPSMU,
channel number is 6, not 5.
mode : Measurement mode. 0 to 3 are available. Integer expression. See below.
mode Description
0Compliance side measurement (initial setting). If SMU is
in the voltage source mode, SMU does current
measurement. If SMU is in the current source mode, SMU
does voltage measurement.
1Current measurement. SMU does current measurement,
regardless of the SMU output source mode.
2Voltage measurement. SMU does voltage measurement,
regardless of the SMU output source mode.
3Force side measurement. If SMU is in the voltage source
mode, SMU does voltage measurement. If SMU is in the
current source mode, SMU does current measurement.
The DI command forces current from the specified unit.
Execution
Conditions
The CN command has been executed for the specified unit. If the voltage
compliance is greater than ±40 V, the interlock circuit must be shorted.
Syntax DI chnum,range,current[,Vcomp[,comp polarity]]
If you enter the DI command into the program memory (see the ST command), do
not omit the Vcomp parameter. Vcomp is necessary when using the internal program
memory.
Parameters chnum: Channel number of the unit used to force current. Integer expression.
chnum Unit
1SMU1
2SMU2
3SMU3
4SMU4
a
5
a
6
SMU5
SMU6
a. For MPSMUs in the 41501A/B Expander. For HPSMU,
channel number is 6, not 5.
range: Range type for current output. Integer expression.