SCPI and IEEE488.2 Common Commands

*CLS

Clears all event registers including the status byte, event status, and error queue.

Cancels the wait operation set by the *OPC or *OPC? command.

Command

*CLS

*ESE

Sets the event status enable register that is counted by the event summary bit (ESB) of the status byte.

Command

*ESE <NR1>

*ESE?

Parameter

Value: 0 to 255
A SCPI error (-222, "Data out of range") occurs if outside the range.

(Example) When *ESE 16 is transmitted, bit 4 of the event status enable register is set. Each time the execution error bit (bit 4) of the event status register is set, the summary bit (ESB) of the status byte is set.

Response

Returns the value of the event status enable register in the NR1 form in response to *ESE?.

*ESR

Queries the event status register. This register is cleared when it is read.

Command

*ESR?

Response

Returns the value of the event status register in the NR1 form in response to *ESR? and clears the register.

*IDN

Queries the model name and firmware version of the KFM2150.

Command

*IDN?

Response

The response to *IDN? is indicated below.

(Example) For KFM2150, serial number: AB123456, and ROM version 1.00
Returns KIKUSUI,KFM2150,AB123456,1.00.

*OPC

Sets the OPC bit (bit 0) of the event status register when the processing of all commands standing by is complete.

See section 12.5.3 in IEEE 488.2-1992

Command

*OPC

*OPC?

Response

Returns 1 when the processing of all commands standing by is complete in response to *OPC?.

*RCL

Aborts the measurement operation and reads the contents stored in memory (0 to 3).

Memory 0 is read-only and contains factory default settings.

For the commands that are affected, see Table 4.

Command

*RCL {0|1|2|3}

Parameter

Value: 0 Factroy default settings
  1 Memory A
  2 Memory B
  3 Memory C
  A SCPI error (-222, "Data out of range") occurs if outside the range.

*RST

Aborts the measurement operation and initializes the KFM2150 to factory default condition. However, the contents of the three memories remain unchanged.

For the commands that are affected, see Table 4.

Command

*RST

*SAV

Saves the current settings of the device to the memory (1 to 3). The settings that are stored are the same as those recalled using the *RCL command.

Command

*SAV {1|2|3}

Value: 1 Memory A
  2 Memory B
  3 Memory C
  A SCPI error (-222, "Data out of range") occurs if outside the range.

*SRE

Sets the service request enable register.

The service request enable register is used to select the summary messages in the status byte register that will be able to perform service requests.

To clear the service request enable register, send *SRE 0. If the register is cleared, service requests cannot be generated by status information.

Command

*SRE <NR1>

*SRE?

Parameter

Value: 0 to 255  
  A SCPI error (-222, "Data out of range") occurs if outside the range.

(Example) Sending *SRE 8 sets bit 3 of the service request enable register. Each time the summary bit (bit 3) of the QUEStionable status register in the status byte is set, a service request message is generated.

Response

Returns the value of the service request enable register in the NR1 form in response to *SRE?.

*STB

Queries the contents of the status byte register and the MSS (master summary status) message.

The response is the same as serial poll only with the exception that the MSS message appears in place of the RQS message in bit 6.

Command

*STB?

Response

Returns the value of the status byte register and the MSS message (bit 6) in NR1 form in response to *STB?.

*TRG

Trigger command.

This is a substitute command for the IEEE488.1 get message (Group Execute Trigger).

See section 10.37 in IEEE 488.2-1992

Command

*TRG

*TST

Since there is no self-test function built into the KFM2150, zero is always returned in response to this query.

Command

TST?

Response

Returns 0 in response to *TST?.

*WAI

Prevents the KFM2150 from executing subsequent commands until all operations in standby are complete.

Command

*WAI