59
GPIB, RS232 and USB Command description for standard matrices
Command Syntax Response Action
1 *IDN? MP-2U18S-30-GPIB
Returns string in ’Model Name’ in the configuration file.
As a minimum will have model name.
Could also have: Vendor, model, serial number, firmware revision (The response shown in this table
is just an example).
2 *OPC? 1 or 0 Gives 1 if previous operation was completed and gives 0 if previous operation is still not complete.
3 *RST
Puts all switches in the default position. (Transfer switches in pos.1. Most other switches in pos. 0 =
open).
4 ROUTE:SWITCHx y or :SWITCHx y Closes position y on switch x
5 ROUTE:SWITCHx? or :SWITCHx? n Gives current position of switch x
18 SYST:SERIALNUMBER? n Returns system serial number
22 SYST:ERR? or SYST:ERROR? -4,SYNTAX ERROR
Returns system error number and error description. (The response shown in this table is just an
example).
23 SYST:STATUS?
SWITx y;SWITx y;SWITx
y;… ;SWITx y;LOC;PWR1
OK;PWR2 FAULT;
ERRORS 5,3;0
This command will return all Switch positions, Local/Remote mode, Power supply status and Errors
list in the error buffer separated by a semicolon.
24 SYST:SCREENSAVER? n Returns time setting for the screen saver (n is in minutes)
25 SYST:SCREENSAVER x Sets time setting for the screen saver (x is in minutes)
26 SYST:GPIBADDRESS? 9 Returns matrix system’s GPIB address
27 SYST:GPIBADDRESS x Sets matrix system’s GPIB address to x
31 *CLS Clear Status Command used to clear the Event Register in all register groups.
32 *ESE Command used to enable bits in the Standard Event Status Enable register.
33 *ESE? Query used to read the content of the Standard Event Status Enable register.
34 *ESR? Query used to read the content of the Event Status Register.
35 *OPC
Sets the Operation Complete bit in the Event Status Register when all pending operations have
been finished.
36 *STB? Query used to read the content of the Status Byte Register.
37 *SRE Command used to enable bits in the Service Request Enable register.
38 *SRE? Query used to read the content of the Service Request Enable register.
39 *WAI
This command prevents the matrix from executing any further commands or queries until the current
commands have been processed.
Note 1: Missing command numbers are commands reserved for Ethernet matrices and not applicable to GPIB models.
Note 2: Commands related to the GPIB controller’s registers *ESE, *ESE?, *ESR?, *STB?, *SRE, *SRE? can NOT
be concatenated.