background image

3-5

IM AQ7277-17EN

Before Programming

1

2

3

4

5

App

Index

Upper-level Query

An upper-level query is a compound header to which aquestion mark is appended.  

Execution of an upper-level query allows all a group’s settings to be output atonce.  

Some query groups comprising more than threehierarchical levels can output all their 

lower level settings.

Example

  

:ANALysis:THReshold?<PMT> 

  

->:ANAL:THR:EOF 3.0;FERL 40.0;FESL 1.00;RLOS 70.0

    ;SLOS 0.03

Note

•  In reply to a query, a response can be returned as a program message to this instrument.  

Transmitting a response can restore the settings made when the query was executed.

•  Not all a group’s information will necessarily be sent out as a response.  

Some upper-

levelqueries will not return setup data which is not currently in use.  

Header Interpretation Rules

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

."

•  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.)

3.2  Commands

Summary of Contents for AQ7277

Page 1: ...User s Manual AQ7277 Remote OTDR Communication Interface IM AQ7277 17EN 2nd Edition ...

Page 2: ...rrors please contact your nearest YOKOGAWA representative Copying or reproduction of all or any part of the contents of this manual without YOKOGAWA s permission is strictly prohibited Trademarks Microsoft Internet Explorer Windows and WindowsVista are either registered trademarks or trademarks of Microsoft Corporation in the United States and or other countries Adobe Acrobat and PostScript are ei...

Page 3: ...iew 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 ...

Page 4: ... contains the operating procedure used to carry out the function described in the current section The procedures are written with inexperienced users in mind experienced users may not need to carry out all the steps 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 instr...

Page 5: ...re 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 Defined value SET M x x 1 2 3 SET M2 One of the options LMTechnique LSA TPA LMTechnique TPA in is selected Exclusive OR Conventions Used in This Manual ...

Page 6: ...Before Programming 3 1 Messages 3 1 3 2 Commands 3 3 3 3 Response 3 6 3 4 Data 3 7 3 5 Synchronization with the Controller 3 11 Chapter 4 Commands 4 1 A List of Commands 4 1 4 2 Common Commands 4 4 4 3 Device Specific Commands 4 6 ACQuire Group 4 6 ANALysis Group 4 9 COMMunicate Group 4 13 DISPlay Group 4 14 FILE Group 4 16 MENU Group 4 16 MISC Group 4 17 NETWork Group 4 18 SETup Group 4 19 STATus...

Page 7: ...lable for the remote commands see chapter 4 Ethernet Interface See Chapter 2 This interface is used by a controller such as a PC to remotely control the AQ7277 via the network Downloading the Library and Driver The items below are needed on the PC to use the communication functions via the USB interface Communication Library TMCTL USB connection device driver between the PC and AQ7277 YKUSB The it...

Page 8: ...ft keys on the remote controller for the AQ7277 Remote OTDR are disabled All keys except the Local key are disabled Settings entered in local mode are passed on even when the AQ7277 switches to remote mode When Switching from Remote to Local Mode In remote mode if you press Local on the remote controller for the AQ7277 Remote OTDR the AQ7277 switches to local mode You will be able to use the remot...

Page 9: ...e Specifications Electrical and mechanical specifications Conforms to USB Rev 1 0 Connector Type B connector receptacle Number of ports 1 Power supply Self powered Compatible PC systems PCs with standard USB ports running Windows XP Windows Vista or Windows 7 A separate device driver is required to connect to a PC Connection Procedure Connecting a USB Cable to Remotely Control the AQ7277 Connect a...

Page 10: ...Outputs measured and computed data Outputs setup data and the status byte Outputs error codes that have occurred Ethernet Interface Specifications Number of communication ports 1 Electrical and mechanical specifications Conforms to IEEE802 3 Transmission system Ethernet 10BASE T 100BASE TX Data rate 10 Mbps 100 Mbps Communication protocol TCP IP Connector type RJ45 connector Port number used 10001...

Page 11: ... 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 2 2 Connecting via...

Page 12: ...scription of the format of the program message unit refer to the explanation given furtherbelow ACQuire AVERage MODE HIREFLECTION TIME AUTO PMT Unit Unit Example PMT PMT is a terminator used to terminate each program message The following three types of terminator are available NL New Line Same as LF Line Feed ASCII code 0AH is used END END message defined in IEEE488 1 EOI signal The data byte sen...

Page 13: ...t it is not always true that the n th unit always responds to the n th query Therefore if you want to make sure that a response is made to eachquery the program message must be divided up into individual messages Points to Note Concerning Message Transmission It is always possible to send a program message if the previous message which was sent did not contain any queries If the previous message c...

Page 14: ...ommands defined in IEEE 488 2 1987 are called common commands An asterisk must always be attached to the beginning of a command An example of a common command CLS Compound header 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...

Page 15: ...ire AVERage MODE HIREFLECTION TIME AUTO PMT When Concatenating Commands of DifferentGroups A colon must be included before the header of a command if the command does not belong to the same group as the preceding command It is impossible to omit a colon Example ACQuire AVERage MODE HIREFLECTION DISPlay CURSor SECond ON PMT When Concatenating Common Commands Common commands defined in IEEE 488 2 19...

Page 16: ...a group s information will necessarily be sent out as a response Some upper levelqueries will not return setup data which is not currently in use Header Interpretation Rules 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 The lowercase part of a header can be omitted Example DRANg...

Page 17: ...ss changes are made to it i e it is a query onlycommand no header is attached and only the datais returned Some query only commands can bereturned after a header is attached to them Example MEASure CHANnel1 PTOPeak VALue PMT 10 0E 00 RMT 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 us...

Page 18: ...me of a file Example Name of file to be saved FILE SAVE WAVeform NAME CASE1 Block data Arbitrary 8 bit data Example Response to acquired waveform data 800000010ABCDEFGHIJ Decimal Decimal indicates a value expressed as a decimalnumber as shown in the table below Decimal valuesare given in the NR form specified in ANSI X3 42 1975 Symbol Description Example NR1 Integer 125 1 1000 NR2 Fixed point numb...

Page 19: ...ich can be used are shown below Symbol Word Description EX Exa 1018 PE Peta 1015 T Tera 1012 G Giga 109 MA Mega 106 K Kilo 103 M Milli 10 3 U Micro 10 6 N Nano 10 9 P Pico 10 12 F Femto 10 15 A Atto 10 18 Unit Units which can be used are shown below Symbol Word Description M Meter Distance S Second Time dB Decibel Level UM Micro meter Wavelength Multiplier and Unit are not case sensitive U is used...

Page 20: ...ing of character data a mnemonic It is mainly used to indicate options and is chosen from the character strings given in For interpretation rules refer to Header Interpretation Rules on page 3 5 Form Example SIMPLE DETAIL WIZARD MULTI DETAIL 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 ...

Page 21: ...ng 1 CASE CASE If you input an NRf value the system converts the value after rounding to the nearest integer to the corresponding 8 character ASCII string If you set the value to 1 the name becomes 00000001 Note that negative values are not allowed The first 12 characters of Character Data are assigned as the file name The first 14 characters of Character String Data are assigned as the file name ...

Page 22: ...ASCii 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 r...

Page 23: ...ent setting 4 7 ACQuire OFFSet Sets the horizontal measurement start position or queries the current setting 4 7 ACQuire PWIDth Sets the pulse width or queries the current setting 4 8 ACQuire REALtime STARt Executes the realtime measurement 4 8 ACQuire REALtime STOP Stops the realtime measurement 4 8 ACQuire SMPinterval DATA Sets the sampling interval or queries the current setting 4 8 ACQuire SMP...

Page 24: ...r RIGHt UNITloss Queries the slope between markers 2 and 3 4 12 ANALysis FMARker SET M x Sets the marker or queries the current setting 4 12 ANALysis FMARker SET Y x Sets the auxiliary marker or queries the current setting 4 12 ANALysis REFerence DELete Deletes the distance reference 4 13 ANALysis REFerence DISTance Sets the distance reference or queries the current setting 4 13 ANALysis THReshold...

Page 25: ...NTrol USERname Sets the User Name or queries the current setting 4 18 NETWork DHCP Sets enabling or disabling the DHCP function or queries the current setting 4 18 NETWork GATeway Sets the gateway or queries the current setting 4 18 NETWork IPADdress Sets the IP address or queries the current setting 4 18 NETWork NETMask Sets the netmask or queries the current setting 4 18 NETWork STATe Sets enabl...

Page 26: ...cted by ESE Event Status Enable Register IDN Identification Function Queries the instrument type and firmware version Syntax IDN Example IDN YOKOGAWA AQ7277 B01 SN123456789 F1 00 SN123456789 Serial number 9 digit string F1 00 Firmware version DescriptionOutputs 4 field data delimited by a comma Field 1 Manufacturer YOKOGAWA Field 2 Model AQ7277 B01 Field 3 Instrument serial number SN123456789 Fiel...

Page 27: ...ts of the register are read TST Self Test Function Performs the instrument s self test and queries the status Syntax TST Example TST 0 DescriptionExecutes 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 chec...

Page 28: ... the waveform acquisition Change the measurement conditions through remote control while the measurement is stopped You cannot change the measurement conditions while realtime or averaging measurement is in progress Only REALtime STOP or AVERage STOP is valid while the measurement is in progress ACQuire ATTenuation Function Sets the attenuation or queries the current setting Syntax ACQuire ATTenua...

Page 29: ...Rage TYPE ACQ AVER TYPE DURATION DescriptionTimes TIMES Duration DURATION ACQuire DRANge Function Sets the distance range or queries the current setting Syntax ACQuire DRANge NRf AUTO ACQuire DRANge NRf 500m to 400000m 0 5km to 400km Example ACQuire DRANge AUTO ACQuire DRANge 500 ACQuire DRANge 500m ACQuire DRANge 5000 ACQuire DRANge 100km ACQuire DRANge ACQ DRAN 1000 DescriptionThe value that you...

Page 30: ...easurement Syntax ACQuire REALtime STOP Example ACQuire REALtime STOP DescriptionThis command is valid while the realtime measurement is only in progress ACQuire SMPinterval DATA Function Sets the sampling interval or queries the current setting Syntax ACQuire SMPinterval DATA NRf NORMAL HI ACQuire SMPinterval DATA Example ACQuire SMPinterval DATA 2 0 ACQuire SMPinterval DATA NORMAL ACQuire SMPint...

Page 31: ... SMPINTERVAL 0 05 0 10 0 20 4 00 ANALysis Group The commands in this group deal with waveform analysis ANALysis ASEarch EXECute Function Executes auto detection Syntax ANALysis ASEarch EXECute Example ANALysis ASEarch EXECute ANALysis ASEarch NUMber Function Queries the number of auto detection events Syntax ANALysis ASEarch NUMber Example ANALysis ASEarch NUMber ANAL ASE NUM 2 ANALysis BCOefficie...

Page 32: ...ntax ANALysis EMARker SET M3 ANALysis EMARker SET M3 Example ANALysis EMARker SET M3 ANALysis EMARker SET M3 ANAL EMAR SET M3 9 0471600E 03 DescriptionThe marker is set to the cursor position when you set the marker ANALysis EMARker SET Y2 Function Sets marker Y2 of the current event or queries the current setting Syntax ANALysis EMARker SET Y2 ANALysis EMARker SET Y2 Example ANALysis EMARker SET ...

Page 33: ...NDex command before using this command ANALysis EVENt CURRent CUMLoss Function Retrieves the accumulated loss of the current event Syntax ANALysis EVENt CURRent CUMLoss Example ANALYSIS EVENT CURRENT CUMLOSS 1 810 DescriptionThe index number must be set ahead of time with the ANALysis EVENt CURRent INDex command before using this command ANALysis EVENt CURRent UNITloss Function Retrieves the loss ...

Page 34: ...Saturated 1 ANALysis FMARker LEFT LOSS Function Queries the loss between markers 1 and 2 Syntax ANALysis FMARker LEFT LOSS Example ANALysis FMARker LEFT LOSS ANAL FMAR LEFT LOSS 137 00000E 03 ANALysis FMARker LEFT DISTance Function Queries the distance between markers 1 and 2 Syntax ANALysis FMARker LEFT DISTance Example ANALysis FMARker LEFT DISTance ANAL FMAR LEFT DIST 490 20000E 00 ANALysis FMA...

Page 35: ...0 ANALysis THReshold RLOSs ANAL THR RLOS 30 ANALysis THReshold SLOSs 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 Synta...

Page 36: ...SPlay CURSor TYPE LINE DISPlay CURSor TYPE DISP CURS TYPE CROSS DescriptionCross CROSS Line LINE DISPlay DECibel UPPer Function Sets the display start level or queries the current setting Syntax DISPlay DECibel UPPer NRf DISPlay DECibel UPPer NRf 1 6 to 70 8 times of dB Div scale to 70 Example DISPlay DECibel UPPer 60 DISPlay DECibel UPPer DISP DEC UPP 50 0 DescriptionThe range that you can specif...

Page 37: ...Pe Function Sets grid display or queries the current setting Syntax DISPlay GTYPe OFF LINE DOTS DISPlay GTYPe Example DISPlay GTYPe OFF DISPlay GTYPe DISP GTYP 0 DescriptionDisable OFF 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 ISC...

Page 38: ...k data format 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 DescriptionBlock data format MENU Group The commands in this group are used to set the fun...

Page 39: ...hour or queries the current setting Syntax MISC DATE HOUR NRf MISC DATE HOUR NRf 0 to 23 Example MISC DATE HOUR 17 MISC DATE HOUR MISC DATE HOUR 12 DescriptionThis setting will come into effect when MISC DATE SET is executed MISC DATE MINute Function Sets the minute or queries the current setting Syntax MISC DATE MINute NRf MISC DATE MINute NRf 0 to 59 Example MISC DATE MINute 5 MISC DATE MINute M...

Page 40: ...P 1 DescriptionInvalid 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 NETWork GATeway Function Sets the gateway or queries the current setting Syntax NETWork GATeway NETWork GATeway Example NETWORK GATEWAY 255 255 255 0 NETWORK GATEWAY NETWORK GATEWAY 255 255 255 0 DescriptionIt cannot be se...

Page 41: ...on Example STATUS CONDITION 16 DescriptionFor details on the condition register see section 5 4 Condition Register STATus ERRor Function Queries the error code and message information top of the error queue Syntax STATus ERRor Example STATUS ERROR 113 Undefined header STATus QENable Function Sets whether to store messages other than errors to the error queue or queries the current setting Syntax S...

Page 42: ...ype SEND Example WAVedata OLDType SEND 51000 DescriptionBlock 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 DescriptionBlock data format WAVedata SEND STA...

Page 43: ...4 21 IM AQ7277 17EN Commands SYSTem Group SYSTem REBoot Function Execution of restarting Syntax SYSTem REBoot Example SYSTEM REBOOT 4 3 Device Specific Commands 1 2 3 4 5 App Index ...

Page 44: ...egister STATus CONDition 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 AS Set to 1 while auto searching Bit 5 PC Set to 1 while the plug is being checked Bit 6 AR Set to 1 while the auto range measurement is in progress Bit 14 WRM Set to 1 duri...

Page 45: ...nnot be emptied using the CLS command To see whether the output queue is emptyor not check bit 4 MAV of the status byte D1 D2 D1 D2 D1 Overview of the Error Queue The error queue stores the error No and message when an error occurs For example if the controller sends an incorrect program message the number 113 Undefined header and the error message are stored in the error queue when the error is d...

Page 46: ...String data error 151 Invalid string data 158 String data not allowed 161 Invalid block data 168 Block data not allowed 171 Invalid expression 178 Expression data not allowed 181 Invalid outside macro definition 210 Communication not allowed during trace analysis 211 Communication not allowed during measurement 221 Setting conflict 222 Data out of range 223 Data invalid 224 Illegal parameter value...

Page 47: ... succeeded 900 Backup data is damaged this instrument starts up with the factory setting 901 Optical connector is not correctly connected Please clean and reconnect the connector again 909 The temperature inside the instrument 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 do not power it on till the battery is co...

Reviews: