MW9070B Optical Time Domain Reflectometer Serial Interface

J0654A. The pin layout of the OTDR connector is shown below. ... BCC (Block Character Check) : This is the byte for checking the horizontal par- ity. It is set so ...
341KB taille 15 téléchargements 267 vues
MW9070B Optical Time Domain Reflectometer Serial Interface

Operation Manual

♦ Read this manual before using the equipment. Keep this manual with the equipment.

MW9070B Optical Time Domain Reflectometer Serial Interface Operation Manual

Third Edition Read this manual before using the equipment. Keep this manual with the equipment.

Measuring Instruments Division Measurement Group

ANRITSU CORPORATION

Document No.: M-W1047AE-3.0

MW9070B Optical Time Domain Reflectometer Serial Interface Operation Manual 28 September 1995 (First Edition) 3 March 1997 (Third Edition) Copyright © 1995-1997, ANRITSU CORPORATION. All rights reserved. No part of this manual may be reproduced without the prior written permission of the publisher. The contents of this manual may be changed without prior notice. Printed in Japan

ii

Introduction This manual explains the interface for remote control of the MW9070B Optical Time Domains Reflectometer using a connected controller such as a computer. The interface is described in general terms first, and the commands are explained in alphabetical order in the latter half of this manual.

I

II

Table of Contents Introduction ..................................................

I

Section 1 Outline ......................................

1-1

Section 2 Interface ....................................

2-1

2.1 2.2

Connection ........................................................... Interface Specifications ........................................ 2.2.1 Basic Items ................................................. 2.2.2 Transmission Control Characters ............... 2.2.3 Text Format ................................................ 2.2.4 Transmission Sequence .............................

2-2 2-3 2-3 2-3 2-4 2-6

Section 3 Commands ...............................

3-1

3.1 3.2

Type ..................................................................... Command Details ................................................

3-2 3-6

Index.............................................................. Index-1 A ...................................................................... B ...................................................................... C ..................................................................... D ..................................................................... E ...................................................................... F ...................................................................... H ..................................................................... I ....................................................................... L ...................................................................... M ..................................................................... O ..................................................................... P ...................................................................... R ..................................................................... S ...................................................................... T ...................................................................... U ..................................................................... V ...................................................................... W .....................................................................

Index-2 Index-8 Index-9 Index-11 Index-18 Index-26 Index-29 Index-34 Index-35 Index-37 Index-40 Index-41 Index-43 Index-45 Index-50 Index-53 Index-54 Index-57

III

IV.

Section 1 Outline When a computer, etc., is connected to the MW9070B Optical Time Domains Reflectometer (OTDR) via the RS - 232C interface, the computer can be used to control most operations such as setting measurement conditions, executing measurement, and requesting measurement results. This function is called the remote control function.

1-1

Section 1 Outline

1-2 .

Section 2 Interface The interface is an RS-232C serial interface.

2.1 2.2

Connection .................................................... Interface Specifications ................................. 2.2.1 Basic Items ......................................... 2.2.2 Transmission Control Characters ....... 2.2.3 Text Format ........................................ 2.2.4 Transmission Sequence .....................

2-2 2-3 2-3 2-3 2-4 2-6

2-1

Section 2

Interface

2.1 Connection A cable is used to connect the OTDR to the computer RS-232C connector. The OTDR RS-232C connector is a 9-pin D-sub connector. Name IBM-PC/AT series interface cable

Specification RS-232C cable

Code J0654A

The pin layout of the OTDR connector is shown below. The connector fixing screws are inch screws. 9-pin D-sub Conector (Male) 1

4

9

3

8

2

7

5

6

Inch Screw Use 9-pin D-sub Connector with inch screws at the cable connector side. Pin No. 1 2 3 4 5 6 7 8 9

2-2

Signal (NC) RD SD (NC) SG (NC) RS CS (NC)

Remarks CD

ER DR

2.2 Interface Specifications

2.2 Interface Specifications 2.2.1 Basic Items The basic interface specifications are as follows : Type : RS-232C Transmission speed : 9600 bps Communication method : Full duplex Synchronization method : Start-stop system Transmission control code : JIS 8 bit + even parity Transmission code composition : 11 bits starting with start bit and ending with stop bit. Including 1 bit for vertical parity check ST b1 b2 b3 b4 b5 b6 b7 b8 Start bit

P SP

Vertical parity bit

Error control method Transmission coding method Response method Flow control

: : : :

Stop bit

Horizontal and vertical even parity Transparent mode ACK/NAK method Not supported

2.2.2 Transmission Control Characters The following four character strings are used as the “Transmission Control Characters” for controlling the control sequence. STX ETX ACK NAK

02H 03H 06H 15H

Start of Text End of Text Acknowledge Not Acknowledge

2-3

Section 2

Interface

2.2.3 Text Format The text sent from the computer side starts with STX and ends with BCC and has a maximum of 262 bytes. BCC is 1 byte for checking the horizontal parity. Data

Data Type

S T

X Length

Max. 256 bytes variable length

E

B

T

C

X

C

Data Length The length of the data part is indicated as 2-byte binary data. Type The output data type is indicated as the following codes. 00H Send command (when continuous data) 01H Send command (when not continuos data)

(PC→OTDR) (PC→OTDR)

03H Send query command 04H Request next message

(PC→OTDR) (PC→OTDR)

06H Response message (when continuos data)

(OTDR→PC)

07H Response message end (final message)

(OTDR→PC)

08H Format response normal 09H Format response abnormal

(OTDR→PC) (OTDR→PC)

Data Part The data input to the data part varies according to the type of send data. The header and data are explained as three items. (a)

At control and query commands • Only header
• One data item with header
• Multiple data items with header
, ,....,

(b)

Response • Only binary data • One message with header
• Multiple message with header
, , Åc,

2-4

2.2 Interface Specifications (c)

Format response The data part is not sent.

(d)

Next data send • Only data

(e)



Next data request The data part is not sent.

Note : One packet starting with STX and ending with BCC cannot include multiple commands. BCC (Block Character Check) : This is the byte for checking the horizontal parity. It is set so that the exclusive OR becomes zero when the BCC byte is exclusive ORed with exclusive OR of bytes up to ETX excluding STX. This is called the horizontal parity check because the BCC byte is fixed so that 1s in the horizontal direction becomes even.

2-5

Section 2

Interface

2.2.4 Transmission Sequence This section explains the commands and response sequence in the following cases. (1) (2) (3) (4) (5) (6)

Different sequences when data sending normal and abnormal When no response Commands (no next data) Commands (next data) Query command Abnormal format response

(1)

Different sequences when data sending normal and abnormal The tester performs the following checks when next is received. Vertical parity check Horizontal check Framing error Over-run error Receive buffer overflow ETX loss (30 s time-out) Abnormal data length The OTDR evaluates whether or not the data transmission is normal or abnormal form the presence or absence of errors and then takes the following procedures. • When normal ACK is sent ; Format Response is returned after the Control command (diagram on left). When there is a Query command, the Response is returned (diagram on right).

Computer

OTDR

Computer

Command (STX-ETX BCC)

OTDR

Command (STX-ETX BCC) Noraml

ACK

ACK

Processing Format Response (STX-ETX BCC) completed

Noraml

ACK

Control Command

2-6

Noraml

Noraml

Response (STX-ETX BCC)

ACK

Query Command

Processing completed

2.2 Interface Specifications • When abnormal When abnormal transmission is detected at the OTDR side,NAK is sent. The computer resends the command when NAK is received (diagram on left) . When the computer side detects an abnormal transmission related to the response sent from the OTDR, it returns NAK and the OTDR resends the response when it receives NAK (diagram on left) . Computer

OTDR

Computer

Command (STX-ETX BCC)

OTDR

Command (STX-ETX BCC) Noraml

Abnoraml NAK

NAK

Command (STX-ETX BCC) Resend Abnoraml

NAK

(STX-ETX BCC)

NAK

Abnoraml

(STX-ETX BCC)

NAK

Abnoraml

(2)

Resend

When no response When the OTDR does not return a response within 30 s after sending, the computer stops waiting for a response. Consequently, the text is evaluated as having been correctly received even if NAK is subsequently returned. Computer

OTDR

Command (STX-ETX BCC) Noraml ACK

Abnoraml

(STX-ETX BCC)

Processing completed

ACK

Time-out (30 s)

NAK

Ignore

2-7

Section 2

Interface (3)

Command (no next data) The Type field of the command for completing transmission of all data in the text format is 01H. When the OTDR completes execution of this command it returns Format Response Normal. Computer

OTDR Command (01H)

Format Response Normal (08H)

(4)

Command (next data) Then Type filed of the command when all required data in the text formal has not been sent is 00H. When the OTDR finishes receiving the data, it returns Format Response Normal. The computer sends the next when it receives Format Response Normal. Computer

OTDR Command (00H) Noraml

Format Response Normal (08H)

Next data (00H)

Format Response Normal (08H)

Final data (01H)

Format Response Normal (08H)

2-8

Processing completed

2.2 Interface Specifications (5)

Query Command when the computer requests data, first, the Type field 03H command is sent. When the OTDR response is completed within 256 bytes, the Type field returns the 07H response. Computer

OTDR Query command (03H)

Response message (07H)

When the response is not completed within 256 bytes, the OTDR returns a response with the Type filed set to 06H. When the remaining response data is less than 256 bytes, the 07H response is returned and the computer determines that the entire response has been received. Computer

OTDR Query command (03H) Noraml Response message (06H)

Processing completed

Next data request (04H)

Response message (06H)

Next data request (04H)

Response message (07H)

2-9

Section 2

Interface (6)

Format Response Abnormal When the OTDR detects the following abnormalities, it sends Format Response Abnormal. • Undefined command received • Command syntax error received • OTDR detected error when command executed Computer

OTDR Command (01H)

Format Response Abnormal (09H)

In addition to the above abnormal conditions, Format Response Abnormal is also sent when there is no response data in the case of the Query command. Computer

OTDR Query command (03H)

Format Response Abnormal (09H)

During reception of data divided into several commands from the computer, if the OTDR detects an error as a result of executing the data that has been received so far, or if the computer sends a new command before sending of all the data is completed, the OTDR returns Format Response Abnormal. Computer

OTDR Command (00H) Noraml

Format Response Abnormal (08H)

Next data (00H)

Format Response Abnormal (09H)

Sequence interrupted

2-10

Processing completed

2.2 Interface Specifications In addition, the OTDR also returns Format Response Abnormal when a new command is sent from the computer while the OTDR is returning a response divided into several blocks after receiving the Query command. Computer

OTDR Query command (03H) Noraml Response message (06H)

Processing completed

Next data request (04H)

Format Response Abnormal (09H)

Sequence interrupted

2-11

Section 2

2-12 .

Interface

Section 3 Commands Each command is explained here.

3.1 3.2

Type ............................................................... Command Details ..........................................

3-2 3-6

3-1

Section 3

Commands

3.1 Type When the commands are classified according the separate functions, they appear as shown below. (1)

Functions that can be set with panel keys

No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

3-2

Function Start sweep Set averaging Select marker Move marker Select event Vertical shift value Horizontal shift value Vertical scale value Horizontal scale value Vertical zoom Horizontal zoom Zoom around selected event Set measurement mode Set manual measurement type Add event Move event Delete event Register far end Relative distance measurement Compare Mode Display Waveform Difference Save Reference Waveform Compare Recall

Command STR LD AVG MKS MKP EVS VSF HSF VSC HSC VZM HZM AZM MES FNC EVA EVM EVD FEN OFS CMP DWF RSAV RRCL

Query STR? LD? AVG? MKS? MKP? EVS? VSF? HSF? VSC? HSC? VZM? HZM? AZM? MES? FNC? EVA? EVM? EVD? FEN? OFS? CMP? DWF? RRCL?

3.1 Type (2)

Setup Screen settings

No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

(3)

Function Set distance automatically Set distance range Set pulse width automatically Set pulse width Select wavelength Set CW mode ON/OFF Set all measurement conditions automatically Set linear approximation method Splice interval value Return lossinterval value Fiber end interval value Back-scatter level value Back-scatter level calibration value Auto-measurement average limit Manual measurement average limit Set IOR Event ORL select Connection check Fixed Attenuator Auto Setting Attenuator Setting Attenuator Selected Value Return Loss Calculation Method Sampling Resolution Sampling Start Distance Sampling End Distance

Command DSA DSR PLA PLS WLS LIT FUL

Query DSA? DSR? PLA? PLS? WLS? LIT? FUL?

APR THS THR THF CAL ALA ALM IOR EVI CON FIX ATA ATT ATV RLS SR SS SE

APR? THS? THR? THF? BSL? CAL? ALA? ALM? IOR? EVI? CON? FIX? ATA? ATT? ATV? RLS? SR? SS? SE?

Command EVO TIT UNL HDR ECMT

Query EVO? TIT? UNL? HDR? ECMT?

Display settings

No. 1 2 3 4 5

Function Arrange event table Title Distance unit Header Event comment

3-3

Section 3

Commands (4)

File settings

No. 1 2 3 4 5 6 7 8 9 10 11

(5)

Query MED? RCL? CPY? FMT? DIR? SVF? FDF? DIF? DIR?

Function Select printer Print format Print

Command PRN PRF PRT

Query PRN? PRF? PRT?

Command DAD DAF DATE TID TIME APW ABL SOU DFN

Query DAD? DAF? DATE? TID? TIME? APW? ABL? SOU? -

System settings

No. 1 2 3 4 5 6 7 8 9

3-4

Command MED SAV RCL FDL CPY FMT SVF FDF DIF -

Printing settings

No. 1 2 3

(6)

Function Select media Save Recall Delete file Copy file Format Read directory information Save format FD Mode Directory display format Read Directory Information

Function Set date display Date display format Set date Set time display Set time Set auto-power off Set auto-backlight off Set buzzer DFN information

3.1 Type (7)

Measurement result requests

No. 1 2 3 4 5 6 7 8 9 10

(8)

Command -

Query SRL?

-

LOS? AUT? EVN? EVT? AUZ? AVE? DAT? TRL?

-

DIFF?

Command -

Query STS? WAV? ERR? CCO?

Command INI REN VIS RST BLC

Query REN? HON? VIS? BLC?

Status readout

No. 1 2 3 4

(9)

Function Splice and return loss measurement result Loss measurement result Auto-measurement result Event measurement result Event table Auto-zoom measurement result Averaging result Waveform data (LOG) Total return loss measurement result Read Waveform Difference Measurement Results

Function Status Waveform data present/absent Error information Connection check result

Other settings

No. 1 2 3 4 5 6

Function Initialize Remote/Local Main unit ROM information Visual LD control Reset Backlight control

3-5

Section 3

Commands

3.2 Command Details This section explains the details of each command in alphabetical order. Sometimes, a command cannot be executed depending on the status of the main unit. The status of the main unit is indicated in the explanation of each command by the following codes to indicate this; the status when a command cannot be executed is indicated by and the status when a command can be executed is indicated by . Status code AS AA ES ET AZ MS SP EE

Condition During auto-setting During averaging During auto-search During event table display During auto-zoom During manual sweep During manual stop During event editing

For example, the following display indicates that the AVG command can only be executes at manual sweeping and manual stop. AS

AA

ES

ET

AZ

MS

SP *

Note : It becomes effective when manual sweeping is started.

3-6 .

EE

Index A ......................................................................... Index-2 B ......................................................................... Index-8 C ......................................................................... Index-9 D ......................................................................... Index-11 E ......................................................................... Index-18 F .......................................................................... Index-26 H ......................................................................... Index-29 I ........................................................................... Index-34 L .......................................................................... Index-35 M ......................................................................... Index-37 O ......................................................................... Index-40 P ......................................................................... Index-41 R ......................................................................... Index-43 S ......................................................................... Index-45 T .......................................................................... Index-50 U ......................................................................... Index-53 V ......................................................................... Index-54 W ........................................................................ Index-57

Index-1

Index

ABL

{0|1|2|3|4} Sets time for switching backlight off automatically 0 : Do not set backlight off 1 : After 3 minutes 2 : After 5 minutes 3 : After 15 minutes 4 : After 30 minutes Query

: ABL?

Response

: ABL { 0 | 1 | 2 | 3 | 4 }

Execution prohibitions : None

ALA

, Sets averaging limit at auto-measurement 0 : No. of times 1 : Elapsed time 2 : Auto No. of times

: Unit

Elapsed time Auto

: Unit : 1 second : Automatically set

: 1 time

The setting range depends on the plug-in unit. When a value that is either small than the lower limit, or larger than the upper limit is set, the lower or upper limit is set, respectively. Query

: ALA?

Response

: ALA , ,

In the Auto mode, the limit value found from the auto-measurement time is found. When auto-measurement is not being performed, ALA2, ***, *** is returned. Execution prohibitions : AS

AA

ES

ALA ALA? Valid from next auto-measurement

Index-2

ET

AZ

MS

SP

EE

A

ALM

, Sets averaging limit at manual measurement 0 : No. of times 1 : Elapsed time No. of times Elapsed time

: 1 = 1 time (1 to 9999 times) : 1 = 1 second (1 to 9999 seconds)

Query

: ALM?

Response

: ALM , ,

Execution prohibitions : AS

AA

ES

ET

AZ

MS

SP

EE

AZ

MS

SP

EE

ALM ALM? Valid from next manual measurement

APR

{0|1} Sets linear approximation method 0 1

: 2PA : LSA

Query

: APR?

Response

: APR { 0 | 1 }

Execution prohibitions : AS

AA

ES

ET

APR APR? When the measurement mode is Auto, the response is (APR***) . The response is (APR***) .

APW

{0|1|2|3|4} Sets auto-power off time. However, the power cannot be switched off automatically during remote control. 0 : Not switched off 1 : After 3 minutes 2 : After 5 minutes 3 : After 15 minutes 4 : After 30 minutes Query

: APW?

Response

: APW { 0 | 1 | 2 | 3 | 4 }

Execution prohibitions : None

Index-3

Index

ATA Sets automatic attenuator setting mode. This command causes an error when optical units other than the MW0972B optical unit are used. Query

: ATA?

Response

: ATA { 0 | 1 } 0 : Sets Manual Attenuation Mode 1 : Sets Automatic Attenuation Mode

Execution prohibitions : AS

AA

ES

ET

AZ

MS

SP

EE

ATA ATA?

ATT

Sets attenuation at attenuator. Some plug-in units reject this command. 1 = 1 dB The attenuation range depends on the pulse width used. Available attenuation values can be obtained using the ATV? command. Query

: ATT?

Response

: ATT

When the Automatic Attenuation Mode is set but the attenuator is not yet stabilizer, ATT *** is returned as the response because the attenuation is invalid. Execution prohibitions : AS

AA

ES

ET

AZ

MS

SP

EE

ATT ATT?

ATV? Reads attenuation values available at specified pulse width. Some plug-in units reject this command. is specified as one of the following values. This field is in 1 = 1 ns. Available pulse widths depend on the plug-in unit. 5, 10, 20, 50, 100, 500, 1000, 2000, 4000, 10000 Response

: ATV {, }

All available attenuation values are output for the specified pulse width. When the unit has no attenuator, ATT *** is returned as the response. Execution prohibitions : AS ATV?

Index-4

AA

ES

ET

AZ

MS

SP

EE

A

AUT? Reads auto-measurement results Response

: AUT , ,

0 to 99 Distance units, IOR correction distance data (1)

km and m distance units The numeric value in meters is rounded to the decimal point.

(2)

kft and ft distance units The numeric value in meters is converted to feet at 1 m = 3.2808399 ft and the feet value is rounded to the decimal point.

(3)

mile units The numeric value in meters is converted to miles at 1 m = 0.0006213711922 miles and the mile value is rounded to four decimal places. *** is output when measurement is impossible.

The units are dB. The value is output to the third decimal place. *** is output when measurement is impossible. Total return loss value from zero cursor distance to sampling end. The unit are dB. 1 = 1 dB and the value is output to two decimal places. *** is output when measurement is impossible. Execution prohibitions : AS

AA

ES

ET

AZ

MS

SP

EE

AUT?

Index-5

Index

AUZ? Reads auto-zoom measurement results Response : AUZ , , , , , , , , , Zoomed event No. 1 to 99 No. of event closest to selected event, at near end side The event number is 0 when the selected event is the nearest one. No. of event closest to selected event, at far end side The event number is added by 1 when the selected event is the farest one. Distance between events Distance units, IOR correction distance data (1)

km and m distance units The numeric value in meters is rounded to the decimal point.

(2)

kft and ft distance units The numeric value in meters is converted to feet at 1 m = 3.2808399 ft and feet value is rounded to the decimal point.

(3)

mile units The numeric value in meters is converted to miles at 1 m = 0.0006213711922 miles and the mile value is rounded to four decimal places. *** is output when measurement is impossible.

The value is output to the third decimal place in dB units. *** is output when measurement is impossible. (a)

The unit are dB/km when the distance units are km or m.

(b)

The units are dB/kft when the distance units are kft or ft. The result is output to the third decimal place. *** is output when measurement is impossible.

Note : when auto-zoom is positioned at the far end event, at far-end detection (or, fiber length *** not displayed), the data after is all ***. Execution prohibitions : AS AUZ?

Index-6

AA

ES

ET

AZ

MS

SP

EE

A

AVE? Reads averaging results Response

: Ave , ,

0 : Manual 1 : Auto No. of times Time period

: The units are time. : The units are second.

Execution prohibition : AS

AA

ES

ET

AZ

MS

SP

EE

SP

EE

AVE?

AVG

{0|1} Set whether or not to execute averaging at manual measurement 0 : No averaging (real time) 1 : Averageing Valid from next start of next manual sweep Query

: AVG?

Response

: AVG { 0 | 1 }

Execution prohibitions : AS

AA

ES

ET

AZ

MS

AVG AVG? Valid from next manual sweep start

AZM

{0|1} Sets whether or not to zoom screen around previosly-selected event 0 : No zooming 1 : Zoom Query

: AZM?

Response

: AZM { 0 | 1 } 0 : Not during auto-zoom 1 : During auto-zoom

Execution prohibitions : AS

AA

ES

ET

AZ

MS

SP

EE

AZM AZM? Execution error when no event

Index-7

Index

BLC

{0|1} Sets backlight ON/OFF 0 : Off 1 : On Query

: BLC?

Response

: BLC {0 | 1} 0 : Off 1 : On

Execution prohibitions : None

BSL? Reads backscatter level Response

: BSL Level at current pulse width. The returned value should be prefixed with a minus sign to give the true level.

Execution prohibitions : AS

AA

ES

ET

AZ

MS

SP

EE

BSL? The response is (BSL***) when the pulse width cannot be set (Auto or before auto setting) .

Index-8

C

CAL

Sets backscatter level calibration value The setting range is –9.99 to +9.99 Query

: CAL?

Response

: CAL

Execution prohibitions : AS

AA

ES

ET

AZ

MS

SP

EE

CAL CAL?

CCO? Reads connection check result Response

: CCO { 0 | 1 } 0 : Connection No Good 1 : Connection OK

Execution prohibitions : AS

AA

ES

ET

AZ

MS

SP

EE

ET

AZ

MS

SP

EE

CCO?

CON

{0|1} Sets connection check function ON/OFF 0 : Check OFF 1 : Check ON Query

: CON?

Response

: CON { 0 | 1 }

Execution prohibitions : AS

AA

ES

CON CON?

Index-9

Index

CPY

, { 0 | 1 | 2 } Copies specified file when media already selected with MED command to specified media The file name is in MS-DOS format. The * and ? wild cards can be used. 0 : INT memory 1 : Memory card 2 : FD Notes : 1. An error is returned when the specified file is not found on the media selectedby MED command. 2. An error is also returned when the media selected by MED is specified as the copy destination. 3. Command other than the query command (CPY?) are disabled during copying. Query

: CPY?

Response

: CPY { 0 | 1 } 0 : Copy not executed 1 : Copy executed

Execution prohibitions :

AS

AA

ES

ET

AZ

MS

SP

EE

SP

EE

CPY

CMP { 0 | 1 } Sets Waveform Comparison Function (Compare Mode) ON/OFF 0 : Compare Mode OFF 1 : Compare Mode ON Query

: CMP?

Response

: CMP { 0 | 1 } 0 : Compare Mode OFF 1 : Compare Mode ON

Execution prohibitions : AS CMP CMP?

Index-10

AA

ES

ET

AZ

MS

D

DAD

{0|1} Sets whether or not to display date 0 : Not displayed 1 : Displayed Query

: DAD?

Response

: DAD {0 | 1}

Execution prohibitions : None

DAF

{0|1|2} Sets date display format 0 : Day-month-year 1 : Month-day-year 2 : Year-month-day Query

: DAF?

Response

: DAF { 0 | 1 | 2 }

Execution prohibitions : None

DATE Set date. The date parameters (year, month and day) are set in the same sequence as the display format specified by the DAF command. DATE , , DATE , , DATE , , 0 to 99 1 to 12 1 to 31 Query

: DATE?

Response

: DATE , , DATE , , DATE , ,

Execution prohibitions : None

Index-11

Index

DAT?

[ , Reads waveform data Specify the distance value where the first data to be sent is. Specify the distance value where the end data to be sent is.

Notes : Distance unit is as follows : (1) km and m distance units The numeric value in meters is rounded to the decimal point. (2) kft and ft distance units The numeric value in meters is converted to the feet at 1 m = 3.2808399 ft and the feet value is rounded to the decimal point (3) mile units The numeric value in meters is converted to miles at 1 m = 0.0006213711922 miles and the mile value is rounded to four decimal places. Response

: 2 bytes Data number

2 bytes

2 bytes

.................... 1st data nth data

, Both the data number and data are binary numbers. One data item is expressed at 16 bits (2 bytes) . One data item is divided into the 8 most significant bits and the 8 least significant bits. which are output in sequence. 1 digit is equivalent to 0.001 dB. [ Example ] 37.580 dB is expressed as 92CC (hexadecimal) . 37.580 x 1000 = 37580 37580 (binary) → 92CC (hexadecimal) 1st byte 2nd byte

: 92 (hexadecimal) : CC (hexadecimal)

The response is as follows in the waveform difference display status. Response

: 2 bytes Data number

Index-12

2 bytes 2 bytes .................... 1st data nth data

D At the difference waveform display, the data is signed 2-byte binary data. The waveform data is 1 = 0.001 dB. Example

: –28.765 dB –28.765 × 1000 = –28765 (decimal) → 8FA3 (hexadecimal code) 1st byte : 8F (hexadecimal code) 2nd byte : A3 (hexadecimal code)

The maximum positive value is 7FFF (hexadecimal code) and the maximum negative value is 8000 (hexadecimal code). If these values are exceeded, they are rounded to the respective maximum value. Execution prohibitions : AS

AA

ES

ET

AZ

MS

SP

EE

AZ

MS

SP

EE

DAT?

DFN

{0|1} Saves/recalls setup information (DFN file) 0 : Recall 1 : Save The waveform is rest at recall. Execution prohibitions : AS

AA

ES

ET

DFN

DIF

{0|1} Sets whether or not to include title in directory display. 0 : Include title 1 : Do not include title Query

: DIF?

Response

: DIF { 0 | 1 }

Execution prohibitions : None

Index-13

Index

DIFF? Reads waveform difference measurement results Response

: DIFF ,

(1)

When distance units are km or m meters truncated to fourth decimal place.

2)

When distance units are kft or ft 1 meter calculated as 3.2808399 ft and value truncated to fourth decimal place.

3)

When distance units are miles 1 meter calculated as 0.0006213711922 mi and value truncated to fourth decimal place.

The units are dB. 1 = 1 dB and the value is output to three decimal places. *** is output when measurement is not possible. Execution prohibitions : AS

AA

ES

ET

AZ

MS

SP

EE

DIFF?

Note: The Compare Mode is set to ON and the command is accepted with the difference waveform displayed. An error is returned at other displays.

Index-14

D

DIR? Reads directory information Response

: DIR [ , , ,