NA-28 Serial Interface Manual 50841

Download as pdf or txt
Download as pdf or txt
You are on page 1of 98

SERIAL INTERFACE MANUAL

Sound Level Meter

NA-28

3-20-41 Higashimotomachi, Kokubunji, Tokyo 185-8533, Japan http://www.rion.co.jp/english/

Organization of the NA-28 Documentation


The documentation for the Sound Level Meter NA-28 consists of three separate manuals. Instruction Manual Describes operating procedures for the Sound Level Meter NA-28, connection and use of peripheral equipment such as a level recorder and printer, and use of the memory card. Serial Interface Manual (this document) Describes communication with a computer, using the serial interface built into the Sound Level Meter NA-28. The manual covers the communication protocol, use of control commands for the sound level meter, format of data output by the sound level meter, and other topics. Technical Notes This document provides in-depth information about sound level meter performance, microphone construction and characteristics, influence of extension cables and windscreen on the measurement, and other topics.

ii

Organization of This Manual


This manual describes the features of the serial interface built into the Sound Level Meter NA-28. The manual contains the following three sections.

Chapter 1 Preparations for USB Communication


Describes how to connect the unit to a computer via a USB link and how to install the USB driver. The chapter also contains general information about usage.

Chapter 2 Basic Syntax


Explains USB related syntax and other items.

Chapter 3 Command Reference


Describes the commands for controlling the NA-28, including command format, functions, and other aspects.

* All company names and product names mentioned in this manual are trademarks or registered trademarks of their respective owners.

iii

Contents
Organization of the NA-28 Documentation ..................................... i Organization of This Manual ........................................................ iii Chapter 1 Preparations for USB Communication .......................1

About USB Functionality ...............................................................2 Connection to a Computer ..............................................................3 Operating Environment ...................................................................4 Installing the USB Driver................................................................5 Installation procedure ...............................................................5 Connection to the computer .................................................... 10 Disconnection from the computer ........................................... 11 Checking the virtual COM port ..............................................12 Chapter 2 Basic Syntax ............................................................15

Outline ......................................................................................... 16 Local Mode/Remote Mode .......................................................... 17 Transfer Codes .............................................................................. 18 Transfer Format.............................................................................19 ID: ID Number .......................................................................20 ATTR: Block Attribute ........................................................... 21 Block Reception Processing ..........................................................22 Command Types .....................................................................22 Error Processing .....................................................................23 Transfer Types ........................................................................24 Communication Cutoff ..................................................................29 Power Save Mode ...................................................................29 Power Off ...............................................................................29 Auto Shutdown .......................................................................29 Rated Values .................................................................................30

iv

Chapter 3

Command Reference ............................................... 31

Commands ...................................................................................32 Command List ........................................................................32 Command Format ...................................................................38 Error Codes ............................................................................39 Parameters ..............................................................................39 Command Send Example ........................................................40 Command Description ............................................................ 41 Examples for Control Via External Commands ......................86

vi

Chapter 1
Preparations for USB Communication

Contents
About USB Functionality ................................................................2 Connection to a Computer ...............................................................3 Operating Environment ...................................................................4 Installing the USB Driver................................................................5 Installation procedure ................................................................5 Connection to the computer ..................................................... 10 Disconnection from the computer ............................................ 11 Checking the virtual COM port ...............................................12

About USB Functionality


The NA-28 supports operation control and data transfer via a USB connection. Connection of multiple units is not supported.

Connection to a Computer
The illustration below shows how to connect the USB port on the bottom of the Sound Level Meter NA-28 to the computer, using a generic USB cable. The USB cable is an optional.

DC 5-6V

AC

DC USB

USB port

TRIG IN/ COMP OUT OUTPUT

Open cover on bottom USB (mini-B) male

To USB port of computer

USB (A) male

Operating Environment
Supported Operating Systems
- Microsoft Windows XP - Microsoft Windows 2000

Installing the USB Driver


By connecting the NA-28 to a computer with a USB cable, and using a dedicated communication/control program, the NA-28 can be controlled remotely from the computer, and measurement data can be sent to the computer in real time. To enable use of these functions, you must first download driver software from the RION Corporation web site and install this driver on the computer to be used with the NA-28. The driver will create a virtual COM port on the computer.

Installation procedure
When connecting the NA-28 and the computer for the fi rst time, install the USB driver as follows. 1. Download the latest USB driver from the RION Co., LTD. web site (http://www.rion.co.jp/english/). 2. Turn power to the NA-28 on, select [I/O] (Input/Output) and set [USB communication] to ON. Important The above steps must be completed BEFORE connecting the USB cable. 3. Connect the NA-28 to the computer with a USB cable. Important Connect the NA-28 directly with the USB cable to the computer. If the NA-28 is connected via a USB hub, normal operation is not assured.

Installing the USB Driver

4. When the computer detects the NA-28, the Found New Hardware Wizard appears.

Note The Found New Hardware Wizard appears only the first time you connect the NA-28 to the computer. It will not appear during subsequent use. 5. Select No, not this time, and click on Next>.

Installing the USB Driver

6. Select Install from a list or specific location (Advanced), and click on Next>.

7. Select Search for the best driver in these locations, and click on Browse. Then specify the folder to which you have downloaded the driver in step 1.

Installing the USB Driver

8. The Hardware Installation dialog box warning appears. Click on Continue Anyway.

9. A screen like the one below will be shown until the driver installation is complete.

Installing the USB Driver

10. Click on Finish.

When step 10 has been completed, USB communication is enabled. The driver installation creates a virtual COM port in the computer. For information on how to verify that the installation was successful, see the section Checking the virtual COM port on page 12.

Installing the USB Driver

Connection to the computer


If you are connecting the NA-28 to the computer for the fi rst time, refer to page 3. 1. Turn power to the NA-28 on, select [I/O] (Input/Output) and set [USB communication] to ON. 2. Connect the NA-28 to the computer with a USB cable. Important Be sure to set [USB communication] to ON at the NA-28 before connecting the USB cable. USB communication is now enabled.

10

Installing the USB Driver

Disconnection from the computer


CF card in NA-28 will be recognized as removable media. Consequently, the correct procedure as described below must be followed when disconnecting the unit. 1. Click on the Safely remove hardware icon in the right section of the taskbar, and select Safely remove USB Mass Storage Device - Drive (*1). *1: The drive letter (E in the example shown) will differ, depending on the computer configuration.

2. When the message shown below appears, disconnect the USB cable.

The NA-28 is now properly disconnected.

11

Installing the USB Driver

Checking the virtual COM port


1. After installing the driver, set [USB communication] to ON at the NA-28 and connect the USB cable. 2. Open the Device Manager (Hardware tab under Properties in My Computer).

12

Installing the USB Driver

3. Click on the + at the left of Ports (COM & LPT).

The indication RION NA-28 USB to RS232C Converter Virtual COM Port should be shown as COM port name. If this is not shown, check the connection between the NA-28 and the computer (step 1). If there is an over the icon, the port is not functioning normally. Install the driver again.

13

MEMO

14

Chapter 2
Basic Syntax

Contents
Outline .......................................................................................... 16 Local Mode/Remote Mode ........................................................... 17 Transfer Codes .............................................................................. 18 Transfer Format.............................................................................19 ID: ID Number ........................................................................20 ATTR: Block Attribute ............................................................ 21 Block Reception Processing ..........................................................22 Command Types ......................................................................22 Error Processing ......................................................................23 Transfer Types .........................................................................24 Communication Cutoff ..................................................................29 Power Save Mode ....................................................................29 Power Off ................................................................................29 Auto Shutdown ........................................................................29 Rated Values .................................................................................30

15

Outline
The Sound Level Meter NA-28 incorporates a USB interface. This interface allows setting measurement parameters and controlling measurement operation of the NA28 from a computer by sending prescribed commands. It also allows sending current measurement data from the NA-28 to the computer.

Note About transfer principle The NA-28 is connected to the computer by COM port connection using a USB interface. Therefore, it is not necessary to set baud rate, data word length, stop bit, parity check, and flow control.

16

Local Mode/Remote Mode


Operation mode Remote Local Key operation Disabled Enabled Communication Enabled Enabled

Local mode
In this mode, the NA-28 can be operated normally with the keys on the unit. This mode is always active after power to the unit is turned on. Communication is also possible in this mode.

Remote mode
This mode is for communication only. The NA-28 cannot be operated with the keys on the unit. The indication REMOTE is shown on the display.

REMOTE indication

Switching between local mode and remote mode


A special command (RMT) is used to switch between local mode and remote mode.

Key operation in remote mode


Only the power key and light key are active. All other keys are disabled.
17

Transfer Codes
The codes used for communication with the NA-28 are as follows.

Control codes
Code < ENQ> < ACK> < NAK> <STX> < ETX> <CR> < LF > <SUB> Hex notation 05H 06H 15H 02H 03H 0DH 0AH 1AH Meaning Enquire Acknowledge Not acknowledge Start block End block Terminator, (1st character) Terminator, (2nd character) Stop

Special codes
ATTR ID Control code or character code 01H to FF H Block attribute Other / own station ID

Commands, parameters, data ASCII codes 20H to 7EH

18

Transfer Format
Command block:
<STX > ID

Command from computer


ATTR Command 1 M
Parameter

<ETX > 1

00H

<CR > 1

<LF> 1 byte

1 1 ATTR = 'C'

When there are multiple parameters, a space is used as delimiter. Data response block: Response from NA-28. Response data are ASCII.
<STX > ID ATTR
Response data

<ETX > 1

00H

<CR > 1

<LF> 1 byte

1 1 1 ATTR = 'A' or 'Q'

When there are multiple data, a comma , is used as delimiter. Acknowledge response block:
<STX > ID ATTR <ETX > 1
00H

Computer or NA-28
<CR > 1 <LF> 1 byte

1 1 1 ATTR = < ACK >

Not Acknowledge response block:


<STX > ID ATTR

Command from NA-28


<ETX > 1
00H

Error code

<CR > 1

<LF > 1 byte

1 1 1 ATTR = <NA K >

Enquire block:
<STX > ID

From computer to NA-28


ATTR <ETX > 1
00H

<CR > 1

<LF > 1 byte

1 1 1 ATTR = <ENQ>

Stop request block:


<SUB > 1

From computer to NA-28

Stop the continuous output of data started by the request command DRD?

19

Transfer Format

This section explains the functions of ID and ATTR in the transfer format block.

ID: ID Number
Outline
Each device has an individual ID number for identification. The ID number range is 1 to 255 (01H to FFH), and hexadecimal notation is used. In a send block from the computer, the ID number identifies the target device for communication. In a send block from the measuring device, the ID number identifies the device itself.

Broadcast
ID number 00 is reserved for broadcasting a command from the computer to all devices.

Response from measuring device


The measuring device responds only to a communication block that contains its own ID. Other blocks are disregarded. However, if the ID number is 00, setting commands are processed but no response is returned. Request commands are not processed and no response is returned.

20

Transfer Format

ATTR: Block Attribute


The block attribute information is added by the sender, to facilitate processing of the block at the receiving end.
<STX > ID ATTR <ETX > 1
00H

<CR > <LF> 1 1 byte

1 1 1 ATTR = <SUB >

21

Block Reception Processing


For reception processing, the unit is initially in the <STX> wait (idling) mode, except during a sequence while waiting for response from the computer. In idling mode, the sound level meter disregards any data except <STX>.

Command Types
There are two types of commands: setting commands and request commands.

Setting command
This type of command serves for changing the sound level meter status or measurement parameters. Only some commands of this type will produce a response from the sound level meter. For commands that have a response, this consists of status information returned after the setting command has been processed.

Request command
This type of command serves for getting information about unit settings and for obtaining measurement data including display data and stored data. The sound level meter returns the requested data.

22

Block Reception Processing

Error Processing
Transmission errors
Transmission errors can be detected in the following categories. Error item Framing error Contents Character level framing error <STX> received after incomplete block (excluding ID number) Processing Disregard character and wait for next character Start block again from that point

Block reset

Command processing errors


Block format is correct, but command interpretation or processing has resulted in an error. Error item Contents Processing Return error code 0001 Return error code 0002

Undefined command Command problem Parameter error Parameter number or value is not correct Processing cannot be carried out in current state Timeout interval has elapsed

Processing error

Return error code 0003

Processing timeout

Return error code 0004

23

Block Reception Processing

Transfer Types
The following transfer types exist. Check device sequence Setting sequence Request sequence Continuous request sequence Error sequence The setting sequence can be selected to have a response or not. The sample sequences shown below generally assume that the block from the computer comprises the ID of the sound level meter.

Check device sequence


An acknowledge block is returned in response to the check device block.

Computer Check device block

Sound level meter Block normal

Acknowledge block

24

Block Reception Processing

Setting sequence Regular execution


After command processing, an Acknowledge response is sent. After command processing refers to the point where processing has commenced, not where processing is completed. For example, for the Execute store command, it is the point where the store execution has started.

Computer Command block

Sound level meter Block normal Acknowledge block Processing initiated

Irregular execution
When a block or command processing error has occurred, a Not Acknowledge response is sent.

Computer Command block

Sound level meter Block error

Not Acknowledge block

25

Block Reception Processing

Request sequence Regular execution


The response is sent immediately after receiving the request command.

Computer Command block

Sound level meter Block normal Data response block

Irregular execution
When a block or command processing error has occurred, a Not Acknowledge response is sent.

Computer Command block

Sound level meter Error

Not Acknowledge block

26

Block Reception Processing

Continuous request sequence


This sequence uses only commands to periodically request measurement data. The DRD command follows this pattern. The sound level meter periodically sends out blocks. To stop the process, the stop request command <SUB> is sent from the computer. Any other command is disregarded by the sound level meter. The block sending process continues indefinitely as long as the <SUB> command is not received.

Computer Continuous request command Command block

Sound level meter Block normal Data response block Data response block Data response block Always ATTR = 'A

Data response block Stop request code <SUB>

Stop

27

Block Reception Processing

Irregular sequence
When an error generating a response on the block level has occurred, the following sequence occurs.

Computer Any block

Sound level meter Block error or BCC error Not Acknowledge block Error response

28

Communication Cutoff
Power Save Mode
When power save mode is enabled, the unit enters the sleep state after the current block has been sent. In the sleep state, the sound level meter does not send or accept commands.

Power Off
During power off processing, communication is terminated after the current block has been sent.

Auto Shutdown
Same as power off.

29

Rated Values
Guaranteed Values
Case Rated Values Remarks Processing timeout error response if due to processing reasons After receiving data from the sound level meter, wait at least 200 ms before sending the next command (For DOD, at least 1s)

Sound level meter reMax. 3 s sponse time Send character interMax. 100 ms val Interval until sound level meter enters Max. 200 ms idling state after sending data

Rated Values
Case Rated Values If exceeded

Block generation wait time after receiving No limit <STX> Receive character inNo limit terval timeout

30

Chapter 3
Command Reference

Contents
Commands ....................................................................................32 Command List .........................................................................32 Command Format ....................................................................38 Error Codes .............................................................................39 Parameters ...............................................................................39 Command Send Example .........................................................40 Command Description ............................................................. 41 Examples for Control Via External Commands .......................86

31

Commands
Command List
S: Setting command (command for making a NA-28 setting) R: Request command (command for obtaining status information or measurement data from NA-28)

Measurement parameter related commands


Command Function IMD DSP GRP WGT TMC RNG MTI BER DLT MAX Toggle SLM/RTA mode (S/R) Set display data (S/R) Corresponding key /menu item SLM/RTA key MODE key Page 41 42 43 43 44 45 46 46 47 47

Toggle graphical/numeric display GRP/NUM key (S/R) Set frequency weighting characFREQ WEIGHT key teristic (S/R) Set time weighting characteristic TIME WEIGHT key (S/R) Select level range (S/R) Set measurement time (S/R) Set back-erase (S/R) Set delay time (S/R) L max /L min type (S/R) LEVEL Measurement ment time Measurement erase Measurement time Measurement type keys MeasureBackDelay L max /L min

32

Commands

Command Function MXD LNM WSC DFC SET SYS Peak hold (S/R) L N mode (S/R)

Corresponding key /menu item Display MAX hold L N mode

Page 48 48 49 49 50

Measurement

Wi nd sc r e en comp ensat ion Measurement Windscreen (S/R) compensation Diffuse sound field compensa- Measurement Diffuse tion (S/R) sound field compensation Get all measurement parameters N/A (R) Apply setup file (S) System tings Save/Load Set-

54

Data related commands


Command Function LTI SCH DPI LXI ADP MKP Elapsed measurement time (R) Display sub channel (S/R) Toggle display (S/R) Percentile level (S/R) Corresponding key /menu item N/A Measurement measurement Sub channel Page 55 56 57 58 58 59

Display [respective item] ON/OFF Display LN [respective item]

Sub channel additional process- Sub channel measurement L peak /Ltm5 ing (S/R) Cursor position (S/R) keys

33

Commands

Measurement control commands


Command Function SRT STO PSE Measurement processing Store Pause Corresponding key /menu item START/STOP key STORE key PAUSE key Page 60 60 61

Calibration commands
Command Function CAL CBM Calibration status (S/R) Calibration volume (S/R) Corresponding key /menu item CAL/STORE key keys during calibration Page 62 62

Memory related commands


Command Function SMD SNS PLP ADR Store mode (S/R) Store name (S/R) Auto 1 store cycle Store address (S/R) Corresponding key /menu item Store Store Store N/A Store mode Store name Sampling cycle Page 63 63 64 65

34

Commands

Command Function CDR CDV MDC SPM Card capacity/remaining (R) Card insertion check (R)

Corresponding key /menu item System CF Capacity

Page 65 66 66 67

CF symbol display

Clear stored data from internal Recall memory (S) Sleep mode (S/R)

CAL

Trigger Measurement mode Sleep mode

System commands
Command Function BAT CLK DCL VER Battery status (R) Current date/time (S/R) Initialization (S) Version (R) Corresponding key /menu item N/A System Time System tings N/A Current Date/ Save/Load SetPage 68 68 69 69

35

Commands

Input/output related commands


Command Function ACO DCO TRG LTR LTB LTC TTR CMP CML CMB CMC RMC LNG BLA Select AC output (S/R) Select DC output (S/R) Trigger (S/R) Trigger level (S/R) Corresponding key /menu item Input/Output Input/Output Measurement mode Measurement mode AC output DC output Trigger Trigger Trigger Trigger Trigger ComparaComparaComparaComparaRemote conPage 70 70 71 71 72 73 74 75 75 76 77 77 78 78

Trigger band for RTA mode Measurement (S/R) mode Trigger channel for SLM mode Measurement (S/R) mode Trigger time (S/R) Comparator (S/R) Comparator level (S/R) Measurement mode Input/Output tor Input/Output tor

Comparator band for RTA mode Input/Output (S/R) tor Comparator channel for SLM mode (S/R) Remote control (S/R) Language (S/R) Input/Output tor Input/Output trol System

Language Backlight

Back light auto off inter val Input/Output (S/R) auto off

36

Commands

Command Function BLB BEP IDX Backlight brightness (S/R) Beep tone (S/R) Index (S/R)

Corresponding key /menu item Input/Output brightness Input/Output Input/Output Backlight

Page 79 79 80

Beep Index

Communication control commands


Command Function RMT EST Remote mode (S/R) Error information (R) Corresponding key /menu item N/A N/A Page 81 81

Data output related commands


Command Function DOD DRD Output displayed value (R) Continuous output (R) Corresponding key /menu item N/A N/A Page 82 85

37

Commands

Command Format
In this manual, a single character is represented as , a space as _, parameters as p1,p2,..., and response data as d1,d2,.... Parameters and response data may be more than 1 character long. Commands consists of three letters which are not case-sensitive (upper-case or lower-case can be used).

When a command has a parameter, the parameter follows the command. It can be appended to the command either directly or with a separating space. p1 _ p1 Valid Valid

When a command has several parameters, the parameters must be separated by a space. p1_p2 p1p2 Valid Not valid

Note
One command block can only contain one command. Do not include several commands in a block. A request command consists of the command, any required parameter, and a ?. The command and ? or parameter and ? may be separated by a space. ? _? p1? p1_? Valid Valid Valid Valid

38

Commands

Unless specified otherwise, parameters and response data are of variable length. Depending on the value range, the length of the parameter will differ. Padding with leading zeros or other measures are not implemented. _1 _10 _01 Valid Valid Not valid

Error Codes
Error code 0001 0002 0003 0004 Meaning Undefined command or other command problem Parameter number or value not valid Processing not possible in current state Processing completion timeout interval has elapsed

Parameters
When there are multiple parameters, using a # for a parameter indicates that the current state of the parameter is maintained.

39

Commands

Command Send Example


To set frequency weighting to C
<STX > 01H C WGT 0_2 <ETX > 00H <CR ><LF>

(1)

(2) (3)

(4)

(5)

(6)

(7)

(8)

(1) Start of transfer data and command Always <STX> (2) ID number (hexadecimal). The ID number range is 0 to 255. In a command string, this is expressed as 01H (= ID number 1) to FFH (= ID number 255). Note Do not use ASCII 01 here. Express 01 in 2-digit hexadecimal notation, i.e. 01H. (3) Attribute (C for command) Always C (4) Command 3 alpha characters (5) Parameter (corresponds to p1, p2, etc. in command description section of manual [following pages]) (6) Command end Always < ETX> (7) Always 00H (8) Transfer data end Always <CR>< LF >

40

Commands

Command Description
Measurement parameter related commands
IMD Toggle SLM/RTA mode (corresponds to SLM/RTA key operation) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 p1 = 2 p1 = 3 IMD p1 Content SLM (sound level meter) mode OCT (octave analysis) mode 1/3OCT (1/3 octave analysis) mode OCT & 1/3OCT (simultaneous octave & 1/3 octave analysis) mode

Request command IMD ? Response data d1 Return value Content * Same as for setting command

41

Commands

DSP Set display data (corresponds to MODE key operation) Only valid if the unit is currently in Lp mode (including pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 DSP p1 Content Lp screen

p1 = 1 L eq screen p1 = 2 LE screen p1 = 3 L max screen p1 = 4 L min screen p1 = 5 L N1 screen p1 = 6 L N 2 screen p1 = 7 L N 3 screen p1 = 8 L N4 screen p1 = 9 L N5 screen p1 = 10 List screen p1 = 11 Time-Level screen * Specifying a screen that is set to OFF on the Display menu results in error code 0003 being returned. * Also refer to the DPI command. Request command DSP ? Response data d1 Return value Content * Same as for setting command * List screen is settable only sound level meter mode. In analyzer mode, error 0003 is returned.

42

Commands

GRP Toggle graphical/numeric display (corresponds to GRP/NUM key operation) Switches between graphical display and numeric display in analyzer mode. Only valid if the unit is currently in Lp mode and currently processing (including pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 GRP p1 Content Graphical screen Numeric screen

Request command GRP ? Response data d1 Return value Content * Same as for setting command WGT Set frequency weighting characteristic (corresponds to FREQ WEIGHT key operation [main]/Sub channel measurement Frequency weighting [sub]) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command WGT p1 p2 Parameter Content p1,p2 = 0 A-weighting p1,p2 = 1 C-weighting p1,p2 = 2 Z-weighting * p1 specifies the frequency weighting for the main channel and p2 for the sub channel. Request command WGT ? Response data d1,d2 Return value Content * Same as for setting command * d1 specifies the frequency weighting for the main channel and d2 for the sub channel.
43

Commands

TMC Set time weighting characteristic (corresponds to TIME WEIGHT key operation [main]/Sub channel measurement Time weighting [sub]) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1,p2 = 0 p1,p2 = 1 TMC p1 p2 Content F (Fast) S (Slow)

p1,p2 = 2 10 ms p2 = 3 I (Impulse) * p1 specifies the time weighting for the main channel and p2 for the sub channel. Request command TMC ? Response data d1,d2 Return value Content * Same as for setting command * d1 specifies the time weighting for the main channel and d2 for the sub channel.

44

Commands

RNG Select level range (corresponds to LEVEL key operation) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 p1 = 2 p1 = 3 p1 = 4 p1 = 5 RNG p1 Content 80 dB range 90 dB range 100 dB range 110 dB range 120 dB range 130 dB range

Request command RNG ? Response data d1 Return value Content * Same as for setting command

45

Commands

MTI Set measurement time (corresponds to Measurement Measurement time) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. If the time setting results in a contradictory or invalid condition, error 0002 is returned. Setting command Parameter MTI p1 p2 Content

p1 = 1 to 1000 Value p2 = 0 s (Seconds) p2 = 1 m (Minutes) p2 = 2 h (Hours) * The maximum allowable setting time is 24 hour when store mode is Manual or Auto2. Request command MTI ? Response data d1,d2 Return value Content * Same as for setting command * d1 specifies the value and d2 specifies the unit. BER Set back-erase (corresponds to Measurement

Back-erase) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 BER p1 Content Back-erase function off 5s

Request command BER ? Response data d1 Return value Content * Same as for setting command

46

Commands

DLT Set delay time (corresponds to Measurement Delay time) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 to 10 DLT p1 Content Delay time (seconds)

Request command DLT ? Response data d1 Return value Content * Same as for setting command MAX Lmax /Lmin type (corresponds to Measurement Lmax /Lmin type) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 p1 = 2 MAX p1 Content Band AP AP(S)

Request command MAX ? Response data d1 Return value Content * Same as for setting command

47

Commands

MXD Peak hold (corresponds to Display MAX hold) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command MXD p1 Parameter Content p1 = 0 OFF p1 = 1 ON * Peak hold display is performed only in analyzer mode, not in sound level meter mode. * When the setting is made via remote communication, the sound level meter will accept the MXD command also if it is in sound level meter mode. Request command MXD ? Response data d1 Return value Content * Same as for setting command LNM LN mode) LN mode (corresponds to Measurement Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command LNM p1 Parameter Content p1 = 0 Lp p1 = 1 L eq, 1s * Selecting Japanese as language is not valid (error 0003 will be returned). Request command LNM ? Response data d1 Return value Content * Same as for setting command * If Japanese is selected as language, p1 = 0 is returned (operation also corresponds to p1 = 0).
48

Commands

WSC Windscreen compensation (corresponds to Measurement Windscreen compensation) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 WSC p1 Content OFF (no compensation) ON

Request command WSC ? Response data d1 Return value Content * Same as for setting command DFC Diffuse sound field compensation (corresponds to Measurement Diffuse sound field compensation) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 DFC p1 Content OFF (no compensation) ON

Request command DFC ? Response data d1 Return value Content * Same as for setting command

49

Commands

SET * Get all measurement parameters (no corresponding operation) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Request command Response data Return value d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 SET ? d1,d2,...,d65 Content SLM/RTA mode Corresponds to IMD ? command Main channel frequency weighting characteristic Corresponds to d1 of WGT ? command Sub channel frequency weighting characteristic Corresponds to d2 of WGT ? command Main channel time weighting characteristic Corresponds to d1 of TMC ? command Sub channel time weighting characteristic Corresponds to d2 of TMC ? command Level range Corresponds to RNG ? command Measurement time setting (value) Corresponds to d1 of MTI ? command Measurement time setting (unit) Corresponds to d2 of MTI ? command Back-erase setting Corresponds to BER ? command Delay time setting Corresponds to DLT ? command L max /L min type Corresponds to MAX ? command Peak hold Corresponds to MXD ? command L N mode Corresponds to LNM ? command Windscreen compensation Corresponds to WSC ? command

50

Commands

d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31

Diffuse sound field compensation Corresponds to RFC ? command Sub channel display Corresponds to SCH ? command L eq display Corresponds to d1 of DPI ? command LE display Corresponds to d2 of DPI ? command L max display Corresponds to d3 of DPI ? command L min display Corresponds to d4 of DPI ? command L N1 display Corresponds to d5 of DPI ? command L N 2 display Corresponds to d6 of DPI ? command L N 3 display Corresponds to d7 of DPI ? command L N4 display Corresponds to d8 of DPI ? command L N5 display Corresponds to d9 of DPI ? command L N1 percentile value Corresponds to d1 of LXI ? command L N 2 percentile value Corresponds to d2 of LXI ? command L N 3 percentile value Corresponds to d3 of LXI ? command L N4 percentile value Corresponds to d4 of LXI ? command L N5 percentile value Corresponds to d5 of LXI ? command Sub channel additional processing Corresponds to ADP ? command

51

Commands

d32 d33 d34 d35

d36 d37 d38 d39 d40 d41 d42 d43 d44 d45 d46 d47 d48

Store mode Corresponds to SMD ? command Store name Corresponds to SNS ? command Auto1 store sampling cycle in analyzer mode Corresponds to d1 of PLP ? command Auto1 store sampling cycle in sound level meter mode Corresponds to d2 of PLP ? command Sleep mode Corresponds to SPM ? command AC output setting Corresponds to ACO ? command DC output setting Corresponds to DCO ? command Trigger mode Corresponds to TRG ? command Trigger level Corresponds to d1 of LTR ? command Trigger slope Corresponds to d2 of LTR ? command Trigger band (octave) Corresponds to d1 of LTB ? command Trigger band (top/center/bottom) Corresponds to d2 of LTB ? command Trigger channel (sound level meter mode) Corresponds to LTC ? command Time trigger start date/time (month) Corresponds to d1 of TTR ? command Time trigger start date/time (day) Corresponds to d2 of TTR ? command Time trigger start date/time (hour) Corresponds to d3 of TTR ? command Time trigger start date/time (minutes) Corresponds to d4 of TTR ? command

52

Commands

d49 d50 d51 d52 d53 d54 d55 d56 d57 d58 d59 d60 d61 d62

Time trigger end date/time (month) Corresponds to d5 of TTR ? command Time trigger end date/time (day) Corresponds to d6 of TTR ? command Time trigger end date/time (hour) Corresponds to d7 of TTR ? command Time trigger end date/time (minutes) Corresponds to d8 of TTR ? command Time trigger interval time Corresponds to d9 of TTR ? command Comparator Corresponds to CMP ? command Comparator level Corresponds to CML ? command Comparator band (octave) Corresponds to d1 of CMB ? command Comparator band (top/center/bottom) Corresponds to d2 of CMB ? command Comparator band (sound level meter mode) Corresponds to CMC ? command Remote control Corresponds to RMC ? command Language Corresponds to LNG ? command Always 0

Backlight auto off Corresponds to BLA ? command d63 Backlight brightness Corresponds to BLB ? command d64 Beep tone Corresponds to BEP ? command d65 Index Corresponds to IDX ? command * There is no setting command.
53

Commands

SYS Apply setup file (corresponds to System Save/Load Settings) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command SYS p1 Parameter Content p1 = 1 to 5 Setup file number * Note that if USB communication is set to OFF in the specified setup file, communication will no longer be possible after sending the command. In this case, use the menus on the NA-28 to enable USB communication again.

54

Commands

Data related commands


LTI Elapsed measurement time If the unit is displaying a menu or is in recall, calibration, or adjustment mode, error 0003 is returned. In other cases, the command is valid. Request command LTI ? Response data d1,d2,d3 Return value Content d1 Hours d2 Minutes d3 Seconds In case of the store mode is Auto1 or Auto2, the response data as follows. Response data d1,d2,d3,d4 Return value Content d1 Days d2 Hours d3 Minutes d4 Seconds * If this command is sent after completion of a measurement, the elapsed measurement time at the point of measurement completion is returned. * There is no setting command.

55

Commands

SCH Display sub channel (corresponds to Measurement Sub channel measurement Sub channel measurement setting) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 SCH p1 Content OFF (sub channel not displayed) ON (sub channel displayed)

Request command SCH ? Response data d1 Return value Content * Same as for setting command

56

Commands

DPI Toggle display (corresponds to Display Leq, LE, Lmax etc.) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. * The value set here will affect the DSP command. Setting command Parameter p1 to p11 = 0 p1 to p11 = 1 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 DPI p1 p2 p3...p11 Content OFF ON L eq screen LE screen L max screen L min screen L N1 screen L N 2 screen L N 3 screen L N4 screen L N5 screen List screen Time-Level screen

Request command DPI ? Response data d1,d2,...,d11 Return value Content * Same as for setting command

57

Commands

LXI Percentile level (corresponds to Display L N1 to L N 5 setting value) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 1 to 99 p2 = 1 to 99 p3 = 1 to 99 p4 = 1 to 99 p5 = 1 to 99 LXI p1 p2 p3 p4 p5 Content L N1 setting L N 2 setting L N 3 setting L N4 setting L N5 setting

Request command LXI ? Response data d1,d2,d3,d4,d5 Return value Content * Same as for setting command ADP Sub channel additional processing (corresponds to Sub channel Lpeak /Ltm5) measurement Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 p1 = 2 ADP p1 Content OFF L peak Ltm5

Request command ADP ? Response data d1 Return value Content * Same as for setting command * When the setting is made via remote communication, the sound level meter will accept the ADP command also if it is in analyzer mode.
58

Commands

MKP Cursor position (corresponds to cursor positioning operation in analyzer mode) If the unit is displaying a menu or is in recall, calibration, or adjustment mode, the command is not valid and error 0003 is returned. In sound level meter (SLM) mode, the command is not valid and error 0003 is returned. Setting command MKP p1 p2 Parameter Content p1 = 0 Not available (Do not specify this.) p1 = 1 Not available (Do not specify this.) p1 = 2 16 Hz band p1 = 3 31.5 Hz band p1 = 4 63 Hz band p1 = 5 125 Hz band p1 = 6 250 Hz band p1 = 7 500 Hz band p1 = 8 1 kHz band p1 = 9 2 kHz band p1 = 10 4 kHz band p1 = 11 8 kHz band p1 = 12 16 kHz band p2 = 0 Bottom band p2 = 1 Center band p2 = 2 Top band * In 1/3 octave analysis mode/simultaneous analysis mode, p1 specifies the octave band unit, and p2 the 1/3 octave band unit as bottom/center/top. * For example, to specify the 1.25 kHz band, use p1 = 8 and p2 =2. * Use p1 = specified frequency and p2 = 1 when set the octave band. Request command MKP ? Response data d1,d2 Return value Content * Same as for setting command
59

Commands

Measurement control commands


SRT Measurement processing (corresponds to START/STOP key operation) If the unit is displaying a menu or is in recall, calibration, or adjustment mode, the command is not valid and error 0003 is returned. Setting command SRT p1 Parameter Content p1 = 1 Start processing measurement p1 = 0 Stop processing measurement or auto store * During auto store, p1 = 1 is not valid (0003). * If p1 = 1 is sent while a processing measurement is in progress, processing will restart. Request command Response data Return value d1 = 1 d1 = 0 SRT ? d1 Content Processing measurement Processing measurement stopped or auto store in progress

STO Store (corresponds to STORE key operation) Only valid if the unit is currently in Lp mode (including pause). It is also valid in the request only store condition. Setting command STO p1 Parameter Content p1 = 1 Execute store process/Start auto store * To stop auto store, use the SRT command. Request command Response data Return value d1 = 1 d1 = 0 STO ? d1 Content Auto store in progress Auto store stopped

60

Commands

PSE Pause (corresponds to PAUSE key) If the unit is displaying a menu or is in recall, calibration, or adjustment mode, the command is not valid and error 0003 is returned. During auto store, the command is not valid and error 0003 is returned. Setting command Parameter p1 = 1 p1 = 0 Request command Response data Return value d1 = 1 d1 = 0 PSE p1 Content Activate pause Cancel pause PSE ? d1 Content Pause active Pause canceled

61

Commands

Calibration commands
CAL Calibration status (corresponds to calibration mode on/off by CAL key operation and selection of internal/acoustic calibration by STORE key operation) Only valid if the unit is currently in Lp mode (except pause) and calibration mode. In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 p1 = 2 CAL p1 Content Cancel calibration mode Activate internal calibration Activate acoustic calibration

Request command CAL ? Response data d1 Return value Content * Same as for setting command CBM Calibration volume (corresponds to

key operation during

calibration) Only valid if the unit is currently in calibration mode. In other cases, error 0003 is returned. Setting command CBM p1 Parameter Content p1 = 0 Set CAL volume to minimum p1 = 1 Set CAL volume to maximum * If p1 = 0 is sent when CAL volume is at minimum, error 0002 is returned. * If p1 = 1 is sent when CAL volume is at maximum, error 0002 is returned. * To obtain the displayed value during calibration, use the DOD command described on page 82 to 84. * Perform calibration with the CBM command while checking the displayed value with the DOD command.
62

Commands

Memory related commands


SMD Store mode (corresponds to Store Store mode) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 p1 = 2 SMD p1 Content Manual Auto1 Auto2

Request command SMD ? Response data d1 Return value Content * Same as for setting command SNS Store name) Store name (corresponds to Store Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. This specifies the name of the store folder on the CF card. Setting command SNS p1 Parameter Content p1 = 0000 to 9999 Numer ic por t ion of M A N_

AU1_ , AU2_ * To specify a number of less than 4 digits, use leading zeros. * For example, to specify 20, use SNS_0020. SNS_20 will result in an error. Request command SNS ? Response data d1 Return value Content * Same as for setting command * The name set with the SNS command is the folder name that will be used when storing data on CF card. The store name is not used when storing data in the internal memory.
63

Commands

PLP Auto 1 store cycle (corresponds to Store Sampling cycle) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 1 to 9 p1 = 10 to 1000 p1 = 0 p2 = 0 PLP p1 p2 Content 1 ms to 10 ms, in 1-ms steps 10 ms to 1000 ms, in 10-ms steps L eq,1s (use 0 to specify 1-second L eq)

100 ms (in sound level meter mode, only 0 can be specified) * In analyzer mode, sampling cycle is p1. In sound level meter mode, sampling cycle is p2. * Between 10 and 1000, use steps of 10. For example, 25 cannot be specified. * In sound level meter mode, the setting is fixed to 100 ms and cannot be changed. Request command PLP ? Response data d1,d2 Return value Content * Same as for setting command

64

Commands

ADR Store address (no corresponding operation) The setting is valid only if the unit is currently in Lp mode or in Lp pause mode and in store mode. In other cases, error 0003 is returned. The request command is not valid if the unit is displaying a menu or is in recall, calibration, or adjustment mode. In such cases, error 0003 is returned. Setting command Parameter ADR p1 Content

p1 = 1 to 1000 Address for manual store * Cannot be set if the store mode is not manual. Request command ADR ? Response data d1 Return value Content d1 = 1 to 1000 When unit is in manual store mode * When the unit is not in manual store mode, an indeterminate value may be returned. CDR Card capacity/remaining (corresponds to System

CF Capacity,

capacity indication at top right of current screen) If the unit is displaying a menu or is in recall or calibration mode, the command is not valid and error 0003 is returned. Request command CDR ? Response data d1,d2 Return value Content d1,d2 = 0.0 to 1945.3 Unit is MB * d1 indicates total CF card capacity, and d2 remaining free capacity. * There is no setting command.

65

Commands

CDV Card insertion check (corresponds to CF symbol display at top right of current screen) If the unit is displaying a menu or is in recall or calibration mode, the command is not valid and error 0003 is returned. Request command Response data CDV ? d1

Return value Content d1 = 0 No CF card inserted d1 = 1 CF card inserted d1 = 2 CF card being checked * There is no setting command. MDC Clear stored data from internal memory (corresponds to Recall Delete selected data [CAL key] operation) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command ADR * There is no parameter. * Data stored in internal memory are deleted. * Data and setup files etc. stored on CF card are not deleted.

66

Commands

SPM Sleep mode (corresponds to Measurement Trigger mode Sleep mode) Sleep mode (low power consumption mode) is applicable only during use of the time trigger function. When the unit is in sleep mode (low power standby), USB communication is also disabled, and no commands will be accepted. Use of this command therefore is usually not recommended. The command is only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 SPM p1 Content Do not use sleep mode when using time trigger Use sleep mode when using time trigger

Request command SPM ? Response data d1 Return value Content * Same as for setting command

67

Commands

System commands
BAT Battery status (no corresponding operation) This command is valid in any operation state of the unit. Request command BAT ? Response data d1,d2 Return value Content d1 = 1 Flashing (Empty) d1 = 2 1 segment (Low) d1 = 3 2 segments (Mid) d1 = 4 3 segments (High) d1 = 5 4 segments (Full) d2 = 1 Unit is powered by internal batteries d2 = 2 Unit is powered by external DC supply * There is no setting command. CLK Current Date/Time) Current date/time (corresponds to System The setting command is only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. The request command is not valid if the unit is displaying a menu or is in recall or calibration mode. In such cases, error 0003 is returned. Setting command CLK p1 p2 p3 p4 p5 p6 Parameter Content p1 = 2000 to 2063 4-digit calendar year p2 = 1 to 12 Month p3 = 1 to 31 Day p4 = 0 to 24 Hours p5 = 0 to 59 Minutes p6 = 0 to 59 Seconds Request command CLK? Response data d1,d2,d3,d4,d5,d6 Return value Content * Same as for setting command

68

Commands

DCL Initialization (corresponds to System Save/Load Settings Set default values) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command DCL * There is no parameter. * The USB communication setting will remain ON. * All other settings except USB communication are returned to the default condition. * The unit index is incremented by 1. Keep this in mind if you are using an index other than 1. VER Version (no corresponding operation) Only valid if the unit is currently in Lp mode (except pause) or in calibration mode. In other cases, error 0003 is returned. Request command VER ? Response data d1,d2 Return value Content d1 = 0 NA-28 d2 = x.y System version * There is no setting command.

69

Commands

Input/output related commands


ACO Select AC output (corresponds to Input/Output AC output) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 p1 = 2 ACO p1 Content OFF MAIN SUB

Request command ACO ? Response data d1 Return value Content * Same as for setting command DCO Select DC output (corresponds to Input/Output DC output) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 p1 = 2 DCO p1 Content OFF MAIN SUB

Request command DCO ? Response data d1 Return value Content * Same as for setting command

70

Commands

TRG Trigger (corresponds to Measurement Trigger mode Trigger mode setting) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 p1 = 2 p1 = 3 p1 = 4 TRG p1 Content OFF Level 1 Level 2 Time EXT.

Request command TRG ? Response data d1 Return value Content * Same as for setting command LTR Trigger level (corresponds to Measurement

Trigger mode

Trigger level setting) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 25 to 130 p2 = 0 p2 = 1 LTR p1 p2 Content Trigger level for level 1 and level 2 trigger (1-dB steps) + slope (Use p2 = 0 in level 2 trigger ) slope

Request command LTR ? Response data d1,d2 Return value Content * Same as for setting command * d1 indicates trigger level, and d2 indicates trigger slope.

71

Commands

LTB Trigger band for RTA mode (corresponds to Measurement ger mode Trigger band setting)

Trig-

Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 LTB p1 p2 Content SUB AP MAIN AP

p1 = 2 16 Hz p1 = 3 31.5 Hz p1 = 4 63 Hz p1 = 5 125 Hz p1 = 6 250 Hz p1 = 7 500 Hz p1 = 8 1 kHz p1 = 9 2 kHz p1 = 10 4 kHz p1 = 11 8 kHz p1 = 12 16 kHz p2 = 0 Bottom band p2 = 1 Center band p2 = 2 Top band * To specify a 1/3 octave band, use p1 to specify the octave band, and p2 to specify the bottom/center/top band for the trigger. Request command LTB ? Response data d1,d2 Return value Content * Same as for setting command * d1 indicates octave band, and d2 indicates bottom/center/top band.

72

Commands

LTC Trigger channel for SLM mode (corresponds to Measurement Trigger mode Trigger band setting) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 LTC p1 Content SUB AP MAIN AP

Request command LTC ? Response data d1 Return value Content * Same as for setting command

73

Commands

TTR Trigger time (corresponds to Measurement Trigger mode Trigger start time/Trigger end time setting) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command TTR p1 p2 p3 p4 p5 p6 p7 p8 p9 Parameter Content p1 = 1 to 12 Start Month p2 = 1 to 31 Start Day p3 = 0 to 23 Start Hours p4 = 0 to 59 Start Minutes p5 = 1 to 12 End Month p6 = 1 to 31 End Day p7 = 1 to 23 End Hours p8 = 0 to 59 End Minutes p9 = 0 Trigger interval OFF p9 = 1 Trigger interval 5 m p9 = 2 Trigger interval 10 m p9 = 3 Trigger interval 15 m p9 = 4 Trigger interval 30 m p9 = 5 Trigger interval 1 h p9 = 6 Trigger interval 8 h p9 = 7 Trigger interval 24 h Request command TTR ? Response data d1,d2,d3,d4,d5,d6,d7,d8,d9 Return value Content * Same as for setting command * d1 to d9 correspond to p1 to p9

74

Commands

CMP Comparator (corresponds to Input/Output Comparator Comparator setting) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 CMP p1 Content OFF ON

Request command CMP ? Response data d1 Return value Content * Same as for setting command CML Comparator level (corresponds to Input/Output

Comparator

Comparator level setting) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 25 to 130 CML p1 Content dB

Request command CML ? Response data d1 Return value Content * Same as for setting command

75

Commands

CMB Comparator band for RTA mode (corresponds to Input/Output Comparator Comparator band) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 CMB p1 p2 Content SUB AP MAIN AP

p1 = 2 16 Hz p1 = 3 31.5 Hz p1 = 4 63 Hz p1 = 5 125 Hz p1 = 6 250 Hz p1 = 7 500 Hz p1 = 8 1 kHz p1 = 9 2 kHz p1 = 10 4 kHz p1 = 11 8 kHz p1 = 12 16 kHz p2 = 0 Bottom band p2 = 1 Center band p2 = 2 Top band * To specify a 1/3 octave band, use p1 to specify the octave band, and p2 to specify the bottom/center/top band for the comparator. * Use p1 = specified frequency and p2 = 1 when set the octave band. Request command CMB ? Response data d1,d2 Return value Content * Same as for setting command * d1 indicates octave band, and d2 indicates bottom/center/top band.

76

Commands

CMC Comparator channel for SLM mode (corresponds to Input/Output Comparator Comparator band) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 CMC p1 Content SUB AP MAIN AP

Request command CMC ? Response data d1 Return value Content * Same as for setting command RMC Remote control (corresponds to Input/Output

Remote control) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 RMC p1 Content OFF ON

Request command RMC ? Response data d1 Return value Content * Same as for setting command

77

Commands

LNG Language (corresponds to System Language) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 p1 = 2 p1 = 3 p1 = 4 LNG p1 Content Japanese English Deutsch Espaol French

Request command LNG ? Response data d1 Return value Content * Same as for setting command BLA Backlight auto off interval (corresponds to Input/Output

Back-

light auto off) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 p1 = 2 BLA p1 Content 30 sec 3 min Cont

Request command BLA ? Response data d1 Return value Content * Same as for setting command

78

Commands

BLB Backlight brightness (corresponds to Input/Output Backlight brightness) If the unit is displaying a menu or is in recall or calibration mode, the command is not valid and error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 BLB p1 Content Dark Bright

Request command BLB ? Response data d1 Return value Content * Same as for setting command BEP Beep tone (corresponds to Input/Output

Beep) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command Parameter p1 = 0 p1 = 1 BEP p1 Content OFF ON

Request command BEP ? Response data d1 Return value Content * Same as for setting command

79

Commands

IDX Index (corresponds to Input/Output Index) Only valid if the unit is currently in Lp mode (except pause). In other cases, error 0003 is returned. Setting command IDX p1 Parameter Content p1 = 1 to 255 Index value * When changing the index setting, keep in mind that the new index will have to be specified in subsequent communication. Request command IDX ? Response data d1 Return value Content * Same as for setting command

80

Commands

Communication control commands


RMT Remote mode (no corresponding operation) If the unit is displaying a menu or is in recall or calibration mode, the command is not valid and error 0003 is returned. When remote mode has been set to On (1), the operation keys on the unit are inactive (except for the POWER key). Infrared remote control is also inactive, regardless of its setting. When remote mode has been set to Off (0), the operation keys on the unit are active, and the infrared remote control operates according to its setting. Setting command Parameter p1 = 0 p1 = 1 RMT p1 Content Remote mode OFF Remote mode ON

Request command RMT ? Response data d1 Return value Content * Same as for setting command EST Error information (no corresponding operation) This command can be used in all modes. Request command Response data Return value d1 = error code EST ? d1 Content Returns the most recent error code.

81

Commands

Data output related commands


DOD Output displayed value (no corresponding operation) If the unit is displaying a menu or is in recall mode, the command is not valid and error 0003 is returned. Send the request command at one second interval or longer. Request command DOD ? <Sound level meter mode> Response data d1,d2,...,d23 d1 = xxx.x Main channel Lp d2 = xxx.x Main channel L eq d3 = xxx.x Main channel LE d4 = xxx.x Main channel L max d5 = xxx.x Main channel L min d6 = xxx.x Main channel L N1 d7 = xxx.x Main channel L N 2 d8 = xxx.x Main channel L N 3 d9 = xxx.x Main channel L N4 d10 = xxx.x Main channel L N5 d11 = xxx.x Sub channel Lp d12 = xxx.x Sub channel L eq d13 = xxx.x Sub channel LE d14 = xxx.x Sub channel L max d15 = xxx.x Sub channel L min d16 = xxx.x Sub channel L N1 d17 = xxx.x Sub channel L N 2 d18 = xxx.x Sub channel L N 3 d19 = xxx.x Sub channel L N4 d20 = xxx.x Sub channel L N5 d21 = xxx.x Sub channel L peak /Ltm5 d22 = 0 or 1 Overload information (1: Yes, 0: No) d23 = 0 or 1 Under-range information (1: Yes, 0: No) * d1 to d21 are fixed at 5 digit length. Higher digits are padded with spaces as required. * When display is set to OFF, d1 to d21 are returned as _--.- (with a leading space).
82

Commands

<Octave analyzer mode> Response data d1,d2,...,d15 d1 = xxx.x Sub channel AP d2 = xxx.x Main channel AP d3 = xxx.x 16 Hz d4 = xxx.x 31.5 Hz d5 = xxx.x 63 Hz d6 = xxx.x 125 Hz d7 = xxx.x 250 Hz d8 = xxx.x 500 Hz d9 = xxx.x 1 kHz d10 = xxx.x 2 kHz d11 = xxx.x 4 kHz d12 = xxx.x 8 kHz d13 = xxx.x 16 kHz d14 = 0 or 1 Overload information (1: Yes, 0: No) d15 = 0 or 1 Under-range information (1: Yes, 0: No) * When sub channel display is set to OFF, d1 is returned as _--.- (with a leading space). <1/3 octave analyzer mode> Response data d1,d2,...,d37 d1 = xxx.x Sub channel AP d2 = xxx.x Main channel AP d3 = xxx.x 12.5 Hz d4 = xxx.x 16 Hz d5 = xxx.x 20 Hz d34 = xxx.x 16 kHz d35 = xxx.x 20 kHz d36 = 0 or 1 Overload information (1: Yes, 0: No) d37 = 0 or 1 Under-range information (1: Yes, 0: No) * When sub channel display is set to OFF, d1 is returned as _--.- (with a leading space).

83

Commands

<Simultaneous analyzer mode> Response data d1,d2,...,d48 d1 = xxx.x Sub channel AP d2 = xxx.x Main channel AP d3 = xxx.x 16 Hz (OCT) d4 = xxx.x 31.5 Hz (OCT) d12 = xxx.x d13 = --.d14 = xxx.x d15 = xxx.x d16 = xxx.x 8 kHz (OCT) 16 kHz (OCT) 12.5 Hz (1/3OCT) 16 Hz (1/3OCT) 20 Hz (1/3OCT)

d44 = xxx.x 12.5 kHz (1/3OCT) d45 = --.16 kHz (1/3OCT) d46 = --.20 kHz (1/3OCT) d47 = 0 or 1 Overload information (1: Yes, 0: No) d48 = 0 or 1 Under-range information (1: Yes, 0: No) * d13, d45, and d46 are always returned as _--.- (with a leading space) in simultaneous analyzer mode. * There is no setting command.

84

Commands

DRD Continuous output (no corresponding operation) If the unit is displaying a menu or is in recall or calibration mode, the command is not valid and error 0003 is returned. Data are sent periodically to the computer every 100 msec. If the store mode is AUTO 1, DRD ? is available when the sampling period of AUTO 1 is 100 msec. * To stop the data transfer, send the stop request code <SUB>. Request command DRD ? <Sound level meter mode> Response data d1,d2,...,d10 d1 = xxx.x Main channel Lp d2 = xxx.x Main channel L eq d3 = xxx.x Main channel L max d4 = xxx.x Main channel L min d5 = xxx.x Sub channel Lp d6 = xxx.x Sub channel L eq d7 = xxx.x Sub channel L max d8 = xxx.x Sub channel L min d9 = 0 or 1 Overload information (1: Yes, 0: No) d10 = 0 or 1 Under-range information (1: Yes, 0: No) * When sub channel display is set to OFF, d5 to d8 are returned as _--.- (with a leading space). <Octave analyzer mode> Response data d1,d2,...,d15 * Response data are the same as for the DOD command. <1/3 octave analyzer mode> Response data d1,d2,...,d37 * Response data are the same as for the DOD command. <Simultaneous analyzer mode> Response data d1,d2,...,d48 * Response data are the same as for the DOD command. * There is no setting command.
85

Commands

Examples for Control Via External Commands


This section contains several examples for controlling operation of the sound level meter via commands. An initial steps are common to all operations: Check index number To check whether a setting was made properly, using a request command after sending a setting command is recommended. Refer to the page 40 for sending a command format.

Example: Get sound level


* Power ON cannot be controlled by a communication command. Power ON IMD0 Settings - WGT0_1 - TMC0_0 - RNG3 (SLM mode)

(Main: A, Sub: C) (Main: F, Sub: F) (20 to 110 dB)

Establish the above settings to prepare the sound level meter for measurement.

DOD ?

(Get display value) _ stands for a space.

86

Commands

Example: Leq measurement


(Frequency weighting: C, Time weighting: FAST, Level range: 20 to 80 dB, Measurement time: 10 sec) Power ON

Settings - WGT1_# - TMC0_# - RNG0 - MTI10_0

(Main: C) (Main: F) (20 to 80 dB) (10 s)

DPI1_1

(Set L eq to On.) 11 parameters must be set

DSP1

(Show L eq value on display)

SRT1

(Start processing) (Measurement end, or stopped by SRT0)

DOD ?

(Get display value) _ stands for a space.

87

Commands

Auto 1 store example


(Frequency weighting: C, Time weighting: FAST, Level range: 40 to 130 dB, Measurement time: 5 min, File name: AU1_0001, Sampling cycle: 100 msec) Power ON, CF card inserted

CDV?

(Confirm inserting a CF card)

Settings - WGT1_# - TMC0_# - RNG5 - MTI5_1 - SMD1 - SNS0001 - PLP100_#

(Main: C) (Main: F) (40 to 130 dB) (5 m) (AUTO1) (File name) (100 msec)

Establish the above settings to prepare the Auto1 measurement.

STO1

(Start store operation)

SRT0 (Stop measurement) Data are stored on the CF card as a text file. To copy the data to the computer, access the card recognized by the computer as removable media. _ stands for a space.

88

No. 50841 08-06

You might also like