7.9Examples of communication.............................................................................................. 68
8Technical data ...........................................................................................................................72
Page 3
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.
• Installation and commissioning may be performed exclusively by qualified personell.
• Avoid the penetration of dirt and moisture into the interior of the unit when connecting the cables.
• When connecting the cables take measures against electrostatic discharges which can damage the
electronic unit.
• An extra low voltage with safe isolation from the mains is required for the power supply of the unit.
• When connecting additional devices, the safety regulations according to EN610101) must be complied with.
• Shielded cables are required for all connections. The shield must be connected flatly with ground at both
ends.
1) "Safety regulations for electrical measuring, control and laboratory equipment”
ba_aed104_8_e.doc
Page 4
AD104-R2, AD104-R53 / 75
1 Intended use
The digital sensor electronic units AD104 belong to the family of AED components which digitally condition and
network as bus-capable signals of mechanical measured value transducers. The objective of these components
is the digitization and conditioning of the measuring signals directly at the transducer. The AD104 and the
transducer (load cell) form a unit and cannot be replaced separately (transducer calibration of the measurement
chain with SZA/SFA is necessary).
As transducers, calibrated load cells or force transducers ( adjusted in TCZ,TCS, and zero point) can be used.
The measuring amplifier boards AD104 have different interface connections which are produced in the factory
by corresponding assembly:
AD104-TypeInterfaceInterface
Connect.
AD104-R2Asynchronous,
serial
AD104-R5Asynchronous,
serial
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.
RS-232 duplexno< 15myes
RS-485 -4-wire,
full duplex
Bus modeCable lengthexternal
Trigger
yes< 500myes
2 Characteristic features
• Operating voltage 5.6V...15V DC
• 4 wire Interface for a full bridge sensor, nominal input range ±2 mV/V, maximal input range ±2.6 mV/V
• Serial interface RS-485 (bus mode) or through RS-232 interface (point - to - point mode)
• Digital filtering, choice of the output speed and scaling of the measured signal
• Separated calibration of transducer and application characteristic
• Storage of the parameters nonvolatile
• All settings are made through the serial interface
• Automatic zero tracking (1d/s, ±2%)
• Automatic intial zero setting (±2%...±20%)
• Trigger functions (level or external trigger)
ba_aed104_8_e.doc
Page 5
4 / 75
3 Mechanical construction
Load Cell
30 cm
AD104
1m...500m (depending on the type)
Pancon connector
female
Shield
Fig. 3.1: Example of a mechanical construction of a measuring chain (HBM)
The amplifier circuit board has to be placed in a shielded housing (EMC protection). The cable connections has
to be shielded leads.
With digital transducers (FIT, C16,...) the AD104 is build in the housing of the load cell. For digital measuring
chains the AD104 is included in a separate housing in the cable (degree of protection IP 40).
Warning:The AD104 board is not protected against electrostatic discharges. Appropriate safety
precautions must be taken for handling during assembly into the transducer.
ba_aed104_8_e.doc
Page 6
AD104-R2, AD104-R55 / 75
4 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
Identifica tion.,
D igital filter, M e a s.
rate , S ca ling
Interface s etting
µP
Interfac e
Voltage
stabilize r
AD 104
RS-4854-wire
RS232
5.6 ...15V
< 60mA
Ext. Trigger
1200...38400 baud
The analog transducer signal is initially amplified, filtered and then converted into a digital value in the analogdigital converter. The digitized measuring signal is processed in the microprocessor. The conditioned signal is
then transmitted to a computer through the serial interface. All parameters can be stored in the EEPROM,
protected against power failures.
Power
unit
Com puter
ba_aed104_8_e.doc
Page 7
6 / 75
A
A
The transducer electronic unit is adjusted in the factory to the no-load and the nominal load of the transducer.
The electronic unit determines a factory characteristic through the commands SZA and SFA from these
measured values and images the measured values following later by means of this characteristic.
The following measured values are delivered according to output format (COF):
Output formatInput signalMeasured values
at
NOV = 0
Binary 2 characters
(Integer)
Binary 4 characters
(Long Integer)
ASCII0...Nominal load0 ... 1 000 000 Digit0 ... NOV
You have the possibility of adapting the characteristic to your requirements (i.e. scale characteristic)
correspondingly with the parameter pair LDW and LWT and to standardize the measured values to the required
scaling value (e.g. 3000d) via the command NOV.
0...Nominal load0 ... 20 000 Digit0 ... NOV
0...Nominal load0 ... 5 120 000 Digit0 ... NOV
Measured
values at
NOV > 0
Delivery status
NOV=0
x
4.2 Signal processing
Gross
measured
value
Net
measured
value
Measuring
bridge
mpli-
fier
DC
FMD
ASF
Filter
ICR
Measur.
rate
SZA
SFA
Factory
scaling
LDW
NOV
LWT
User scaling,
Linearization
ZTR, ZSE
LIC
TAV, TAS
Net
TAR
Fig. 4.2.1: Signal flow diagram
After amplification and AD conversion, the signal is filtered by adjustable digital filters (command ASF). The
factory characteristic is determined with the aid of the commands SZA and SFA.
The measuring signal bandwidth (digital filter) is set with the command ASF. The measuring rate (number of
measurements per time unit) can be changed depending upon the filter bandwidth with the command ICR.
The user can set his own characteristic (commands LDW, LWT, NOV) without changing the factory calibration
(SZA/SFA). Furthermore, gross/net switch-over is available (command TAS). Using the command ZSE an
automatic switch-on zero setting can be activated. An automatic zero tracking function (ZTR) is also available.
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. An automatic measured value output can also be selected via the
command COF.
Two types of digital filters, which are switched over using the command FMD, are implemented in the AED. At
FMD0 filters lower than 1 Hz bandwidth are also available. In the filter mode FMD1, filters with fast transient
recovery are activated with high damping in the stop band. You will find detailed information in the chapter
‘Individual descriptions of the commands’.
ba_aed104_8_e.doc
Page 8
AD104-R2, AD104-R57 / 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
This special measuring mode is activated by means of the command TRC. The measured value determined is
output by means of the command MAV?. For this measuring mode, filter mode FMD1 should be set (fast
settling time).
The measuring speed depends on the preset stop time and the measuring period. The stop time should match
the fast transient recovery of the filter used (ASF).
Triggering
Weig ht
Trigger level
TRC- comm.
Parameter 3
if P2=0
(TRC-Command: Parameter 1=1)
Tr an s. Re cov.
time
TRC- command
Parameter 4
Measuring time
TRC- command
Parameter 5
Result in output memory
Time
Level triggering:
This measuring mode is suitable for weighing processes where the scale is relieved in between weighing
events.
The scale is in a no load condition. The material to be weighed will be placed on the scale, the trigger level is
exceeded, and stop time measurement starts. On expiry of this transient period, the actual weight will be
determined; and on expiry of this measuring period, the actual weight value will be stored in memory. The
weighing process can be restarted only once the weight value is again lower than the trigger level (place scale
in no load condition). In this measurement mode, weight determination does not need to be monitored by an
external computer at high speed. The output memory will contain an invalid value until a new measured value
has been created. After retrieving the contents of the measured value memory by means of the MAV?
command, this memory is reset to an invalid condition (invalid value < - 1600 000).
The periods (stop time and measurement period x 10ms at ICR0) and the trigger level can be freely set by
means of the command TRC. The trigger level will be on the user characteristic (NOV).
External trigger:
Both types support an external trigger instead of the limit value trigger. This trigger has a quiescent signal level
at 0V (=low) and uses the low/high edge to activate the measurement process.
The trigger flank starts the stop time measurement. On expiry of this transient period, the actual weight will be
determined over the measurement period, and the averaged actual weight value will be stored in memory. The
output memory will contain an invalid value until a new measured value has been created. After retrieving the
contents of the measured value memory by means of the MAV? command, this memory is reset to an invalid
condition. The periods (stop time and measurement period x 10ms at ICR0) and the trigger level can be freely
set by means of the command TRC. A renewed trigger flank will restart the measurement process. The scale
does not need to be placed into a no load condition.
During a measuring (waiting time + measuring time) a trigger signal is unvalid (no re-triggering). Within this
mode the parameter trigger level (P3) has no function.
ba_aed104_8_e.doc
Page 9
8 / 75
5 Electrical connection
(yellow)
Fig. 5:Connection schema of the PCB and shielding concept of a measuring chain
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 typeAD104-R5AD104-R2
Pancon ConnectorSignals RS-485Signals RS-232
1. redUBUB
2. whiteGNDGND
3. blueTARxD
4. greenRATRG
5. blackTBTXD
6. greyRBGND
7. yellowTRG-
8.--
- do not connect!
The measuring chain of HBM with AD104-R5 has a 8 wire shielded cable.
The measuring chain of HBM with AD104-R2 has a 6 wire shield
Explanation:UB Supply voltage (+ 5.6V...15V)
GNDGround
RA4-wire connection AED receiver, line A (=RX-)
RB4-wire connection AED receiver, line B (=RX+)
TA4-wire connection AED transmitter, line A (=TX-)
TB4-wire connection AED transmitter, line B (=TX+)
RxDReceiver data (UART, RS-232)
TxDTransmit data (UART, RS-232)
TRGExternal trigger signal
ed cable.
ba_aed104_8_e.doc
Page 10
AD104-R2, AD104-R59 / 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.
Mount the load cell onto a metallic carrier which is connected to the ground connection of the device, or shield
AD104 with the load cell and load introduction parts as a complete unit. The cable shield needs to be connected
with the measuring body of the loadcell and the housing of the AED.
The housing of the AED or the load cell has to be connected via the solder pad to the PCB (see Fig. 5,
‘connection to housing’). The AED unit itself is provided with a protective filter for all interfaces and supply lines.
The connection between load cell and electronics should be as short as possible. Depending on the bridge
resistance of the transducer used, line length, and line cross-section of the transducer connection cable, voltage
drops arise that lead to a reduction in the bridge supply voltage. Additionally, the voltage drop on the connection
cable is also temperature-dependent ( copper resistance ). The transducer output signal also changes in
proportion to the bridge supply voltage.
With the 4-wire circuit used, there still result measurement errors in conditions with changing temperatures,
caused by the temperature-dependent cable resistance and possibly also by transitory resistances in the
connectors.
When setting up a measurement chain (electronics outside the transducer) it should also be noted that the
AD104 uses a rectangular carrier frequency for bridge supply. Therefore, the cable length between AD104 and
the transducer is limited to 100 cm max. For high precision applications(>= 3000d), the length should be
reduced to 30cm (shielded cable, shield connection on the measuring body and on the shielded housing for
AD104).
ba_aed104_8_e.doc
Page 11
10 / 75
5.1 Transducer Connection
1-Ub
2-GND
3
4
5
6
Fig. 5.1: Transducer connection with the PCB (n.c. - not connected)
AD104
n.c.
U
IN4
IN1
U
n.c.
2
Br
4
3
Br
The AED amplifier is allready mounted with the transducer. A changing of the modules (AED or transducer) is
only allowed in HBM factory.
For the transducer connection a 4 core shielded cable has to be used.
Connection Pads for a full bridge:
Pad
Discription
UBr2bridge excitation 2
IN4amplifier input 4
IN1amplifier input 1
UBr3bridge excitation 3
Notes on cable length:
The connection between load cell and electronics should be as short as possible. Depending on the bridge
resistance of the transducer used, line length, and line cross-section of the transducer connection cable, voltage
drops arise that lead to a reduction in the bridge supply voltage. Additionally, the voltage drop on the connection
cable is also temperature-dependent ( copper resistance ). The transducer output signal also changes in
proportion to the bridge supply voltage.
With the 4-wire circuit used, there still result measurement errors in conditions with changing temperatures,
caused by the temperature-dependent cable resistance and possibly also by transitory resistances in the
connectors.
When setting up a measurement chain (electronics outside the transducer) it should also be noted that the
AD104 uses a rectangular carrier frequency for bridge supply. Therefore, the cable length between AD104 and
the transducer is limited to 100 cm max. For high precision applications(>= 3000d), the length should be
reduced to 30cm (shielded cable, shield connection on the measuring body and on the shielded housing for
AD104).
5.2 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
transmission of one character:
Start bit:1
Number of data bits:8
Parity bit:none / even
Stop bit:1
ba_aed104_8_e.doc
Page 12
AD104-R2, AD104-R511 / 75
Y
Y
Y
Y
Y
Y
Y
The connection is made through a six-core cable. The maximum cable length is 15 m. No bus mode is possible
in this type of communications (no bus driver).
The connection scheme for the asynchronous interface results as follows:
AD104-R2Master
Receiving lineRxDTxDtransmission line
Transmission lineTxDRxDreceiver line
AD104 – R2
Operating voltageU
B
supply voltage (5.6V..15VDC)
GroundGNDGNDGround
Ext. triggerTRG external trigger signal
The levels on the RxD and TxD lines are RS-232 levels, whereby the quiescent-signal level is <-3V (Low).
External trigger signal:
Quiscent-signal level:TRG= 0V (Low)
Active measuring:TRG= Low-High edge (0V...5V)
If the external trigger is not used, the input remains open.
5.3 Serial Interface RS485 (Bus mode with AD104-R5)
Up to 32 AEDs can be connected to a common bus line through the RS-485 interface. The baud rate can be
selected between 1200 and 38400 baud in this version.
The following specification applies for the transmission of one character:
Start bit:1
Number of data bits:8
Parity bit:none / even
ba_aed104_8_e.doc
Page 13
12 / 75
Y
Y
Y
Y
Y
Y
Y
Stop bit:^1
6 -Ub
5 -GND
12-TRG
10-TA
8 -RA
9 -TB
7 -RB
Fig. 5.3.1: AD104-R5 for 4-wire bus mode (PCB connections)
1. Long lcable lengths (up to 500m) can be achieved with the aid of the RS485 bus drivers.
2. The bus mode of the AED is designed as master-slave configuration, whereby the AED implements a
slave. Thus all activities of the AED are initiated by the control computer. Each AED receives its own
communication address (00 ... 31) and can be activated through a select command Sii (ii= 00...31). A
broadcast command (S98) is implemented for certain cases of communication. This means that after such
a command, all AED execute the command of the master, but no AED answers. All commands of this
communication as well as corresponding examples are described in Chapter 7.
Figure 5.3.2 shows the connection of the bus to the RS232/RS485 Converter
(HBM Ordering-No. 1-SC232/422A).
AD104 – R5
Figure 5.3.3 shows the RS485 bus connection.
The terminating resistors of 500 ohms drawn in Figure 5.3.3 for the electrical function of the bus system are
important. These resistors protect the quiescent-signal levels for the receivers on the bus line. The master line
may be terminated with these resistors in this case only at the line ends. The master and the AED with the
address 31 should contain the terminating resistors for the local distribution of the bus connections shown in the
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:TRG= 0V (Low)
Active measuring:TRG= Low-High edge (0V...5V)
If the external trigger is not used, the input remains open.
ba_aed104_8_e.doc
Page 14
AD104-R2, AD104-R513 / 75
)
)
)
Fig: 5.3.2: Wiring of an AD104-R5 with an interface converter RS232/RS485
Line
Master line
4 - wire
termination
+5V
500
Ω
TB
TA
500
Ω
+5V
500
Ω
RB
RA
500
Ω
TB
TARB RA
RT
RxDTxD on/off
TBTARB RA
RT
TxD on/off
RxD
Computer=MasterAED = Slave 00Slave 31 . . .
TBTARB RA
RT
TxD on/off
RxD
Line
termination
+5V
500
Ω
500
Ω
+5V
500
Ω
500
Ω
Fig: 5.3.3: Bus structure 4-wire bus (RS485)
The bus wiring is not to be allowed in star configuration. The leads of the slaves are not to be increased of 3m.
The best solution here: choin the main leads directly to the slaves.
The quiescent -signal level on the RS-485 master line results in the 4-wire mode at:
TB - TA > 0.35 V (quiescent -signal level due to the AED terminating resistors)
RB - RA > 0.35 V (quiescent -signal level due to the master terminating resistors)
Since the RS-485 is a differential bus interface, the quiescent-signal levels are also stated as a differential
voltage between the lines (and not related to ground). It must further be noted that this interface tolerates a
maximum common-mode range of +/-7V. If it is necessary, equipotential bonding should be established
between the bus subscribers through a separate line. The cable shield should not be used for this equipotential
bonding.
The shield of the master line is connected with the shield of the AED housing (not with the supply ground).
• Command for legal for trade applications (LFT, TCR, CRC)
6.1 Command format
General notes:
The commands can be input in uppercase or lowercase type.
Each command has to be terminated by a termination character. This can be optionally a line feed (LF) or a
semicolon (;). If only a termination character is sent to the AED, then the input buffer of the AED is cleared.
The statements made in round brackets () in the commands are urgently necessary and must be entered.
Parameters in pointed brackets <> are optional and can also be dispensed with. The brackets themselves are
not entered. Text must be included in “ “.
With numerical entries, leading zeros are suppressed. Numbers can be entered either directly or in exponent
format, e.g. +12000lf or +
exponent must not be more than 10 characters in length.
Answers consist of ASCII characters and are terminated with CRLF. The binary character output is an
exception (see command MSV).
Each command consists of the command initials, the parameter(s) and the termination character.
1,2e4lf. The exponent e can be one- or two-digit, but a number including sign and
Command initialsParametersEnd character
InputABCX,YLF or ;
OutputABC?X,YLF or ;
Example: MSV?20
20 measured values are output after this command.
All ASCII characters <=- 20
except for 11
(ctrl q) and 13H (ctrl s).
H
(blank) may stand between command initials, parameters and end character,
H
H: Hexadecimal.
ba_aed104_8_e.doc
Page 16
AD104-R2, AD104-R515 / 75
6.2 Answers to commands
Answers to inputs (exception COF64...COF79):
AnswerEnd character
Correct input0 (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.
An error flag is received through the command ESR.
Answers to output commands:
Correct commandParameter1, ... Parameter n, or measured values CRLF
Faulty command? CRLF (error flag via command ESR )
6.3 Output types for the measured values
You can select two types of output and a data delimiter (command TEX).
Output type 1:
The measured values are output arranged beneath one another.
Measured value1 CRLF
Measured value2 CRLF
. . . . . . . .
Measured value n CRLF
Output type 2:
The measured values are output arranged next to one another.
Measured value1 (data delimiter) Measured value2 (data delimiter) ... Measured value n CRLF
The measured value query works with fixed output lengths
(see command COF):
Format commandAED answerNumber of bytes
COF0; msv?;yyyy CR LF (y- binary)6
COF2; msv?;yy CR LF (y- binary)4
COF3; msv?;xxxxxxxx CR LF (x- ASCII)10
COF9; msv?;xxxxxxxx,xx,xxx CR LF (x- ASCII)17
There is always a CRLF or the data delimiter defined by the command TEX as end identification of the
measured value output. However these characters must not be filtered out as end identification in the binary
output, since these characters can also be contained in the binary code of the measured value. Therefore only
counting the bytes helps in the binary output. The corresponding places after CR or LF or the data delimiter can
then be enquired for subsequent syntax testing.
Password protection:
The password protection of the AED comprises important settings for the characteristic of the scale
and its identification. Commands with password protection are activated only after the password is
entered. These commands are answered with “?“ without entry of the password through the command
SPW.
ba_aed104_8_e.doc
Page 17
16 / 75
6.4 Command overview
CommandPWTDD 1FunctionPage
ADR
ASF
BDR
COF
CRC
CSM
DPW
ENU
ESR
FMD
ICR
IDN
LDW
LFT
LIC
LWT
MAV
MSV
NOV
RES
S...
SFA
SPW
STP
STR
SZA
TAR
TAS
TAV
TDD1/2
TDD0
TEX
TCR
TRC
ZSE
ZTR
xZero point, user characteristic32
xLinearization57
xNominal value, user characteristic33
xxNominal value scaling34
xInternal nominal value, factory characteristic30
xStop measured value output29
xFactory setting52
xAdress18
xDigital filter40
xBaud rate19
xOutput format in MSV?20
external checksum for legal for trade applic.66
xchecksum in MSV status24
Define password47
Dimensional unit50
Status62
xFilter mode42
xMeasuring rate43
Identification of transducer type and serial number51
xLegal for trade applications64
Measured value, trigger function58
Measured value output36
Reset49
Select of AED in bus operation26
Password entry48
Messwertausgabe stoppen39
xSwitch bus termination resistors on/off63
Tare mode44
xGross/net switch-over46
xTare value45
Store setting in EEPROM, read EEPROM52
xData delimiter for measured value output25
Trade counter65
xTrigger setting59
xInitial zero setting55
xAutomatic zero tracking56
TDD1 – stored with TDD1 command
PW – protected by password with commands DPW/SPW
The following commands result in no change to the AED setting:
ACL, ASS, CAL, COR, GRU (compatibility with other AED versions).
The asynchronous interface of the AED is a serial interface, i.e. the data are transmitted bit for bit after one
another and asynchronously. Asynchronous means that the transmission works without a clock signal.
A start bit is set before each data byte. The bits of the word, a parity bit for the transmission protocol (optional)
and a stop bit then follow.
1 BitWord length = 8 data bits1 Bit1 Bit
StartParity Stop
1 character
Fig. 7.1.1: Composition of a character
Since the data are transmitted after one another, the transmission speed must agree with the reception speed.
The number of bits per second is called baud rate.
The exact baud rate of the receiver is synchronized with the start bit for each transmitted character. The data
bits which all have the same length then follow. After the stop bit is reached, the receiver goes into a ‘waiting
position’ until it is reactivated by the next start bit.
The number of characters per measured value depends upon the selected output format (COF command) and
can be 2 to 17 characters (see also COF command).
The interface must be configured to build up the communication between AED and computer. The following
commands are provided in the AED for this : ADR; BDR; COF; TEX; S..;
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. This makes it possible to change device addresses in the case of several
AEDs with the same address (initialization of the bus mode).
The serial number must be stated in “ “ as in the command IDN.
(device address)
Entry of the device address as decimal number 0...31.
Example:ADR25,"007" CRLF
Query:ADR?; 25CRLF (Example)
Effect:Output of the device address as decimal number 0...31
Entry of the required baud rate as decimal number.
Possible baud rates are:
1200, 2400, 4800, 9600, 19200, 38400 Baud
Input or the requested parity:
0= without parity bit
1= with even parity bit
(Baud rate)
Important Note
The answer is given in the new setting (baud rate, parity). Communication is no longer possible initially after a
changed baud rate. The computer must also be changed over to the newly selected baud rate setting.So that
the baud rate remains changed permanently, it must be stored in the EEPROM with the command TDD1. This
procedure serves also as safeguard that no baud rates can be set in the AED which the remote station does not
support. If the newly entered baud rate is not stored, the AED reports after a reset or power On again in the
previously valid baud rate.
Query:BDR?;
Effect:Output of the set baud rate, Identification for parity bit
Example: BDR?; 9600,1 CRLF corresponds to 9600 baud, even parity
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).
Output at max. capacityNOV> 0NOV= 0
2 Byte binaryNOV value20000
4 Byte binaryNOV value5120000
ASCIINOV value1000000
(Ausgabeformat für die Messwertausgabe)
For the 2-bytes binary output, the NOV value must be < 30000, otherwise the measured value is output with
overflow or underflow (7fff H or 8000H). With NOV30000, the overload range is only still approx. 2700 digits.
Query:COF?;
Effect:Output of the selected output format as three-digit decimal number from 0...255
ba_aed104_8_e.doc
Page 22
AD104-R2, AD104-R521 / 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. In ASCII output, the
device address and/or measured value status information can be output in addition to the measured value.
Binary format:
ParameterLengthSequence of the measured value output
COF0
COF2
COF4
COF6
COF8
COF12
Measured value4 ByteMSB before LSBLSB=0 (no Status)
Measured value2 ByteMSB/LSB
Measured value4 ByteLSB before MSBLSB=0 (no Status)
Measured value2 ByteLSB/MSB
Measured value4 ByteMSB before LSBLSB=Status/CRC
Measured value4 ByteLSB before MSBLSB=Status/CRC
ASCII format:
In ASCII output, a freely selectable data delimiter is set between the parameters (see command TEX). crlf or the
selected data delimiter follows after the last parameter.
T = Data delimiter() = Number of characters
1st ParameterT2nd ParameterT3rd ParameterEnd character
COF1
COF3
COF5
COF7
COF9
COF11
Important Note
In bus mode, the output format must not be set to COF9.
Meas. value (8)T(1)Adress (2)—CRLF or T
Meas. value (8)——CRLF or T
identical with COF1
identical with COF3
Meas. value (8)T(1)Adress (2)T(1)Status(3)CRLF or T
Meas. value (8)T(1)——Status(3)CRLF or T
ba_aed104_8_e.doc
Page 23
22 / 75
Bus mode: COF16 to COF 28
If the decimal number 16 is added to the above stated output formats COF0...COF12, then the AED is switched
into the bus output mode. A measured value is output. The AED switches over to the partially active mode (each
new measured value is stored in the output buffer but not output). The measured value is output on the bus with
the select command S..;.
Example:2 AED’s in bus operation
CommandEffect
S98;
COF18;
ICR0;
MSV?0;
S01;
S02;
All AED are partially active (listening but not transmission)
Output in 2 byte binary output
Maximum measuring rate
Continuous measurement in AED
Read measured value from 1st AED, immediate output of current measured value, without
measuring time
Read measured value from 2nd AED, when response from first AED has been received
completely. Immediate output of current measured value, without measuring time
S01;
S02;
......
STP;
S01;
Binary measured value output without CRLF: COF32 to COF44
If the decimal number 32 is added to the above stated binary output formats COF0...COF12, the AED is
switched into the following output mode for the measured values.
In the binary measured value output, the end character CR LF is left out, so that only 2 or 4 characters per
measured value are output. This measure increases the output speed of the measured values.
FormatLength Sequence of the measured value output
COF32
COF34
COF36
COF38
COF40
COF44
Read measured value from 1st AED, when response from second AED has been received
completely
Read measured value from 1st AED, when response from second AED has been received
completely
Stop measured value output
Poss. new setting for 1st AED
4 ByteMSB before LSBLSB=0 (no status)
2 ByteMSB before LSB
4 ByteLSB before MSBLSB=0 (no status)
2 ByteLSB before MSB
4 ByteMSB before LSBLSB=status/CRC
4 ByteLSB before MSBLSB=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. ASF?). The command MSV?0; (continuous measured value transmission) may no longer be used in this
case since otherwise it is no longer possible to stop this output (apart from supply voltage off).
ba_aed104_8_e.doc
Page 24
AD104-R2, AD104-R523 / 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. The continuous output can be switched off with the command STP.
The setting is made with the following entries (COF≥128):
1. ... make necessary settings
2. ICRi;set measuring rate of the AED
3. COFx+128;the AED transmits measured values continuously,
time interval corresponding to ICR, x=0...12
The AED starts with the measured value output without separate request also after switching on the voltage.
These output formats have another special feature (depending on how triggering is set, command TRC):
Trigger deactivated:continuous automatic measured value output
Trigger activated: automatic measured value output only if a new measured value has been
created after triggering (MAV? output value).
Output speed of measured values:
The AD104 can output a maximum of 100 measured values per second. This data rate also depends upon the
baud rate (BDR), the data format of the measured value output and the set averaging (ICR).
Table 1 shows this relationship in the continuous measured value output (MSV?0):
Measured values/s1005025126321
(ICR)
Time in ms102040801603305001000
Output format (COF)necessary baud rates forMSV0; (BDR)
Binary format
2 characters at COF2/COF6
Binary format
4 characters at COF0/COF4
ASCII format
Meas. value 10 characters at COF3
ASCII format
Meas. value + Adress
13 characters at COF1
ASCII format
Meas. value + Adress + status
17 characters at COF9
24001200120012001200120012001200
48002400120012001200120012001200
192009600480024001200120012001200
192009600480024001200120012001200
3840019200960048002400120012001200
Note for the evaluation of the binary measured values:
The binary codes for CR and LF can occur inside the bytes representing the measured value in the measured
value output in binary format. Therefore the contents of the measured value output must not be tested for the
characters CR/LF in order possibly to check the end of the measured value transmission. Rather the number of
characters which are received should be registered for the binary output. The control characters CR/LF are also
appended to the measured value in the binary output (sole exception: MSV?0;).
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).
If CSM=1 in stead of the status a checksum will be transmitted in the binary output format COF8 and COF12
(+i∗16, i=0,1...7). The checksum is a EXOR over the 3 bytes of the measured value.
The wanted data delimiter is input in decimal form as ASCII character (e.g. comma = 2C
TEX44; H: Hexadecimal, D: Decimal). Any ASCII character from 0...127
delimiter. The data delimiter is set between the parameters in the measured value output (see also commands
MSV and COF).
Example: TEX44;
Measuring value output: -0123456, 12, 000, -0123457, 12, 000, etc. (at COF9)
If the selected ASCII character is entered with an offset of 128
(above example: comma = 44
then the parameters of a measured value are separated by comma as before, but crlf is output at the end of the
measured value.
(Data delimiter between measured values)
(0...7FH) can be taken as data
D
+ 128 D = 172 D Æ entry TEX172;),
D
= 44 D Æ input
H
Example: TEX172;
This results in:-123456,12,000
-123457,12,000 etc.
Query:TEX?;
Effect:The set data delimiter is output as 3-digit decimal number (0...255).
ba_aed104_8_e.doc
Page 27
26 / 75
Select
S...
Range:0...31, 98
Factory setting:—
Response time:<15ms
Parameters:1
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. Several AEDs connected together to form a BUS can be addressed
individually or jointly with it. An AED is always active after reset or power On (except for COF>127) and must
therefore be addressed through the select command. A maximum of 32 addresses (00...31) can be allocated
through the command ADR.
Important Note
(Selection of AEDs in bus mode)
The command S.. alone generates no answer. The selected AED answers only together with a further
command. Except in the bus mode: COF16...COF28 (after MSV?0;).
Example:S00;
Command 1
Command 2...n
S01;
Command 1 etc.
The command S98; is provided for special functions (broadcast). In this case all AEDs connected to the bus are
addressed. All AEDs execute the following commands. No AED answers. This occurs as long as only one AED
is addressed through S00 ... S31 again.
A measured value query in the bus can be performed as follows:
1. All AED selected via command S98;.
2. Measured value query MSV?;, all AED form the measured value and places value after the integration
time (ICR) in the output buffer, but no AED transmits
3. Select AED with address 1 with command S01;. The AED with adress 01 outputs the measured value
4. Select AED with address 1 with command S02;. The AED with adress 02 outputs the measured value
etc.
ba_aed104_8_e.doc
Page 28
AD104-R2, AD104-R527 / 75
7.2 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
• Scaling of the measured values:NOV
Setting the characteristic
As delivered, the AED works initially with a factory characteristic SZA / SFA (range 0...2 mV/V). This
characteristic can be used for calibrating the the transducer characteristic. This characteristic should not be
changed. It has to be print ore stored to keep the data.
The user can adapt the AED characteristic to his requirements with the command pair LDW, LWT
(application or scale characteristic).
In the following, the balance of a measuring chain will be described with the balancing of a scale. This example
can also be used for other kinds of transducers.
Important Note
The characteristic commands LDW, LWT must be entered or executed in the sequence LDW , then LWT... The
input data are not computed until both parameters have been entered or measured in pairs The scaling must be
switched off when determining the characteristic (NOV0).
After the values for zeropoint and nominal value of the user characteristic have been measured or entered, the
range LDW Æ LWT (at NOV=0) is mapped to the following numerical ranges:
Output at nom. load (COF)NOV=0NOV>0
2 Byte binary20000NOV value
4 Byte binary5120000NOV value
ASCII1000000NOV value
For the 2-bytes binary output, the NOV value must be < 30000, otherwise the measured value is output with
overflow or underflow (7fff H or 8000H ; H: Hexadecimal). With NOV30000, the overload range is only approx.
2700 digits.
ba_aed104_8_e.doc
Page 29
28 / 75
A
A
A
Set user characteristic with LDW, LWT
ction
Enter password
Load = 0, scale
Load = Nominal value, scale
Digit
1.000.000
COF3
700.000
100.000
1.000.000
COF3
I
0,22
pplication measuring range
Digit
Command string
SPW"AED";
LDW;
LWT;
II
1,4
Factory characteristic
Load
in mV
User characteristic
II
I
0,2
pplication measuring range
1,4
Fig. 7.7-1:Setting the user characteristic
Load
in mV
ba_aed104_8_e.doc
Page 30
AD104-R2, AD104-R529 / 75
Sensor Zero Adjust
SZA
Range:0...1,599999e6
Factory setting:adjusted on unloaded transducer
Response time:<15ms...4.2s
Parameters:1
Password protection:yes
Parameter protect.:after input of SFA
Input:SZA; (Response time: <4.2s)
Effect:Using this command, the transducer electronic system measures an input signal
Input:SZA<zero value>; (Response time: <15ms)
(Factory characteristic – zero point)
between ±2.5mV/V, stores the measured value as the zero point of the factory
characteristic, but only starts the calculation of the new characteristic after
entering the parameter for SFA.
Effect:Instead of causing the AED to measure the applied signal, the value is entered
here. The entered value is stored, but accounted for only after entry of the
parameter for SFA as the zero point of the factory characteristic.
Query:SZA?; (Response time <15ms)
Effect:The value used in the AED for calculating the factory characteristic for the zero
point is output in ±7 digits (e.g. -0000345crlf).
Important Note
Entry the command SZA and SFA ore execute. The data will be calculated if both parameters were given in
pairs ore been measured.
ba_aed104_8_e.doc
Page 31
30 / 75
Sensor Fullscale Adjust
SFA
Range:0...1,599999e6
Factory setting:adjusted to nominal load of transducer
Response time:<15ms...4.2s
Parameters:1 (0)
Password protection:yes
Data protect.:with input
Input:SFA; (Response time: <4,2s)
(Factory characteristic – fullscale value)
Effect:Using this command, the transducer electronic system measures an input signal
Effect:Instead of causing the AED to measure the applied signal, here the value is
Query:SFA?; (Response time <15ms)
Effect:The value used in the AED for calculating the factory characteristic for the zero
Important Note
Entry the command SZA and SFA ore execute. The data will be calculated if both parameters were given in
pairs ore been measured.
Procedure for entering the factory characteristic:
1. Enter password by means of command SPW
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.
entered directly as the fullscale value of the factory characteristic, stored and
used together with the previously entered value for SZA.
point is output in ±7 digits (e.g. -0915345CRLF).
2. Switch off the scaling withNOV 0; output (scaling off)
3. Deactivate user characteristic by means of LDW0; and LWT1000000;
4. Adjust the ASF filter such that a maximally quiescent display is effected
5. Transducer (not scale) without load, wait until standstill
6.
Determine measured value with MSV?; , note value1 for SZA
7. Load transducer (not scale) with nominal load, wait until standstill
8. Determine measured value with MSV?; , note value2 for SFA
9. Enter new characteristic with : SZA value1; subsequently SFA value2
10. Redetermine the user characteristic LDW/LWT
The points 3...8 are not applicable if the factory characteristic is entered anew using already known parameters.
ba_aed104_8_e.doc
Page 32
AD104-R2, AD104-R531 / 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.
The user-specific settings LDW/LWT result as an ASCII output within the range 0... 1000000. This characteristic
is converted into the NOV by means of the parameters
Example:NOV 0;User setting 0...1000000 (ASCII signal
with 0 = unloaded scale, 1000000 at nominal load
NOV 4000; User setting 0...4000
With output 0 at load =0 or 4000 at nominal load
Attention:
In an adjustment with SZA and SFA, the parameters for LDW and LWT are reset (default: LDW=0 and
LWT=1000000) .There is the option to determine the characteristic with SZA and SFA at any time by entering
LDW0 and LWT1000000. Before setting your new characteristic, enter LDW0,LWT1e6, and NOV0.
Take the zero point of user characteristic with LDW
Input:LDW; (Response time: <4.2s)
1. The scale is unloaded.
Take the zero point with LDW; command.
Using this command, the transducer electronic system measures an input signal between ±2.5mV/V ( i.e.
=measured value for scale in no load condition), stores the measured value, but only starts the calculation
of the new user characteristic after entering the parameter for LWT.
(Zero point of the user characteristic)
Individual input of the zero point of the user characteristic via LDW
Input:LDW<Zero point> (Response time: <15ms)
1. Insert the value for the zero point of the scale via LDW<Zero point> command. The entered value is
stored, but accounted for only after entry of the parameter for LWT.
Query:LDW?; (Response time<15ms)
Effect:Output in ±7 digits (e.g. -0915345crlf) of the zero point value. The value is not converted via
Take the full scale value of user characteristic with LWT command
Input:LWT; (Response time <4,2s):
Individual input of the full scale value of the user characteristic via LWT:
Input:LWT<Nominal value>; (Reaktionszeit<1,5s):
(nominal value of the user characteristic)
Using this command, the transducer electronic system measures an input signal
between ±2.5mV/V ( i.e.= measured value at scale nominal load), stores this
measured value as the nominal value and calculates the new user characteristic
together with the previously entered value for LDW. The values for SZA and
SFA are not changed.
Instead of causing the AED to measure the applied signal, the value for the end value of the
user characteristic is entered here directly and, in combination with the previously entered
value for LWT, used in calculating the user characteristic.
Query:LWT?; (Response time <15ms)
Effect:Output the the value for the user characteristic in ±7 digits (e.g. -0000345CRLF) of the
nominal value or the loaded transducer (nominal load). The value is not converted via NOV.
Important Note
An input or measurement of the factory characteristic with SZA/SFA resets the user characteristic to the default
values LDW=0, LWT=1000000.
Procedure for entering the user characteristic:
1.
Enter password by means of command SPW.
2. NOV 0; output (scaling off).
3. Adjust the ASF filter such that a maximally quiescent display is effected
Effect:The value stored in the AED is output with 7 digits complete with sign ( e.g.
(Resolution of the user characteristic)
0001000CRLF 0000345crlf ).
The NOV value is used for scaling the measured value. At NOV=0 this output scaling is deactivated. The ASCII
measured value output is scaled to 1000000 at the factory. If a measured value output of 2000 digit at nominal
load is required, then use this command to set the nominal value NOV2000. The input parameters or tara
values are not changed by this scaling.
Measured value output format at nominal
load
2 Byte binary20000NOV value
4 Byte binary5120000NOV value
ASCII1000000NOV value
With the 2 byte binary type of output, the NOV value must be < 30000. Otherwise the measured value will be
output complete with overflow or underflow ( 7fffH or 8000H ; H: Hexadecimal). With NOV30000, the overload
range is only approx. 2700 digits.
NOV=0NOV>0
ba_aed104_8_e.doc
Page 36
AD104-R2, AD104-R535 / 75
7.3 Measuring
All commands acting directly on a measured value belong to measuring, these are:
• MSVMeasured value output
• STPStop measured value output
• ASFFilter setting
• FMDFilter mode
• ICRMeasuring rate
• TARTare mode
• TAVSet tare memory
• TASGross/net switch-over
ba_aed104_8_e.doc
Page 37
36 / 75
Measured Signal Value
MSV
Range:Integer±32767
Factory setting:ASCII
Response time:< 2
Parameters:1
Password protection:none
Parameter protect.:Output measured values
(Output measured values)
Long Integer±8388607
ASCII±1000000
ICR
∗ 10ms + 5ms
with ICR = Measuring rate
Query:MSV?(0);(not to be used in 2-wire connection)
Effect:Outputs measured values constantly until the output is stopped with the
command STP
Query:MSV?(1...65535);
Effect:Outputs the stated number of measured values.
(The measured values are output without the control character CR/LF, CR/LF is appended only to the last
output measured value).
The measured value is output in ASCII or binary format (see command COF).
ba_aed104_8_e.doc
Page 38
AD104-R2, AD104-R537 / 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.
The output length for the command MSV?; depends in this case upon the output format (see COF command):
Output formatAED answerNo. of characters
Binary 4 Byteyyyy CRLF(y – binär)6
Binary 2 Byteyy CRLF(y – binär)4
ASCII (COF3;)xxxxxxxx CRLF (x - ASCII)10
ASCII (COF9;)xxxxxxxx,xx,xxx CR LF (x - ASCII)17
CR: Carriage Return, LF: Line Feed
Delimiter can be set (command TEX)
Selected delimiter
-1001500,25,000,
Meas. value status optional
2 Byte adress (00...31) optional
8 Byte measuring value (pos. sign = Blank)
Example: Definition of a measuring value in ASCII format (COF9)
ba_aed104_8_e.doc
Page 39
38 / 75
The output scaling depends upon the parameter of the command NOV.
Output format of the measuring value at
nominal load
2 Byte binary20000NOV value
4 Byte binary5120000NOV value
ASCII1000000NOV value
With the 2-byte binary output, the NOV value must be < 30000, otherwise the measured value is output with
overflow or underflow ( 7fffH or 8000H ; H: Hexadecimal). With NOV30000, the overdriving reserve is only still
approx. 2700 digits.
The response time for the measured value query is determined by the integration time (command ICR):
Filter settings with FMD0 (Querry: MSV?;)
ICROutput rate Mv/sResponse time [ms], approx. with MSV?;
010010
15020
22540
31280
46165
53333
62500
711000
NOV=0NOV>0
A predefined number P1 of measured values can be output via a command MSV?P1;. The reaction time lies
between the output of two measured values. The end identification (CR LF) is output only for the last measured
value. The total time for the acquisition of P1 measured values is calculated as:
Measuring time [ms] = P1
with ICR = Measuring rate
There is a continuous output of measured values with MSV?0;. This output can be stopped only through the
commands STP, RES or voltage switch-off. No other parameters can be changed during the continuous output.
In the 4-byte binary output or in the ASCII output, the measured value status can be transmitted with the
measured value (see commands COF).
Error messages in the measured value status
Contents of the status byte in
the measured value output
Bit 0 = 1, Nett-Overflow
Bit 1 = 1, Gross-Overflow
Bit 2 = 1, ADU-Overflow
Bit 3 1= StandstillMeasuring values are in the range of still standing (±1d/s).
Bit 7, 6 = Measured values not coherent
ICR
∗
2
∗ 10ms + 5ms,
Possible cause
Tare value too large
Scaling too sensitive
ADU
overdrives (input >± 2.5mV/V)
Do not fit together. Measured values cannot be output
justified in the selected configuration
ba_aed104_8_e.doc
Page 40
AD104-R2, AD104-R539 / 75
Stop
STP
The measured value output is ended with this command. STP acts only on the command MSV.
A started measured value is output completely.
• Standard filter (FMD0) or a FIR filter (FMD=1); cut-off frequency selectable through ASF, fixed scan rate =
100 Hz
•Averaging for output rate reduction (selectable through ICR, scan rate <=100 Hz)
Thus the wanted filter effect and output rate can be set through the two commands (ASF, ICR). Further new
efficient digital filters have been implemented apart from the standard filter properties. The command FMD is
used for switching over between the two filter modes:
FMD 0;Standard filter
FMD 1;FIR filter (with fast settling time)
Filter characteristics of standard filters (FMD0):
ASFSettling time
in ms to 0.1%
11308-20
23203,5-34
37001,5-48
414000,7-60
529000,3-72
658000,2-82
7118000,1-90
8238000,05-96
Cut-off frequency [Hz]
at –3dB
max. attenuation [dB]
at 300Hz
The filter is switched off at ASF0. The cut-off frequency of the filter determines the settling time. The higher the
filter index, the better is the filter effect but the longer is the settling time on changing the weight. The filter
setting should be chosen as small as possible, whereby the measured value quiescence (standstill) must be
guaranteed at unchanging weight.
ba_aed104_8_e.doc
Page 42
AD104-R2, AD104-R541 / 75
The FIR-Filter (FMD1) can be described with the following Table:
ASFFilter
length
(Tabs)
1127.6172350...100>25
2146.6151950...80>20
3166.2141750...90>19
4165.512.51650...80>17.5
5184.7111445...80>15
62049.51245...85>12.5
7223.581040...85>10
82237840...80>8
The filter is switched off with ASF0.
The filters ASF6...ASF8 are limited additionally in bandwidth by averaging (ICR>4).
The transient recovery time of the filters is calculated from filter length (12...24) multiplied by the filter scan rate
of 10ms.
Settling time filter : 120ms ... 240ms
Mean value formation (ICR) does affect the total settling time of the measuring chain. The total settling time
depends additionally upon the mechanical construction of the transducer, the dead load of the scale and the
weight to be weighed.
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?;.
ICRx = Averaging over2
The following setting possibilities result from this:
(Output rate of measured values)
Entry of the measuring rate as decimal number from 0...7
x
measuring values , with x= 0...7
ICROutput rate Mv/s
0100
150
225
312
46
53
62
71
Observe the baud rate setting when setting the measured value rate. A high baud rate must be set at high
measured value rates to avoid measured data losses (see command COF).
Query:ICR?;
Effect:Output of the set measuring rate (0...7)
Important Note
At ICR1 there is an especially good suppression of a 50 Hz mains frequency which may possibly cause
interference.
ba_aed104_8_e.doc
Page 45
44 / 75
Tare
TAR
Range:—
Factory setting:—
Response time:< 2
Parameters:0
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" (TAS0). The current value is filed in the tare memory (see also command TAV) and subtracted
from the measured value and all following measured values.
Enter tare value 7digit with sign (max. ±8 388 607).
This value is set off with the LDW/LWT characteristic
scaled with the parameter NOV (0...NOV). The tare
memory is cleared (contents = 0) after characteristic
entries with the commands SZA, SFA or LDW, LWT.
Query:TAV?;
Effect:The contents of the tare memory are output.
The tare value is converted to the NOV value.
Output format
measured value
at nominal load
2 Byte binary±NOV value±150% NOV value±1000000±8 388 607
4 Byte binary±NOV value±150% NOV value±1000000±8 388 607
ASCII±NOV value±150% NOV value±1000000±1 599 999
Example:
NOV3000; (Scaling the scale)
TAS1;(Gross output switched on)
MSV?;1500CRLF(Measured value lies at 50% = nominal load of the scale)
TAR;(Taring and switching over to net output)
TAV?;1500CRLF(Enquire tare value)
MSV?;0CRLF(Net measured valuet)
TAS?;0CRLF(Net is switched on)
TAS1;0CRLF(Switching over to gross)
MSV?;3000CRLF (Measured value is at 100% = nominal load of the scale)
TAV?;1500CRLF(Enquire tare value, unchanged)
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.
(Gross/net switch-over)
Query:TAS?;
Effect:Current setting is output.
ba_aed104_8_e.doc
Page 48
AD104-R2, AD104-R547 / 75
7.4 Special functions
Define Password
DPW
Range:1...7 Letters or numbers (ASCII-characteristics
Factory setting:AED
Response time:<80ms
Parameters:1
Password protection:none
Parameter protect.:with input
Input:DPW("Password");
(Defining a password)
The user can enter an arbitrary max. 7digit password
with this command. All ASCII characters are
permissible. The entry must be in inverted commas (“...“).
ba_aed104_8_e.doc
Page 49
48 / 75
Set Password
SPW
Range:The password defined with DPW
Factory setting:AED
Response time:<15ms
Parameters:1
Password protection:none
Parameter protect.:no data to be protected
Input:SPW("Passwd");
Use of the protected commands is also disabled after RES or power On.
The following commands are protected by a password:
LDW, LWT, NOV, TDD0, SFA, SZA, LIC
(Write enable for all password-protected parameters)
The command SPW with the correctly entered
password authorizes data entry with all commands. The
command SPW with a wrong password disables the
data entry for protected commands. No password is
required for outputs. A distinction is made between
uppercase and lowercase letters in the password entry.
ba_aed104_8_e.doc
Page 50
AD104-R2, AD104-R549 / 75
Restart
RES
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. EEPROM values are taken over into the RAM.
(Device start)
ba_aed104_8_e.doc
Page 51
50 / 75
Engineering Unit
ENU
Range:4 letters or numbers (ASCII characters)
Factory setting:none
Response time:Output:<15ms
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. The entered
unit is not appended to the measured value. The characters
must be entered in quotation marks (“...“).
ba_aed104_8_e.doc
Page 52
AD104-R2, AD104-R551 / 75
Identification
IDN
(Identification of transducer type and serial number)
Range:Transducer type: 15 ASCII characters
Factory setting:depending on transducer
Response time:Output:<15ms
The serial number is entered by the factory and may have maximum 7 characters, it is entered like the type
designation. The serial number must not be changed. If less than the maximum allowed number of characters is
entered for the type designation or serial number, the entry is automatically filled up with blanks up to the
maximum allowed number. The manufacturer and the software version cannot be entered.
Query:IDN?;
Serial number:7 ASCII characters
Input:<180ms
Entry of the transducer type and of the serial number.
The type and serial number of the transducer are filed in
the EEPROM of the transducer electronic unit. The type
designation may have maximum 15 characters and it
must be entered as string in quotation marks ("..."). If
only the serial number has to be changed, a comma is
entered for the transducer type parameter, e.g. IDN,“0815“;
Effect:An identification string is output (33 characters).
Sequence: Manufacturer, transducer type, serial number, software version, e.g.
HBM, "AED104","1234", P20crlf
The number of the output characters is fixed. The transducer type is always
output with 15 characters, the serial number always with 7 characters.
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. TDD0 command
copies the actual factory settings into the working EEPROM memory.
Write protected EEPROM → actual working EEPROM → RAM
Query:TDD?
Effect:An output is not possible.
ba_aed104_8_e.doc
Page 54
AD104-R2, AD104-R553 / 75
Factory settingROM-Default
at TDD0
ADR31no changeAdress 31
ASF5ASF5Filter 1 Hz
BDR9600,1no change9600 Baud, even parity
COF9COF9Measured value output decimal format, address, error status
*CRC0no changeexternal checksum
CSM0CSM0Measured value status output (no checksum)
LICno changeLinearization switched off, all par.=0
*LFT0LFTLegal for trade switched off
*LDW0*LDW0User characteristic zero point
*LWT1000000*LWT1000000User characteristic fullscale value
*SFAxxx
*SZAxxx
TEX172TEX172Data delimiter, output in columns with crlf
TCRxxx 1)no changeTrade scale counter
1)no change Transducer fullscale value
1)no changeTransducer zero point
TAS1TAS1Gross measuring value
TAV0TAV0Delete tare memory
TRCTRCTrigger function off, all parameters =0
STR0STR0Bus terminating resistor switched off
ZSE0ZSE0Initial zero setting deactivated
ZTR0ZTR0Zero tracking deactivated
Remark
program version
1) Arbitrary value
The parameters marked with * are stored immediately on entry (EEPROM). TDD1; or TDD2; does not apply for
these parameters.
ba_aed104_8_e.doc
Page 55
54 / 75
Command:TDD(1);
Effect:The settings you have changed in the working memory are stored in the EEPROM
nonvolatile.
ADRAdress
ASFFilter settings
BDRBaud rate
COFConfiguration of the data output
CSMChecksum of the data output
FMDFilter mode
ICRMeasuring rate
STRTerminator resistances on/off
TASSwitch Gross/Net
TAVContent of the tare memory
TEXOutput data delimiter
TRCTrigger function
ZSEInitial zero setting
ZTRAutomatic zero tracking
Command:TDD(2);
Effect:Transfer of the parameters from the EEPROM into the RAM. The parameters listed under
TDD1 are copied from the EEPROM into the RAM. This occurs automatically after reset and
power On.
Parameter protection without battery
Storing all settings such as filter cut-off frequency, measuring rate,
Baud rate, ...
Function:After voltage switch-on, or following a RESET, or after the RES command, and
on expiry of a 2.5s delay period, intial zero setting will be executed within the
selected range at a standstill. If there is no standstill, or if the gross value is
outside the selected limits, there will be no zero setting. The internal zero
memory is always deleted before any automatic zero setting. If the gross value
at standstill is within the selected range, this gross value will be stored in the
zero memory. The zero memory cannot be read out. Scale standstill is fixed at
1d/second. The unit ‘d’ (digit) refers to the nominal value (NOV). If the nominal
value is deactivated (NOV=0) or NOV value > 10000d, then there will be a
standstill monitoring relative to a nominal value of 10000d.
If the NOV value is set to <100d, then there will be a standstill monitoring in
accordance with a nominal value of 100d.
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. The maximum adjustment
velocity is 1 d/second when the scale is at a standstill. Scale standstill is fixed at
1d/second. The unit ‘d’ (digit) refers to the nominal value (NOV). If the nominal
value is deactivated (NOV=0) or NOV value > 10000d, then there will be a
standstill monitoring relative to a nominal value of 10000d. If the NOV value is
set to <100d, then there will be a standstill monitoring in accordance with a
nominal value of 100d.
The characteristic determined by the command pair SZA, SFA is initially determined in 2 points. Using the AED,
the linearity fault of a scale can be compensated. The AD104 comprises a 3
Meas. value = LIC0 + LIC1
Using a polynomial of the 3rd order, it is also possible to correct a linearity fault with a turning point. Outside the
linearity interval, an increased occurrence of measurement faults is to be expected.
The coefficients LIC0,...,LIC3 are entered as ASCII numbers with the command LIC.
Important Note
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.
∗
x + LIC2 ∗ x² + LIC3 ∗ x³, with x = input value
rd
oder polynomial for linearization:
ba_aed104_8_e.doc
Page 59
58 / 75
Measured Alternative Data
MAV
Range:Integer±32767
Factory setting:ASCII
Response time:<25ms
Parameters:—
Password protection:none
Parameter protect.:no data to be protected
Query:MAV?;
Effect:If a new trigger measured value has been formed, this measured value will be
The measured value will be output in ASCII or binary format (see command COF).This command can be used
only when the trigger function is activated (see command TRC).
(output alternative measured value, see trigger function)
Long Integer±8388607
ASCII±1638399
output once. If no new measured value has been formed, the output value is the
overflow value (binary = 80000h or ASCII < -8388608). This value will be output
also after the measured value has been read out and a new query is received.
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.
Example 1 : ICR0, ASF3 Æ total settling time >= 160 ms Æ P4 = 16 (= 16 * 10 ms, if ICR=0)
Example 2 : ICR1, ASF3 Æ total settling time >= 160 ms Æ P4 = 8 (= 8 * 20 ms, if ICR=1)
The measuring time P5 provide an additional averaging. (P5=6 Æ averaging over 6 values).
The external trigger will only be released again when the output value has been formed (no re-trigger function).
Important Note
If the command COF (128..140) was used to select automatic output and the trigger function is activated, then
the AD104 will output the measured value once after triggering and subsequent measurement. Thus a
measured value query by means of the command MAV? will not be necessary. The connected computer only
needs to receive this measured value.
ba_aed104_8_e.doc
Page 62
AD104-R2, AD104-R561 / 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
1. set parameter of the AED (ASF,ICR,...)
2. activate external Trigger with command TRC1,1,0,20,5;.
3. Define the ouputformat of the meas. values with command COF128+i; . "i" depending on binary output/
ASCII-output, see command COF, no parameter setting possible,i after each Trigger event the result is
given out automatically (without MAV?; command)
4. Stop the automatical measuring value output with STP;.command
5. nonvolatile storage of automatic output in the EEPROM with TDD1; command
6. starts again the automatical output with RES command. After each Trigger event the result is given out
automatically (without MAV?; command)
7. Stop the automatical output with STP; command. Parameter setting is possible
8. Deactivate automatical output with COF3; command
9. Nonvolatile storage of none automatic output (if wanted) with TDD1;
10. Single measuring value output or single trigger output (if wanted) with MSV?; or MAV?;
ba_aed104_8_e.doc
Page 63
62 / 75
7.5 Error messages
Event Status Register
ESR
Query:ESR?;
Effect:This function outputs the error messages defined
Error messageError
000No error
004Not used
008Device Dependent Error (Hardware error, e.g. EEPROM error)
016Execution Error (error at parameter input)
032Comand Error (command not allowed)
(Output of error messages)
according to the IEC standard as 3-digit decimal
number. The occurring errors are linked by "Or".
Example:
→
Device Dependent Error and Execution Error
024
After RES, power On or reading the error status, the register contents are cleared.
The necessary measures for the electrical bus termination (resistors) were described in Section 5.3. These
resistors protect the zero-signal level on the master line if none of the connected modules is transmitting.
Observe here that this bus termination must be switched on only twice per bus system (master line), and is
generally located at the line ends of the master line.
Normally the interface of the master contains such a bus termination and the termination is switched on at the
most remote AED via the command STR1;.
ba_aed104_8_e.doc
Page 65
64 / 75
7.7 Commands for Legal for trade Applications
Legal for Trade
LFT
Range:0/1
Factory setting:0 (off)
Response time:<50ms
Parameters:1
Password protection:none
Parameter protect.:with input
Query:LFT?
(Legal for trade)
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). With LFT1
(legal for trade application) every input of parameters of following commands the trade counter will increase:
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). The maximum count is 8388607 (7F FF FF hex). Then
the counter is fixed. If this occures you get only overflow values with the command MSV?. The AED has to be
send to HBM.
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. Which calculation is used is up to the
software of the master. If LFT1 is switched on, a change of this CRC will be also detected with the trade counter
(TCR).
This CRC is an additional check for changed parameters in the AED.
ba_aed104_8_e.doc
Page 68
AD104-R2, AD104-R567 / 75
7.8 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?Query COR,AnswerAED: 0/1
ASS?Query ASS,Answer AED: 2
CALQuery CAL, Answer AED: 0
The answers are output fixed independent of possible entries.
ba_aed104_8_e.doc
Page 69
68 / 75
7.9 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. PC or PLC), the AED remains inactive on its transmission line. An AED is selected by the master
via the command SELECT (S00...31). Therefore it is absolutely necessary to enter a communication address for
each AED before the bus coupling. Naturally each address in the bus may be allocated only once.
There are two ways to entry the adrres for communication:
1. Connect AED consecutively to the bus:
-Connect first AED to the bus line (The factory setting is ADR31, baud rate 9600)
-Initialize the interface of the master with 9600 Bd, 8, e,1
-Output command ;S31;
-Set wanted address with the command ADR (e.g. ADR01;)
-Select AED with the new address: ;S01;
- Store address nonvolatile with the command TDD1;
- Connect next AED to the bus, output ;S31;, set ADR02, etc.
or
2. All AED are interfaced to the bus:
-Read off manufacturing number of the AED (5-digit) (1st AED: xxxxx, 2nd AED: yyyyy, ...)
-Initialize interface of the master 9600 Bd, 8, e,1
-Output broadcast command ;S98;
-Set wanted address with the command ADR (e.g. ADR01,”xxxxx”; )
-Set wanted address with the command ADR (e.g. ADR02,”yyyyy”; ), etc.
-Store addresses nonvolatile with the command TDD1;
Important Note
With S98; no AED answers, but each AED executes the command.
If there is no communication, then the address or the baud rate can be incorrect.
After successful setting of all addresses and with uniform baud rates, the bus is ready. Now it must be
determined how the measured values are read out.
With the measured value output via the command MSV?;, the output format must be set previously in all
modules:
1.Output broadcast command S98; (all AED execute the command,
but transmit no answer)
2. Output command for the output format (e.g. COF3; for ASCII output)
3. Command TDD1; if this setting should be stored protected against
power failure.
ba_aed104_8_e.doc
Page 70
AD104-R2, AD104-R569 / 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
procedure can be helpful to always certainly set the AEDs in a bus to the wanted baud rate on initialization
(switching on) of the system:
1. Set the baud rate of the master interface to 2400 Bd, 8 data bits,
1 parity bit even, 1 stop bit
2. Output of the command string:;(clears the input buffer of the AED)
S98;(selects all AED on the bus)
BDR9600;(output of the wanted baud rate)
(wait approx. 150ms)
3. Set the baud rate of the master interface to 4800 Bd, 8 data bits,
1 parity bit even, 1 stop bit
4. Output of the command string: ;(clears the input buffer of the AED)
S98;(selects all AED on the bus)
BDR9600; (output of the wanted baud rate)
(wait approx. 150ms)
5. Set the baud rate of the master interface to 19200 Bd, 8 data bits,
1 parity bit even, 1 stop bit
6. Output of the command string:;(clears the input buffer of the AED)
S98;(selects all AED on the bus)
BDR9600;(output of the wanted baud rate)
(wait approx. 150ms)
7. Set the baud rate of the master interface to 38400 Bd, 8 data bits,
1 parity bit even, 1 stop bit
8. Output of the command string:;(clears the input buffer of the AED)
S98;(selects all AED on the bus)
BDR9600; (output of the wanted baud rate)
9. Set the baud rate of the master interface to 9600 Bd, 8 data bits,
1 parity bit even, 1 stop bit
10. Output of the empty command:;(clears the input buffer of the AED)
11. Command TDD1; if this setting should be stored nonvolatile.
The output of the semicolon before the S98; command is absolutely necessary, since there can be undefined
characters in the input buffer of the AED which, however, are rejected by the reception of the semicolon, due to
driving the AED with different baud rates.
Important Note
With S98; no AED answers but executes the command.
With the example listed above, all AED on this bus are set to the baud rate of 9600, independent of their
previous setting.
Naturally another baud rate can also be set. Then the wanted baud rates must be provided in the command
BDR and the initialization of the master interface must be changed accordingly.
The baud rate is the transmission speed of the interface. This has no effect on the number of measured values
which the AED determines per second.
A high baud rate simply enables a larger number of AED to be inquired per time unit in the bus mode.
ba_aed104_8_e.doc
Page 71
70 / 75
Baud rateTransmission time for one ASCII character
24004.4 ms
48002.2 ms
96001.1 ms
192000.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. Refer to the command description for these times (times = transmission
plus processing times).
Determining the bus occupancy (Bus Scan):
Frequently it is expedient to determine the bus configuration each time the bus is switched on or if answers of
the AED are not received. The address occupancy of the bus can thus be determined with the aid of the Bus
Scan. A prerequisite for this is that all modules are set to the same baud rate.
1. Initialization of the master interface with the set baud rate of the AEDs
2. Scanning an address with
the command string:;S00;(Select Adress)
X;(output of an invalid command)
3. The AED addressed with the address answers with a ‘?CRLF’, since it does not know the command. If no
answer comes after a time of approx. 100ms, then no AED is present at this address. If
undefined characters or no ? characters are received by the master, then there can be a bus fault or multiple
occupancy of the address. The bus master must react accordingly.
4. Repetition of item 2 with the following addresses 01...31.
If only a few AED are connected and the addresses are known, then the BusScan can naturally only refer to
these addresses. If all AED are determined successfully as bus subscribers, then the identification string of the
AED can possibly be read (measuring point identification and manufacturing number).
The time-out setting for the interface driver of the master is decisive for the speed of the Bus Scan. The select
command requires max. 20...30ms for the output (for 2400 Bd). The AED does not answer to this select
command.
Measured value query in the bus mode:
All AED have been prepared for bus operation with the aid of the preceding chapter and the BusScan has found
all connected AED.
The output format is set with the command COF for the single measured value query with the command
MSV?. The command string is now:
S00; MSV?;The AED with the address 00 answers with the measured value
S01; MSV?;The AED with the address 01 answers with the measured value etc.
Baud rateOutput formatMeasured value query time for one AED for ICR2
9600COF254 ms
19200COF247 ms
9600COF361 ms
19200COF351 ms
Use these times only as orientation values.
For the faster measured value query with the command MSV?, the command string is:
S98; MSV?;All AED form a measured value but do not answer
S01;The AED with the address 01 answers with the measured value
S02; The AED with the address 02 answers with the measured value
S03; The AED with the address 03 answers with the measured value etc.
The following query times result approximately (COF2, ICR0):
Master
transmission:
Response time
AED (ICR0):
AED
transmissions:
The master may then transmit a new select command in this case if the measured value has been received.
Query time = Number of all characters x Time for one character + Response time AED
Baud rateOutput formatMeasured value query time for three AED for ICR0
9600COF248 ms
19200COF229 ms
38400COF220 ms
9600COF454 ms
19200COF432 ms
38400COF421 ms
Use these times only as orientation values.
;S98; MSV?;
S01;
S02;S03;
approx.
10ms
xxCRLF yyCRLFzzCRLF
Setting a parameter in all connected AEDs:
Now that the measured value query no longer represents a problem, setting a parameter in all AEDs connected
to the bus is also no longer a problem:
1. Output broadcast command S98; (all AED execute the command, but send no answer)
2. Output parameter command (e.g. ICR3; )
3. Output command TDD1; if this setting should be stored nonvolatile
4. (Sii; select next AED to read parameters as a check, for instance)
This string can also be used for taring with the aid of the command TAR or for switching over between gross
and net output (TAS).
ba_aed104_8_e.doc
Page 73
72 / 75
8 Technical data
TypeAD 104
Accuracy with >1.0 µV/dd3000
Bridge resistance, transducerOhm> 300
Bridge excitation voltageV5
Max. Measuring range+/- 2.6 mV/V
SensitivitymV/V2
Measuring signal resolutionBit20 (at 1Hz)
Measuring rate
(depending on output format and baud rate)
Cut-off frequency of digital filters, adjustable;
at -3dB
Filter mode 0 (s. ASF)
Filter mode 1 (settling time
< 240ms), (s. ASF)
Cable length between AED and computer with
RS232
RS-485
Linearity deviation, related to the nominal value%± 0.005
Temperature effect per 10K
on the zeropoint, related to the nominal value
on the measuring sensitivity, related to the nominal value
Serial Interfaces
electrical level
electrical level
Current consumption (without transducer)mA< 30 (typ). < 40 (max.)
Nominal temperature rangeoC[o
Service temperature rangeoC[o
Storage temperature rangeoC[o
Dimensions (l x w x h), pcbmm75 x 29 x 7
Dimensions (l x w x h), with housingmm102 x 31 x 15
Weight PCB, approx.g50
Degree of protection EN 60529 in the housingIP 40
Hz100; 50; 25; 12; 6; 3; 2; 1
Hz
Hz
m
m
%
%
V
V
Low: -3.. -12V High: +3.. 12V
Low : B-A < 0.35 High: B-A > 0.35
F]
F]
F]
8... 0.05
8 ... 3
< 15
< 500
± 0.002
± 0.005
-10...+40 [+14...+104]
-10...+50 [+14...122]
-25...+75 [-13...167]
In its shielded setup (see Sect. 3), the entire measuring chain including the AED is insensitive against HF
interference and conducted interference in accordance with OIMLR76, EN45501 and EN61326.
ba_aed104_8_e.doc
Page 74
ba_aed104_8_e.doc
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
E-mail: support@hbm.com · www.hbm.com
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.