background image

  GDM-8246 MULTIMETER 

PROGRAMMER MANUAL 

 

  52  

 

z

 

Event Status Enable Register (ESER) 

z

 

OPERation Enable Register   

z

 

QUEStionable Enable Register 

z

 

Service Request Enable Register (SRER) 

When one of the bits of the enable registers is high and the corresponding 
bit in the status register is high, the enable registers will perform a 
logical OR function, the output that controls the set bit of the Status Byte 
Register is high. 

Various commands set the bits in the enable registers. The following 
sections describe the enable registers and the commands that set them. 

Event Status Enable Register (ESER)

: The ESER controls which types of 

events are summarized by the Event Status Bit (ESB) in the SBR. The 
bits of the ESER correspond to the bits of the SESR. 

Use the 

*ESE

 command to set the bits in ESER. Use the 

*ESE?

 query to 

read it. 

OPERation Enable Register

: Even though the OPERation Enable 

Register is present in the DMM, the OPERation registers do not report 
any conditions. 

QUEStionable Enable Register

: The QUEStionable Enable Register 

controls which types of events are summarized by the QUES status bit in 
the SBR. Use the 

STATus:QUEStionable:ENABle 

command to set 

the bits in the QUEStionable Enable register. Use the 

STATus:QUEStionable:ENABle? 

query to read it. 

Service Request Enable Register (SRER)

: The SRER controls which bits 

in the SBR generate a service request. 

Use the 

*SRE

 command to set the SRER. Use the 

*SRE?

 query to read 

it. 

  GDM-8246 MULTIMETER 

PROGRAMMER MANUAL 

 

  53  

 

Queues 

The output queue is included to power supplies. 

Output Queue

: The DMM store query responses in the output queue by 

succeeding the IEEE 488.2 protocol. If the DMM receives a new 
command or query message after a message terminator, the DMM will 
clear and reset this queue each time. The computer must read a query 
response before it sends the next command (or query) or it loses response 
to earlier queries. 

Error/Event Queues 

When an error or event occurs, the output queue stores the message. The 
output queue stores and reports the messages on a FIFO (first in first out) 
state. The 

SYSTem:ERRor?

 query reads the next item from the output 

queue. If output queue overflows, the error message is –350,

 “Queue 

overflow”

; the queue can’t store or report succeeding messages till it 

is read or cleared. 

Error Message 

Table 8 lists the SCPI error messages for the DMM. 

Table 8 The error messages for the DMM:

 

SCPI Error Code and Description

 

SESR Bit 

0, “No error” 

 

-100, “Command error”

 

-200, “Execution Error”

 

-221, “Settings conflict”

 

-222, “Data out of range”

 

-350, “Queue overflow”

 

-410, “Query INTERRUPTED” 

-420, “Query UNTERMINATED” 

-430, “Query DEADLOCKED”

 

Содержание GDM-8246

Страница 1: ...The measured procedures can be varied with user s testing programs therefore the Digital Multimeter can be operated remotely from an instrument controller or computer across the RS232 interface option...

Страница 2: ...erface function DC1 Device Clear The DMM has Device clear capability to return the device to power on status DT0 Device Trigger The DMM has no Device Trigger interface function C0 Controller The DMM c...

Страница 3: ...e both sides Once you have set these parameters you can control the DMM through the RS232 interface z Baud rate You can set rates of 1200 2400 4800 or 9600 baud z Parity bit none z Data bit 8 bits z S...

Страница 4: ...nection 9 No connection Figure 1 Pin assignments of the RS232 connector on the rear panel for DB 9 D GDM 8246 MULTIMETER PROGRAMMER MANUAL 7 Figure 2 Wiring configuration for DB9 to DB9 Computer s Con...

Страница 5: ...equipment manufacturers The IEEE 488 2 syntax has been adopted by SCPI to provide common commands for the identical functions of different programmable instruments GDM 8246 MULTIMETER PROGRAMMER MANUA...

Страница 6: ...oot level A root node and one or more lower level nodes form a header path to the last node called the leaf node Figure 4 Tree hierarchy Leaf SYSTem AUTO Root node ERRor STATe STARt CYCLe Lower level...

Страница 7: ...t must add a LF to be a judgment for message terminator As for query command the return message of the instrument is also added a LF for PC to judge message terminator Entering Commands The standards...

Страница 8: ...nds into four functional classifications z General Setting Commands z Calculating Commands z Status Commands z Miscellaneous Commands The tables also provide a brief explanation of each command GDM 82...

Страница 9: ...LIMit STATe Returns Compare mode on or off CALCulation LIMit STATe Boolean Sets Compare mode on or off CALCulation LIMit LOWer Returns the value of the lower limit CALCulation LIMit LOWer NR2 Sets the...

Страница 10: ...us Register SESR GDM 8246 MULTIMETER PROGRAMMER MANUAL 19 SRE NR1 Sets contents of Service Request Enable Register SRER SRE Returns contents of Service Request Enable Register SRER STB Reads Status By...

Страница 11: ...ation of commands by design SYSTem ERRor Read the next item from the error event queue SYSTem VERSion Returns the SCPI version level GDM 8246 MULTIMETER PROGRAMMER MANUAL 21 6 DETAILS OF COMMAND REFER...

Страница 12: ...al number and firmware version GDM 8246 MULTIMETER PROGRAMMER MANUAL 23 Examples IDN Returns GW_Inc GDM 8246 FW1 00 OPC Function The command form OPC sets the operation complete bit bit 0 in the Stand...

Страница 13: ...contains the binary value 0101 0001 WAI no query form Function WAI prevents the programming instrument from executing further commands or queries until all pending operations are finished Syntax WAI G...

Страница 14: ...gure MODe might return 1 to indicate the MIN mode to be slected Please refer to the representative total value for every attached calculation mode as follows GDM 8246 MULTIMETER PROGRAMMER MANUAL 27 T...

Страница 15: ...the continuity function Syntax CONFigure CONTinity GDM 8246 MULTIMETER PROGRAMMER MANUAL 29 Examples CONFigure CONTinity sets the continuity function Please refer to the Table 6 1 CONFigure CURRent D...

Страница 16: ...ease refer to the unit for every range shown as Table 6 1 CONFigure SFRequency Function GDM 8246 MULTIMETER PROGRAMMER MANUAL 31 Set the frequency function in the AC mode Syntax CONFigure SFRequency E...

Страница 17: ...e VOLTage ACDC NR2 Function Set the ACDC voltage function and range Syntax CONFigure VOLTage ACDC NR2 Examples CONFigure VOLTage ACDC 0 sets the AC DC voltage function and auto range CONFigure VOLTage...

Страница 18: ...voltage SVALue query only Function Returns the value displayed on the primary and secondary display with 6 characters totally GDM 8246 MULTIMETER PROGRAMMER MANUAL 35 Syntax SVALue Examples SVALue mi...

Страница 19: ...function CALCulation LIMit UPPer 1 0000 sets 1 0000 DC voltage at the upper limit in the DC voltage function CALCulation LIMit FAIL Function Returns limit result Syntax GDM 8246 MULTIMETER PROGRAMMER...

Страница 20: ...mode Syntax CALCulation RELation DATa CALCulation RELation DATa NR2 GDM 8246 MULTIMETER PROGRAMMER MANUAL 39 Examples CALCulation RELation DATa might return 1 0000 in DC voltage function CALCulation R...

Страница 21: ...hold mode GDM 8246 MULTIMETER PROGRAMMER MANUAL 41 CALCulation HOLD 1 sets the Hold mode STATus OPERation CONDition query only Function Return the contents of the OPERation register The DMM however do...

Страница 22: ...n destructive GDM 8246 MULTIMETER PROGRAMMER MANUAL 43 Syntax STATus QUEStionable CONDition Returns NR1 Examples STATus QUEStionable CONDition returns 0 STATus QUEStionable ENABle Function Set or quer...

Страница 23: ...le EVENt Returns NR1 Examples STATus QUEStionable EVENt returns 0 SYSTem ERRor query only Function Query the next error message from the Error Event queue The result of the query is the error number f...

Страница 24: ...Registers CONDition EVENt and ENABle z QUEStionable Status Registers CONDition EVENt and ENABle The lower level nodes QUEStionable and OPERation each have three 16 bits registers CONDition EVENt and...

Страница 25: ...Table 4 shows the bit designations of the 16 bit QUEStionable Status Register Enable Register Event Register Condition Register To SBR GDM 8246 MULTIMETER PROGRAMMER MANUAL 49 Table 4 QUEStionable St...

Страница 26: ...gister GDM 8246 MULTIMETER PROGRAMMER MANUAL 51 Use the serial poll or the STB Query to read the contents of the SBR The bits in the SBR are set and cleared depending on the contents of the Standard E...

Страница 27: ...er Use the STATus QUEStionable ENABle query to read it Service Request Enable Register SRER The SRER controls which bits in the SBR generate a service request Use the SRE command to set the SRER Use t...

Страница 28: ...GDM 8246 MULTIMETER PROGRAMMER MANUAL 54...

Отзывы: