Omega Speaker Systems VR200 instruction manual Identifier, Parameters, Terminator

Page 12

2.1 General Rules for Commands

Chapter 2 RECEIVING FUNCTIONS

This chapter describes the program set commands and program control commands. Remember first to open a device by invoking the ESC O command before the set or control commands can be sent.

2.1 General Rules for Commands

A command is represented by ASCII codes and consists of an identifier, parameters, delimiters and a terminator.

Example: SR01, VOLT, 20 mV, 0, 10000 terminator

Parameters

Identifier

Identifier

• Defined by two alphabetical, capital letters.

Parameters

Parameters must be separated by a delimiter (comma).

Numeric data are displayed as integers (e.g., +20, -240).

When parameters are numeric, the effective setting ranges depend on these parameters.

Spaces preceding and following a parameter and spaces within a parameter are ignored. Spaces within a parameter specified by ASCII characters (engineering units, tags, and messages) are valid.

Parameters which do not need to be changed do not need to be specified. (E.g., the command “SR01,, 20mV” leaves the mode unchanged.)

A string of delimiters at the end of the command/parameter string may be omitted (see the example below).

Example: The last four commas of

SR01, VOLT,,,, can be omitted.

The lengths of the following parameters are fixed. If the length differs, a syntax error occurs.

-

Date and time:

YY/MM/DD (8 characters)

 

 

HH:MM:SS (8 characters)

-

Channel:

CC (2 characters). For example, channel 1 must be entered as

 

 

“01.”

Terminator

A command must end with either of the following terminators: CR + LF

or,

LF

For the open (ESC O) and close (ESC C) commands, only CR+LF can be used.

2 RECEIVING FUNCTIONS

2 - 1

Image 12 Contents
User’sGuide Servicing North America Preface TrademarksContents Time Chart Initial Status Errors During RS-422-A Output Transmitting FunctionsProgram Examples Installing the RS-422-A Interface Interface SpecificationsInterface Terminal Terminal Assignment Cable TerminationCommunication Wiring Data ConfigurationStart-stop Asynchronous Communication TextInput Buffer Buffer OverflowSetting up the RS-422-A Communication Interface Setup ProcedureIdentifier ParametersTerminator List of Program Set Commands Setting the Range and ScaleFormat SRp1,mode Example SR01,SKIPFormat SRp1, mode, p2 Example SR01, DI,Format SRp1, mode, p2, p3, p4, p5, p6, p7, p8 Setting Alarms Setting the Unit Setting the Waveform Span Rate TIME/DIVSetting the Clock Copying the Channel SettingsSetting the Discrete Zone Display Setting the Partial Expanded DisplaySetting the Tag Setting the Trip Level Setting the Data File Name FileSetting the LCD Brightness and LCD Saver LCD Setting the Summer/ Winter Time DSTFormat MDp1, p2, p3 Example MD02, ON, onList of Program Control Commands Alarm AcknowledgeStandard Screen Call Initializing the Data MemoryLoading the SET Configuration File Saving the SET Configuration FileSelecting the Output Data Selecting the Output Format for Measured DataMessage Writingfor the VR 200 with style number 2 or higher Execution of Trigger Status OutputRequests for the data to be prepared in the buffer Open Command Close CommandESC O Crlf ESC C CrlfIntroduction to Output Data Formats Sequence see also Sections 2.3.7Output Format of Measured Values in Ascii Mode Output Data FormatsOutput Format of Measured Values in Binary Mode Output Format of Parameter Settings Output Format of Unit and Decimal Point Information Time Chart Initial Status Preventing Errors OutputHow to Request Error Message Output ESC S CR LFTiming of Resetting the Error Status Program Examples EnvironmentOpen TEST.DAT for Input AS #2 Others LF is sent automatically 210 ‘ 220 ‘ Open COM11200,N,8,1,LF AS #1 Print a Appendix Appendix 1 Ascii Code TableAppendix 2 File Naming Rules File Name LengthLowercase/Uppercase Letters System-reserved File NamesIndex Index for Command Reference Warrant Y/ Disclaimer Temperature