Omega Engineering VR200 Instruction Manual

Communications
Table of Contents

Advertisement

Quick Links

User' s Guide
http://www.omega.com
e-mail: info@omega.com
V R 2 0 0 / R S - 4 2 2 A
C o m m u n i c a t i o n s
I n s t ruction Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VR200 and is the answer not in the manual?

Questions and answers

Summary of Contents for Omega Engineering VR200

  • Page 1 User’ s Guide http://www.omega.com e-mail: info@omega.com V R 2 0 0 / R S - 4 2 2 A C o m m u n i c a t i o n s I n s t ruction Manual...
  • Page 2: Internet E-Mail

    OMEGAne t On-Line Service ® h t t p : / / w w w .omega.com Servicing North America: USA: One Omega Drive, Box 4047 ISO 9001 Certified Stamford, CT 06907-0047 Tel: (203) 359-1660 e-mail: info@omega.com Canada: 976 Bergar Laval (Quebec) H7L 5A1 Tel: (514) 856-6928 e-mail: info@omega.ca For immediate technical or application assistance:...
  • Page 3 PREFACE This instruction manual describes the optional RS-422-A communication function for the VR200 view recorder. For details concerning the operations of the recorder, refer to the instruction manual for the VR200. Trademarks • “IBM” is a trademark of International Business Machines Corporation.
  • Page 4: Table Of Contents

    Setting the Discrete (ZONE) Display ... 2-6 2.2.9 Setting the Partial Expanded Display ... 2-6 2.2.10 Setting the Scale Value Indication On/Off (DISP_SCALE, only for VR200 with style number 1 or lower) ... 2-6 2.2.11 Setting the Tag ... 2-6 2.2.12 Setting the Trip Level ...
  • Page 5 7.3 Program to Read Unit and Decimal Point Information from R200, Display It on Screen, and Write It to Disk ... 7-3 7.4 Program to Output Measured Data (in ASCII Code) from VR200 and Write to Disk ... 7-4 7.5 Program to Output Measured Data (in Binary Code) from VR200 and Write to Disk ...
  • Page 6: Chapter 1 Installing The Rs-422-Ainterface

    Chapter 1 INSTALLING THE RS-422-A INTERFACE The option /C3 provides the VR200 view recorder with the EIA (Electronic Industries Association) RS-422-A communication interface to allow a host computer to do the following: • read measured values, • read parameters, and •...
  • Page 7: Interface Terminal

    1.2 Interface Terminal 1.2.1 Terminal Assignment MEMORY Option terminal Figure 1.1 Terminal Assignment 1.2.2 Cable Termination RS-422-A terminals Terminal screws: ISO M4, 6 mm long Figure 1.2 Cable Termination To prevent an electric shock, ensure that the main power supply is turned off. 1 - 2 SD A RD A...
  • Page 8: Communication Wiring

    If the host PC is equipped with an RS-422-A interface, the VR200 can be connected directly. If the host PC is equipped with only an RS-232-C interface, the VR200 can be connected using a converter (SHARP model Z-101HE or equivalent).
  • Page 9: Start-Stop (Asynchronous) Communication

    (7 or 8 bits), parity bit, and stop bit(s) to every transmission of each character (see Figure 1.4). Define the address of the RS-422-A interface built in the VR200 recorder, baud rate, data length, parity bit, and stop bit(s) in the SETUP mode on the VR200 recorder.
  • Page 10: Input Buffer

    Note The VR200 identifies an LF as the end of a text when receiving data (and sends a CR and LF as the terminator when sending data). As shown in the example in Figure 1.6, when a CR and LF are used as the terminator, the CR is ignored. Take care when communicating with a PC, since some PCs may not send the LF character depending on the mode when the PRINT command, etc.
  • Page 11: Setting Up The Rs-422-A Communication Interface

    1.5 Setting up the RS-422-A Communication Interface SETUP PROCEDURE: 1 Unpack the VR200 recorder. 2 While pressing the [ ] key, turn on the power to enter the SETUP mode. 3 Use the [ ]/[ ] keys to select the display ‘SETUP=OPT,’ then press the [ ] key.
  • Page 12: Chapter 2 Receiving Functions

    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.
  • Page 13: Program Set Commands

    2.2 Program Set Commands 2.2.1 List of Program Set Commands Command Type Note For restrictions concerning settings, refer to the instruction manual for the VR200. 2.2.2 Setting the Range and Scale (See Section 4.1 of the instruction manual for the VR200.) SKIP Skips scanning the specified channel, i.e., prevents that channel from being measured,...
  • Page 14 Input range table Input type DC Voltage Input type R T D * Allowed when the /N1 option (Cu10, Cu25) is equipped. DI (Digital Input) Format: SRp1, mode, p2 mode: Example: SR01, DI, CONT SCL (Scaling) Format: SRp1, mode, p2, p3, p4, p5, p6, p7, p8 mode: Range Input...
  • Page 15: Setting Alarms

    An error will occur if one or two of p5, p6, and p7 are omitted. However, it is possible to omit all three values if you do not want to change them. 2.2.3 Setting Alarms (See Section 4.2 of the instruction manual for the VR200.) Format: SAp1, p2, ON/OFF, p3, p4, p5, p6 Example: SA02, 1, ON, L, 1000, ON, I04 2 - 4 This example performs 0 to 10 mV input in channel 01 and is scaled from –...
  • Page 16: Setting The Unit

    2.2.4 Setting the Unit (See Section 4.3 of the instruction manual for the VR200.) Format: SNp1, p2 Example: SN02, kg This example assigns the unit “kg” to channel 2. Note that a unit can only be assigned to channels of the SCL or SQRT input.
  • Page 17: Setting The Discrete (Zone) Display

    The decimal point position depends on the range (or scaling) setting. See also the input range table on Page 2-3. Example: SP01, ON, 25, 0000 2.2.10 Setting the Scale Value Indication On/Off (DISP_SCALE, only for VR200 with style number 1 or lower) (See Section 4.7.3 of the instruction manual for the VR200.)
  • Page 18: Setting The Trip Level

    2.2.12 Setting the Trip Level (See Section 4.7.5 of the instruction manual for the VR200.) Format: SLp1, p2, p3 Example: SL1, ON, 70, RED This example sets the red trip-level line to be displayed at 70%. 2.2.13 Setting the Floppy Disk Format Type (FD, only for VR104/VR202/VR204) (See Section 5.1 of the instruction manual for the VR200.)
  • Page 19: Setting The Lcd Brightness And Lcd Saver (Lcd)

    2.2.15 Setting the LCD Brightness and LCD Saver (LCD) (See Section 4.8 of the instruction manual for the VR200.) Format: SCp1, p2, p3 Example: SC8, ON, 10 2.2.16 Setting the Summer/ Winter Time (DST) (See Section 5.6 of the instruction manual for the VR200.)
  • Page 20: Waveform Display And Scale Display Setting (Disp_Wave, For The Vr 200 With Style Number 2 Or Higher)

    If your model has -3M option, add the parameter p3. Select the methods when saving measurement data to the floppy disk: ALL (default) save all measurement data from the VR200 internal memory. UNSAVED: Save only the meansurement data newly loaded to the VR200 2.20 Waveform Display and Scale Display Setting (DISP_WAVE, for the VR 200...
  • Page 21: Program Control Commands

    (See Section 5.3 of the instruction manual for the VR100 or the VR200.) Command MIYES 2.3.5 Writing a Time-axis Mark and Raising an Event Trigger (See Sections 3.5 and 3.7 of the instruction manual for the VR100 or the VR200.) Command 2.3.6 Designating the Sequence of Byte Output (for Binary Output) Command...
  • Page 22: Selecting The Output Data

    Note If you designate the output data type by the TS1 or TS2 command, specify the format by this LF command. 2.3.10 Loading the SET Configuration File (See Section 5.5.2 of the instruction manual for the VR200.) Command LOp1 Where p1 is the name of the file to be loaded (maximum of eight characters) 2.3.11 Saving the SET Configuration File...
  • Page 23: Message Writing(For The Vr 200 With Style Number 2 Or Higher)

    2.3.12 Message Writing(for the VR 200 with style number 2 or higher) Command MEp1 2.3.13 Display Switching(for the VR 200 with style number 2 or higher) Command 2 - 12 Function Selects message number for which parameter set values to be displayed and the information file is saved.
  • Page 24: 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 C If an ESC T (CR LF) command is received, then • measured data (when TS0 is specified) sampled at the most recent scan, •...
  • Page 25: Open Command

    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.
  • Page 26: Chapter 3 Transmitting Functions

    This chapter describes the different output formats. 3.1 Introduction to Output Data Formats The type of data to be sent from the VR200 recorder is specified by the TS command (TS0, TS1, or TS2: see Section 2.3.7), and the output data format is specified by the FM command (see Section 2.3.8).
  • Page 27: Output Data Formats

    3.2 Output Data Formats There are four formats in which data can be output. • TS0 + ESC T + FM0 (outputs measured values in ASCII mode) • TS0 + ESC T + FM1 (outputs measured values in Binary mode) •...
  • Page 28: Output Format Of Measured Values In Binary Mode

    3.2.2 Output Format of Measured Values in Binary Mode When the TS0, ESC T and FM1 commands are received, the measured values and computed results are output in binary. Output format: (1) Sequence of transfer Byte Number of bytes sent (2 bytes) Date and time (6 bytes) Measured data 1 (5 bytes) Measured data n (last) (5 bytes)
  • Page 29: Output Format Of Parameter Settings

    8080 is the data value output when the channel is skipped. 3.2.3 Output Format of Parameter Settings When receiving the TS1, ESC T, and LF commands, the VR200 recorder sends the set values of parameters in the following order (each set value is output in the same format...
  • Page 30: Output Format Of Unit And Decimal Point Information

    3.2.4 Output Format of Unit and Decimal Point Information When receiving the TS2, ESC T, and LF commands, the VR200 recorder sends the information on the unit and decimal point in the following format. The channel numbers can be specified with the LF command.
  • Page 31: Chapter 4 Time Chart

    Chapter 4 TIME CHART One sampling (125 ms) A/D and primary computation ESC T command from host Output of data * If the ESC T command is received to output data before the data is updated, the previous sample data will be output. When outputting binary data * 4 - 1...
  • Page 32: Chapter 5 Initial Status

    Chapter 5 INITIAL STATUS The initial status after power on is as follows. FM0, 01, 04 LF 01, 04 Output data type is the measured values. Measured values are output as ASCII codes. From channel 01 To channel 04 (All channels are specified.) The channels for which the set values are output are: From channel 01 To channel 04...
  • Page 33: Chapter 6 Errors During Rs-422-A Output

    When sending data from the host PC to a recorder, use the ESC S command to avoid buffer overflow: When the VR200 recorder receives an ESC S request, it saves it in the buffer memory. This request is retrieved from the buffer memory and, after acknowledging the command, the recorder sends the status to the PC.
  • Page 34: How To Request Error Message Output

    An error message is output only when the ESC S command is sent. If the ESC S command (request for error message) is sent to a VR200 while data is being output due to the receipt of a TS0, TS1 or TS2 command, a communication error may occur.
  • Page 35: Timing Of Resetting The Error Status

    6.3 Timing of Resetting the Error Status 6.3 Timing of Resetting the Error Status When the VR200 receives an ESC S command after an error occurred, the recorder outputs the corresponding error message and the error status is reset at the same time.
  • Page 36: Chapter 7 Program Examples

    7.1 Program to Read Parameter Setting from VR200, Display Them on Screen and Write Them to Disk Chapter 7 PROGRAM EXAMPLES Examples of application programs for an IBM PC are shown below. Environment Computer used: IBM PC Mode: Handshake: The file name used for writing to and reading from the floppy disk is TEST.DAT.
  • Page 37: Program To Read Parameter Setting From Disk, Display Them

    7.2 Program to Read Parameter Settings from Disk, Display Them on Screen, and Set up VR200 100 ‘************************************************************ 110 ‘** RS422A Example Program for IBM PC 120 ‘** 130 ‘** 140 ‘** 150 ‘************************************************************ 160 ‘** 170 ‘** Baud rate: 1200 180 ‘**...
  • Page 38: Program To Read Unit And Decimal Point Information From R200

    7.3 Program to Read Unit and Decimal point Information from VR200, Display It on Screen, and Write It to Disk 7.3 Program to Read Unit and Decimal Point Information from VR200, Display It on Screen, and Write It to Disk 100 ‘**********************************************************...
  • Page 39: Program To Output Measured Data (In Ascii Code) From Vr200 And Write To Disk

    7.4 Program to Output Measured Data (in ASCII Code) from VR200 and Write to Disk 100 ‘************************************************************ 110 ‘** RS422A Example Program for IBM PC 120 ‘** 130 ‘** 140 ‘** 150 ‘** 160 ‘************************************************************ 170 ‘** 180 ‘** Baud rate: 1200 190 ‘**...
  • Page 40: Program To Output Measured Data (In Binary Code) From Vr200 And Write To Disk

    7.5 Program to Output Measured Data (in Bainary Code) from VR200 and Write to Disk 7.5 Program to Output Measured Data (in Binary Code) from VR200 and Write to Disk 100 ‘************************************************************ 110 ‘** RS422A Example Program for IBM PC 120 ‘**...
  • Page 41: Appendix Appendix 1 Ascii Code Table

    APPENDIX Appendix 1 ASCII Code Table Note • Select the degree symbol ( ) of C or F as follows: (a) In case of measured values output (TS0), and unit and decimal point output (TS2): = space (20H) (b) In case of setting parameter output (TS1): = E1H (c) In case of recorder setting: = E1H...
  • Page 42: Appendix 2 File Naming Rules

    Appendix 2 File Naming Rules File Name Length Data file: Configuration (parameter settings) file: Up to eight alphanumeric characters Lowercase/Uppercase Letters All lowercase letters are processed as uppercase letters for file names, based on the rules of MS-DOS. System-reserved File Names The following system-reserved file names cannot be used for a user-defined file name: CON, PRN, AUX, AUX1, AUX2, NUL, CLOCK.
  • Page 43: Index

    INDEX alarms acknowledgment ... 2-10 setting ... 2-4 ASCII codes ... App-1 channel selection ... 2-11 clock setting ... 2-5 close command ... 2-14 commands control ... 2-10 description ... 2-1 escape sequence ... 2-13 parameter set ... 2-2 copy settings ... 2-5 data file names ...
  • Page 44 range settings DELT ... 2-2 DI (Digital Input) ... 2-3 RTD ... 2-2 SCL (Scaling) ... 2-3 SKIP ... 2-2 SQRT (Square Root) ... 2-4 TC ... 2-2 VOLT ... 2-2 tags ... 2-6 trip level ... 2-7 units ... 2-5 waveform span rate (TIME/DIV) ...
  • Page 45 OMEGA ENGINEERING, INC. warrants this unit to be free of defects in materials and workmanship for a period of 25 months f rom date of purchase. OMEGA Warranty adds an additional one (1) month grace period to the normal two (2) year product war ensures that OMEGA’s customers receive maximum coverage on each product.
  • Page 46 W h e re Do I Find Everything I Need for P rocess Measurement and Control? OMEGA…Of Course! T E M P E R AT U R E Thermocouple, RTD & Thermistor Probes, Connectors, Panels & A s s e m b l i e s Wi re: Thermocouple, RTD &...

This manual is also suitable for:

Rs-422a

Table of Contents