background image

4-31

Programming

Programming Examples

Programming Examples

This section includes a number of programming examples to illustrate the use 
of remote commands in actual programs. These programming examples do not 
cover the full command set for the instrument. They are intended only as an 
introduction to the method of programming the instrument

.

The example programs in this chapter are as follows: 

Example 1:  

This simple program uses the ROUTE:LAYER:CHANNEL 
command to move the switch to a new position. The 
program shows how to use the *WAI command to ensure 
that the switch has settled to its new position. 

Example 2: 

This program is similar to the first example program. 
Instead of using the *WAI command, the Status Byte 
Register is read repeatedly using the *STB query. When 
bit 0 of the Status Byte Register returns to zero, the switch 
has settled to its new position. 

Example 3:  

Repeating the same program as the first two examples, the 
*OPC command and *ESR query are now used to 
determine that the switch has settled to its new position. 
The *OPC command is sent before the 
:ROUTE:LAYER:CHANNEL command, and then the 
Standard Event Status Register is continuously read until 
bit 0 is set to one. 

Example 4:  

This example illustrates the use of two switches in an 
automated system to periodically monitor a number of 
devices under test (DUTs). The test system includes an 
Agilent 8153A optical multimeter with an Agilent 81554SM 
laser source and an Agilent 81532A optical power sensor. 
This program measures the optical power through each 
device under test every 5 minutes and displays a message if 
the power drops below 1 microwatt. 

Содержание 86060C Series

Страница 1: ...Agilent 86060C Series Lightwave Switches User s Guide ...

Страница 2: ... defects resulting from improper or inadequate maintenance by Buyer Buyer supplied software or interfac ing unauthorized modifica tion or misuse operation outside of the environmental specifications for the product or improper site preparation or maintenance No other warranty is expressed or implied Agilent Technologies specifically dis claims the implied warranties of merchantability and fitness ...

Страница 3: ... Use a dry cloth or one slightly dampened with water to clean the external case parts Do not attempt to clean internally WAR N I N G This is a Safety Class 1 product provided with a protective earthing ground incorporated in the power cord The mains plug shall only be inserted in a socket outlet provided with a protective earth contact Any interruption of the protective conductor inside or outside...

Страница 4: ...IO N This product is designed for use in Installation Category II and Pollution Degree 2 per IEC 1010 and 664 respectively C AUT IO N VENTILATION REQUIREMENTS When installing the product in a cabinet the convection into and out of the product must not be restricted The ambient temperature outside the cabinet must be less than the maximum operating temperature of the product by 4 C for every 100 wa...

Страница 5: ... 6 Step 4 Turn on the lightwave switch 2 7 Step 5 Performing an operational check 2 8 If The Operational Check Fails 2 10 3 Using the Switch Front Panel Features 3 3 Rear Panel Features 3 5 Changing Switch Position 3 6 Adjusting Display Contrast 3 7 Saving Switch States 3 7 4 Programming General Information 4 3 Programming over GPIB 4 6 Programming over RS 232 4 8 Common Commands 4 11 Standard SCP...

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

Страница 7: ...and Accessories 1 3 Specifications and Regulatory Information 1 7 Cleaning Connections for Accurate Measurements 1 12 Returning the Instrument for Service 1 22 Agilent Technologies Service Offices 1 25 General Information ...

Страница 8: ...dth switch with 20 to 100 output channels WAR N I N G On Option 002 dual input instruments any light on an unselected A channel will likely be output on one of the unselected B channels On Option 002 dual input instruments any light on an unselected B channel will likely be output on an unselected A channel To avoid exposure to light energy always cover all unused channels C AUT IO N Improper conn...

Страница 9: ...fibers allow the user to position either input A1 or A2 to a specific out put channel The non selected input may or may not align with another out put channel Lightwave switches with three or more B channels have an additional posi tion called channel O or OFF Special ordered instruments Normal lightwave switches have only one layer installed A switch layer is a switch matrix of A ports and B port...

Страница 10: ...switch It con tains the serial number and the options installed in the lightwave switch Whenever you specify the serial number or refer to it in obtaining information about your lightwave switch be sure to use the complete number including the full prefix and suffix Table 1 1 Output Channels Agilent 86060C Compact Lightwave Switch HP 86061C Mid Size Lightwave Switch HP 86062C Full Size Lightwave S...

Страница 11: ...Agilent 86060C or HP 86061C with Option 204 Option 051 Connectors on rear panel For connectorized outputs only Option 052 3 meter fiber out of the rear panel For connectorized outputs the connector is at the end of the 3 meter fiber Output Channels select one Option 2XX Where XX is the number of connectorized output channels Note Option 200 is 100 connectorized output channels Option 3XX Where XX ...

Страница 12: ...kit Option 1CP Rack mount flange kit with handles Table 1 3 Accessories Agilent Part Number Description 5062 3957 Rack mount adapter kit for a single half width instrument 5062 3977 Rack mount adapter kit for two adjacent half width instruments 5062 4079 Lock link kit for the Agilent 5062 3977 5952 4079 Fiber Optics Handbook an introduction to and a reference for fiber optic measurements Table 1 2...

Страница 13: ...by giving functional but nonwar ranted performance parameters Characteristics are printed in italics Nominal values Nominal value indicates the expected but not warranted value of the param eter Calibration cycle Agilent Technologies warrants instrument specifications over the recom mended calibration interval To maintain specifications periodic recalibrations are necessary We recommend that the A...

Страница 14: ...temperature over 7 day period 0 03 dB 0 025 Repeatability c Sequential switching Random switching c Repeatability measured after four 4 hours warm up and with a one 1 second pause between movements 0 008 dB 0 005 0 025 dB 0 01 Optical Return Lossd Single mode Multimode d Excludes external pigtail backscatter and connector reflections 58 dB 62 dB 20 dB 25 dB Polarization Dependent Losse e Polarizat...

Страница 15: ...eneral Specifications 1 of 2 OPTICAL CONNECTORSa b c Option 012 FC PC connectors Option 014 ST connectors Option 017 SC connectors GENERAL SPECIFICATIONS Temperature Range Operating Storage 0 C to 55 C 40 C to 70 C Humidity Operating Storage Maximum relative humidity 95 for temperatures up to 40 C non condensing Maximum relative humidity less than 90 at 65 C Altitude Altitude up to 15 000 feet 4 5...

Страница 16: ...61C HP 86062C 132 6 213 345 4 mm 5 25 8 39 14 in 177 213 345 4 mm 7 8 39 14 in 177 425 345 4 mm 7 16 75 14 in a All Agilent 86060C series lightwave switches must specify one of the following options except when specifying Option 3xx b Unlike most Agilent Technologies lightwave instruments connector types are not interchangeable c Other connector types are available upon request d Feet add 12 5 mm ...

Страница 17: ...1 11 General Information Specifications and Regulatory Information ...

Страница 18: ...ly in the mechanical assembly that holds the ferrule in position against another identical ferrule Connectors also vary in the polish curve and concentricity of the core within the cladding Mating one style of cable to another requires an adapter Agilent Technologies offers adapters for most instruments to allow testing with many different cables Figure 1 1 on page 1 13 shows the basic components ...

Страница 19: ...epresents a good compromise between performance reli ability and cost If properly maintained and cleaned this connector can withstand many repeated connections However many instrument specifications require tighter tolerances than most connectors including the FC PC style can deliver These instruments cannot tolerate connectors with the large non concentricities of the fiber common with ceramic st...

Страница 20: ...ection of the Diamond HMS 10 connector The nickel silver allows an active centering process that permits the glass fiber to be moved to the desired position This process first stakes the soft nickel silver to fix the fiber in a near center location then uses a post active staking to shift the fiber into the desired position within 0 2 µm This process plus the keyed axis allows very precise core to...

Страница 21: ...he end of the fiber any stray particles or finger oil can have a significant effect on connector performance Where many repeat connections are required use of a connector saver or patch cable is recommended Figure 1 4 shows the end of a clean fiber optic cable The dark circle in the center of the micrograph is the fiber s 125 µm core and cladding which carries the light The surrounding area is the...

Страница 22: ...hieve the best possible performance when making measurements on a fiber optic system Never use metal or sharp objects to clean a connector and never scrape the connector Avoid matching gel and oils Figure 1 4 Clean problem free fiber end and ferrule Figure 1 5 Dirty fiber end and ferrule from poor cleaning ...

Страница 23: ...ber optic cable into a connector gently insert it in as straight a line as possible Tipping and inserting at an angle can scrape material off the inside of the connector or even break the inside sleeve of connectors made with ceramic material When inserting a fiber optic connector into a connector make sure that the fi ber end does not touch the outside of the mating connector or adapter Avoid ove...

Страница 24: ...performance they can be used to determine connector degradation A smooth polished fiber end should pro duce a good return loss measurement The quality of the polish establishes the difference between the PC physical contact and the Super PC con nectors Most connectors today are physical contact which make glass to glass connections therefore it is critical that the area around the glass core be cl...

Страница 25: ...e procedures in this section provide the proper steps for cleaning fiber optic cables and Agilent Technologies universal adapters The initial cleaning using the alcohol as a solvent gently removes any grit and oil If a caked on layer of material is still present this can happen if the beryllium copper sides of the ferrule retainer get scraped and deposited on the end of the fiber during insertion ...

Страница 26: ...w clean lint free cotton swab or lens paper 4 Clean the fiber end with the swab or lens paper Do not scrub during this initial cleaning because grit can be caught in the swab and become a gouging element 5 Immediately dry the fiber end with a clean dry lint free cotton swab or lens paper 6 Blow across the connector end face from a distance of 6 to 8 inches using filtered dry compressed air Aim the...

Страница 27: ... adapters allow you to connect the instrument to different types of fiber optic cables Figure 1 7 Universal adapters 1 Apply isopropyl alcohol to a clean foam swab Cotton swabs can be used as long as no cotton fibers remain after cleaning The foam swabs listed in this section s introduction are small enough to fit into adapters Although foam swabs can leave filmy deposits these deposits are very t...

Страница 28: ...intenance contract it will be repaired under the terms of the warranty or contract the warranty is at the front of this manual If the instrument is no longer under warranty or is not covered by an Agilent Technologies mainte nance plan Agilent Technologies will notify you of the cost of the repair after examining the unit When an instrument is returned to a Agilent Technologies service office for ...

Страница 29: ... IO N Instrument damage can result from using packaging materials other than the original materials Never use styrene pellets as packaging material They do not adequately cushion the instrument or prevent it from shifting in the carton They may also cause instrument damage by generating static electricity 3 Pack the instrument in the original shipping containers Original materials are available th...

Страница 30: ...et filled with air bubbles Use the pink antistatic Air Cap to reduce static electricity Wrapping the instrument several times in this ma terial will protect the instrument and prevent it from moving in the carton 4 Seal the carton with strong nylon adhesive tape 5 Mark the carton FRAGILE HANDLE WITH CARE 6 Retain copies of all shipping papers ...

Страница 31: ...umbers listed below Agilent Technologies Service Numbers Austria 01 25125 7171 Belgium 32 2 778 37 71 Brazil 11 7297 8600 China 86 10 6261 3819 Denmark 45 99 12 88 Finland 358 10 855 2360 France 01 69 82 66 66 Germany 0180 524 6330 India 080 34 35788 Italy 39 02 9212 2701 Ireland 01 615 8222 Japan 81 426 56 7832 Korea 82 2 3770 0419 Mexico 5 258 4826 Netherlands 020 547 6463 Norway 22 73 57 59 Rus...

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

Страница 33: ...ct the shipment 2 3 Step 2 Check the fuse 2 4 Step 3 Connect the line power cable 2 5 Step 4 Turn on the lightwave switch 2 7 Step 5 Performing an operational check 2 8 If The Operational Check Fails 2 10 Installing ...

Страница 34: ...tch is readily identi fiable and is easily reached by the operator The ON OFF switch or the detachable power cord is the instrument disconnecting device It disconnects the mains circuit from the mains supply after the EMC filters and before other parts of the instrument Alternatively an external installed switch or circuit breaker which is easily identifiable and is easily reached by the operator ...

Страница 35: ...erials and notify both the shipping carrier and the nearest Agilent Technologies service office Agilent Technologies will arrange for repair or replacement of damaged or incomplete shipments without waiting for a settlement from the transportation company Notify the Agilent Technologies customer engineer of any problems 2 Make sure that the serial number and options listed on the instrument s rear...

Страница 36: ...e pull out line fuse drawer WAR N I N G For continued protection against fire hazard replace line fuse only with same type and ratings 2A 250V The use of other fuses or materials is prohibited Figure 2 1 Changing the fuse 4 Verify that the value of the line fuse in the pull out drawer is correct 115V operation 5 20 mm 2A 250 V fast acting UL CSA fuse 2110 0702 230V operation 5 20 mm 2A 250 V fast ...

Страница 37: ...grounds the instrument cabinet Various power cables are available to connect the lightwave switch to the types of ac power outlets unique to specific geographic areas The cable appropriate for the area to which the lightwave switch is originally shipped is included with the unit You can order additional ac power cables for use in dif ferent areas Power Cords on page 2 6 lists the available ac powe...

Страница 38: ... nations 125V 8120 1378 8120 1521 8120 1992 Straight NEMA5 15P 90 Straight Medical UL544 90 228 90 228 96 244 Jade Gray Jade Gray Black United States Canada Mexico Philippines Taiwan 250V 8120 2104 8120 2296 Straight SEV1011 1959 24507 Type 12 90 79 200 79 200 Mint Gray Mint Gray Switzerland 220V 8120 2956 8120 2957 Straight DHCK107 90 79 200 79 200 Mint Gray Mint Gray Denmark 250V 8120 4211 8120 ...

Страница 39: ...age Initializing When the switch is turned on it automatically resets to channel 0 reset opti cal off position Screen Saver A screen saver has been built in to the switch to prolong the lifetime of the backlit LCD The screen saver turns off the LCD backlighting after 10 minutes elapses without a front panel key being pressed The time interval is not adjustable To resume operation press any key ...

Страница 40: ...ghtwave coupler an Agilent 8504B precision reflectometer an Agilent 8153A lightwave multimeter and Agilent 81534A return loss module Many other possibilities exist The basic requirements are an appropriate lightwave source a compatible lightwave receiver and a compatible lightwave coupler Refer to the manuals provided with your lightwave test equipment for infor mation on how to perform a return l...

Страница 41: ...source and a compatible lightwave receiver Refer to the manuals provided with your lightwave test equipment for information on how to per form an insertion loss test Typical insertion loss for cables is less than 1 dB and can be as little as 0 1 dB For actual specifications on your particular cable or accessory refer to the manufacturer ...

Страница 42: ...re for the test being performed when the problem appeared Are all the settings correct 7 Are the connectors clean Refer to Cleaning Connections for Accurate Measurements on page 1 12 for more information about cleaning the connectors Refer to Spare Channel Replacement Procedure on page 5 4 for more infor mation If the Agilent 86060C lightwave switch still fails return it to Agilent Technolo gies f...

Страница 43: ...3 Front Panel Features 3 3 Rear Panel Features 3 5 Changing Switch Position 3 6 Adjusting Display Contrast 3 7 Saving Switch States 3 7 Using the Switch ...

Страница 44: ...rts within the enclosure WAR N I N G To prevent electrical shock disconnect the Agilent 86060C series switch from the mains before cleaning Use a dry cloth or one slightly dampened with water to clean the external case parts Do not attempt to clean internally WAR N I N G On Option 002 dual input instruments any light on an unselected A channel will likely be output on one of the unselected B chann...

Страница 45: ...nal path of the switch and the current GPIB status of the RMT LSN TLK and SRQ lines key Use this key to adjust the 0contrast of the display HELP key Press to use built in Help Then press any of the front panel keys A short explanation of that key s function will be displayed Screen Saver A screen saver has been built in to the switch to prolong the lifetime of the backlit LCD The screen saver turn...

Страница 46: ...ter has placed the instrument in remote control is this key to reenable front panel control SAVE RECALL keys Use these keys to save and recall switch configurations Ten internal memory registers selected using the numeric keypad are available SWITCH PORT key Repeatedly pressing this key activates either A or B channels Once acti vated use the arrow keys to select the active switch port ...

Страница 47: ...l connectors depends on the Agilent 86060C series switch The connectors are grouped as Port A and Port B GPIB connector Provides for remote control of the lightwave switch via the GPIB interface bus Refer to Programming over GPIB on page 4 6 RS 232 connector Provides for remote control of the lightwave switch via RS 232 Refer to Pro gramming over RS 232 on page 4 8 ...

Страница 48: ...TER The new connection is displayed on the front panel display To set dual port A switches The 2 N switch has two Port A channels and multiple Port B channels 1 To select the Port A channel press SWITCH PORT The Port A channels are shown in inverse video and the prompt Port A active appears at the bottom of the display 2 To select a Port B channel again press SWITCH PORT The Port B channels are sh...

Страница 49: ...contrast then press ENTER Saving Switch States To save a state To save the currently displayed switch state in one of the ten internal storage registers press SAVE and then press one of the numeric keys 0 9 To recall a state To recall a previously saved switch state from one of the ten internal storage registers press RECALL and then press one of the numeric keys 0 9 ...

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

Страница 51: ... Information 4 3 Programming over GPIB 4 6 Programming over RS 232 4 8 Common Commands 4 11 Standard SCPI Commands 4 22 Instrument Specific Commands 4 26 Error Messages 4 30 Programming Examples 4 31 Programming ...

Страница 52: ...HP 9000 Series 200 300 Controller For more information regarding the GPIB the IEEE 488 2 standard or the SCPI standard refer to the following books Hewlett Packard Company Tutorial Description of Hewlett Packard Interface Bus 1987 Hewlett Packard Company SCPI Standard Commands for Programmable Instruments 1991 International Institute of Electrical and Electronics Engineers IEEE Standard 488 1 1987...

Страница 53: ...report device dependent errors In the lightwave switch these commands have no function but are included for SCPI compatibility Standard SCPI command headers are compound headers consisting of two or more mnemonics Example STATUS OPERATION ENABLE Instrument specificcommands Instrument specific commands are those commands which are specific to the control of the switch These commands control switch ...

Страница 54: ...o channel 5 OUTPUT 711 ROUTE LAYER1 CHANNEL A2 B5 To learn more about this command refer to ROUTe LAYer CHANnel on page 4 27 The current switch setting can be queried The query ROUTE LAYER1 CHANNEL places the current channel setting on layer 1 in the output queue In HP BASIC the controller input statement ENTER device address Setting passes the value across the bus to the controller and places it ...

Страница 55: ...ns in the output queue until it is read or another command is issued When read the answer is transmitted across the bus to the designated listener typically a controller The output queue must be read before the next program message is sent For example when you send the query SYSTEM CONFIG you must follow that query with an input statement In HP BASIC this is usually done with an ENTER statement im...

Страница 56: ...a mode when the ATN line is false The data mode is used to convey device dependent messages across the bus Addressing The address is used to determine which instrument on the interface bus with which the controller is communicating Each device on the GPIB resides at a particular address 0 30 The active controller specifies which devices talk and which listen An instrument may be talk addressed lis...

Страница 57: ... address 704 For this instrument the address is typically set to 11 at the factory This address can be changed by pressing the LOCAL key on the front panel Lockout With GPIB the instrument is placed in the lockout mode by sending the local lockout command LLO The instrument can be returned to local by sending the go to local command GTL to the instrument Bus commands The following commands are IEE...

Страница 58: ...he operation and exact connections for this interface are described in more detail in the following sec tions When you are using a controller to program a switch over RS 232 you are normally operating directly between two DTE Data Terminal Equipment devices as compared to operating between a DTE device and a DCE Data Communications Device device Cables The type of RS 232 cable you use to connect t...

Страница 59: ...ed exactly the same for both the controller and the switch to properly communi cate over the RS 232 interface The RS 232 interface capabilities of the light wave switch are listed below Baud Rate 1200 or 9600 Parity None Data Bits 8 Stop Bits 1 The baud rate is factory set to 9600 baud To change the baud rate press the LOCAL key twice The current baud rate is displayed Use the arrow keys to change...

Страница 60: ...for those interface codes which are reserved by the controller for internal peripherals and other internal interfaces This value can be selected through switches on the interface card For more information refer to the ref erence manual for your interface card or controller RS 232 commands RS 232 control of the switch is initiated by sending the OPEN RS232 COM command over the interface This places...

Страница 61: ... left in the idle state The com mand does not alter the instrument setting OPC OPC actions are can celled Usage GPIB only Command Syntax CLS Example OUTPUT 711 CLS ESE Event Status Enable The ESE command sets the bits in the Standard Event Status Enable Regis ter and enables the corresponding bits in the Standard Event Status Register The Standard Event Status Enable Register contains a mask value...

Страница 62: ...64 In this example the ESE 64 command enables URQ user request bit 6 of the Standard Event Status Enable Register Therefore when a front panel key is pressed the ESB event summary bit in the Status Byte Register is also set Query Syntax ESE Returned Format mask NL Where mask 0 to 255 integer NR1 format Table 4 1 Standard Event Status Enable Register High Enables the ERS bit Bit Bit Weight Enables ...

Страница 63: ...bit in the Event Status Register and its bit weight Reading the register clears the Event Status Register Usage GPIB only Query Syntax ESR Returned Format status NL Where status 0 to 255 integer NR1 format Example OUTPUT 711 ESR ENTER 711 Event PRINT Event 1 2 NOT USED 0 1 OPC Operation Complete Table 4 1 Standard Event Status Enable Register High Enables the ERS bit Bit Bit Weight Enables Table 4...

Страница 64: ... query in a program message are ignored Usage GPIB and RS 232 Query Syntax IDN Returned Format HEWLETT PACKARD 8606XC 0 VERSION X X Where X X firmware revision number 8606XC is the model number and can be 86060C 86061C or 86062C Example DIM Id 50 OUTPUT 711 IDN ENTER 711 Id PRINT Id 4 16 EXE Execution Error 3 8 NOT USED 2 4 QYE Query Error 1 2 NOT USED 0 1 OPC Operation Complete Table 4 2 Standard...

Страница 65: ...at 1 NL Example OUTPUT 711 OPC ENTER 711 Op RCL Recall The RCL command recalls the state of the instrument from the specified instrument state register If the instrument state register has not been previ ously stored the RCL command will restore the instrument to its power on state Usage GPIB and RS 232 NOTE The OPC command can be used to ensure all switch movement operations have com pleted befor...

Страница 66: ...power up condition For all lay ers each port is set to its OFF position or channel 1 Usage GPIB and RS 232 Command Syntax RST Example OUTPUT 711 RST SAV Save The SAV command saves the current state of the instrument to the specified instrument state register Usage GPIB and RS 232 Command Syntax SAV value Where value 0 to 9 integer NR1 format Example OUTPUT 711 SAV 3 ...

Страница 67: ...le 4 3 lists the bits in the Service Request Enable Register and what they mask The Service Request Enable Register is cleared at power on The RST and CLS commands do not change the register The SRE query returns the value of the Service Request Enable Register Usage GPIB only Command Syntax SRE mask Where mask 0 to 255 Example OUTPUT 711 SRE 32 In this example the SRE 32 command enables ESB event...

Страница 68: ...quest Enable Register Service Request Enable Register High Enables the SRE bit Bit Bit Weight Enables 7 128 Not Used 6 64 MSS Master Summary Status 5 32 ESB Event Status Bit 4 16 MAV Message Available 3 8 Not Used 2 4 Not Used 1 2 Not Used 0 1 OPP Operation Pending ...

Страница 69: ... Status Byte Register and its bit weight The STB query does not affect the contents of the Status Byte Register Usage GPIB only Query Syntax STB Returned Format value NL Where value 0 to 255 integer NR1 format Example OUTPUT 711 STB ENTER 711 Value PRINT Value NOTE To read the instrument s status byte with RQS reported on bit 6 use the interface Serial Poll NOTE The STB query can be used to determ...

Страница 70: ...an operational check on page 2 8 Usage GPIB and RS 232 Query Syntax TST Returned Format result NL Where result 0 or non zero value 0 indicates the test passed non zero indicates the test failed Example OUTPUT 711 TST ENTER 711 Result PRINT Result Table 4 4 Status Byte Register Bit Bit Weight Condition 7 128 Not Used 6 64 MSS Master Summary Status 5 32 ESB Event Status Bit 4 16 MAV Message Availabl...

Страница 71: ... Usage GPIB only Command Syntax WAI Example OUTPUT 711 ROUTE LAYER1 CHANNEL A2 B4 OUTPUT 711 WAI OUTPUT 711 SYSTEM CONFIG ENTER 711 DUMMY NOTE The WAI command can be used to ensure all switch movement operations have com pleted before continuing the program Following a ROUTE LAYER CHANNEL command with a WAI command followed by a query will ensure the query is not answered until the switch has sett...

Страница 72: ...s the value 0 Usage GPIB only Query Syntax STATus node CONDition Returned Format value Where value 0 integer NR1 node OPERation QUEStionable Example OUTPUT 711 STATUS OPERATION CONDITION ENTER 711 Value PRINT Value STATus node ENABle The STATus node ENABle command sets the enable register for the node Enable registers have no function in this instrument but the command is included for compatabilit...

Страница 73: ...1 Example OUTPUT 711 STATUS QUESTIONABLE ENABLE ENTER 711 Value PRINT Value STATus node EVENT The STATus node EVENT query returns the value of the event register for the node Event registers have no function in this instrument but the query is included for compatability with the SCPI standard This query always returns the value 0 Usage GPIB only Query Syntax STATus node EVENT Returned Format value...

Страница 74: ...the next error number and error descrip tion in the error queue over the interface This instrument has an error queue 100 errors deep and operates on a first in first out basis Repeatedly sending the query SYSTEM ERROR returns the error numbers and descriptions in the order in which they occur until the queue is empty Any further queries returns 0 No errors until another error occurs Refer to Tabl...

Страница 75: ...4 25 Programming SYSTem ERRor Where value an integer error code NR1 string text of error message Example DIM Error 50 OUTPUT 711 SYSTEM ERROR ENTER 711 Error PRINT Error ...

Страница 76: ...the same as pressing the LOCAL key while in remote operation over the RS 232 interface Usage RS 232 only Command Syntax CLOSE RS232 COM Example com_port 9 OUTPUT com_port CLOSE RS232 COM OPEN RS232 COM The OPEN RS232 COM command enables remote operation of the instrument over the RS 232 interface and locks out the front panel keyboard This com mand must be sent before sending any other commands ov...

Страница 77: ...er the port has an OFF position The maximum number of layers and channels is depen dent on the switch configuration If the command parameters are outside the permitted range for the switch configuration the switch position is not changed and an error is generated The ROUTe LAYer CHANnel query returns the current port settings for the specified layer If no layer is specified the default value is la...

Страница 78: ...instru ment For each layer the minimum and maximum channel numbers for each port are given Usage GPIB and RS 232 Query Syntax SYSTem CONFig Returned Format config L i A j1 A k1 B l1 B m1 A j2 A k2 B l2 B m2 Where i number of layers on switch j1 minimum available channel on port A layer 1 k1 maximum available channel on port A layer 1 l1 minimum available channel on port B layer 1 m1 maximum availa...

Страница 79: ...4 29 Programming SYSTem CONFig Example DIM Config OUTPUT 711 SYSTem CONFIG ENTER 711 Config PRINT Config ...

Страница 80: ...r 140 Character Data error 150 String Data error 170 Expression error 220 Parameter error 350 Too many errors 410 Query INTERRUPTED 420 Query UNTERMINATED 430 Query DEADLOCKED 300 Frame error 310 Invalid command byte 320 Invalid switch module byte 330 Invalid data byte 340 Packet checksum error 4xx Switch module xx not responding 5xx Switch module xx motor failed ...

Страница 81: ...us Byte Register is read repeatedly using the STB query When bit 0 of the Status Byte Register returns to zero the switch has settled to its new position Example 3 Repeating the same program as the first two examples the OPC command and ESR query are now used to determine that the switch has settled to its new position The OPC command is sent before the ROUTE LAYER CHANNEL command and then the Sta...

Страница 82: ...M VAL B_position 80 Command ROUTE LAYER1 CHANNEL Channel 90 OUTPUT Switch_addr Command 100 GOSUB Wait_to_settle 110 REPEAT 120 OUTPUT Switch_addr SYSTEM ERROR 130 ENTER Switch_addr Error_return 140 PRINT Error_return 150 UNTIL VAL Error_return 0 170 GOTO Exit_prog 180 190 Wait_to_settle wait for switch to settle 200 OUTPUT Switch_addr WAI 210 OUTPUT Switch_addr SYSTEM CONFIG 220 ENTER Switch_addr ...

Страница 83: ...s are printed to the screen This loop exits when the numeric value of the error string equals 0 This will occur when the error message 0 no error is returned 170 Go to the end of the program 190 to 230 The wait_for_settle subroutine 200 Output the WAI command to the Agilent 8606X Optical Switch This command will prevent the switch from executing any further commands until the previous command that...

Страница 84: ...nnel 80 Error_return 80 30 Switch_addr 711 40 CLEAR SCREEN 50 INPUT Enter A port position A_position 60 INPUT Enter B port position B_position 70 Channel A TRIM VAL A_position B TRIM VAL B_position 80 Command ROUTE LAYER1 CHANNEL Channel 90 OUTPUT Switch_addr Command 100 GOSUB Wait_to_settle 110 REPEAT 120 OUTPUT Switch_addr SYSTEM ERROR 130 ENTER Switch_addr Error_return 140 PRINT Error_return 15...

Страница 85: ...rams except that it uses yet another method for determining when the switch is set tled This settling method sends the OPC command before the ROUTE LAYER CHANNEL commands and then reads the Standard Event Sta tus Register repeatedly until bit 0 is set to one Listing 10 INTEGER Switch_addr A_position B_position Esr_byte 20 DIM Command 80 Channel 80 Error_return 80 Config 80 30 Switch_addr 711 40 CL...

Страница 86: ...oop 210 Send the ESR command to the switch This queries the switch for the Event Status Register value 220 Read the value of the Event Status Register 230 If the LSB of the ESR is 1 that is the switch is settled exit the loop If the LSB is 0 that is switch is moving then loop back to line 200 240 Return from subroutine Example 4 Input output multiplexers This program illustrates how two Agilent 86...

Страница 87: ...error message if any measured power drops below 1 microwatt Listing 10 INTEGER In_switch_addr Out_switch_addr Opt_meter_addr 20 INTEGER Meas_count Current_dut 30 REAL Watts_read Min_power 40 DIM In_switch 80 Out_switch 80 Dummy 50 50 60 CLEAR SCREEN 70 PRINT THIS PROGRAM MEASURES ALL DUT POWERS EVERY 5 MINUTES 80 PRINT IT WILL STOP MEASURING AFTER 50 MEASUREMENT CYCLES 90 PRINT TO HALT PROGRAM EAR...

Страница 88: ...asure_duts measure all eight duts 390 Turn on laser 400 OUTPUT Opt_meter_addr SOURCE1 POWER STATE ON 410 step through and measure all DUTs 420 FOR Current_dut 1 TO 8 430 build hpib commands to send to switches 440 In_switch ROUTE LAYER1 CHANNEL B TRIM VAL Current_dut 450 Out_switch ROUTE LAYER1 CHANNEL B TRIM VAL Current_dut 460 send command to switches 470 OUTPUT In_switch_addr In_switch 480 OUTP...

Страница 89: ... key initiated branching When f8 is pressed program will end 160 Initialize measurement counter to zero 170 to 180 Loop waiting for events until measurement count gets to 50 190 Exit program 210 to 350 The Init_system subroutine 220 Clear the GPIB bus 240 to 260 Define GPIB addresses for input and output switches optical multimeter 280 Define Min_power to be 1 microwatt 300 to 340 Configure optica...

Страница 90: ... LAYER1 CHANNEL B3 Note that since the switches are 1x8 it is not necessary to specify the position of the A ports 500 to 550 Use the WAI command to ensure both switches have settled 570 to 610 Read the optical power from the optical multimeter If this power is less than Min_power then print appropriate error message to screen 630 Increment Meas_count 640 Return to calling line 660 to 690 End_prog...

Страница 91: ...5 Spare Channel Replacement Procedure 5 4 Electrostatic Discharge Information 5 7 Servicing ...

Страница 92: ...d warnings in this manual must be heeded WAR N I N G Refer to the summary of safety considerations at the front of this manual WAR N I N G These servicing instructions are for use by qualified personnel only To avoid electrical shock do not perform any servicing unless you are qualified to do so WAR N I N G Failure to ground the lightwave switch properly can result in personal injury as well as in...

Страница 93: ...5 3 Servicing Servicing Required service tools To enable extra fiber connector the following tools are required TORX driver 15 TORX driver 20 ...

Страница 94: ...the tie wrap Switches with 50 channels or less have one spare fiber Switches with more than 50 channels have two spare fibers labeled S1 and S2 4 Replace the defective port cable connector assembly with the spare assembly Note the label on the spare cable connector and record the identification number S1 or S2 for use later on in this procedure Identification number ____________ 5 Replace the top ...

Страница 95: ...for spare fiber 1 or 2 for spare fiber 2 You recorded this identification number in Step 4 11 The display will prompt you to enter the number of the front or rear panel channel to be replaced Enter the number of the channel and press Enter The display will show the intended cable changes 12 Press Enter to confirm the changes Figure 5 1 Top view of the Agilent 86060C or 86061C lightwave switch ...

Страница 96: ...5 6 Servicing Spare Channel Replacement Procedure Figure 5 2 Top view of the Agilent 86062C lightwave switch ...

Страница 97: ... at a static safe work station The following figure shows an example of a static safe work station using two types of ESD protection Conductive table mat and wrist strap combination Conductive floor mat and heel strap combination Both types when used together provide a significant level of ESD protection Of the two only the table mat and wrist strap combination provides adequate ESD protection whe...

Страница 98: ...ting and servicing operations Personnel should be grounded with a resistor isolated wrist strap before re moving any assembly from the unit Be sure all instruments are properly earth grounded to prevent a buildup of static charge Table 3 Static Safe Accessories Agilent Part Number Description 9300 0797 Set includes 3M static control mat 0 6 m 1 2 m 2 ft 4 ft and 4 6 cm 15 ft ground wire The wrist ...

Страница 99: ...er optic connections 1 12 1 20 non lensed connectors 1 20 CLOSE RS232 COM command 4 10 command instrument specific 4 3 standard SCPI 4 3 types 4 3 communicating RS 232 4 10 compressed dust remover 1 19 connector care 1 12 contrast key 3 3 cotton swabs 1 19 D damaged shipment 2 3 data bits 4 9 declaration of conformity 1 11 display 3 3 dust caps 1 20 E electrostatic discharge 5 7 EMI compatibility ...

Страница 100: ...ector 2 4 power requirements 2 5 LINE switch 3 3 line power cables 2 6 LOCAL key 3 4 4 6 M multimode fiber 1 3 N noise declaration 1 10 O OFF position 1 3 OPEN RS232 COM command 4 10 operation interface 4 8 operational check 2 8 Option 025 1 2 2 2 Option 109 1 3 Option 153 1 3 Option H51 1 3 Options 1 5 options 1 5 P packaging for shipment 1 23 pigtail connections 1 2 2 2 pollution degree 1 9 powe...

Страница 101: ... procedure 5 4 returning for 1 22 sales and service offices 1 25 service options 2 10 service tools 5 3 shipping procedure 1 22 single mode fiber 1 3 spare fiber installation 5 4 spare fiber optic cables 5 2 specifications 1 7 standard SCPI commands definition 4 3 swabs 1 19 SWITCH PORT key 3 4 switching 1 3 T temperature range 1 9 turning on the lightwave switch 2 7 V VA power requirements 2 5 W ...

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

Отзывы: