7.9Examples of communication.............................................................................................. 68
8Technical data ...........................................................................................................................72
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Loading...
+ 51 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.