background image

12

Checking 5520A Status 

(cont)

Service Request (SRQ) Line

IEEE-488

  Bus control line that asserts to notify

the controller that it requires some type of service.

RS-232

  Sends the SRQSTR string over the serial

interface when service is required.

Service Request Enable Register (SRE)

The SRE enables or masks the bits of the Serial
Poll Status Byte. The SRE is cleared at power up.

Output Queue

Whenever a query is processed, the output queue
is loaded. If the queue is empty, the Calibrator
does not respond to the INPUT statement. The
Message Available (MAV) bit in the Serial Poll
Status Byte is 1 if there is something in the output
queue and 0 if the output queue is empty. The
output queue contains a maximum of 800
characters.

Error Queue

Whenever a command error, execution error, or
device-dependent error occurs, its error code is
placed in the error queue where it can be read by
the ERR? command. The error queue contains a
maximum of 16 entries.

Содержание 5520A Service

Страница 1: ... PN 688744 February 1998 1998 Fluke Corporation Inc All rights reserved Printed in U S A All product names are trademarks of their respective companies 5520A Multi Product Calibrator Programmers Guide ...

Страница 2: ......

Страница 3: ...haracters 7 Response Message Data Types 7 Checking 5520A Status 8 Status Register Summary 8 STB and SRE 9 ESR and ESE 10 ISR ISCE and ISCR 11 Service Request Enable Register SRE 12 Output Queue 12 Error Queue 12 Command Summary 13 Common Commands 13 Error Mode Commands 14 External Connection Commands 15 Oscilloscope Commands 16 Output Commands 18 Pressure Measurement Commands 20 RS 232 Host Port C...

Страница 4: ...that may cause the calibrator to behave other than intended You can program the Calibrator to cause an SRQ when an error is detected by setting the Service Request Enable SRQ register The following skeleton program includes error catching code 10 PRINT 4 CLS Clear status 20 PRINT 4 SRE 8 Set SRE Error Avail 30 ON SRQ GOTO 1000 Enable SRQ Function 100 Body of program here 900 STOP End of program 10...

Страница 5: ...ould interfere with each other Overlapped Commands Commands requiring more time to execute Sequential Commands Commands that execute immediately Commands for RS 232 Only IEEE 488 RS 232 Equivalent GTL LOCAL command GTR REMOTE command LLO LOCKOUT command SRQ SRQSTR command SDC DCL C Ctrl C character clear the device GET T Ctrl T character execute a group trigger SPE SPD P Ctrl P character print the...

Страница 6: ...ameters 5 Binary Block Data can be in one of two IEEE 488 2 formats Indefinite Length Format Accepts data bytes after 0 until the ASCII Line Feed character is received with an EOI signal for RS 232 a line feed or carriage return will terminate the block Definite Length Format The data bytes are preceded by n and an n digit number which identifies how many data bytes follow 6 One space after a comm...

Страница 7: ...nt in microamperes MA Current in milliamps A Current in amps PCT Percent PPM Parts per million DBM Volts in decibels referenced to 1 milliwatt into 600Ω load OHM Resistance in ohms KOHM Resistance in kilohms MOHM Resistance in megohms NF Capacitance in nanofarads PF Capacitance in picofarads UF Capacitance in microfarads MF Capacitance in millifarads F Capacitance in farads CEL Temperature in degr...

Страница 8: ...ure in inches of water FTH2O Pressure in feet of water MH2O Pressure in meters of water BAR Pressure in bar PAL Pressure in pascal G CM2 Pressure in grams per centimeter squared INH2O60F Pressure in inches of water at 60 degrees Fahrenheit Incoming Character Processing 1 The most significant data bit DIO8 is ignored 2 All data is taken as 7 bit ASCII 3 Lower or upper case characters 4 ASCII charac...

Страница 9: ...character Line Feed with the EOI control line held high as the terminator for response messages RS 232 Interface The Calibrator returns an EOL End of Line character with each response selectable as CR LF or both CRLF Response Message Data Types Data Type Description Integer Decimal numbers to 32768 Floating Numbers plus an exponent String ASCII characters within double or single quotes string or s...

Страница 10: ...E SRE SRE Event Status Register ESR ESR Event Status Enable Register ESE ESE ESE Instrument Status Register ISR ISR Instrument Status Change Register ISCR ISCR ISCR 1 to 0 transition ISCR0 ISCR 0 to 1 transition ISCR1 Instrument Status Change Enable Register ISCE ISCE ISCE ISCE 1 to 0 transition ISCE0 ISCE0 ISCE 0 to 1 transition ISCE1 ISCE1 ...

Страница 11: ...o 1 whenever bits ESB MAV EAV or ISCB are 1 and enabled 1 in the SRE This bit can be read using the STB command in serial remote control in place of doing a serial poll Set to 1 when one or more enabled ESR bits are 1 Message available The MAV bit is set to 1 whenever data is available in the 5520A s IEEE 488 interface output buffer Error available An error has occurred and an error is available t...

Страница 12: ...nd This could be caused for example by a parameter being out of range The command ERR fetches the earliest error in the error queue which contains error codes for the first 15 errors that have occurred Device dependent error An error related to a device dependent command has occurred Query error The 5520A was addressed to talk when no response data was available or appropriate or when the controll...

Страница 13: ...o 1 when data from the UUT port has filled up the UUT buffer Set to 1 when there ia data available from the UUT port Set to 1 when the 5520A is programmed to a voltage above 33 Volts Set to 1 when the output magnitude has changed as a result of another change e g RTD_TYPE This bit is always 0 in the ISR It changes to 1 only in the ISCR0 and ISCR1 registers Set to 1 when the 5520A is using temporar...

Страница 14: ...r up Output Queue Whenever a query is processed the output queue is loaded If the queue is empty the Calibrator does not respond to the INPUT statement The Message Available MAV bit in the Serial Poll Status Byte is 1 if there is something in the output queue and 0 if the output queue is empty The output queue contains a maximum of 800 characters Error Queue Whenever a command error execution erro...

Страница 15: ...PC bit in ESR to 1 when device operations are complete OPC Returns 1 after operations are done OPT Returns hardware software options PUD Stores a string in nonvolatile memory PUD Returns contents of PUD memory RST Resets to power up state SRE Loads SRE register SRE Returns SRE contents STB Returns the status byte TRG Triggers a measurement return value TST Initiates self test return 0 for pass WAI...

Страница 16: ...display unit or ppm change threshold ERR_UNIT Returns the selected UUT error display unit or change threshold INCR Increments or decrements output MULT Multiplies reference magnitude NEWREF Sets reference to output value OLDREF Sets output to previous reference OUT_ERR Returns UUT computed error REFOUT Returns reference value ...

Страница 17: ...from the LO binding post EXTGUARD Returns whether the internal guard shields are connected or disconnected from earth chasis ground LOWS Selects low terminals open or tied LOWS Returns low terminals open or tied RTD_TYPE Sets RTD sensor type RTD_TYPE Returns RTD sensor type TC_REF Sets internal external reference value TC_REF Returns TC reference value TC_TYPE Sets TC sensor type TC_TYPE Returns T...

Страница 18: ...ASZ scope modes SCOPE Sets the calibrator output to an oscilloscope mode SCOPE Returns the present oscilloscope mode TDPULSE Activates or deacvitates the tunnel diode pulser drive for the SC600 EDGE mode TDPULSE Returns whether the tunnel diode pulser drive for the SC600 EDGE mode is active TLIMIT Sets the time limit for SC600 OVERLD mode to stay in operate TLIMIT Returns the time limit for SC600 ...

Страница 19: ...urns the frequency of the signal at the TRIG OUT BNC VAL Returns the last thermocouple pressure or for the SC600 impedance measurement value VIDEOFMT Selects the format for VIDEO mode VIDEOFMT Returns the VIDEO mode format VIDEOMARK Sets the VIDEO mode line marker location VIDEOMARK Returns the VIDEO mode line marker location ZERO_MEAS Zeros the pressure module or sets the zero offset for capacita...

Страница 20: ...splacement power factor DPF Returns displacement power factor DUTY Sets squarewave duty cycle DUTY Returns duty cycle FUNC Returns output function HARMONIC Sets harmonic output HARMONIC Returns harmonic location LCOMP Activates or deactivates inductive load compensation for ac current output LCOMP Returns whether inductive load compensation for ac current output is active OPER Activates 5520A outp...

Страница 21: ...ference clock source internal or through the 10 MHz IN BNC connector REFPHASE If two 5520As are synchronized using 10 MHz IN OUT sets the phase difference between the NORMAL terminals on the slave 5520A and the NORMAL terminals on the master 5520A REFPHASE If two 5520As are synchronized using 10 MHz IN OUT returns the default phase difference between the NORMAL terminals on the slave 5520A and the...

Страница 22: ...ns whether dampening averaging of pressure readings is active PRES Queries the attached pressure module for its model and serial number PRES_MEAS Changes the operating mode to pressure measurement PRES_UNIT Sets the pressure display units PRES_UNIT Returns the pressure display units VAL Returns last pressure measurement ZERO_MEAS Zeros the pressure module or sets the zero offset for capacitance me...

Страница 23: ...serial mode SRQ response P Ctrl p Prints serial poll string C Ctrl c Clears device T Ctrl t Executes group trigger RS 232 UUT Port Commands UUT_FLUSH Flush UUT receive buffer UUT_RECV Returns data from UUT serial port UUT_RECVB Returns binary data from the UUT serial port as integers UUT_SENDB Sends binary data to the UUT serial port as integers UUT_SEND Sends string to UUT serial port UUT_SET Set...

Страница 24: ..._UNIT Returns the selected UUT error display unit or change threshold FORMAT Use with extreme care Restores the contents of the nonvolatile memory device to factory defaults LIMIT Sets maximum output magnitudes LIMIT Returns maximum output magnitudes ONTIME Returns time since last powered up PRES_UNIT_D Sets power up and reset default pressure display units PRES_UNIT_D Returns power up and reset d...

Страница 25: ...ORMAL terminals on the slave 5520A and the NORMAL terminals of the master 5520A REPHASE_D If two 5520As are synchronized using 10 MHz IN OUT returns the power up and reset default phase difference between the NORMAL terminals on the slave 5520A and the NORMAL terminals of the master 5520A RTD_TYPE_D Set the default RTD sensor RTD_TYPE_D Returns default RTD sensor SP_SET Sets serial HOST port setti...

Страница 26: ...nd explanation in queue and removes it from the queue EXPLAIN Explains an error code FAULT Returns first error code in queue and removes it from the queue ISCE Loads bytes into ISCE0 and ISCE1 ISCE Returns ISCE0 and ISCE1 contents ISCE0 Loads two bytes into ISCE0 ISCE0 Returns contents of ISCE0 ISCE1 Loads two bytes into ISCE1 ISCE1 Returns contents of ISCE1 ISCR Returns contents of ISCR0 ISCR1 IS...

Страница 27: ... Sets a TC temperature offset TC_OFFSET Returns TC temperature offset TC_OTCD Activates or deactivates open thermocouple circuit TC_OTCD Returns status of open thermocouple circuit VAL Returns last thermocouple measurement VVAL Returns last TC measurement as a voltage If a measurement is not valid returns zero ...

Страница 28: ...s YYYY MM DD 2 Character Time as HH MM SS CLS Parameter None CUR_POST Parameter AUX or A20 CUR_POST Response Character AUX or A20 DAMPEN Parameter ON or OFF DAMPEN Response Character ON or OFF DBMZ Parameter Z50 Z75 Z90 Z100 Z135 Z150 Z300 Z600 Z900 Z1000 or Z1200 DBMZ Response Character Z50 Z75 Z90 Z100 Z135 Z150 Z300 Z600 Z900 Z1000 or Z1200 DBMZ_D Parameter Z50 Z75 Z90 Z100 Z135 Z150 Z300 Z600 ...

Страница 29: ...et 0 0 to 1 0 2 Optional LEAD default or LAG DPF Responses 1 Float Cosine of phase offset 2 Character LEAD or LAG DUTY Parameter Duty cycle percentage 1 to 99 9 DUTY Response Float Duty cycle EARTH Parameter OPEN or TIED EARTH Response Character OPEN or TIED EDIT Parameter PRI SEC FREQ or OFF EDIT Response Character PRI SEC FREQ or OFF ERR Responses 1 Integer Error code 2 String Error message stri...

Страница 30: ...equivalent of the register byte EXPLAIN Parameter Integer Error code Response String An explanation of the error code with the parameter if there is one shown as a percent sign followed by d f or s EXTGUARD Parameter ON or OFF EXTGUARD Response Character ON or OFF FAULT Response Integer Error code FORMAT Parameter ALL replaces the whole contents with defaults CAL replaces all call constants with d...

Страница 31: ...ut location HARMONIC Response 1 Integer Harmonic multiple 2 Character PRI or SEC location of fundamental IDN Responses Indefinite ASCII A message containing four fields separated by commas as follows 1 Manufacturer 2 Model number 3 Serial number 4 Firmware revision levels for the Main CPU Front Panel CPU and Inguard PGA INCR Parameters 1 Positive or negative step size 2 Optional Magnitude ISCE Par...

Страница 32: ...y number in the Instrument Status 1 to 0 Change Enable register ISCE1 Parameter Decimal equivalent of the binary number to load into the register ISCE1 Response Integer Decimal equivalent of the binary number in the Instrument Status 0 to 1 Change Enable register ISCR Response Integer Decimal equivalent of the OR of the contents of the Instrument Status 1 to 0 Change Register and the Instrument St...

Страница 33: ...ster LCOMP Parameter ON or OFF LCOMP Response Character ON or OFF LIMIT Parameters 1 Positive limit value with optional multiplier and optional unit 2 Negative limit value with optional multiplier and optional unit LIMIT Response 1 Float Positive voltage limit value 2 Float Negative voltage limit value 3 Float Positive current limit value 4 Float Negative current limit value LOCAL Parameter None L...

Страница 34: ... after all operations are complete OPER Parameter None OPER Response Integer 1 operate or 0 standby OPT Response Indefinite ASCII A list of option names separated by commas or 0 no options OUT Parameters 1 Optional Output amplitude with optional multiplier and unit 2 Optional Output amplitude with optional multiplier and unit 3 Optional Output frequency with optional multiplier and unit ...

Страница 35: ... output amplitude for dual output functions 0 if no second amplitude 4 Character Units of second amplitude 0 if no second amplitude 5 Float Frequency 0 if dc resistance capacitance or temperature OUT_ERR Responses 1 Float UUT error magnitude 2 Character Units for the above number PPM PCT DB or 0 PHASE Parameter Phase with optional multiplier and DEG unit PHASE Response Float Phase in degrees POWER...

Страница 36: ...MHG INHG INH2O FTH2O MH2O BAR PAL G CM2 or INH2O60F PRES_UNIT Response Character PSI MHG INHG INH2O FTH2O MH2O BAR PAL G CM2 or INH2O60F PRES_UNIT_D Parameter PSI MHG INHG INH2O FTH2O MH2O BAR PAL G CM2 or INH2O60F PRES_UNIT_D Response Character PSI MHG INHG INH2O FTH2O MH2O BAR PAL G CM2 or INH2O60F PUD Parameter 2 nn nn character string or 0 character string or character string or character stri...

Страница 37: ...ON or OFF REFCLOCK Parameter INT or EXT REFCLOCK Response Character INT or EXT REFCLOCK_D Parameter INT or EXT REFCLOCK_D Response Character INT or EXT REFOUT Response Float Reference amplitude REFPHASE Parameter Phase with optional multiplier and DEG unit REFPHASE Response Float Phase in degrees REFPHASE_D Parameter Phase with optional multiplier and DEG unit REFPHASE_D Response Float Phase in de...

Страница 38: ...onse Character PT385 PT385_200 PT385_500 PT385_1K PT3926 PT3916 CU10 or NI120 SP_SET Parameters One or more of the following 1 300 600 1200 2400 4800 or 6000 baud rate 2 TERM or COMP TERM sets the remote port to expect a human operator using a terminal and COMP sets the report port to expect a computer program controlling the 5520A 3 XON RTS or NOSTALL stall method 4 DBIT7 or DBIT8 number of data ...

Страница 39: ...IT7 or DBIT8 number of data bits 5 Character SBIT1 or SBIT2 number of stop bits 6 Character PNONE PEVEN or PODD parity 7 Character CR LF CRLF end of line SPLSTR Parameter The string to print on receipt of a P character 40 characters maximum SPLSTR Response String The string to print on receipt of a P character 40 characters maximum SRE Parameter Decimal equivalent of the binary number to load into...

Страница 40: ...tional temperature unit TC_OFFSET Parameter Optional CEL or FAR units Responses 1 Float Signed offset amplitude 2 Character Units CEL or FAR TC_OTCD Parameter ON or OFF TC_OTCD Response Character ON or OFF TC_REF Parameters 1 INT use internal temperature sensor or EXT use external reference 2 Optional External reference temperature with optional multiplier and unit TC_REF Responses 1 Character INT...

Страница 41: ...humidity or Z 1 mV C TC_TYPE_D Response Character B C E J K N R S T or X 10 mV C Y relative humidity or Z 1 mV C TEMP_STD Parameter IPTS_68 or ITS_90 TEMP_STD Response Character IPTS_68 or ITS_90 TRG Responses 1 Float Measured value temperature pressure scope impedance or scope capacitance 2 Character units TSENS_TYPE Parameter TC thermocouple or RTD resistive thermal device TSENS_TYPE Response Ch...

Страница 42: ...y output uncertainty 4 Float 90 day specified uncertainty of secondary unit 5 Float 1 year specified uncertainty of secondary output 6 Character Unit of secondary output uncertainty UUT_FLUSH Parameter None UUT_RECV Response String Data from the UUT serial port UUT_RECVB Parameter Optional Maximum number of integers per line Response Indefinite ASCII Comma separated integers as follows 1 Integer N...

Страница 43: ...ring sent to a UUT must end in a carriage return CR or line feed LF command or both UUT_SENDB Parameter Data to the UUT serial port as series of comma separated integers UUT_SET Parameters One or more of the following in any order 1 300 600 1200 2400 4800 or 9600 baud rate 2 XON RTS or NOSTALL stall method 4 DBIT7 or DBIT8 number of data bits 5 SBIT1 or SBIT2 number of stop bits 6 PNONE PEVEN or P...

Страница 44: ...its 6 Character PNONE PEVEN or PODD parity VAL Parameter Optional Units to return Response 1 Float Measured temperature or pressure 2 Character CEL FAR OVER OPENTC OHM F PSI MHG INHG INH2O FTH2O MH2O BAR PAL G CM2 INH2O60F or NONE VVAL Response Float TC measurement as a voltage WAI Parameters None WAVE Parameters 1 SINE TRI SQUARE TRUNCS or NONE Waveform 2 Optional SINE TRI SQUARE or TRUNCS Second...

Страница 45: ...ameter NONE WIRE2 or WIRE4 ZCOMP Response Character NONE WIRE2 or WIRE4 ZERO_MEAS Parameters 1 ON or OFF 2 Reference value for absoluete pressure modules ZERO_MEAS Parameter Optional Units of returned value Responses 1 Character ON or OFF 2 Float Offset value 3 Character Units F PSI MHG INHG INH2O FTH2O MH2O BAR PAL G CM2 INH2O60F ...

Страница 46: ...44 ...

Отзывы: