Omega Speaker Systems VR200 instruction manual Execution of Trigger, Status Output

Page 24

2.4 Escape Sequence

2.4 Escape Sequence

The following escape sequence commands are used to control the communications.

2.4.1 Execution of Trigger

ESC T CRLF

Requests for the data to be prepared in the buffer.

If an ESC T (CR LF) command is received, then

measured data (when TS0 is specified) sampled at the most recent scan,

parameter settings (when TS1 is specified), or

units and decimal point information (when TS2 is specified)

are stored in the buffer.

Data output will start only after the output format has been designated (using the FM or LF command).

For details on actual use and the command output sequence, see Section 3.1, “Introduction to Output Data Formats” and Section 3.2, “Output Data Formats.”

To invoke the ESC T command, send the character “T” following 1B (1-byte hexadecimal).

The trigger is effective for a device which has not yet been opened.

Make sure to send the terminator (CR and LF) following “ESC T.”

2.4.2 Status Output

ESC S CRLF

Outputs status.

If the ESC S command is received, the statuses of the commands which have been sent so far are output.

Output statuses range from ER00 to ER10. The respective contents are shown in the figure and table below.

7

6

5

4

3

2

1

0

0

0

0

0

 

0

 

0

 

 

 

 

 

 

 

 

Syntax error

Memory end

Status Output

Cause of the ENABLE status

 

 

Syntax Error

Memory End

 

 

 

 

ER 00 CRLF

 

 

 

 

 

ER 02 CRLF

 

 

 

 

ER 08 CRLF

 

 

 

 

ER 10 CRLF

 

 

 

Transmission of any of the following commands while saving the data to a floppy disk causes a syntax error:

Set commands (SR, SA, SN, SD, SY, SW, SZ, SP, ST, SF, SL, SG, and SC)

Some control commands (MI, LO, and LI)

2 RECEIVING FUNCTIONS

2 - 13

Image 24
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