background image

 

April 2018 

29 

FPM-8220 

Command Syntax 

The discussions below describe command syntax and structure. You need this information to 
effectively write GPIB and USB control programs for the FPM-8220. The syntax of FPM-8220 
commands follow the rules defined in the ANSI/IEEE-488 standard. ANSI/IEEE-488 uses 
standard terminology. To clarify understanding, we use simpler terms for this manual. 
 

Letters 

Any command or query must contain all of the letters which are shown in upper case in the 
command definition. Some of the device dependent commands include additional optional 
letters shown in lower case in the command reference (Chapter 4). Upper/lower case does not 
matter to the FPM-8220. It is just used in this manual to identify optional letters. The optional 
letters must be in the correct sequence. Some examples of what works, and what does not: 
 

Table 3.1

 – Acceptable and Not Acceptable Spelling 

 

Acceptable 

Not Acceptable 

DISP DS 

DISPlay or DISPLAY 

Displa or DISPL 

 
White Space 

“White space” is normally the space character (space bar).  A single white space must separate a 
command from its parameters or data.  For example: 

Table 3.2

 – White Space 

Acceptable 

Not Acceptable 

WAVE 1234 

WAVE1234 

 
To enhance readability, one or more white spaces may be used before a comma, semicolon, or 
terminator.  Since the computer normally places the terminator at the end of each command string, 
this simply means that an extra space character at the end of the command line is acceptable. 

A query has no space between the mnemonic and the question mark.  For example: 

Table 3.3

 – Query Formatting 

Acceptable 

Not Acceptable 

DISPLAY? DISPLAY 

 
 

 

 

 

Summary of Contents for FPM-8220

Page 1: ...User s Guide Fiber Optic Power Meter FPM 8220 70044001 April 2018...

Page 2: ......

Page 3: ...mage viii Comments Suggestions and Problems ix Chapter 1 Introduction and Specifications 1 Safety Considerations 1 Product Overview 1 Options and Accessories 3 Specifications 4 Chapter 2 General Opera...

Page 4: ...ificate 17 Photodetector Responsivity 17 Analog Output BNC 18 Gain Range Boundaries 19 Determining Range 19 Relating Optical Power to Analog Voltage 19 General Operation 21 Warm up and Environmental C...

Page 5: ...488 2 Common Commands 34 Status Reporting 36 Event and Condition Registers 36 Command Timing 38 Sequential Overlapped Commands 38 Query Response Timing 38 Chapter 4 Command Reference 39 Remote Command...

Page 6: ...April 2018 iv FPM 8220 This page was intentially left blank...

Page 7: ...in minor or moderate injury or damage to the product or equipment Warning indicates a potentially dangerous situation which can result in serious injury or death Visible and or invisible laser radiat...

Page 8: ...ications and other product information The following classifications are standard across all ILX Lightwave products Indoor use only Ordinary Protection This product is NOT protected against the harmfu...

Page 9: ...ircle O only denotes that mains are off Warranty ILX LIGHTWAVE CORPORATION warrants this instrument to be free from defects in material and workmanship for a period of one year from date of shipment D...

Page 10: ...ed strapping tape or metal bands Send the instrument transportation pre paid to ILX Lightwave Clearly write the return authorization number on the outside of the box and on the shipping paperwork ILX...

Page 11: ...ng information Model Number Serial Number End user Name Company Phone Fax Description of what is connected to the ILX Lightwave instrument Description of the problem If ILX Lightwave determines that a...

Page 12: ...April 2018 x FPM 8220 This page was intentionally left blank...

Page 13: ...220 to ILX Lightwave for service and repair to ensure that safety features are maintained Product Overview The FPM 8220 is a precise and reliable tool for fiber optic power measurement The FPM 8220 is...

Page 14: ...analog output for fine resolution relative power monitoring A sophisticated USB and GPIB IEEE 488 2 interface The fiber optic measurement head includes a two meter cable for convenient positioning nea...

Page 15: ...r CA 150 LC Adapter CA 200 Bare Ferrule Adapter CA 250 Bare Fiber Adapter Ring CA 120 Bare Fiber Holder requires CA 120 BF 820 Rack Mount Kit single instrument RM 144 Rack Mount Kit dual instrument RM...

Page 16: ...April 2018 4 FPM 8220 Specifications...

Page 17: ...eptacles The power cord connector and power cable meet IEC safety standards To avoid electrical shock hazard connect the instrument to a properly earth grounded three prong receptacle only Failure to...

Page 18: ...he cable connector A total of 15 devices can be connected together on the same GPIB interface bus The cables have double sided male female connectors on each end so that several cables can be stacked...

Page 19: ...used to decrease values for gain adjustment wavelength display filter store and recall bins GPIB address and the user calibration factor In auto gain range operation mode the arrow key can be used to...

Page 20: ...RROW pushbuttons simultaneously will put the instrument in the GPIB address adjust mode The currently stored GPIB address will appear in the parameter line of the display Pressing the UP ARROW or the...

Page 21: ...conds MEDIUM 45 measurements 500 ms 9 milliseconds FAST 2 measurements 50 ms 9 milliseconds CAL Pressing CAL initiates the calibration measurement function which multiplies every measurement by a cali...

Page 22: ...if auto gain range Figure 2 2 Setting Information in Manual Mode Figure 2 3 Setting Information in Auto Mode Brightness When the brightness is displayed the UP ARROW and the DOWN ARROW adjusts the br...

Page 23: ...18 11 FPM 8220 Figure 2 5 Bar Graph Display Error Codes The FPM 8220 indicates front panel operation errors on the measurement display with an error code A complete list of error codes is listed in Ch...

Page 24: ...r Obtain the same results with different users Minimal response to rotating the fiber holder with a non angled cleave No need to rotate the fiber holder for maximum reading with a non angled cleave Ba...

Page 25: ...through a Connector With the adaptors available from ILX Lightwave the FMH 8700 series Fiber Optic Measurement Heads can make measurements through most common fiber optic connectors To install an adap...

Page 26: ...t repeatability is The variation in distance from the fiber endface to the detector If you are not careful you can scratch the detector face Slight variations in the angle of the glass cleave at the c...

Page 27: ...r If the fiber endface touches anything after cleaving clean it and cleave it again Note The BF 820 is designed for 125 m clad fiber Figure 2 9 Strip and Cleave the Fiber 2 Squeeze the BF 820 bare fib...

Page 28: ...gnets Grasping the holder by the body insert the fiber holder into the bare fiber adaptor ring making sure that the fiber endface does not touch anything If the fiber endface makes contact with anythi...

Page 29: ...Be sure there is enough relaxed fiber behind the holder that the rotation does not induce bending stresses Measuring Higher Power The FMH 8705 will not be damaged by input power up to 10 dBm 10 mW The...

Page 30: ...lly used for telecom work Changes in detector response are significant enough that the meter must know the wavelength in order to accurately display optical power The flatness or steepness of the curv...

Page 31: ...us range The analog output varies 0 V to 10 V representing minimum to maximum current output for that range The maximum current for each range is Range Maximum Current 0 10mA 1 1mA 2 100 A 3 10 A 4 1...

Page 32: ...of the instrument and then look up the gain of that range in the table above 4 Lookup the photodiode responsivity in the appropriate table on the measurement head s calibration certificate 5 Divide t...

Page 33: ...elength by pressing the UP ARROW or the DOWN ARROW b Press AUTO MAN to select either auto or manual gain range In manual gain mode press the UP ARROW or the DOWN ARROW to adjust the gain 3 Set the cal...

Page 34: ...April 2018 22 FPM 8220...

Page 35: ...nds Remote control can be useful for building an automated test system that includes other instruments It is also useful for structuring and collecting data for longer tests such as environmental and...

Page 36: ...his purpose see below The end of this chapter includes information on interface messages supported by the FPM 8220 Talkers Listeners and Controllers Every GPIB system consists of one or more talkers l...

Page 37: ...The extra pins are used to make twisted pairs with several of the lines There are eight data input output lines three handshake lines and five interface management lines Eight data I O DIO lines carry...

Page 38: ...receiving device s to accept Five interface management lines control the flow of information ATN attention is set by the controller in charge to define the I O lines for data or interface messages IFC...

Page 39: ...a specification to establish communication between devices and a host controller which has effectively replaced a variety of earlier interfaces such as serial and parallel ports There are three USB s...

Page 40: ...ad to get the response The USBTMC protocol supports service request triggers and other GPIB specific operations USBTMC allows instrument manufacturers to upgrade the physical layer from GPIB to USB wh...

Page 41: ...his manual to identify optional letters The optional letters must be in the correct sequence Some examples of what works and what does not Table 3 1 Acceptable and Not Acceptable Spelling Acceptable N...

Page 42: ...aces For example DISPLAY ON IDN RANGE DISPLAY ON IDN RANGE Parameters Some commands require a parameter The parameter must be separated from the command by at least one white space The syntax symbol n...

Page 43: ...31 FPM 8220 For further clarity in programming the Boolean values of one 1 and zero 0 may be used or their names as indicated in Table 3 5 Table 3 5 Substitute Parameter Values Substitute Name Value...

Page 44: ...the command reference Chapter 4 are useful for clarity but must be in the correct sequence A single white space must separate a command from its parameters or data White space is normally the space ch...

Page 45: ...first mnemonic opens a path to a set of commands relating to that path The second mnemonic then defines the actual command Table 3 6 shows some examples of invalid syntax command strings that will pr...

Page 46: ...for common commands common command queries and common commands with numeric data required Figure 3 4 Common Command Diagrams Numeric data is required with PSC 1 on 0 off RCL 0 10 see front panel Reca...

Page 47: ...EE 488 2 Common Commands Supported by FPM 8220 CAL CLS ESE ESE ESR IDN OPC OPC PSC PSC RCL RST SAV SRE SRE STB TST WAI See Chapter 4 Command Reference for descriptions of all commands including common...

Page 48: ...e FPM 8220 Fiber Optic Power Meter Events differ from conditions in that events signal an occurrence one time and are not reset until the Event Register is queried or the FPM 8220 is powered off Condi...

Page 49: ...s which depend on the completion of all previous commands This allows the use of the operation complete features of the FPM 8220 without the need for program looping or polling which can tie up the GP...

Page 50: ...r except the DELAY command which is sequential The operation complete flag is set after the conditions outlined in the Operation Complete Definition have been satisfied WAI is an example of a sequenti...

Page 51: ...nt Register Status Byte and Error Queue to zero ESE 1 Sets the Standard Event Status Enable Register ESE NONE Returns the value of the Standard Event Status Enable Register ESR NONE Returns the value...

Page 52: ...ONE Request character string from message memory MODE NONE Request the measurement mode MODE DB NONE Select decibels dB relative measurement mode MODE DBM NONE Select logarithmic dBm measurement mode...

Page 53: ...ANGe AUTO NONE Request status AUTO or MANUAL range SENSe POWer RANGe MONitor 1 Set the photodetector current gain range SENSe POWer RANGe MONitor NONE Request the photodetector current gain range SENS...

Page 54: ...event registers Standard Event Status Device Event Status and Error Queue Notes Useful to clear registers before enabling service requests SRQ Example CLS ESE nrf value Common Standard Event Status E...

Page 55: ...tween 0 and 255 Examples ESE response 68 meaning the User Request and Query Error bits have been enabled in the Standard Event Status Enable Register 68 2 2 2 6 ESR Common Standard Event Status Regist...

Page 56: ...200002 1 0 OPC Common Operation Complete Device Dependent Front Panel Action Sets the Operation Complete Bit in the Event Status Register when all pending overlapped commands have been completed Param...

Page 57: ...tatus Clear Query Device Dependent Front Panel Action Requests the status of the power on status clear flag Parameters None Notes Response 0 The enable registers are saved through power off on 1 The e...

Page 58: ...ne nrf value with a value from 1 10 Notes Configuration 0 is reserved for the factory set default configuration It is normally not necessary to save the current setup for next power on The current set...

Page 59: ...t Enable Register Examples STB response 200 specifies that the device condition summary master status summary and error available bits are enabled TST Common Self Test Device Dependent Front Panel Act...

Page 60: ...Examples CAL USER Response 1 000 means there is no user calibration gain factor CAL user Response 1 010 means a user calibration gain factor is increasing all results by 1 COND Common Device Dependen...

Page 61: ...xamples DELAY 2000 Delay further processing 2 seconds DELAY 48 2 Delay further processing 48 milliseconds DISPlay nrf value Common Device Dependent Front Panel Action Turns the front panel display on...

Page 62: ...er range and under range error conditions are summarized in the status byte bit 3 8 4 12 Enable cond HC Same as ENAB COND 12 except using hexadecimal numbering See RADix ENABle COND Common Device Depe...

Page 63: ...event to be summarized in the status byte bit 2 Enable event H4 Same as ENAB EVE 4 except using hexadecimal numbering See RADix ENABle EVEnt Common Device Dependent Front Panel Action Requests the va...

Page 64: ...whenever the display value is updated For example in slow mode a new measurement is ready every 5 seconds See FILTer below See Chapter 3 for more information about register structure Examples EVE Res...

Page 65: ...retained through power OFF ON Useful as a scratchpad for storing intermediate test status or configuration information Examples Message Test 3 Stores the string Test 3 in non volatile memory Message...

Page 66: ...esponse to MODE is the units of value that will be used for responses to a POW request Examples Mode Response W means that linear measurement mode watts is in effect POWer Common Device Dependent Fron...

Page 67: ...radix setting Examples Radix Response Hex means numeric responses will be in hexadecimal numbers RANge nrf value Common Device Dependent Front Panel Action Sets the FPM 8220 photodetector current gai...

Page 68: ...FPM 8220 into MANUAL ranging mode RANge AUTO Common Device Dependent Front Panel Action Requests the status of AUTO or MANUAL range mode Response 0 MANUAL ranging 1 AUTO ranging Notes This informatio...

Page 69: ...PM 8220 meter Notice for example that detector current is much less at shorter wavelengths For more information see the discussion of the calibration certificate at the end of Chapter Two Examples RES...

Page 70: ...t time the FPM 8220 was powered ON Response ASCII character data in the form hours minutes seconds Notes Maximum time clock turns over is1193 hours 50 days The TIME clock is independent of the TIMER c...

Page 71: ...tector dark current and ambient light Notes This function is the same as the front panel ZERO button Optional values 0 7 if no parameter passed all ranges are zeroed Before starting measurements it is...

Page 72: ...isplay brightness Parameters 1 to 10 Examples DISPlay BRIGhtness 10 Set the display to the highest brightness DISPlay BRIGhtness Common Device Dependent Front Panel Action Requests the display brightn...

Page 73: ...e display mode Response One of the following string NORMAL BRIGHTNESS BARGRAPH Examples DISP MODE Response NORMAL means the display is in normal display which will show the wavelength filter mode and...

Page 74: ...is with the front panel ZERO button After ZERO you should confirm completion with ZERO Then check the error queue see ERRors before proceeding You can interrupt the zero process from the front panel e...

Page 75: ...formation about gain ranges see Gain Ranges on page 18 There are eight ranges in the FPM 8220 meter Each range increases gain by 10x over the previous range The maximum photodetector current for each...

Page 76: ...B standard nrf value in the units currently defined See MODE Notes Same function as pressing dBm W and REF together on the front panel Examples SENSe POWer REFerence Response 0 means the reference lev...

Page 77: ...avelength to be used in calibrating detector response Response A GPIB standard nrf value of the current wavelength setting See SENSe POWer WAVelength above Notes This information is available on the F...

Page 78: ...April 2018 66 FPM 8220...

Page 79: ...ians use automated test equipment to accurately and efficiently capture and record calibration data An original certificate of calibration authenticity is provided with all instrument calibrations and...

Page 80: ...tically select an appropriate gain range You can then select AUTO MAN again if you want to lock it into one range manually If you see an OVER indication in auto range mode or in the highest range lowe...

Page 81: ...formation regarding the terminating character Remove all other instruments from the GPIB bus to isolate the FPM 8220 If this corrects the problem re connect one instrument at a time until the problem...

Page 82: ...e all commands upon a Device Clear because of firmware hardware timing issues and GPIB USB architecture Instrument is reading NO HEAD CONNECTED The instrument reads NO HEAD CONNECTED if it cannot loca...

Page 83: ...r The detector head must be connected to a fiber and the source s output must be turned off The instrument reports an error when setting a gain range between 0 and 7 by remote command the gain range c...

Page 84: ...rors and Instrument Specific Errors Table 5 1 Command Errors Error Code Explanation 104 Data type error 108 Parameter not allowed 113 Undefined header 115 Unexpected number of parameters 121 Invalid c...

Reviews: