Omega DR130 SERIES User Manual

Communication interface
Table of Contents

Advertisement

Quick Links

User' s Guide
http://www.omega.com
e-mail: info@omega.com
DR130, DR230,
DR240 SERIES
Communication Interf a c e

Advertisement

Table of Contents
loading

Summary of Contents for Omega DR130 SERIES

  • Page 1 User’ s Guide http://www.omega.com e-mail: info@omega.com DR130, DR230, DR240 SERIES Communication Interf a c e...
  • Page 2: United Kingdom

    Toll Free in United Kingdom: 0800-488-488 e-mail: info@omega.co.uk It is the policy of OMEGA to comply with all worldwide safety and EMC/EMI regulations that apply. OMEGA is constantly pursuing certification of its products to the European New Approach Directives. OMEGA will add the CE mark to every appropriate device upon certification.
  • Page 3: Introduction

    Introduction This Communication Interface User’s Manual describes the functions and commands of the optional GP-IB, RS-232-C and RS-422-A/RS-485 interfaces. Read this manual carefully before using these interface functions, and be sure to keep this manual on hand for future reference should any problems arise.
  • Page 4: Configuration And Use Of This Manual

    Configuration and Use of This Manual Configuration This user’s manual is composed of chapter 1 to chapter 6 and indices. Chapter 1 Overview and Specifications of GP-IB Interface Describes the functions and specifications of the GP-IB interface and the address setting method.
  • Page 5: Table Of Contents

    TABLE OF CONTENTS INTRODUCTION ..................................1 CONFIGURATION AND USE OF THIS MANUAL ....................2 CHAPTER 1 OVERVIEW AND SPECIFICATIONS OF GP-IB INTERFACE Description of Functions ..........................1-1 Setting of Address of GP-IB Interface ......................1-3 Specifications ..............................1-4 CHAPTER 2 OVERVIEW AND SPECIFICATIONS OF RS-232-C INTERFACE Description of Functions ..........................
  • Page 6 TABLE OF CONTENTS Setting the Recording ............................. 5-6 Chart speed setting (SC) Second chart speed setting (SE) Select the trend records/logging records (SS) Recording zone setting (SZ) Partially expanded recording setting (SP) Message setting (SG) Tag setting (ST) Header setting (SH) Title setting (SJ) Format for list printing setting (SF) Interpolation setting (SB)
  • Page 7 TABLE OF CONTENTS Computation start/stop (EX : with optional computation function or floppy disk drive function) Storing measured data on a RAM disk (MW : floppy disk drive function) Reading measured data on a RAM disk (MR : floppy disk drive function) Storing set data on a RAM disk (MV : floppy disk drive function) Reading setting data on a RAM disk (ML : floppy disk drive function) Deleting files on a RAM disk (ME : floppy disk drive function)
  • Page 8: Description Of Functions

    Description of Functions Listener and Talker Functions Listener Function This allows almost all settings except power on/off and operation control. • Settings except communication settings. • Operation control except power on/off. • Call-up of setting data • Specifying of output data (specifying of channel numbers or output data types) •...
  • Page 9 1.1 Description of Functions Status Byte Format The format of status byte output in serial polling is as follows: Upper-level byte Lower-level byte Interrupt generated at the end of A/D conversion. Interrupt generated at the time of syntax error. Interrupt generated when the internal timer is being operated or hourly, daily and monthly reports are created.
  • Page 10: Setting Of Address Of Gp-Ib Interface

    Setting of Address of GP-IB Interface The GP-IB address is set with the rotary switch located on the side of the GP-IB module connector. Turn the arrow on the rotary switch with a flat-blade screwdriver or the like to align the arrow with the address to be set.
  • Page 11: Specifications

    Specifications Electrical and mechanical specifications: Conforming to IEEE St’d 488-1975 Code to be used: ISO (ASCII) code Function specifications Function Subset name Description Source handshake All transmission handshake functions operative Acceptor handshake All transmission handshake functions operative Talker Basic talker functions, serial poll, and talker release function by listener are provided.
  • Page 12: Description Of Functions

    Description of Functions Listener and Talker Functions Listener Function This allows almost all settings except power on/off and operation control. • Settings except communication settings. • Operation control except power on/off. • Call-up of setting data • Specifying of output data (specifying of channel numbers or output data types) Talker Function The following data can be output: •...
  • Page 13 2.1 Description of Functions Commands Applicable to RS-232-C Only The following commands are only applicable to RS-232-C. ESC T Trigger Execution Setting ESC T<terminator> Description Before executing this command, select the output data using the TS command. The data selected with the TS command are prepared for output. The data are output with the FM, LF, or CF command.
  • Page 14: Specifications

    Specifications Electrical & mechanical specs : Conform to the EIA RS-232-C Standard. Connection format : Point-to point Communication format : Half duplex Synchronizing format : Start-stop asynchronous transmission (synchronized by start/stop bit) Baud rate (bps) : 150, 300, 600, 1200, 2400, 4800, 9600, 19200 START bit : 1 bit, fixed.
  • Page 15: Rs-232-C Interface Connection

    RS-232-C Interface Connection When connecting this instrument to a personal computer, first it is necessary to match settings such as handshake format, data transmission speed, and data format at the computer’s side. For details relating to these settings, refer to the description on this and following pages. Furthermore, make sure to use an interface cable which matches this instrument’s specifications.
  • Page 16 2.3 RS-232-C Interface Connection RS-232-C Signal List and Corresponding JIS & CCITT Abbreviation Signal Table Abbreviation Pin No. Name RS-232-C CCITT AB(GND) Signal ground BA(TXD) Transmitted data BB(RXD) Received data Transmission enable CB(CTS) Transmission request CA(RTS) CD(DTR) 108/2 Data terminal ready...
  • Page 17: Handshake Format Selection

    Handshake Format Selection In order to ensure proper data transfers between the recorder and the host computer via the RS-232- C interface, a mutual procedure is required for processing the electrical signals. Such a procedure is referred to as a ‘handshake’. Several handshake formats are available, with selection depending on the host computer being used.
  • Page 18 2.4 Handshake Format Selection XON-DTR • Transmission data control : A software handshake status is established between the recorder and the host computer. The recorder will stop a data transmission when an X-OFF signal is received from the host computer. The data transmission will be resumed when the next X-ON signal is received.
  • Page 19: Communication Data Format

    Communication Data Format The RS-232-C interface uses a START-STOP communication format. With this format, a START bit is placed at the beginning of each character transmitted, followed by the data bits, parity bit, and stop bit, in that order. (See the figure below.) Return to ‘line idle’...
  • Page 20: Rs-232-C Interface Parameter Setting Procedure

    RS-232-C Interface Parameter Setting Procedure Setting of the RS-232-C parameters must be carried out using the 3 dipswitches located next to the module connector. Parameter setting 1 2 3 4 switch 1 Data length Baud rate Parameter setting 1 2 3 4 switch 2 Not use Stop bit...
  • Page 21: Description Of Functions

    Description of Functions Listener and Talker Functions Listener Function This allows almost all settings except power on/off and operation control. • Settings except communication settings. • Operation control except power on/off. • Call-up of setting data • Specifying of output data (specifying of channel numbers or output data types) Talker Function The following data can be output: •...
  • Page 22: Specifications

    Specifications Electrical & mechanical specs : Conform to the EIA RS-422-A and EIA RS-485 Standard Connection format : Multi-drop 1:n (n=16 for RS-422-A, n=31 for RS-485) Communication format : Half duplex Synchronizing format : Start-stop asynchronous transmission (synchronized by start/stop bit) Baud rate (bps) : 150, 300, 600, 1200, 2400, 4800, 9600 or 19200 (selectable)
  • Page 23: Rs-422-A/Rs-485 Interface Connection

    RS-422-A/RS-485 Interface Connection The following explains how the RS-422-A/RS-485 module is connected to the computer. Cable Used There are two types of cables: two-wire cable and four-wire cable. Make sure each type meets the following conditions. Cable used : twisted pair shielded cable 2 pairs of 24 AWG minimum (two-wire), 3 pairs 24 AWG mini- mum (four-wire) Characteristic impedance...
  • Page 24 3.3 RS-422-A/RS-485 Interface Connection Connecting to the Host Computer Can be connected to a host computer with RS-232-C, RS-422-A, RS-485 ports. • In the case of RS-232-C, a converter is used as shown in the diagram below. • For information on recommended converters, refer to “Converters” in the latter. •...
  • Page 25 3.3 RS-422-A/RS-485 Interface Connection In the case of two-wire system Connect send and receive terminals with the same signal polarity on the terminal arrangement of the RS-422-A/RS-485 module. Only two wires are used in connecting to other units. Host Computer Terminator (Internal ON) Terminator (externally applied) 120 ohm, more than 1/2 W RS-422-A/RS-485...
  • Page 26 3.3 RS-422-A/RS-485 Interface Connection Converter Recommended converter : Sharp Z-101HE Caution Some converters other than the recommended, do not have the FG and SG terminals insulated. In such cases, do not connect as in the diagram on the previous page (do not connect anything to the FG and SG terminals of the converter).
  • Page 27 3.3 RS-422-A/RS-485 Interface Connection Minimum Response Time Because send and receive are done on the same line in the two-wire system, minimum response time needs to be set. The minimum response time is the amount of time the RS-422-A/RS-485 module waits in order for the host computer to be able to receive the data after it sends data.
  • Page 28: Communication Data Format

    Communication Data Format Same as the RS-232-C interface. For a description, refer to “2.5 Communication Data Format.”...
  • Page 29: Rs-422-A/Rs-485 Interface Parameter Setting Procedure

    RS-422-A/RS-485 Interface Parameter Setting Pro- cedure Setting of the RS-422-A/RS-485 parameters must be carried out using the 4 dip switches located next to the module connector. Baud rate (No.1 to 3 of SW1) Baud rate No.1 No.2 No.3 1200 2400 4800 9600 <- Default Setting...
  • Page 30 3.5 RS-422-A/RS-485 Interface Parameter Setting Procedure Minimum response time (No.1 to 3 of SW3) Minimum response time No.1 No.2 No.3 <- Default Setting 10ms 20ms 50ms 100ms Address (No.4 of SW3 and No.1 to 4 of SW4) Address No.4(SW3) No.1(SW4) No.2(SW4) No.3(SW4) No.4(SW4)
  • Page 31: Chapter 4 Command Format

    Command Format Commands are configured with ASCII codes and the content is divided into a command, parameters, delimiters and a terminator. (Example) SR001, VOLT, 20 mV <terminator> Command This is defined with two upper-case letters. Parameter • A delimiter (comma) is used to separate two parameters. •...
  • Page 32 4.1 Command Format Terminator Any one of the following forms a terminator. • CR + LF • LF • EOI = True (If EOI is to be used for a terminator, add EOI = True to the last parameter character.) Sub-delimita Several commands can be executed in a row when they are divided by a semicolon (;).
  • Page 33: Command Syntax

    Command Syntax In this manual, each command is explained as shown below. Command function Command SD Set date & time. Effective command mode Mode Operation mode Command syntax SDp1, p2<terminator> p1 year, month, day Parameter description p2 hour, min., sec. Example of setting Set the clock inside the DR to July 1, ’96, 13:00:00 SD96/07/01, 13:00:00...
  • Page 34: Setting A Channel No., And Alarm Output Relay No

    Setting a Channel No., and Alarm Output Relay Channel and relay numbers are expressed as shown below in three characters. Unit No. + Slot No. + Number in slot 1 2 3 Channel/relay No. Slot No. (In case of channel/relay No. 10, Slot No. + 1) Unit No.
  • Page 35: Command List

    Command List Setting the Input Command Content Effective mode Range setting Operation mode Unit setting (scale unit) Operation mode Sample rate setting Setup mode A/D integration time setting Setup mode Filter setting Setup mode Setting Alarms Command Content Effective mode Alarm setting Operation mode Setting related to alarm...
  • Page 36 4.4 Command List Command Content Effective mode Key lock setting Setup mode Function screen setting Setup mode Setting screen setting Setup mode Burnout setting Setup mode Reference junction compensation setting Setup mode Setting of computation error handling method (option) Setup mode Setting of temperature unit Setup mode Setting of language...
  • Page 37: Input Range Parameter

    Input Range Parameter DC Voltage Input Nominal Parameter input format Setting range 20mV 20mV –20.000 to 20.000mV 60mV 60mV –60.00 to 60.00mV 200mV 200mV –200.00 to 200.00mV –2.0000 to 2.0000V –6.000 to 6.000V –20.000 to 20.000V –50.00 to 50.00V Thermocouple Nominal Parameter input format Setting range...
  • Page 38 4.5 Input Range Parameter Contact Nominal Parameter input format Setting range VOLT LEVL 0 to 1* CONTACT CONT 0 to 1* : Less than 2.4 V → Off (0), 2.4 V or more → On (1) : Contact On (1), Contact Off (0) DC Current Input Nominal Parameter input format...
  • Page 39 4.5 Input Range Parameter This page intentionally left blank.
  • Page 40 4.5 Input Range Parameter This page intentionally left blank. 4-10...
  • Page 41: Ascii Code Table

    ASCII Code Table ° Ω µ ε & – Treatment of ° • For measured data output (TS0) or decimal point output (TS2): Space (20H) • For setting data output (TS1): E1H • For listener setting: E1H 4-11...
  • Page 42: 5.1 Setting The Input

    5.1 Setting the Input 5.1 Setting the Input channel for which the item “DELTA/RRJC” is being set changes to “OFF.” • Set the span in p4 and p5 within the setting range Sets the range. for the reference channel shown on pages 4-7 and 4-8.
  • Page 43 5.1 Setting the Input Sets the scaling unit. Setting Scaling Setting SRp1, p2, p3, p4, p5, p6, p7, p8, p9<terminator> Mode Operation mode Channel number (001 to 030) Setting SNp1, p2<terminator> Conputation channel number (A01 to A30) Channel number (001 to 030) Computation channel number (A01 to A30) Type of input Unit character string (up to 6 characters)
  • Page 44: Setting The Input

    5.1 Setting the Input Sets the filter. Mode Setup mode Setting XQp1<terminator> Filter on Filter off Example Insert a filter in the input. XQON Sets the measurement period. Mode Setup mode Setting XVp1<terminator> Measurement interval ( 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, or 60) Example Set the measurement period to 10 seconds.
  • Page 45: 5.2 Setting Alarms

    5.2 Setting Alarms 5.2 Setting Alarms Pages 4-7 to 4-9. • Set the alarm value for the computation channel within the range of a given recording span. Sets the alarm. • Enter the p4 alarm value with up to 6 characters, excluding the decimal point.
  • Page 46: 5.3 Setting The Display

    5.3 Setting the Display 5.3 Setting the Display Example Use No. 1 of slot 5 to No.10 of slot 5 in the alarm output relay module connected to the main unit as AND relay outputs. Changes the display mode on the upper XNI, 01-10 Comments •...
  • Page 47 5.4 Setting the Recording 5.4 Setting the Recording • The display modes are as follows: Auto Displays a channel after automatically selecting Sets the chart speed. a channel. Manual Mode Operation mode Setting SCp1<terminator> Can freely change the channel to be displayed. Paper feed speed (1 to 1500 mm/h) Alarm search Example...
  • Page 48 5.4 Setting the Recording Sets the recording zone. SG05, test Comments • For details of the character strings that can be used Mode Operation mode in messages, see the characters in the table of ASCII Setting SZp1, p2, p3<terminator> codes on Page 4-11. Channel number (001 to 030) Computation channel number (A01 to A30) Message copy...
  • Page 49: Setting The Recording

    5.3 Setting the Recording Example Print the range list and alarm list but do not print the Comments • The optional computation channel number for a parameter list related to printing or the other parameter stand-alone model is A01 to A30. list.
  • Page 50 5.4 Setting the Recording XRTAG, 7, ALARM1, OFF, OFF, 4, 12.5 mm, 600 mm, OFF, HORIZON, MULTIPLE Turns ON or OFF list printing for every Comments • Set the timer with the SI command (see 5-10). channel. • If p11 is set to MULTIPLE, recording is done at the Mode Operation mode interval set with the PD command.
  • Page 51: Other Settings

    5.5 Other Settings 5.5 Other Settings SXG03, 011-020, 025 Comments • Delimit the channels set in p2 with a comma (,). For successive channels, insert a “-” (minus) between Sets the date and time. the first and last channels. Mode Operation mode Setting SDp1, p2<terminator>...
  • Page 52 5.5 Other Settings DIGITAL_PR Digital print MSG_DISP Display message GR_TREND Trend recording in groups DIGITAL_PR Digital print MEMRY Store measured/computed GR_TREND Trend recording in groups data on a RAM disk or write MEMRY Store measured/computed them to DR. data on a RAM disk or write FLOPY Store setup data on a floppy them to DR.
  • Page 53 5.5 Other Settings Span left value (-9999999 to Setting MHp1, p2 <terminator> 99999999) Channel number/channel number for Span right value (-9999999 to computation 99999999) On/off Position of decimal point for span (0 Example Assume that the setting data in channels A01 to A05 to 4) for computation are stored.
  • Page 54 5.5 Other Settings KEY_LOCK_OFF for each channel Key lock is turned off. MANUAL_PR Turning on or off manual S/U_LIST_START printing for each channel Setup list printing starts. SCALE_PR Turning on or off scale S/U_LIST_STOP printing for each channel Setup list printing is stopped. ALARM_PR Turning on or off alarm MSG_PRINT...
  • Page 55 5.5 Other Settings Sets the language Comments • For p2 = INT, parameter p3 is ineffective. • The unit of p3 is µV. Mode Setup mode Setting XLp1<terminator> Language Sets computation error handling. ENGLISH Mode Operation mode GERMAN Setting XGp1, p2, p3, p4<terminator> FRENCH Computation error handling (+OVER/-OVER) Example...
  • Page 56 5.5 Other Settings This page intentionally left blank 5-15...
  • Page 57: Control And Execution Command

    5.5 Other Settings 5.6 Control and Resets the timer. Mode Operation mode Execution Command Setting IRp1<terminator> 0 The timer is reset. Example Reset the timer. Starts or stops recording. Mode Operation mode Clears the alarm buffer. Setting PSp1<terminator> 0 Recording starts. Mode Operation mode 1 Recording stops.
  • Page 58 5.6 Control and Execution Command Retention interval Comments • This command is effective only with a floppy disk INTVL Data are stored at measurement drive function. intervals. • Data set in the setup mode cannot be stored. To 1 min/2 min/5 min/10 min Data are stored store the data seting in the setup mode, use a YV at specified intervals.
  • Page 59: Floppy Disk

    5.7 Data Output Request Command Comments • This command is effective only with an optional Example Store set data in the setup mode with the file name floppy disk drive function. SET1. • Parameters from p4 to p8 are effective only when YVSET1 p2 is set to DATA.
  • Page 60: Data Output Request Command

    5.6 Control and Execution Command 5.7 Data Output Request Command Initialize the set values. Mode Operation mode Selects the output data. Setting RCp1<terminator> 0 The set values are initialized. Mode All modes (A/D calibration data output is limited to A/D Example Initialize the operation mode parameters (measuring calibration mode only.)
  • Page 61: Chapter 6 Output Format

    5.6 Control and Execution Command File name (up to eight characters) Mode All modes First output channel number Setting CFp1<terminator> Last output channel number 0 Information on system-configured modules First output data number 1 Current status module information (real-time Last output data number information) Comments •...
  • Page 62 5.7 Data Output Request Command f=32 Interrupt occurs when timer No. 6 operates. No interrupt occurs. g=64 Interrupt occurs when the time for hourly, daily and monthly reports arrives. No interrupt occurs. Comments • Sets the auxiliary mask of interrupt when the timers described in the IM command operate.
  • Page 63: Functions As Talker

    Functions as Talker There are the following seven types of data output: • Measured data output (ASCII code): TS0 + “Device Trigger (GET)” + FM0 • Measured data output (binary code): TS0 + “Device Trigger (GET)” + FM1 • Computed data output (ASCII code): TS0 + “Device Trigger (GET)” + FM2 •...
  • Page 64: Measured/Computed Data Output Format (Ascii Code)

    Measured/Computed Data Output Format (ASCII code) The data are output in the following format by receiving TS0 + “Device Trigger (GET)” + FM0/ FM2: DATEYYMMDDCrLf TIMEhhmmssCrLf ± S1S2A1A1A2A2A3A3A4A4UUUUUUCCC, DDDDDE - ECrLf Each symbol denotes the following: Year Month Hour Minute Second Data status 1 E ------------- Abnormal...
  • Page 65: Measured/Computed Data Output Format (Binary Code)

    Measured/Computed Data Output Format (Binary code) The data are output in the following format by receiving TS0 + “Device Trigger (GET)” + FM1: Data Number of output bytes length Date & time Year Month Day Hour Minute Second First channel A1 B1 C1 D1 A1 to An: Base unit number (fixed for 80 H in computation)
  • Page 66: Setting Data Output Format (Operation Mode)

    Setting Data Output Format (Operation mode) The operation mode parameters are output in the following order by the TS1 + “Device Trigger (GET)” + LF command: PS Status of Recorder CrLf CrLf Setting data for No. 1 message Measurement range setting data for the first CrLf channel Setting data for No.
  • Page 67 6.4 Setting Data Output Format (Operation mode) Alarm setting data For alarm setting data, setting data from level 1 to level 4 are output for every channel. Level 1 alarm setting data CrLf CrLf Level 2 alarm setting data First channel Level 3 alarm setting data CrLf Level 4 alarm setting data...
  • Page 68: Setting Data Output Format (Setup Mode)

    Setting Data Output Format (Setup mode) The setup mode parameters are output in the following order by the TS9 + “Device Trigger (GET)” + LF command: Setting data for for measurement period CrLf Setting data for alarm CrLf CrLf A/D integration time setting data for the first unit CrLf A/D integration time setting data for the last unit Setting data for filter on/off...
  • Page 69: Output Format For Unit And Decimal Point Position

    Output Format for Unit and Decimal Point Position These outputs are issued in the following format by the TS2 + “Device Trigger (GET)” + LF command. S1S2CCCUUUUUU, PCrLf Each symbol denotes the following: Data status 1 N --------------------- Normal D --------------------- Differential input S ---------------------- Measurement range skips.
  • Page 70: System Configuration Output Format

    System Configuration Output Format The measurement interval and system connection data are output in the following format by the TS5 + “Device Trigger (GET)” + CF command: M : sssssCrLf S1 : 0=MMMMMM(DD)1=MMMMMM(DD)~5=MMMMMM(DD)CrLf Slot number Each symbol denotes the following: Measurement interval mark sssss: Measurement interval;...
  • Page 71 This page intentionally left blank...
  • Page 72: Ram Disk Output Format (File Directory Output)

    RAM Disk Output Format (File Directory Output) The following formats are output by the TS3 + [GET] + MF0 command. _FFFFFFFF, YY/MM/DD hh:mm, NNNNNN, CCC, MMCrLf -------------- _FFFFFFFF, YY/MM/DD hh:mm, NNNNNN, CCC, MMCrLf _ENDCrLf Each symbol denotes the following: FFFFFFFF: File name (eight characters) YY/MM/DD hh:mm: Date and time (year/month/day hour: minute) when a trigger signal or data storage is started.
  • Page 73: Ram Disk Output Format (Ascii Code)

    6.10 RAM Disk Output Format (ASCII Code) The following formats are output by the TS3 + [GET] + MF1 command. Header AAAAAA-BBBBBB, CCCCCC,DDD-EEECH, FFFFFGGGCrLf YY-MM-DD hh:mm:ssCrLf First Data Number *SNNNNNCrLf Date and Time YY-MM-DD hh:mm:ssCrLf ± First Data S1S2UUUUUUCCC, DDDDDE-EpCrLf --------------------- Last Data Number *SNNNNNCrLf...
  • Page 74 6.10 RAM Disk Output Format (ASCII Code) CCC:Channel number (three characters) Channel for computation A01 to A30 (DR130/DR230/DR240) ±: Data polarity (+, -) DDDDD: Data mantissa (eight characters for computed data) ± 99999 ----------------- data overflow + 99999 ----------------- abnormal data E - E: Data exponent Note...
  • Page 75: Ram Disk Output Format (Binary Code)

    6.11 RAM Disk Output Format (Binary Code) The following formats are output by the TS3 + [GET] + MF2 command. Header information Same as for ASCII code Channel information <EOI> Data <EOI> Header information AAAAAA-BBBBBB, CCCCCC, DDD-EEECH, FFFFFGGGCrLf YY-MM-DD hh:mm:ssCrLf Channel information S1S2CCUUUUUU, PCrLf Each symbol denotes the following: Header...
  • Page 76 6.11 RAM Disk Output Format (Binary Code) For Computed Data For Measured Data Number of Output Bytes Number of Output Bytes Computed data 1 (first CH) Measured data 1 (first CH) Computed data 1 (last CH) Measured data 1 (last CH) Computed data 2 (first CH) Measured data 2 (first CH) Computed data 2 (last CH)
  • Page 77: Ram Disk Output Format (Channel On/Off)

    6.12 RAM Disk Output Format (Channel On/Off) The following formats are output by the TS3 + [GET] + MF3 command. _NNNNNNNNCrLf _CCC-MMMCrLf _-------------------- _ENDCrLf Each symbol denotes the following: NNNNNNNN: File name (eight characters) CCC: Channel number (three characters) Channel for computation A01 to A30 (DR130/DR230/DR240) MMM: With/without data...
  • Page 78: Chapter 7 Sample Program

    GP-IB Sample Programs This section describes sample program for a system using PC 9801 series (NEC) with National Instruments GP-IB. Sample programs in this manual are writen in N88-BASIC(Standard language for PC9801 series). We hope that these samples will aid you in creating your own program. GP-IB Address ALL the sample programs given in this chapter use address 1 for DR130/DR230/DR240.
  • Page 79 7.1 GP-IB Sample Programs Output the Unit and Decimal Point Data Read out the unit and decimal point data from DR130/DR230/DR240, display them on CRT of personal computer, and save them to floppy disk. 'TS2 <GET> LF OPEN "TS2.DAT" FOR OUTPUT AS #1 ISET IFC CMD DELIM=0 PRINT @1;"TS2"...
  • Page 80 7.1 GP-IB Sample Programs Output the measurement data (BINARY Code) Read out the measurement data by BINARY code from DR130/DR230/DR240, display on CRT of personal computer, and save to floppy disc. 'TS0 BO1 <GET> FM1 OPEN "TS0BIN.DAT" FOR OUTPUT AS #1 ISET IFC CMD DELIM=0 PRINT @1;"TS0"...
  • Page 81: Rs-232-C Sample Programs

    RS-232-C Sample Programs This section describes sample program for a system using PC 9801 series (NEC) with the RS-232- C interface. Sample programs in this manual are writen in N88-BASIC(Standard language for PC9801 series). We hope that these samples will aid you in creating your own program. Setting the RS-232-C Parameter In this sample program, the RS-232-C parameter settings are as shown below.
  • Page 82 7.2 RS-232-C Sample Programs Output the Unit and Decimal Point Data Read out the unit and decimal point data from DR130/DR230/DR240, display them on CRT of personal computer, and save them to floppy disk. 'TS2 <ESC T> LF OPEN "COM1:E81N" AS #1 OPEN "TS2.DAT"...
  • Page 83 7.2 RS-232-C Sample Programs Output the measurement data (BINARY Code) Read out the measurement data by BINARY code from DR130/DR230/DR240, display on CRT of personal computer, and save to floppy disc. 'TS0 BO1 <ESC T> FM1 OPEN "COM1:E81N" AS #1 OPEN "TS0BIN.DAT"...
  • Page 84: Rs-422-A/Rs-485 Sample Programs

    RS-422-A/RS-485 Sample Programs This section describes sample program for a system using PC9801 series (NEC) with the RS-422-A/ RS-485 interface. We hope that these samples will aid you in creating your own program. Configuration Model : NEC PC9801 series Language : N88-BASIC (Standard programming language on the PC9801 series) Wiring system : four-wire system (both four-wire and two-wire systems are introduced in this...
  • Page 85 7.3 RS-422-A/RS-485 Sample Programs Write the Setting Data to DR series Read out the setting data from floppy disk, display them on CRT of the personal computer, and write them to DR series. ‘ OPEN “COM1:E81N” AS #1 OPEN “TS1.DAT” FOR INPUT AS #2 ‘...
  • Page 86 7.3 RS-422-A/RS-485 Sample Programs Output the Measurement Data (ASCII Code, four-wire) Read out the measurement data by ASCII code from DR series, display on CRT of the personal computer, and save to floppy disk. ‘ OPEN “COM1:E81N” AS #1 OPEN “TS0ASC.DAT” FOR OUTPUT AS #2 ‘...
  • Page 87 7.3 RS-422-A/RS-485 Sample Programs Output the Measurement Data (ASCII Code, two-wire) Read out the measurement data by ASCII code from DR series, display on CRT of the personal computer, and save to floppy disk. ‘ OPEN “COM1:E81N” AS #1 OPEN “TS0ASC.DAT” FOR OUTPUT AS #2 OUT &H32,&H5 ‘...
  • Page 88 7.3 RS-422-A/RS-485 Sample Programs Output the Measurement Data (Binary Code) Read out the measurement data by BINARY code from DR series, display on CRT of the personal computer, and save to floppy disk. ‘ OPEN “COM1:E81N” AS #1 OPEN “TS0BIN.DAT” FOR OUTPUT AS #2 ‘...
  • Page 89 7.3 RS-422-A/RS-485 Sample Programs Output the System Configuration Data Read out the configuration data from DR series, display on CRT of the personal computer, and save to floppy disk. ‘ OPEN “COM1:E81N” AS #1 OPEN “TS5.DAT” FOR OUTPUT AS #2 ‘...
  • Page 90: App

    App.1 Computing Equation DR130/DR230/DR240 can execute computations with the measured data of each input channel taken as a variable, and the results can be displayed/saved (functions available for use only when DR130/DR230/DR240 has the -M1 option) . The following operators can be used for computation. Basic operators Type Operator Example Description...
  • Page 91: Computing Equation

    App.1 Computing Equation Statistical operators within the group Type Operator Example Description Maximum value CLOG.MAX() CLOG.MAX(G01) Obtain the maximum value of the measured data of group G01. Minimum value CLOG.MIN() CLOG.MIN(G02) Obtain the minimum value of the measured data of group G02. Max-min value CLOG.P-P() CLOG.P-P(G03) Obtain the P-P value of the measured data of group G03.
  • Page 92 App.1 Computing Equation Units in computing equations In computations, measured data are handled as numbers without units. For example, if the measured data of channel 001 is “20 mV” and the measured data of channel 002 is “20 V”, the computed result of “001+002”...
  • Page 93: Index

    Index Page Page A/D calibration date and time ................5-10 data output format ..............6-8 data length ................. 2-9, 3-9 execution ................5-15 difference computation .............. 5-1 mode ..................4-3 digital printing ................5-8 A/D integration time ..............5-3 display mode ................5-5 AC ..................
  • Page 94 Index Page Page key lock ................... 5-13 RAM disk ..............5-17, 5-18 read Page measured data ..............5-18 setting data ..............5-18, 5-19 list printing re-alarm for a re-failure ............. 5-4 format ..................5-8 reference channel ............... 5-1 ON/OFF ................. 5-9 reference junction compensation ..........
  • Page 95 Index title printing interval ..............5-9 setting ..................5-7 transfers the setting mode ............5-20 trend record mode ..................5-9 ON/OFF ................. 5-8 selection ................. 5-6 start/stop ................5-17 Page unit ..................... 5-3 upper limit alarm ............... 5-4 Page XON-RTS .................. 2-6 XON-DTR .................
  • Page 96: Command Index

    Command Index Page Page AC ................... 5-17 MC ................... 5-17 AK ................... 5-17 MD ..................... 5-5 AR ................... 5-17 ME ................... 5-18 MF ................... 5-21 MH ................... 5-12 Page ML ................... 5-18 BL .................... 5-19 MP ................... 5-17 BO ................... 5-22 MR ...................
  • Page 97 Command Index SR ....................5-1 SS ....................5-6 ST ....................5-7 SU .................... 5-17 SV .................... 5-10 SW ................... 5-13 SX .................... 5-10 SY .................... 5-10 SZ ....................5-7 Page TS .................... 5-21 Page UD ..................... 5-5 Page XA ..................... 5-4 XB ...................
  • Page 98 Should any Product(s) be used in or with any nuclear installation or a c t i v i t y, medical application, used on humans, or misused in any way, OMEGA assumes no re s p o n s i b i l i t y...
  • Page 99 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 & Assemblies Wire: Thermocouple, RTD & Thermistor Calibrators &...

This manual is also suitable for:

Dr240 seriesDr230seriesDr230 series

Table of Contents