HBM AD104-R2 Operating Instructions Manual

Digital transducer electronics

Advertisement

Operating instructions
Digital Transducer-
Electronics
AD104-R2,
AD104-R5

Advertisement

Table of Contents
loading

Summary of Contents for HBM AD104-R2

  • Page 1 Operating instructions Digital Transducer- Electronics AD104-R2, AD104-R5...
  • Page 2: Table Of Contents

    Electrical construction .......................5 Function ..........................5 Signal processing ........................6 Electrical connection ...........................8 Transducer Connection .....................10 Serial Interface RS-232 (only AD104-R2)................10 Serial Interface RS485 (Bus mode with AD104-R5) ............11 Command set ..........................14 Command format .......................14 Answers to commands ......................15 Output types for the measured values ................15 Command overview ......................16...
  • Page 3: Safety Notes

    2 / 75 Safety notes • In the normal case the product causes no dangers, provided the notes and instructions for configuring, installation, operation as intended and maintanance are complied with. • The safety and accident prevention regulations applicable corresponding to the application must be observed without fail.
  • Page 4: Intended Use

    The transducer electronic units AD104 are also abbreviated with AED in the following text. Old type: AD104-R4 new type: is AD104-R5 with external trigger New type: AD104-R2 with external trigger and RS232 interface. Characteristic features • Operating voltage 5.6V...15V DC •...
  • Page 5: Mechanical Construction

    1m...500m (depending on the type) Pancon connector female Shield Example of a mechanical construction of a measuring chain (HBM) Fig. 3.1: The amplifier circuit board has to be placed in a shielded housing (EMC protection). The cable connections has to be shielded leads.
  • Page 6: Electrical Construction

    AD104-R2, AD104-R5 5 / 75 Electrical construction The circuit of the digital transducer electronic unit consists essentially of the following functional groups: Transducer supply • Amplifier • Analog-digital converter (A/D) • Microprocessor unit (µP) • Parameter memory (EEPROM) protected against power failure •...
  • Page 7: Signal Processing

    For a linearization of the scale characteristic, the command (LIC) is available (with a polynomial of the 3rd order). The polynomial parameters can be determined by means of a HBM PC program AED_LIC. The current measured value is retrieved by the command MSV?. The format of the measured value (ASCII or binary) is set by the command COF.
  • Page 8 AD104-R2, AD104-R5 7 / 75 The AD104 comprises two trigger functions in order to support functions in packaging machines and checkweigher: triggering by means of an adjustable level (gross and net measured value, for both types) • external triggering by means of a trigger input •...
  • Page 9: Electrical Connection

    Fig. 5: The connection to the PC is effected by means of a 6 / 8 pin Pancon connector. The following pin wirings result at the connector according to the set interface (i.e. measuring chains of HBM): AD104 type AD104-R5...
  • Page 10 AD104-R2, AD104-R5 9 / 75 Trigger input (electrical data): High: 3.2V ... 5V Low: 0V ... 0.8V Input current: <2.5 mA Important notes on EMC protection: The PCB AD104 alone has no EMC protection. The EMC protection can be achieved in addition with a shielded housing for the electronic and the use of shielded cable.
  • Page 11: Transducer Connection

    AD104). Serial Interface RS-232 (only AD104-R2) The AD104-R2 is a version of the AD104 with an asynchronous, serial interface (UART interface with RS-232 line driver). This interface provide a point – to – point communication (no bus mode). The baud rate of 1200...38400 baud can be selected for this interface. The following specifications result for the...
  • Page 12: Serial Interface Rs485 (Bus Mode With Ad104-R5)

    Y5 -GND Y12-TRG AD104 – R2 Y10-RxD Y8 - n.c. Y9 -TxD Y7 - n.c. Fig.5.2: Connections on the PCB (AD104-R2) The connection scheme for the asynchronous interface results as follows: AD104-R2 Master Receiving line transmission line Transmission line receiver line Operating voltage supply voltage (5.6V..15V...
  • Page 13 Figure. The AED contains these resistors already. These can be activated by the command STR1 (these terminating resistors are switched off on factory delivery). These terminations may not be activated more than twice in one bus. The HBM interface converter also includes these terminators. External trigger signal: Quiscent-signal level:...
  • Page 14 AD104-R2, AD104-R5 13 / 75 Fig: 5.3.2: Wiring of an AD104-R5 with an interface converter RS232/RS485 Master line 4 - wire Line Line termination termination 500Ω 500Ω 500Ω 500Ω 500Ω 500Ω 500Ω 500Ω RB RA RB RA RB RA TxD on/off...
  • Page 15: Command Set

    14 / 75 Command set The commands can be classified roughly into: • Interface commands (ADR, BDR, Sxx, TEX, COF, CSM) • Commands for adjusting and scaling (SZA, SFA, LDW, LWT, NOV, LIC) • Commands for the measuring mode (MSV, ASF, ICR, TAR, TAS, TAV, FMD, STP) •...
  • Page 16: Answers To Commands

    AD104-R2, AD104-R5 15 / 75 Answers to commands Answers to inputs (exception COF64...COF79): Answer End character Correct input 0 (zero) CRLF Faulty input CRLF Exceptions: The commands RES, STP, S00 ... S99 deliver no answer. The command BDR delivers the answer in the new baud rate.
  • Page 17: Command Overview

    16 / 75 Command overview Command TDD 1 Function Page Adress Digital filter Baud rate Output format in MSV? external checksum for legal for trade applic. checksum in MSV status Define password Dimensional unit Status Filter mode Measuring rate Identification of transducer type and serial number Zero point, user characteristic Legal for trade applications Linearization...
  • Page 18: Individual Descriptions Of The Commands

    AD104-R2, AD104-R5 17 / 75 Individual descriptions of the commands Interface commands (asynchronous, serial) Characteristic data of the interfaces Start bit: Word length: 8 bits Parity: none / even Stop bit: Software handshake (XON / XOFF) is possible Baud rate: 1200;...
  • Page 19 18 / 75 Address (device address) Range: 0...31 Factory setting: Response time: <15ms Parameters: Password protection: none Parameter protect.: with command TDD1 Input: ADR(new address),<"Serial No.">; Entry of the device address as decimal number 0...31. The serial number can also be stated optionally as 2nd parameter. The new address is then entered only for the AED with the stated serial number.
  • Page 20 AD104-R2, AD104-R5 19 / 75 Baud Rate (Baud rate) Baud rates: 1200, 2400, 4800, 9600, 19200, 38400 Baud Factory setting: 9600 Baud and even parity Response time: <15ms Parameters: Password protection: none Parameter protect.: with command TDD1 Input: BDR <Baudrate>,<Parity>...
  • Page 21 20 / 75 Configurate Output Format (Ausgabeformat für die Messwertausgabe) Range: 0...255 Factory setting: Response time: <15ms Parameters: Password protection: none Parameter protect.: with command TDD1 Input: COF(0...255); Input of the output format for measured value command MSV The possible formats and the decimal number to be entered for them are listed in the following Table. The measured value output refers here to the set nominal value of the AED (see command NOV).
  • Page 22 AD104-R2, AD104-R5 21 / 75 COF formats: The following combinations result on entry of COF0 to COF12: MSB = most significant byte • LSB = least significant byte • In binary output, the sequence of the bytes MSB LSB or LSB MSB can be selected.
  • Page 23 LSB before MSB LSB=status/CRC 2-wire bus mode: COF64 ... COF76 (do not use for variants AD104-R2 and AD104-R5) If the decimal number 64 is added to the above stated output formats COF0...COF12, then the AED is switched into the 2-wire bus mode. This means that the AED answers no longer with “0“ or “?“ on command inputs. The answer with the parameter or in the case of MSV? with the measured value occurs only for command enquiries (e.g.
  • Page 24 AD104-R2, AD104-R5 23 / 75 Continuous output after power On: COF128 to COF 140 If the decimal number 128 is added to the above stated output formats COF0...COF12, then the AED is switched into the continuous output mode. After the power On or RES command, the AED outputs the measured values without MSV? request.
  • Page 25 24 / 75 Checksum (Cheksum only in MSV binary status) Range: Factory setting: Response time: <15ms Parameters: Password protection: none Parameter protect.: with command TDD1 Input: CSM(0/1); Query: CSM?; Effect: The adjusted fuction is given out as: (0/1). The command checksum can be used to find out transmitting errors within 4 Byte binary output. If CSM=0 the normal status will be transmitted (see MSV).
  • Page 26 AD104-R2, AD104-R5 25 / 75 Terminator Execution (Data delimiter between measured values) Range: 0...255 Factory setting: Response time: <15ms Parameters: Password protection: none Parameter protect.: with command TDD1 Input: TEX(0...255); The wanted data delimiter is input in decimal form as ASCII character (e.g. comma = 2C...
  • Page 27 26 / 75 Select S... (Selection of AEDs in bus mode) Range: 0...31, 98 Factory setting: — Response time: <15ms Parameters: Password protection: none Parameter protect.: no data to be protected Input: S(00...31, 98); (only with semicolon, not with CRLF!) The select command generates no answer.
  • Page 28: Adjustment And Scaling

    AD104-R2, AD104-R5 27 / 75 Adjustment and scaling The commands described below serve for setting the factory characteristic as well as the user characteristic: Commands for adjusting the transducer characteristic: SZA, SFA • Commands for adjusting the user characteristic: LDW, LWT •...
  • Page 29 28 / 75 Set user characteristic with LDW, LWT Action Command string Enter password SPW"AED"; Load = 0, scale LDW; Load = Nominal value, scale LWT; Digit Factory characteristic 1.000.000 COF3 700.000 100.000 Load in mV Application measuring range User characteristic Digit 1.000.000 COF3...
  • Page 30 AD104-R2, AD104-R5 29 / 75 Sensor Zero Adjust (Factory characteristic – zero point) Range: 0...1,599999e6 Factory setting: adjusted on unloaded transducer Response time: <15ms...4.2s Parameters: Password protection: Parameter protect.: after input of SFA Input: SZA; (Response time: <4.2s) Effect: Using this command, the transducer electronic system measures an input signal between ±2.5mV/V, stores the measured value as the zero point of the factory...
  • Page 31 30 / 75 Sensor Fullscale Adjust (Factory characteristic – fullscale value) Range: 0...1,599999e6 Factory setting: adjusted to nominal load of transducer Response time: <15ms...4.2s Parameters: 1 (0) Password protection: Data protect.: with input Input: SFA; (Response time: <4,2s) Effect: Using this command, the transducer electronic system measures an input signal between ±2.5mV/V, stores the measured value as the fullscale value of the factory characteristic and calculates the new characteristic together with the previously entered value for SZA.
  • Page 32 AD104-R2, AD104-R5 31 / 75 User settings: The commands LDW and LWT work like the commands SZA and SFA . It is possible with these commands to make a system-specific calibration (e.g. of a scale), without changing the transducer settings performed with SZA and SFA.
  • Page 33 32 / 75 Load Cell Dead Weight (Zero point of the user characteristic) Range: 0...1.599999e6 Factory setting: Response time: <15ms...4.2s Parameters: Password protection: Parameter protect.: after input of LWT Take the zero point of user characteristic with LDW Input: LDW; (Response time: <4.2s) The scale is unloaded.
  • Page 34 AD104-R2, AD104-R5 33 / 75 Load Cell Weight (nominal value of the user characteristic) Range: 0...1,599999e6 Factory setting: 1000000 Response time: <15ms...4.2s Parameters: 1 (0) Password protection: Parameter protect.: with input Take the full scale value of user characteristic with LWT command Input: LWT;...
  • Page 35 34 / 75 Nominal Value (Resolution of the user characteristic) Range: 0...1,599999e6 Factory setting: 0 (=deactivated) Response time: <15ms Parameters: Password protection: Parameter protect.: with command TDD1 Input: NOV<Wert>; Query: NOV?; (Response time <15ms) Effect: The value stored in the AED is output with 7 digits complete with sign ( e.g. 0001000CRLF 0000345crlf ).
  • Page 36: Measuring

    AD104-R2, AD104-R5 35 / 75 Measuring All commands acting directly on a measured value belong to measuring, these are: Measured value output • Stop measured value output • Filter setting • Filter mode • Measuring rate • Tare mode •...
  • Page 37 36 / 75 Measured Signal Value (Output measured values) Range: Integer ±32767 Long Integer ±8388607 ASCII ±1000000 Factory setting: ASCII Response time: < 2 ∗ 10ms + 5ms with ICR = Measuring rate Parameters: Password protection: none Parameter protect.: Output measured values Query: MSV?(0);...
  • Page 38 AD104-R2, AD104-R5 37 / 75 The output format for the measured value must be set previously via the command COF. The measured value is output related to the relevant measuring range. The measured value can be a gross or net measured value (command TAS). This COF command generates answers of constant length.
  • Page 39 38 / 75 The output scaling depends upon the parameter of the command NOV. Output format of the measuring value at NOV=0 NOV>0 nominal load 2 Byte binary 20000 NOV value 4 Byte binary 5120000 NOV value ASCII 1000000 NOV value With the 2-byte binary output, the NOV value must be <...
  • Page 40 AD104-R2, AD104-R5 39 / 75 Stop (Stop of the measured value output) The measured value output is ended with this command. STP acts only on the command MSV. A started measured value is output completely. ba_aed104_8_e.doc...
  • Page 41 40 / 75 Amplifier Signal Filter (Digital filter setting) Range: 0...8 Factory setting: Response time: <15ms Parameters: Password protection: none Parameter protect.: with command TDD1 Input: ASF(0...8); Query: ASF?; Effect: Entry of the filter stage as decimal number from (0...8) The AED has a multi-stage filter chain: An analog 3rd order filter (cut-off frequency approx.
  • Page 42 AD104-R2, AD104-R5 41 / 75 The FIR-Filter (FMD1) can be described with the following Table: Filter Cut-off 20dB 40dB Attenuation in Stop band frequency [Hz] attenuation at attenuation at the Stop band [Hz] length at -3dB frequency in frequency in...
  • Page 43 42 / 75 Filter Mode (Filter selection for the command ASF) Range: Factory setting: Response time: <15ms Parameters: Password protection: none Parameter protect.: with command TDD1 Input: FMD(0/1); Entry of the filter stage as decimal number of 0 or 1: Query: FMD?;...
  • Page 44 AD104-R2, AD104-R5 43 / 75 Internal Conversion Rate (Output rate of measured values) Range: 0...7 Factory setting: Response time: <10ms Parameters: Password protection: none Parameter protect.: with command TDD1 Input: ICR(0...7); Entry of the measuring rate as decimal number from 0...7 The integration time determines the output data rate of the measured values and thus also the response time to the measured value query with the command MSV?;.
  • Page 45 44 / 75 Tare (Tare modus) Range: — Factory setting: — Response time: < 2 ∗ 10ms + 5 ms Parameters: Password protection: none Parameter protect.: no data to be protected The current measured value is tared with the command TAR. After taring, the system switches over to "Net measured value"...
  • Page 46 AD104-R2, AD104-R5 45 / 75 Tare Value (Set / read tare memory) Range: 0...±8388607 Factory setting: Response time: <20ms Parameters: Password protection: none Parameter protect.: with command TDD1 Input: TAV(±Tare value); Enter tare value 7digit with sign (max. ±8 388 607).
  • Page 47 46 / 75 Tare Set (Gross/net switch-over) Range: 0...1 Factory setting: 1 (Gross) Response time: <10ms Parameters: Password protection: none Parameter protect.: with command TDD1 Input: TAS(0...1); TAS0: Net measured value The value in the tare memory is subtracted from the current measured value. TAS1: Gross measured value The value in the tare memory is not offset.
  • Page 48: Special Functions

    AD104-R2, AD104-R5 47 / 75 Special functions Define Password (Defining a password) Range: 1...7 Letters or numbers (ASCII-characteristics Factory setting: Response time: <80ms Parameters: Password protection: none Parameter protect.: with input Input: DPW("Password"); The user can enter an arbitrary max. 7digit password with this command.
  • Page 49 48 / 75 Set Password (Write enable for all password-protected parameters) Range: The password defined with DPW Factory setting: Response time: <15ms Parameters: Password protection: none Parameter protect.: no data to be protected Input: SPW("Passwd"); The command SPW with the correctly entered password authorizes data entry with all commands.
  • Page 50 AD104-R2, AD104-R5 49 / 75 Restart (Device start) Range: — Factory setting: — Response time: <3s Parameters: — Password protection: none Parameter protect.: no data to be stored The command RES produces a warm start. This command generates no answer. All parameters are set as they were stored with the last TDD command, i.e.
  • Page 51 50 / 75 Engineering Unit (User engineering unit) Range: 4 letters or numbers (ASCII characters) Factory setting: none Response time: Output: <15ms Input: <40ms Parameters: Password protection: none Parameter protect.: with input Input: ENU("abcd"); Entry of a unit. An arbitrary unit with max. 4 characters can be entered. If less than 4 characters are input, the entry is supplemented with blanks.
  • Page 52 AD104-R2, AD104-R5 51 / 75 Identification (Identification of transducer type and serial number) Range: Transducer type: 15 ASCII characters Serial number: 7 ASCII characters Factory setting: depending on transducer Response time: Output: <15ms Input: <180ms Parameters: Password protection: none Parameter protect.:...
  • Page 53 52 / 75 Transmit Device Data (Protect device parameters) Range: 0...2 Factory setting: — Response time: TDD0: <2.2s TDD1: <0.1s TDD2: <1.3s Parameters: Password protection: TDD0: TDD1: none TDD2: none Parameter protect.: no data to be protected Input: TDD(0); Cold start, the parameters are reset to the factory settings (see table next page) After balancing, the adjustments will be stored in the second writing protected EEPROM.
  • Page 54 Unit FMD0 FMD0 Filter setting, standardfilter ICR2 ICR2 Measuring rate 25 measurements/s *IDN HBM, ..., ..., .. no change Device type 15 characters, manufacturing -no. 7 characters, program version no change Linearization switched off, all par.=0 *LFT0 Legal for trade switched off...
  • Page 55 54 / 75 Command: TDD(1); Effect: The settings you have changed in the working memory are stored in the EEPROM nonvolatile. Adress Filter settings Baud rate Configuration of the data output Checksum of the data output Filter mode Measuring rate Terminator resistances on/off Switch Gross/Net Content of the tare memory...
  • Page 56 AD104-R2, AD104-R5 55 / 75 Zero Setting (Automatic zero setting) Range: 0...4 Factory setting: Response time: <0.1s Parameters: Password protection: none Parameter protect.: with command TDD1 Input: ZSE(0...4); 0 - Zero setting deactivated, 1 – Zero setting range + 2% of NOV value...
  • Page 57 56 / 75 Zero Tracking (Automatic zero tracking) Range: Factory setting: Response time: <0.1s Parameters: Password protection: none Parameter protect.: with command TDD1 Input: ZTR(0/1); ZTR0: Zero tracking deactivated ZTR1: Zero tracking activated Query: ZTR?; Response: Function: Automatic zero tracking is effected at a gross value of <1d within a range of + 2% from the nominal value (NOV) of the scale.
  • Page 58 The coefficients are determined when the measuring chain is calibrated, the factors are not computed in the AED; computation of the same must be effected by means of the HBM program AED_Panel32 and loaded into the AED. The precise procedure is described in the program AED_Panel32.
  • Page 59 58 / 75 Measured Alternative Data (output alternative measured value, see trigger function) Range: Integer ±32767 Long Integer ±8388607 ASCII ±1638399 Factory setting: ASCII Response time: <25ms Parameters: — Password protection: none Parameter protect.: no data to be protected Query: MAV?;...
  • Page 60 AD104-R2, AD104-R5 59 / 75 Trigger Command (Trigger setting) Range: 0/1, 0/1, 0...1599999, 0..99, 0...99 Factory setting: 0, 0, 0, 0, 0 Response time: <0,1s Parameters: Password protection: none Parameter protect.: with command TDD1 Input: TRC P1,P2, P3,P4, P5; Trigger function On/Off...
  • Page 61 60 / 75 Function: The general function is described in Section 4.2. The position of the trigger level P3 depends on the output scaling (NOV). At NOV=0 (scaling off) the trigger level will be on the characteristic 0...1000000. At NOV>0 the trigger level will be in the range 0...NOV. The response time P4 has to be adjusted, thus the settling time is not lower as of the used filter.
  • Page 62 AD104-R2, AD104-R5 61 / 75 For details on how to set this mode, see command COF: COF128 to COF 140 continuous output foll. power On (not for bus operation ). Example: external triggering with automatical output set parameter of the AED (ASF,ICR,...) activate external Trigger with command TRC1,1,0,20,5;.
  • Page 63: Error Messages

    62 / 75 Error messages Event Status Register (Output of error messages) Query: ESR?; Effect: This function outputs the error messages defined according to the IEC standard as 3-digit decimal number. The occurring errors are linked by "Or". Error message Error No error Not used...
  • Page 64: Bus Termination For Rs-485 Version

    AD104-R2, AD104-R5 63 / 75 Bus termination for RS-485 version Set Termination Resistor (Bus termination resistors) Range: Factory setting: 0 (off) Response time: <15ms Parameters: Password protection: none Parameter protect.: with command TDD1 Query: STR? Effect: 0/1 crlf Befehl: STR0/1;...
  • Page 65: Commands For Legal For Trade Applications

    64 / 75 Commands for Legal for trade Applications Legal for Trade (Legal for trade) Range: Factory setting: 0 (off) Response time: <50ms Parameters: Password protection: none Parameter protect.: with input Query: LFT? Effect: 0/1 CRLF Befehl: LFT0/1; Effect: 0= legal for trade off (default) 1= legal for trade on If LFT is changed, each change of the following parameters will increase the trade counter (TCR).
  • Page 66 AD104-R2, AD104-R5 65 / 75 Trade Counter (Trade Counter) Range: no input Response time: <30ms Parameters: none Password protection: none Parameter protect.: — Query: TCR?; Effect: xxxxxxxx CRLF (8 characters+CRLF) This is a none resetable counter for legal for trade applications. If LFT is switched on, each change of the parameters will increment the trade counter (see LFT).
  • Page 67 66 / 75 Cyclic Redundancy Check (Cyclic Redundancy Check) Range: ±8388607 Response time: <50ms Parameters: Password protection: none Parameter protect.: with input Query: CRC?; Effect: xxxxxxxx CRLF (8 characters+CRLF) Input: CRCxxxxx; Effect: 0 CRLF This command can be used to calculate (external, in the master) a checksum over all parameters of the AED. So it is easy to check if one or more parameters has been changed.
  • Page 68: Further Commands

    AD104-R2, AD104-R5 67 / 75 Further commands The commands listed here are contained in the AD104 only for compatibility reasons. They have no function in the AD104. ACL? Query ACL, Answer AED: 0 GRU? Query GRU, Answer AED: 32 COR?
  • Page 69: Examples Of Communication

    68 / 75 Examples of communication Settings for the bus mode (only AD104-R5): The AED is able to work in a bus with up to 32 modules. A prerequisite for this is that each AED is connected to the bus through a RS-485 interface driver. In this case each AED works as slave, i.e. without request by the bus master (e.g.
  • Page 70 AD104-R2, AD104-R5 69 / 75 Changing the baud rate: The AED can work with different baud rates. The setting can be changed only through the serial interface with the aid of the command BDR. Naturally the baud rate of all connected subscribers should be the same in the bus mode. The following...
  • Page 71 70 / 75 Baud rate Transmission time for one ASCII character 2400 4.4 ms 4800 2.2 ms 9600 1.1 ms 19200 0.6 ms The transmission time for a command string can be calculated approximately with this information. Determine the number of characters in the command and multiply it with the transmission time. Moreover, the AED has a processing time for each command.
  • Page 72 AD104-R2, AD104-R5 71 / 75 Baud rate Output format Measured value query time for one AED for ICR2 9600 COF2 54 ms 19200 COF2 47 ms 9600 COF3 61 ms 19200 COF3 51 ms Use these times only as orientation values.
  • Page 73: Technical Data

    ± 0.002 on the measuring sensitivity, related to the nominal value ± 0.005 Serial Interfaces electrical level AD104-R2 (RS232) Low: -3.. -12V High: +3.. 12V electrical level AD104-R5, (RS485,differential) Low : B-A < 0.35 High: B-A > 0.35 Baud rate, adjustable Baud 1200;...
  • Page 74 Modifications reserved. All details describe our products in general form. They are not to be understood as express warranty and do not constitute any liability whatsoever. Hottinger Baldwin Messtechnik GmbH Postfach 100151 D-64201 Darmstadt Im Tiefen See 45 D-64293 Darmstadt Tel.: +49/6151/803-0 Fax: +49/6151/8039100 ba_aed104_8_e.doc E-mail: support@hbm.com · www.hbm.com...

This manual is also suitable for:

Ad104-r5

Table of Contents