Page 3
Gives an overview of the various communication interfaces. Chapter 2 Connecting the PC Describes the functions and specifications of the USB interface and the Ethernet Interface used to control the AQ7277 from a PC. Chapter 3 Before Programming Describes the syntax used to transmit commands. Chapter 4 Remote Commands Describes each command that is available. IM AQ7277-17EN...
Explanation This subsection describes the setup parameters and the limitations on the procedures. Note Calls attention to information that is important for proper operation of the instrument. Units Symbol Description Example 1000 400km 1024 459KB (file size) IM AQ7277-17EN...
Page 5
Symbols Used in Syntax Descriptions Symbols which are used in the syntax descriptions in Chapter 4 are shown below. These symbols are referred to as BNF notation (Backus-Naur Form). For detailed information, see section 3.4, “Data.” Symbol Description Example Example of Input <> SET:M<x> <x> = 1,2,3 -> SET:M2 Defined value LMTechnique {LSA|TPA} -> LMTechnique TPA One of the options in {} is selected. | Exclusive OR IM AQ7277-17EN...
Page 6
MENU Group ......................4-16 MISC Group......................4-17 NETWork Group ..................... 4-18 SETup Group ......................4-19 STATus Group ......................4-19 WAVedata Group ....................4-20 SYSTem Group....................... 4-21 Condition Register ......................4-22 Output Queue and Error Queue ..................4-23 4.6 Error Messages ......................4-24 IM AQ7277-17EN...
Chapter 1 Remote Control Function Overview Remote Interface The AQ7277 is equipped with the following remote interfaces. USB 1.1 Interface (Type B. See Chapter 2) This interface is used by a controller such as a PC to remotely control the AQ7277. A controller is connected to this interface. Remote commands are used to control the AQ7277.
Page 8
When Switching from Local to Remote Mode The AQ7277 is in local mode when it is being controlled with the remote controller for the AQ7277 Remote OTDR. It is in remote mode when it is being controlled through the use of communication commands.
PCs with standard USB ports running W indows XP, Windows Vista,or Windows 7. Index (A separate device driver is required to connect to a PC.) Connection Procedure Connecting a USB Cable to Remotely Control the AQ7277 Connect a USB cable to the Type B connector. Precautions to Be Taken When Connecting the Cable • Connect the USB cable by inserting the connector firmly into the USB connector. • Do not connect or disconnect the USB cable after the power is turned ON until the AQ7277 is ready for operation (approximately 20 s). IM AQ7277-17EN...
Ethernet interface. Ethernet Interface Functions and Specifications Reception Function You can specify the same settings as those specified by AQ7277 Remote Controller. Receives output requests for measured and computed data, setup data, and error codes. Transmission Function Outputs measured and computed data.
Page 11
2.2 Connecting via the Ethernet Interface Connection Procedure Connect a UTP (Unshielded Twisted-Pair) cable or an STP (Shielded Twisted-Pair) cable that is connected to a hub, for example, to the 100BASE-TX port. Precautions to Be Taken When Connecting the Cable • Be sure to use a straight cable via a hub for the connection between the AQ7277 and the PC. • When using a UTP cable (straight cable), use a cable of category 5. Note Set the TCP/IP address using the remote controller for the AQ7277 Remote OTDR. For the procedure, see the user's manual for the remote controller for the AQ7277 Remote OTDR. Index IM AQ7277-17EN...
(The data byte sent with an END message will be the final item of the program message unit.) • NL^END NL with an END message attached(NL is not included in the program message unit.) <Program Header> A program header is used to indicate the command type. For details, refer to page 3-3. <Program Data> If certain conditions are required for the execution of a command, program data must be added. Program data must be separated from the header by a space (ASCII code "20H"). If multiple items of program data are included, they must be separated by a "," (comma). For details, refer to page 3-5. :ACQuire:AVERage:MODE HIREFLECTION<PMT> Example Data Header IM AQ7277-17EN...
• If a program message of more than one unit is sent and some of the units are incomplete, this instrument receives program message units which the instrument thinks complete and attempts to execute them. However, these attempts may not always be successful and a response may not always be returned, even if the program message contains queries. IM AQ7277-17EN...
Page 14
Compound Header Commands designed to be used only with this instrument are classified and arranged in a hierarchy according to their function. The format of a compound header is below. A colon (:) must be used when specifying a lower-level header. An example of a compound header : ACQuire: AVERage: MODE Index IM AQ7277-17EN...
Page 15
If a terminator is used to separate two commands,each command is a separate message. Therefore, thecommon header must be typed in for each commandeven when commands of the same command groupare being concatenated. Example :ACQuire:AVERage:MODE HIREFLECTION<PMT>:ACQuire:AVERage :TIME AUTO<PMT> IM AQ7277-17EN...
Page 16
This instrument interprets the header receivedaccording to the following rules. • Mnemonics are not case sensitive. Example "DRANge" can also be written as"drange" or "Drange." Index • The lowercase part of a header can be omitted. Example "DRANge" can also be written as"DRANG" or "DRAN." • If the header ends with a question mark, the command is a query. It is not possible to omit the question mark. Example "DRANge?" cannot be abbreviated to anything shorter than "DRAN?." • If the "x" at the end of a mnemonic is omitted, it is assumed to be "1." ExampleIf "M<x>" is written as "M,"this represents "M1." Note A mnemonic is a character string made up of alphanumeric characters.) IM AQ7277-17EN...
Page 17
When Returning a Response without a Header It is possible to remove the header from a responseconsisting of a header and data. The"COMMunicate:HEADer" command is used to do this. Abbreviated Form Normally, the lowercase part is removed from are sponse header before the response is returned to the controller. Naturally, the full form of the header canalso be used. For this, the "COMMunicate:VERBose" command is used. The part enclosed by [ ] is also omitted in the abbreviatedform. IM AQ7277-17EN...
Page 18
Symbol Description Example <NR1> Integer 125 –1 +1000 <NR2> Fixed point number 125.0 –.90 +001. <NR3> Floating point number 125.0E+0 –9E–1 +.1E4 <NRf> Any of the forms <NR1> to <NR3> is allowed. • Decimal values which are sent from the controller tothis instrument can be sent in any of the forms to<NR3>. In this case, <NRf> appears. • For response messages which are returned from this instrument to the controller, the form (<NR1> to<NR3> to be used) is determined by the query. Thesame form is used, irrespective of whether the valueis large or small. • In the case of <NR3>, the "+" after the "E" can be omitted, but the "–" cannot. • If a value outside the setting range is entered, the value will be normalized so that it is just inside the range. • If the value has more than the significant number of digits, the value will be rounded. IM AQ7277-17EN...
Page 19
Nano –12 P Pico –15 F Femto –18 Atto <Unit> Units which can be used are shown below. Symbol Word Description Meter Distance Second Time Decibel Level Micro meter Wavelength • <Multiplier> and <Unit> are not case sensitive. • "U" is used to indicate "µ." • "MA" is used for Mega (M) to distinguish it from Milli. • If both <Multiplier> and <Unit> are omitted, thedefault unit will be used. IM AQ7277-17EN...
Page 20
{ }. For interpretation rules, refer to “Header Interpretation Rules” on page 3-5. Form Example {SIMPLE|DETAIL|WIZARD|MULTI} DETAIL Index • As with a header, the "COMMunicate:VERBose"command can be used to return a response message in its full form. Alternatively, the abbreviated form can be used. • The "COMMunicate:HEADer" command does not affect <character data>. <Boolean> <Boolean> is data which indicates ON or OFF, and is expressed in one of the following forms. Form Example {ON|OFF|<NRf>} • When <Boolean> is expressed in <NRf> form, OFF is selected if the rounded integer value is "0" and ON is selected if the rounded integer is "Not 0." • A response message is always "1" if the value is ON and "0" if it is OFF. IM AQ7277-17EN...
Page 21
<Block Data> <Block data> is arbitrary 8-bit data. <Block data> is only used for response messages. Response messages are expressed in the following form. Form Example #N<N-digit decimal value><Data byte string> #800000010ABCDEFGHIJ • #N Indicates that the data is <Block data>. "N" is an ASCII character string number (digits) which indicates the number of data bytes that follow. • <N-digits decimal value> Indicates the number of bytes of data. (Example:00000010=10 bytes) • <Data byte string> The actual data. (Example: ABCDEFGHIJ) • Data is comprised of 8-bit values (0 to 255). This means that the ASCII code "0AH," which stands for "NL," can also be a code used for data. Hence,care must be taken when programming thecontroller. 3-10 IM AQ7277-17EN...
In such case, the following method must be used to synchronize with the end of the acquisition. Using the STATus:CONDition? Query The "STATus:CONDition?" command is used to query the contents of the condition register. Whether averaging measurement waveforms are being retrieved can be determined by reading bit 1 of the condition register. If bit 1 of the condition register is "1", waveforms are being retrieved. Otherwise, it is stopped.(Bit 1 is "0".) Note For details on the condition register, see section 4.4, "Condition Register." Index 3-11 IM AQ7277-17EN...
Sets the cursor link or queries the cursor link setting. 4-10 Sets the approximation method (event) or queries the current setting. :ANALysis:EMARker:LMTechnique 4-10 Sets marker M1 of the current event or queries the current setting. 4-10 :ANALysis:EMARker:SET:M1 :ANALysis:EMARker:SET:M2 Sets marker M2 of the current event or queries the current setting. 4-10 Sets marker M3 of the current event or queries the current setting. :ANALysis:EMARker:SET:M3 4-10 IM AQ7277-17EN...
Sets the marker information display or queries the current setting. 4-15 Initializes the display scale. 4-15 :DISPlay:ISCale :DISPlay:OVERview Sets overview display or queries the current setting. 4-15 :DISPlay:WAVE:TYPE Sets the waveform type display format or queries the current setting. 4-15 IM AQ7277-17EN...
Queries the waveform data in binary format. 4-20 :WAVedata:SEND:STARt Sets the start distance of the wavedata or queries the current setting. 4-20 :WAVedata:SEND:SIZE Sets the number of waveform data to acquire or queries the current 4-20 setting. SYSTem Group Execution of restarting :SYSTem:REBoot 4-21 IM AQ7277-17EN...
Common Commands *IDN? (Identification) *CLS(Clear Status) Function Queries the instrument type and firmware version. Function Clears all event status registers, the summary Syntax *IDN? of which is reflected in the status byte register. Example *IDN? -> YOKOGAWA,AQ7277-B01, Syntax *CLS SN123456789,F1.00 Example *CLS SN123456789: Serial number Description • Clears all queues, with the exception of the (9 digit string) output queue, and all event registers, with the F1.00:Firmware version...
Page 27
*TST? Example *TST? -> 0 Description Executes the operations below among the initialization sequence at startup and outputs the results. The screen retains the waveform screen while the initialization is in progress. Internal battery check Internal memory read check "0" is returned if both checks are successful, "1" if they are not. Index IM AQ7277-17EN...
:ACQuire:AUTO:DRANge? -> Syntax :ACQuire:AVERage:STARt :ACQ:AUT:DRAN 20000 Example :ACQuire:AVERage:STARt Description The unit is set to s. (second) Description This command is valid while the averaging :ACQuire:AUTO:PWIDth? measurement is only in progress. Function Queries the pulse width for AUTO. Syntax :ACQuire:AUTO:PWIDth? Example :ACQuire:AUTO:PWIDth? -> :ACQ:AUT:PWID 100E-09 IM AQ7277-17EN...
Page 29
:ACQuire:AVERage:TYPE? Syntax :ACQuire:OFFSet {<NRf>} Example :ACQuire:AVERage:TYPE TIMES :ACQuire:OFFSet? :ACQuire:AVERage:TYPE DURATION Example :ACQuire:OFFSet 1000 :ACQuire:AVERage:TYPE? -> :ACQuire:OFFSet? -> :ACQ:AVER:TYPE DURATION v:ACQ:OFFS 999.99265E+00 Description Times: TIMES Description The unit is set to m. (meter) Duration: DURATION IM AQ7277-17EN...
Page 30
:ACQuire:REALtime:STOP :ACQuire:WAVelength 1.650E-6 Function Stops the realtime measurement. :ACQuire:WAVelength? -> Syntax :ACQuire:REALtime:STOP :ACQ:WAV 1550E-09 Example :ACQuire:REALtime:STOP Description The wavelength that you can specify varies Description This command is valid while the realtime depending on the model. measurement is only in progress. IM AQ7277-17EN...
<NRf> = Depend on distance range, 0.00,2.50,5.00, …, 27.50 distance reference and IOR. Example :ANALysis:CURSor:DISTance 10.00 :ACQuire:SELection:SMPinterval? :ANALysis:CURSor:DISTance? -> Function Queris the selectable sampling interval. :ANAL:CURS:DIST 11.529900E+00 Syntax :ACQuire:SELection:SMPInterval? Description Depending on the distance range, distance Sample :ACQUIRE:SELECTION:SMPINTERVAL? -> reference and group refraction. :ACQUIRE:SELECTION:SMPINTERVAL 0.05,0.10,0.20,…,4.00 IM AQ7277-17EN...
Page 32
Enter a comment for the current event. Syntax :ANALysis:EMARker:SET:M3 You can enter the comment using up to 36 :ANALysis:EMARker:SET:M3? characters. Example :ANALysis:EMARker:SET:M3 :ANALysis:EMARker:SET:M3? -> :ANAL:EMAR:SET:M3 9.0471600E+03 Description The marker is set to the cursor position when you set the marker. 4-10 IM AQ7277-17EN...
Page 33
:ANALysis:EVENt:CURRent:RETurnloss? Function Inserts the event at the cursor position. Function Retrieves the return loss of the current event. Syntax :ANALysis:EVENt:INSert Syntax :ANALysis:EVENt:CURRent:RETurnloss? Example :ANALysis:EVENt:INSert Example :ANALYSIS:EVENT:CURRENT :RETURNLOSS? -> 2.000 :ANALysis:FEDetection Description The index number must be set ahead of time with Function Sets the fault event display or queries the current the :ANALysis:EVENt:CURRent:INDex command setting. Syntax before using this command. :ANALysis:FEDetection {<Boolean>} :ANALysis:FEDetection? Example :ANALysis:FEDetection ON :ANALysis:FEDetection? -> :ANAL:FED 0 4-11 IM AQ7277-17EN...
Page 34
:ANALysis:FMARker:SET:M1? -> ANAL :FMAR:SET:M1 7.2648300E+03 SATurated? Function Queries the saturation of the reflection level. :ANALysis:FMARker:SET:Y<x> Syntax :ANALysis:FMARker:REFLection Function Sets the auxiliary marker or queries the current :SATurated? setting. Example :ANALysis:FMARker:REFLection Syntax :ANALysis:FMARker:SET:Y<x> :SATurated? -> :ANAL:FMAR:REFL:SAT 0 :ANALysis:FMARker:SET:Y<x>? Description Unsaturated: <x> = 1,2,3 Saturated: Example :ANALysis:FMARker:SET:Y2 :ANALysis:FMARker:SET:Y2? -> ANAL :FMAR:SET:Y2 6.1786000E+03 4-12 IM AQ7277-17EN...
Page 35
Function Sets the threshold level of the splice loss or queries the current setting. Syntax :ANALysis:THReshold:SLOSs {<NRf>} :ANALysis:THReshold:SLOSs? <NRf> = 0.01 to 9.99 Example :ANALysis:THReshold:SLOSs 0.01 :ANALysis:THReshold:SLOSs? -> :ANAL:THR:SLOS 1.23 :ANALysis:TRACefix:STATe Function Sets the tracefix or queries the current setting. Syntax :ANALysis:TRACefix: STATe {<Boolean>} Example :ANALysis:STRACefix:STATe ON :ANALysis:STRACefix:STATe? -> } :ANALysis:STRACefix:STATe 1 4-13 IM AQ7277-17EN...
Page 36
Example :DISPlay:DISTance:LEFT 1000 Syntax :DISPlay:CURSor:TYPE {CROSS|LINE} :DISPlay:DISTance:LEFT? -> :DISPlay:CURSor:TYPE? :DISP:DIST:LEFT 498.97000E+00 Example :DISPlay:CURSor:TYPE LINE Description The range that you can specify varies depending :DISPlay:CURSor:TYPE? -> on the horizontal zoom rate. :DISP:CURS:TYPE CROSS Description Cross (+): CROSS Line (|): LINE 4-14 IM AQ7277-17EN...
Page 37
:DISPlay:GTYPe {OFF|LINE|DOTS} :DISPlay:GTYPe? Example :DISPlay:GTYPe OFF :DISPlay:GTYPe? -> :DISP:GTYP 0 Description Disable: Line: LINE Dots: DOTS :DISPlay:IMARk Function Sets the marker information display or queries the current setting. Syntax :DISPlay:IMARk {<Boolean>} :DISPlay:IMARk? Example :DISPlay:IMARk ON :DISPlay:IMARk? -> :DISP:IMAR 1 :DISPlay:ISCale Function Initializes the display scale. Syntax :DISPlay:ISCale Example :DISPlay:ISCale 4-15 IM AQ7277-17EN...
Page 38
Description Block data format. :MENU:MARKer? -> :MEN:MARK LINE :FILE:SOR:VALid? Function Confirms if it is possible to make the SOR format of the trace data. Syntax :FILE:SOR:VALid <Boolean> Sample :FILE:SOR:VALid? -> :FILE:SOR:VALID 0 :FILE:SOR:GET? Function Gets the sor format of trace. Syntax :FILE:SOR:GET? Sample :FILE:SOR:VALid? -> :FILE:SOR:VALID #6123456ABCDEFGHJ1234567890 Description Block data format. 4-16 IM AQ7277-17EN...
Page 39
Description This setting will come into effect when MISC: :MISC:LANGuage? -> DATE:SET is executed. :MISC:LANG ENGLISH :MISC:RLOSsmode Function Sets the reflection display or queries the current setting. Syntax :MISC:RLOSsmode {NORMAL | NTT} :MISC:RLOSsmode? Sample :MISC:RLOSSMODE NORMAL :MISC:RLOSSMODE? -> :MISC:RLOSSMODE NTT Description Return loss: NORMAL Reflection: NTT 4-17 IM AQ7277-17EN...
Page 40
Valid: ON or 1 Syntax :NETWork:DHCP <Boolean> This command is enabled after restarting. You can :NETWork:DHCP? restart by executing :SYSTem:REBoot. Example :NETWORK:DHCP ON :NETWORK:DHCP? -> :NETWORK:DHCP 1 Description Invalid: OFF or 0 Valid: ON or 1 It cannot be set if NETWork:STATe is turned OFF. This command is enabled after restarting. You can restart by executing :SYSTem:REBoot. 4-18 IM AQ7277-17EN...
Page 41
Syntax :STATus:QENable {<Boolean>} :STATus:QENable? Example :STATUS:QENABLE ON :STATUS:QENABLE? -> :STAT:QEN 1 :STATus:QMESsage Function Sets whether or not to attach message information to the response to the “:STATus:ERRor?” query or queries the current setting. Syntax :STATus:QMESsage {<Boolean>} :STATus:QMESsage? Example :STATUS:QMESSAGE OFF :STATUS:QMESSAGE? -> :STAT:QMES 1 4-19 IM AQ7277-17EN...
Page 42
Description Block data format. :WAVedata:OLDType:SEND? Function Queries the waveform data in Dot 4 format. Syntax :WAVedata:OLDType:SEND? Example :WAVedata:OLDType:SEND? -> #51000••• Description Block data format. :WAVedata:SEND:ASCii? Function Queries the waveform data in ASCII format. Syntax :WAVedata:SEND:ASCii? Example :WAVedata:SEND:ASCii? -> 0.000,1.234,••• :WAVedata:SEND:BINary? Function Queries the waveform data in binary format. Syntax :WAVedata:SEND:BINary? Example :WAVedata:SEND:BINary? -> #6123456ABCD••• Description Block data format. 4-20 IM AQ7277-17EN...
Page 43
4.3 Device-Specific Commands SYSTem Group :SYSTem:REBoot Function Execution of restarting Syntax :SYSTem:REBoot Example :SYSTEM:REBOOT Index 4-21 IM AQ7277-17EN...
The meaning of each bit of the condition register is as follows: Bit 0 REAL Set to 1 while the realtime measurement is in progress. Bit 1 AVE Set to 1 while the averaging measurement is in progress. Bit 3 Set to 1 while auto searching. Bit 5 Set to 1 while the plug is being checked. Bit 6 Set to 1 while the auto range measurement is in progress. Bit 14 WRM Set to 1 during warm-up. 4-22 IM AQ7277-17EN...
(refer to theprevious page).If the error queue becomes full, the final message willbe replaced by message “350, “Queue overflow”.” The error queue is emptied in the following cases (inaddition to when read-out is performed). •When the *CLS command is received •When power is turned ON again To see whether the error queue is empty or not, checkbit 2 (EAV) of the status byte. 4-23 IM AQ7277-17EN...
Hardware missing. 260 Expression error. Macro error. 272 Macro execution error. 273 Improper macro label. Macro definition too long. 276 Macro recursion error. Macro redefinition not allowed. Macro header not found. 350 Queue overflow. 410 Query INTERRUPTED. Query UNTERMINATED. 430 Query DEADLOCKED. Query UNTERMINATED after indefinite response. 4-24 IM AQ7277-17EN...
Page 47
911 T he Voltage of AC power supply is too low. The instrument may be damaged if it is kept using in this condition. The instrument will be powered off in 10 sec. Please make sure of using the dedicated AC adapter. 912 T he Voltage of AC power supply is too high. The instrument may be damaged if it is kept using in this condition. The instrument will be powered off in 10 sec. Please make sure of using the dedicated AC adapter. 917 The temperature inside the instrument is increasing. Please stop measuring, and wait for a while. 918 The temperature inside the instrument is too high. The measurement was aborted. Please power it off. There is incoming light. Or, optical module may be damaged. Incorrect date and time setting. Set the correct date and time. 923 The ambient temperature is out of range. The light source cannot be turned on. 925 Please use AC adapter. 4-25 IM AQ7277-17EN...
Need help?
Do you have a question about the AQ7277 and is the answer not in the manual?
Questions and answers