Cooper Instruments & Systems DFI 2555 SERIAL Communications Manual

Advertisement

Quick Links

DFI 2555 SERIAL
COMMUNICATIONS GUIDE
www.cooperinstruments.com
PH: (540) 349-4746 • FAX: (540) 347-4755

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DFI 2555 SERIAL and is the answer not in the manual?

Questions and answers

Summary of Contents for Cooper Instruments & Systems DFI 2555 SERIAL

  • Page 1 DFI 2555 SERIAL COMMUNICATIONS GUIDE www.cooperinstruments.com PH: (540) 349-4746 • FAX: (540) 347-4755...
  • Page 2: Table Of Contents

    CONTENTS SAFETY INSTRUCTIONS......................1 1.0 INTRODUCTION TO OPERATION WITH COMPUTER OR TERMINAL.......1 2.0 SERIAL INTERFACE: RS-232C OR RS-485.................1 2.1 Introduction to the Interface ......................1 2.2 Key data for the serial interface..................... 2 3.0 COMMUNICATION WITH THE DFI 2555 ................2 3.1 Connect DFI 2555 and computer ....................2 3.2 Activation of the RS232C or RS485 interface................
  • Page 3: Safety Instructions

    SAFETY INSTRUCTIONS The instrument complies with the safety requirements of DIN EN 61010, Part 1 (VDE 0411, Part 1); Protection Class I. When connecting the instrument please adhere to the factory-set main voltage. This is shown on the rear panel of the housing (230V/115V, 48...60Hz). Since the instrument is not fitted with its own mains switch, the power cable must not be connected direct to the mains supply.
  • Page 4: Key Data For The Serial Interface

    2.2 Key data for the serial interface Sampling rate 10 meas./s Word length 8 bits Stop bits 1*; 2 Parity odd, even* and none Baud rate 300; 600; 1200; 2400; 4800; 9600* * Factory setting The interface configuration of the DFI 2555 (baud rate, parity and stop bit) must match that of the computer. 3.0 COMMUNICATION WITH THE DFI 2555 3.1 Connect DFI 2555 and computer On the back of the instrument there is an RS232 serial interface for connecting a computer or terminal.
  • Page 5: Activation Of The Rs232C Or Rs485 Interface

    To connect the DFI 2555 to a computer proceed as follows: • Connect both systems to the mains, leaving them switched off • Connect the interface as shown in the diagram(s) • The computer’s interface configuration (baud rate, data format) must match the DFI 2555’s basic setting. If it does not, the interface configuration must be altered via the keypad (see DFI 2555 User’s Guide).
  • Page 6: Command Structure

    Serial interface • With the RS232C interface, communication with a computer begins with the permitted control characters: CTRL R or CTRL B and ends with CTRL A or the command DCL • In the case of serial interfaces every command generates an output (response) Acknowledgement •...
  • Page 7: Description Of Individual Commands

    Character strings (always in quotation marks) or ’?’ as an error message Separator End of sequence (CRLF) 4.2 Description of Individual Commands On the following pages each command is listed, its structure analyzed and explained with an example. Command The character string that must be input to operate the instrument, e.g.: Syntax Mandatory notation for a command, e.g.: BDR p1,p2,p3 (x)
  • Page 8: Setting-Up Of Functions In The Additional Functions Group

    All other bits are undefined. 4.2.1 Setting-up of functions in the additional functions group 4.2.1.1 Setting of the RS232C interface parameters Command Baud rate Setting of the RS232C parameters Syntax: BDR p1,p2,p3 (x) Parameters: Baud rate 1200 2400 4800 9600 Parity None Even...
  • Page 9: Setting Of The Rs485 Interface Parameters

    The interface has been set to 9600 baud, even parity and 1 stop bit. 4.2.1.2 Setting of the RS485 interface parameters Address Assign RS485 address to the instrument Syntax: ADR p1(x) Parameters: Device address 0…31 Effect: The command specifies the instrument’s RS485 address (see also command Sxx on next page).
  • Page 10: Querying For Device Identification/Firmware Status

    S64...S95(x) The instrument with the specified address is accepted as a supplementary station that receives and executes all commands but sends no responses. S96(x) All instruments wait for Select and send no responses. S97 (x) or S98(x) All instruments receive all commands and execute them, but send no responses. S99(x) All instruments on the bus are active, receive all commands and send responses (where there are multiple stations this leads to collisions on the bus).
  • Page 11: Setting-Up Of The Parameter-Sets Group

    The setting affects print-output through the initiation of printing (key, remote) Response: Acknowledgment Meaning Command has been executed Error Example: Gross value, Net value are to be printed p1 = 1+2 PFS 3 (x) 0 (y) Command PFS? Print Format Select Query Query print-format Syntax: PFS?(x)
  • Page 12 Parameters: Amplifier settings Factory settings (set-up) RECALL from parameter set 1…8 SAVE from parameter set 1…8 Automatic saving of zero/tare values if p1=0 (factory setting); p2 no effect if p1=1 or p1=2 ; p2=parameter-set no. Number of the parameter set (if p1=1 or p1=2) 1..8 Parameter set 1 to 8...
  • Page 13: Define Output Format, Measurement Output

    Example1: TDD?0 (x) 2 (y) The source of the currently active amplifier setting is parameter set 2. Example 2: TDD?3 (x) 1 (y) Automatic saving of zero/tare values is switched on. 4.2.3 Define output format, measurement output 4.2.3.1 Define output format Command Change Output Format Change format of measurement output...
  • Page 14: Specify Measurement Output

    Response: Acknowledgment Meaning Command has been executed Error Example: COF0 (x) 0 (y) Measured values and status are output in ASCII format. Command COF? Change Output Format Query Query format of measurement output Syntax: COF?(x) Parameters: none Effect: Code number for the output format is output. Response: q1 (y) Example:...
  • Page 15: Setting Up The Adaptation Group Functions

    MSV?2,3 (x) 9,998.0 CRLF 9,998.0 CRLF 9,998.0 CRLF (y) Status byte* Measured value = 9.998 Example 2: Output in 4 byte binary format Binary 4 byte format COF2 (x) 0 (y) Fetch a gross measured value. MSV?1 (x) #0ffeedd00CRLF(y) Status byte* 3 byte measured value * See 4.2.3.1 Identification key for binary output...
  • Page 16: Choose Filter Settings

    Example: The DFI 2555 is being set up: ASA1,2,2 (x) 0 (y) The DFI 2555 is set to bridge excitation voltage 1 V, half bridge and input-signal range 100mV/V. Command ASA? Amplifier Sensor Adaptation Query Output bridge excitation voltage, transducer type and input range Syntax: ASA?p1(x) Parameters:...
  • Page 17 The Filter is set to a cutoff frequency of 40Hz and Bessel characteristics (see Command ASF?) Command ASF? Amplifier Signal Filtering Query Output of cutoff frequency and filter characteristics. Syntax: ASF?p1(x) Parameters: Filter code number Current filter settings Frequency table (Bessel and Butterworth) Effect: Output of the low-pass filter parameters, i.e.
  • Page 18: Setting Autocalibration

    Assumption: Filter setting: f<2.5Hz = sampling rate of 1200 values/sec Indication upper limit: 100.00N, resulting in a time span of 166ms Motion count indication is set: If 200 measured values lie within a tolerance band of 0.1N (10 digits), motion-count indication is activated. The status is also output via ”WARNING”.
  • Page 19: Setting Up The Calibration Group Functions

    Effect: Status of autocalibration is output. Response: Status Autocalibration is off Autocalibration is on Example: ACL? (x) 1 (y) Autocalibration has been switched on. Command Calibrate Calibration Syntax: CAL (x) Parameters: none Effect: A single calibration is triggered. Response: Acknowledgment Meaning Command has been executed Error...
  • Page 20: Selecting The Indication Upper Limit

    Summary of all available units and code numbers Index Index Index Index mV/V mbar FTLB INLB HPas µm/m kPas m/ss µm inch “blank” 4.2.5.2 Selecting the indication upper limit Command Indication Adaptation Input, indication upper limit, decimal point, step width Syntax: IAD p1,p2,p3 (x) Indication upper limit without decimal point (max.
  • Page 21: Setting Zero Value

    indication upper limit 10,000 with step width 10 4.2.5.3 Setting zero value Command Calibration Dead Weight Start zeroing /Input zero value (balance) Syntax: CDW (x) or CDW p1(x) Parameters: p1 (optional) Zero value in mV/V Value is input in mV/V; within the input-signal range Effect: The value entered is stored in the amplifier’s zero store.
  • Page 22: Tare

    The measuring range is set to 2.0 mV/V. Command IMR? Input Measuring Range Query Output of the upper limit of the measuring range Syntax: IMR?p1(x) Parameters: Upper limit of the measuring range Current measuring range in mV/V Current measuring signal in mV/V Maximum and minimum adjustable upper limits of the measuring range in mV/V Effect:...
  • Page 23 Input of limit monitor settings Syntax: LIV p1,p2,p3,p4,p5,p6,p7,p8 (x) Parameters: Limit monitors Limit value monitoring Source of limit values Gross value Net value Peak value store 1 (maximum) Peak value store 2 (minimum) Peak value store 3 (peak-to-peak) Operating directions Operates when overrange occurs Operates when underrange occurs Limit value level in displayed units...
  • Page 24: Setting Up The Functions Of The Peak Value Store Group

    Parameters: Limit monitors Query the signal value of p2 (output in displayed units) Current LV1 settings Current LV2 setting Current LV3 setting Current LV4 setting Signal code-number, if p1=0 Current gross signal in displayed units Current net signal in displayed units Current maximum value in displayed units Current minimum value in displayed units Current peak-to-peak value in displayed units...
  • Page 25: Setting Up The Functions Of The Inputs/Outputs Group

    Error Example: PVS1,1,1,0 (x) 0 (y) The gross signal is assigned to peak value store 1 (maximum). All peak value stores are enabled; the envelope function is switched off. Command PVS? Peak Value Select Query Output of peak value store settings Syntax: PVS?p1(x) Parameters:...
  • Page 26: Setting Up The Analog Output

    ASS 0(x) 0 (y) The amplifier input is switched to internal zero signal. Note: This command triggers a calibration process which permits communication to continue only after 1...3s. To resume measurement, enter p1=2 Command ASS? Amplifier Signal Select Output amplifier input signal Syntax: ASS?(x) Parameters:...
  • Page 27: Setting Up Remote Control

    Parameters: Analog output: signal and operating mode Currently assigned input signal “Voltage” or “current” operating-mode set Effect: The analog output’s currently assigned input signal is output or the selected operating-mode is output. Response: q1,q2 (y) q2 corresponds to parameter p2 (see command OPS) Operating mode (set) Voltage Current...
  • Page 28: Setting Up The Adaptation Group Functions

    Function No function ACAL Autocalibration TARE Taring CPV1 Store 1/Curr HLD1 Store 1/Hold CPV2 Store 2/Curr HLD2 Store 2/Hold ZERO Zeroing PRNT Print PAR1 Bit for querying param. set 1…8 PAR2 Bit for querying param. set 1…8 PAR3 Bit for querying param. set 1…8 The default assignment after a ”Set-up”...
  • Page 29: Abbreviation/Command Index

    Lock Free Effect: Direct keys can be individually locked. Response: Acknowledgment Meaning Command has been executed Error Example: KLC 2,0 (x) 0 (y) The ZERO key has been locked. Command KLC? Key Lock Control Query Querying key-lock control Syntax: KLC?p1 (x) Parameters: p1 corresponds to the key selected (see command KLC) Effect:...
  • Page 30 Calibrate 4.2.4.3 Calibration Calibration Dead Weight 4.2.5.3 Start zeroing / enter zero value (balance) Calibration Dead Weight Query CDW? 4.2.5.3 Output zero value Change Output Format 4.2.3.1 Change measurement output format Change Output Format Query COF? 4.2.3.1 Request measurement output format Clear Peak Value 4.2.7 Clear min/max storage...
  • Page 31 Define motion control Motion Control Query MTC? 4.2.4.2 Output motion control Output Path Select 4.2.8.2 Assign signal to analog output and choose operating mode Output Path Select Query OPS? 4.2.8.2 Output source of analog output and operating mode Print Format Select 4.2.1.4 Define print format Print Format Select Query...

Table of Contents