Omega Speaker Systems VR200 instruction manual Open Command, Close Command, ESC O Crlf, ESC C Crlf

Page 25

Note

A syntax error status is set when detected and reset when read by the host PC. On the contrary, the Memory End status still reflects the current status even after being read.

Example:

 

 

 

ESC S

 

Status of the

1

 

 

 

 

 

 

 

 

 

syntax error

 

 

 

 

 

 

0

 

 

 

Syntax error status in output buffer

For instance, sending “ER02” resets the syntax error status even though the error still exists.

The ESC S command may not be returned correctly if it is sent immediately after sending the FM or LF command. After receiving the FM or LF command, the VR100 /VR200 recorder starts sending the data and thus cannot respond to the ESC S command. The ESC S command can be returned correctly if it is sent after reading all the data sent from the VR100/VR200 recorder.

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

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

2.4.3 Open Command

(ESC O) CRLF

where is the address (ASCII code “01” to “16”)

The open command addresses a communication destination when a host (PC) is connected to more than one (up to 15) VR200 recorders.

This command always controls non-addressed devices.

Before issuing an open command, make sure that the previous address device is closed by a close command.

All commands except for the execution of the trigger are valid for the addressed (after ESC O) device (VR200) only.

The terminator must be CR + LF.

2.4.4 Close Command

(ESC C) CRLF

where is the address (ASCII code “01” to “16”)

The close command closes the addressed state of a device. Only the addressed device will respond to this command.

The terminator must be CR + LF.

2 - 14

Image 25
Contents User’sGuide Servicing North America Trademarks PrefaceContents Transmitting Functions Time Chart Initial Status Errors During RS-422-A OutputProgram Examples Interface Specifications Installing the RS-422-A InterfaceCable Termination Interface Terminal Terminal AssignmentData Configuration Communication WiringText Start-stop Asynchronous CommunicationBuffer Overflow Input BufferSetup Procedure Setting up the RS-422-A Communication InterfaceParameters IdentifierTerminator Setting the Range and Scale List of Program Set CommandsFormat SRp1,mode Example SR01,SKIPExample SR01, DI, Format SRp1, mode, p2Format SRp1, mode, p2, p3, p4, p5, p6, p7, p8 Setting Alarms Setting the Waveform Span Rate TIME/DIV Setting the UnitSetting the Clock Copying the Channel SettingsSetting the Partial Expanded Display Setting the Discrete Zone DisplaySetting the Tag Setting the Data File Name File Setting the Trip LevelSetting the Summer/ Winter Time DST Setting the LCD Brightness and LCD Saver LCDExample MD02, ON, on Format MDp1, p2, p3Alarm Acknowledge List of Program Control CommandsStandard Screen Call Initializing the Data MemorySaving the SET Configuration File Loading the SET Configuration FileSelecting the Output Data Selecting the Output Format for Measured DataMessage Writingfor the VR 200 with style number 2 or higher Status Output Execution of TriggerRequests for the data to be prepared in the buffer Close Command Open CommandESC O Crlf ESC C CrlfSequence see also Sections 2.3.7 Introduction to Output Data FormatsOutput Data Formats Output Format of Measured Values in Ascii ModeOutput Format of Measured Values in Binary Mode Output Format of Parameter Settings Output Format of Unit and Decimal Point Information Time Chart Initial Status Output Preventing ErrorsESC S CR LF How to Request Error Message OutputTiming of Resetting the Error Status Environment Program ExamplesOpen TEST.DAT for Input AS #2 Others LF is sent automatically 210 ‘ 220 ‘ Open COM11200,N,8,1,LF AS #1 Print a Appendix 1 Ascii Code Table AppendixFile Name Length Appendix 2 File Naming RulesLowercase/Uppercase Letters System-reserved File NamesIndex Index for Command Reference Warrant Y/ Disclaimer Temperature