ZX8533 SCPI Command Quick Reference Manual
Applicable models: ZX8533A/S/MGT, ZX6538A/B | Version: VER:3.1.11+ (2026-10)| Commands in tables can be clicked to copy
1. Quick Start
| Item | Parameter |
|---|---|
| RS232 / USB CDC | Starting at 9600 8N1 (baud rate multiplier can be changed in system settings), commands end with
(LF), responses end with
|
| GPIB / USBTMC | Standard VISA addressing, EOI terminated |
| RS485 | Uses Modbus RTU protocol stack, does not use the SCPI commands in this manual |
| Case sensitivity | Case-insensitive; long and short names are equivalent (e.g. :FREQuency = :FREQ) |
| Multiple Commands | Separated by ; on one line; ; followed by : indicates a new root command, without it indicates the same root |
Three-Command Power-On Check:
*IDN? → ZXP,ZX8533A,ZB23098357,VER:3.1.11 (communication is normal if read) :FREQ? → +1.00000E+03 (current frequency 1kHz) FETC? → +2.17034E-06,+4.24065E-04,+0,+0 (primary parameter, secondary parameter, status, Bin number)
2. Command Overview
2.1 Common Commands (IEEE 488.2)
| Command (Click to Copy) | Type | Function / Response |
|---|---|---|
| *IDN? | Query | Instrument identification: ZXP, model, serial number, version |
| *RST | Set | Reset to factory default settings |
| *TRG | SetPending | Bus trigger (requires :TRIG:SOUR BUS and INIT:CONT ON), automatically outputs result after measurement completes |
| *OPC | Set | Register "Operation Complete": sets ESR OPC bit (bit0) after all pending operations complete |
| *OPC? | QueryPending | Waits for all operations to complete before returning +1 (see Chapter 3) |
| *WAI | SetPending | Wait for all pending operations to complete (no response) |
| *CLS | Set | Clear all status/event registers and error queue (must be called every polling synchronization cycle, see 3.1) |
| *ESE <n> | Set | Write standard event enable register (0~255) |
| *ESE? | Query | Read ESE, e.g. +1 |
| *ESR? | Query | Read standard event register (cleared after read): +32=command error, +1=operation complete, +128=power on |
| *SRE <n> | Set | Write service request enable register |
| *SRE? | Query | Read SRE |
| *STB? | Query | Read status byte (read only): bit4(16)=data available MAV, bit7(128)=operation status summary |
| *TST? | Query | Self-test, always returns +0 |
| *LRN? | Query | Full instrument setting snapshot (replayable compound command string) |
2.2 Measurement Conditions (Frequency/Level/Speed/Output Impedance/Bias)
| Command | Type | Function / Response |
|---|---|---|
| :FREQ 100K | Set | Set measurement frequency to 100kHz (supports Hz/kHz/MHz suffixes, MIN/MAX) |
| :FREQ? | Query | +1.00000E+05 |
| :VOLT 0.5 | Set | Set voltage level to 0.5V (5mV~2V, switches to voltage mode) |
| :VOLT? | Query | +5.00000E-01 |
| :CURR 10m | Set | Set current level to 10mA (50uA~20mA, switches to current mode) |
| :CURR? | Query | +1.00000E-02 |
| :APER MED | Set | Measurement speed SHORt/MED/LONG/LONG2, can include averaging count :APER MED,10 |
| :APER? | Query | MED, 1 |
| :RSOU 100 | Set | Output impedance 30/100/LOWZ |
| :RSOU? | Query | 100 |
| :AMPL:ALC ON | Set | Automatic level control ON/OFF |
| :AMPL:ALC? | Query | 1/0 |
| :BIAS:STAT ON | Set | Bias switch ON/OFF |
| :BIAS:VOLT 2 | Set | Bias voltage (upper limit depends on bias current source: internal 2V/external 10V/option 40V) |
| :BIAS:CURR 0.1 | Set | Bias current (silently ignored when IntBias) |
| :OUTP:HPOW INT | SetWrite Flash | Bias current source INT/OPT1/EXT (rejected when BiasOn) |
| :OUTP:DC:ISOL OFF | Set | DC isolation ON/OFF |
2.3 Measurement Functions and Ranges
| Command | Type | Function / Response |
|---|---|---|
| :FUNC:IMP CPD | Set | Measurement function: CpD/CpQ/CsD/CsRs/LpD/LsQ/ZTD/RX/DCR etc. (see FuncTokTab) |
| :FUNC:IMP? | Query | cpd |
| :FUNC:IMP:RANG 100 | Set | Lock range to 100Ω (automatically turns off AUTO after setting; supports kohm/mohm suffixes) |
| :FUNC:IMP:RANG:AUTO ON | Set | Auto range ON/OFF |
| :FUNC:SMON:VAC ON | Set | Source voltage monitor ON/OFF |
| :FUNC:DEV1:MODE PERC | Set | Deviation mode ABS/PERC/OFF (same for DEV2) |
| :FUNC:DEV1:REF 100 | Set | Deviation reference value |
| :FUNC:DEV1:REF:FILL | Set | Fill reference value with current measurement value |
2.4 Data Fetch (Core)
| Command | Type | Function / Response |
|---|---|---|
| FETC? | QueryPending | Fetch latest measurement: primary parameter, secondary parameter, status, Bin number (will wait for new result during measurement, see Chapter 3) |
| FETC:IMP? | QueryPending | Same as FETC? |
| FETC:MPRES? | QueryPending | Multi-parameter fetch: 4 or 6 parameters + overall pass bit (all 0 when empty fixture detection is on and no device) |
| FETC:SMON:VAC? | QueryPending | Source voltage monitor value (returns +9.90000E+37 when not enabled) |
| FETC:IMP:AUTO OFF | Set | Turn off auto-send (actively send data after each measurement) |
| :FORM ASC | Set | FETCh response format ASC/HEX |
2.5 Trigger
| Command | Type | Function / Response |
|---|---|---|
| :TRIG:SOUR BUS | Set | Trigger source INT/EXT/BUS/HOLD |
| :TRIG:SOUR? | Query | INT |
| :TRIG | Set | Trigger immediately once |
| :TRIG:DEL 0.01 | Set | Trigger delay (seconds, max 60s) |
| :INIT:CONT ON | Set | Continuous measurement ON/OFF |
| :INIT:IMM | Set | Initialize immediately (works with *TRG) |
2.6 Calibration (Aligned with E4980A)
| Command | Type | Function / Response |
|---|---|---|
| :CORR:OPEN | SetPendingWrite Flash | Full-point open correction (keep fixture open! Subsequent commands respond only after correction completes) |
| :CORR:SHOR | SetPendingWrite Flash | Full-point short correction (short the fixture) |
| :CORR:OPEN:STAT ON | SetWrite Flash | Open correction data enable ON/OFF (same for SHOR/LOAD) |
| :CORR:LENG 1 | SetWrite Flash | Cable length 0/1/2/4 m (2m/4m requires OEM calibration data) |
| :CORR:LOAD:TYPE CPD | SetWrite Flash | Function type for load correction |
| :CORR:SPOT1:FREQ 1K | SetWrite Flash | Spot frequency correction points 1~201 (aligned with E4980A): set frequency for point n |
| :CORR:SPOT1:STAT ON | SetWrite Flash | Enable point n (SPOT1~SPOT201) |
| :CORR:SPOT1:OPEN | SetPendingWrite Flash | Open correction for point n (same for SHOR/LOAD) |
| :CORR:SPOT1:LOAD:STAN 100,0 | SetWrite Flash | Load standard values A,B for point n |
| :CORR:SPOT1:FREQ? | Query | +1.00000E+03 |
| :CORR:USE:DATA? | Query | Open/short/load data for SPOT1~3 (18 values) |
| :CORR:DCR:OPEN | Set | DCR open correction (same for SHOR) |
2.7 Comparator (Binning)
| Command | Type | Function / Response |
|---|---|---|
| :COMP ON | Set | Comparator switch |
| :COMP:MODE ATOL | Set | Mode ATOL/PTOL/SEQ/DIR (switching mode clears the limit table) |
| :COMP:TOL:NOM 0.0001 | Set | Nominal value |
| :COMP:TOL:BIN1 -1,1 | Set | BIN1~BIN10 lower/upper limits (returns 9.9E37 if not set) |
| :COMP:SEQ:BIN 0,1,2,3,4,5,6,7,8,9,10 | Set | SEQ mode 11 boundaries (requires MODE SEQ first) |
| :COMP:SLIM -0.01,0.01 | Set | Secondary parameter limits |
| :COMP:SWAP ON | Set | Swap primary and secondary parameters |
| :COMP:BIN:COUN:DATA? | Query | BIN1~9, AUX, OUT, 11 counts total |
| :COMP:BIN:COUN:CLE | Set | Clear bin counts |
2.8 List Sweep (Including Chuanxiang Dual-Frequency Customization)
| Command | Type | Function / Response |
|---|---|---|
| :LIST:MODE SEQ | Set | SEQ/STEP sweep mode |
| :LIST:FREQ 1K,10K,100K | Set | Up to 10-point frequency table (VOLT/CURR/BIAS:VOLT same structure) |
| :LIST:BAND1 A,-1,1 | Set | BAND1~10 comparison bands: A/B/OFF, lower limit, upper limit |
| :LIST:CLE | Set | Clear sweep table |
| :LIST:TMOD DIR | Set | Chuanxiang dual-frequency limit mode PTOL/DIR (affects MPLMT? response) |
| :LIST:TFR1 1K | Set | Chuanxiang dual-frequency frequency 1 (TFR2=frequency 2) |
| :LIST:FLMT:BIN1 -1.0E-6,+1.0E-6 | Set | Dual-frequency C limits BIN1~3 (SLMT=D limits) |
2.9 Multi-Parameter (MGT Solid Capacitor)
| Command | Type | Function / Response |
|---|---|---|
| :MPSET:LINE1 CPD,1K,1,ON | Set | Measurement conditions for row 1~6: function, frequency, level, switch |
| :MPSET:LINE1? | Query | CpD,+1.00000E+03,+1.00000E+00,ON |
| :MPSET:LINE1:SPEED FAST | Set | Row speed FAST/MED/SLOW |
| :MPSET:LINE1:LIM ABS | Set | Row limit mode ABS/PERC |
| :MPSET:LINE1:DEL 0.001 | Set | Row delay (seconds) |
| :MPSET:LINE1:OFFSET 0.0 | Set | Row compensation value (OFFS short name also supported) |
| MPSET:OPEN | Set | Multi-parameter open zeroing (automatically switches to multi-parameter measurement page) |
| MPSET:SHOR | Set | Multi-parameter short zeroing |
| MPSET:OPE? | Query | Multi-parameter open zeroing data (6 values) |
| MPSET:OPSH ON | Set | Zeroing data valid switch |
| MPSET:OSW ON | Set | Compensation switch |
| MPSET:FCHK ON | Set | Fixture empty detection switch (added in 202610, empty fixture → displays NC/PIN9/data all 0) |
| MPSET:FCHK? | Query | 1/0 |
| MPSET:HOUT 8516GT | Set | Handler output mode LPASS/LFAIL/APASS/8516GT |
| MPLMT ABS | Set | Limit mode ABS/PERC (DIR is set by LIST:TMOD) |
| MPLMT? | Query | ABS/PERC/DIR |
| :MPLMT:LINE1 100u,90u,110u | Set | Row 1~6 limits: nominal, lower limit, upper limit |
| :MPLMT:LINE1? | Query | +1.00000E-04,+9.00000E-05,+1.10000E-04 |
2.10 System/Status/File/Other
| Command | Type | Function / Response |
|---|---|---|
| SYST:ERR? | Query | Read error queue (cleared upon read): +0,"No error" or -102/-113 (see Chapter 4) |
| SYST:TIME? | Query | 9,57,12 (hour, minute, second; can set) |
| SYST:DATE? | Query | 2026,10,13 (can set) |
| SYST:FSH 1 | Set | E4981A frequency shift -2%~+2% |
| :STAT:OPER? | Query | Operation event register (cleared after read): +16=measurement complete, +1=correction complete |
| :STAT:OPER:COND? | Query | Operation condition register (read only): 16=measuring, 1=correcting |
| :STAT:OPER:ENAB 16 | Set | Operation event enable (for polling synchronization, see 3.3) |
| :STAT:FOOT? | Query | Foot switch/Handler trigger handshake (cleared after read) |
| :DISP:PAGE MEAS | Set | Switch page: MEAS/BNUM/BCO/LIST/MSET/CSET/LTAB/LSET/SYST/MPSET/MPLMT/MPDISP |
| :DISP:LINE "HELLO" | Set | Message line display (≤20 characters, visible only on file list page) |
| :MMEM:LIST? | Query | Internal file list |
| :MMEM:LOAD:STAT 1 | Set | Load file number 1 (overwrites current settings) |
| :MMEM:STOR:STAT 1 | SetWrite Flash | Save to file number 1 |
| :RS232:PRIN ON | Set | Automatic measurement result transmission (RS232/CDC) |
3. Data Fetch and Wait Logic (Must-Read for Host Computers)
Core conflict: Measurements take tens to hundreds of ms, and results may not be ready when the host computer sends the fetch command. This instrument provides 4 synchronization methods; choose according to host computer requirements. Remember one premise: This instrument's FETCh? waits for a "new" measurement to complete before responding (different from Keysight standard — E4980A's FETCh? directly returns the last result).
3.1 Scenario 1: *STB? Polling (First Choice for Host Computers, the Only Correct Solution for Smooth RS232 Interface)
The method actually used in our factory's host computers: clear status once after fetching data, then short-read poll the status byte; when 128 (measurement complete event summary bit) appears, fetch data. All host computers with interfaces should use this method.
// Initialize once
write(":STAT:OPER:ENAB 16
"); // Enable "measurement complete" event bit
// Each measurement cycle:
write("FETC?
"); readline(buf); // Fetch this data
write("*CLS
"); // ★Key: re-arm (clear event register)
// Can also use :STAT:OPER? read once instead of *CLS
while (1) {
write("*STB?
"); readline(buf); // Returns in a few ms each time, UI doesn't freeze
if (atoi(buf) & 128) break; // 128=new measurement complete
sleep_ms(30); // Progressive backoff can be relaxed further
}
// Break out of loop = new data available → return to top FETCH
Why *CLS (or read :STAT:OPER? once) is needed every cycle: The event register is latched — after being set, it can only be cleared by *CLS or :STAT:OPER? (cleared after read). If not cleared, the STB's 128 bit will always be 1, and the polling logic fails directly. This is IEEE 488.2 standard semantics.
3.2 Scenario 2: SRQ Event-Driven (GPIB/USBTMC, Most Efficient)
// VISA pseudocode
viWrite(":INIT:CONT ON
*ESE 1
*SRE 32
"); // ESE.0=OPC, SRE.5=ESB
viEnableEvent(SRQ); // Register SRQ callback
viWrite("*TRG
"); // Trigger (auto-report on measurement complete)
// Measurement complete → instrument STB reports SRQ → VISA callback invoked → FETCh? in callback
No polling at all, most efficient; RS232 has no SRQ line, so it cannot be used (use 3.1 for serial port).
3.3 Scenario 3: Simplest — Direct FETCh? (Entry-Level/Quick Verification)
The instrument internally suspends FETCh? and responds only after the current measurement completes. The host computer only needs to ensure the read timeout is greater than the measurement cycle (fast range ~50ms, slow range may be several hundred ms, recommended timeout ≥2s as fallback).
// C pseudocode (RS232/CDC common)
write(":FREQ 100K
"); // Set conditions
write("FETC?
");
char buf[128];
readline(buf, timeout=2000); // Instrument automatically waits for new measurement to complete
// buf = "+2.17034E-06,+4.24065E-04,+0,+0"
Note: In external trigger (EXT) mode, if there is no trigger signal for a long time, FETCh? will wait indefinitely — after host computer timeout, press ESC or switch pages to unlock (firmware after 202610 has been hardened, no deadlock).
3.4 Scenario 4: *OPC? Blocking Synchronization (Easiest for Scripts/Fixtures)
write(":CORR:SHOR
"); // Initiate short correction (slow operation)
write("*OPC?
"); // Instrument suspends until correction completes, then returns +1
readline(buf, timeout=60000); // Correction is slow, give sufficient timeout
// Received +1 = correction truly completed
Applicable to: test fixtures, production line scripts, etc. where "shorter code is better, blocking doesn't matter". Do not use this for serial port host computers with interfaces — it will freeze the UI (use 3.1 polling).
3.5 Scenario 5: *OPC + *ESR? Event Query (Does Not Suspend Parser)
write("*CLS
"); // Clear events
write("*ESE 1
"); // Enable OPC bit
write(":CORR:OPEN
"); // Initiate correction
write("*OPC
"); // Register: set ESR bit0 upon completion
// ... Host computer does other things ...
write("*ESR?
"); readline(buf); // Poll event register
if (atoi(buf) & 1) { /* OPC=1, correction complete */ }
3.6 Quick Reference for Choosing Among the Four Methods
| Host Computer Type | Recommended Method | Bus |
|---|---|---|
| Host computer with interface (needs smoothness) | 3.1 *STB? polling | All (only choice for RS232) |
| Multi-instrument/multi-thread (needs efficiency) | 3.2 SRQ event | GPIB/USBTMC only |
| Script/fixture (shortest code) | 3.3 FETCh? or 3.4 *OPC? | All |
| Event-style without suspending parser | 3.5 *OPC+*ESR? polling | All |
4. Error Code Table (SYST:ERR?)
Starting from 202610, the instrument has a built-in IEEE 488.2 standard error queue: each error is queued, SYST:ERR? reads them one by one (cleared upon read), empty queue returns +0,"No error", *CLS clears the queue. When the queue is full (16 entries), the oldest is discarded and the ESR QYE bit is set.
| Code | Text | Meaning / Trigger Scenario | E4980A Comparison |
|---|---|---|---|
| +0 | "No error" | Queue empty | Consistent |
| -102 | "Syntax error" | Syntax error: wrong parameter format, wrong subcommand name, dot out of range (e.g. SPOT202), etc. | Consistent (standard code) |
| -113 | "Undefined header" | Undefined command header (command name misspelled, e.g. :BADCMD) | Consistent (standard code) |
| -350 | "Queue overflow" | Output buffer full (reported when response is truncated due to excessive length; previously silently lost) | Consistent (standard code) |
① Screen message line displays the erroneous command in red (first 10 characters);
② Error queue (SYST:ERR? can read details);
③
*ESR? CME bit (+32) is set (standard 488.2 summary).Debugging suggestion: The host computer does not need to check for errors after every command; during joint debugging, send SYST:ERR? once at key nodes. Read the error queue until empty.
5. E4980A Compatibility Notes
| Item | This Instrument | E4980A | Notes |
|---|---|---|---|
| Spot frequency correction range | SPOT1~201 | SPOT1~201 | Fully consistent (aligned in 202610) |
| FETCh? semantics | Waits for new measurement to complete before responding | Returns most recent result | Intentional difference (production line PLC habit); for new data using READ? semantics, use :TRIG + polling instead |
| Error codes | -102/-113/-350 | Same | Standard codes consistent |
| Response numeric format | %+12.5E | %+12.5E | Consistent |
| Long/short names | Short name = uppercase prefix (standard) | Same | Middle-length abbreviations not supported on either side |