0% found this document useful (0 votes)
252 views126 pages

DEWE-Modules, Programmers Reference Manual

DEWE-Modules, Programmers Reference Manual

Uploaded by

AnttiP
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
252 views126 pages

DEWE-Modules, Programmers Reference Manual

DEWE-Modules, Programmers Reference Manual

Uploaded by

AnttiP
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 126

Automotive

Energy & Power Analysis


Field Service
Enviromental
Research & Development

DEWE-Modules
Programmers Reference Manual

ISO9001

... the precision signal conditioning company

w w w. d e w e t r o n . c o m
DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004
Technical Reference Manual

Contents
General Information, Safety Instructions 1-1
Notice ………………………………………………………………………………………………………… 1-1
Safety Instructions …………………………………………………………………………………………… 1-3
General System Information ………………………………………………………………………………… 1-4
Support ………………………………………………………………………………………………………… 1-5
DEWETRON Systems and Modules Overview 2-1
DEWE-Systems Overview …………………………………………………………………………………… 2-1
DEWE-Modules Overview …………………………………………………………………………………… 2-2
General Module Information 3-1
Calibration information ……………………………………………………………………………………… 3-1
General module specifications ……………………………………………………………………………… 3-1
Module connectors …………………………………………………………………………………………… 3-1
RS-232/485 interface ………………………………………………………………………………………… 3-2
DAQP module configuration ………………………………………………………………………………… 3-2
DAQP programming commands …………………………………………………………………………… 3-3
PAD module programming …………………………………………………………………………………… 3-3
Conversion table: decimal to hexadezimal and binary …………………………………………………… 3-4
DAQN and DAQP Modules Series 4-1
DAQP-DMM Module ………………………………………………………………………………………… 4-1
DAQP-V Module ……………………………………………………………………………………………… 4-5
DAQP-µV Module …………………………………………………………………………………………… 4-9
DAQP-BRIDGE Module ……………………………………………………………………………………… 4-13
DAQP-BRIDGE-A Module …………………………………………………………………………………… 4-17
DAQP-BRIDGE-B Module …………………………………………………………………………………… 4-23
DAQP-TRQ Module …………………………………………………………………………………………… 4-29
DAQP-ACC-A Module ……………………………………………………………………………………… 4-31
DAQP-CHARGE Module …………………………………………………………………………………… 4-33
DAQP-CHARGE-A Module ………………………………………………………………………………… 4-37
DAQP-CHARGE-B Module ………………………………………………………………………………… 4-41
MDAQ Modules Series 5-1
MDAQ-V Module ……………………………………………………………………………………………… 5-1
PAD Modules Series 6-1
PAD-V8-P Module …………………………………………………………………………………………… 6-1
PAD-TH8-P Module …………………………………………………………………………………………… 6-11
PAD-RTD3 Module …………………………………………………………………………………………… 6-23
PAD-AO1 Module …………………………………………………………………………………………… 6-29
PAD-CNT2 Module …………………………………………………………………………………………… 6-35
PAD-DI8 Module ……………………………………………………………………………………………… 6-45
PAD-DO7 Module …………………………………………………………………………………………… 6-51

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004
Technical Reference Manual
General Information, Safety Instructions
Notice
The information contained in this document is subject to change without notice.

DEWETRON elektronische Messgeraete Ges.m.b.H. (DEWETRON) shall not be liable for any errors contained
in this document. DEWETRON MAKES NO WARRANTIES OF ANY KIND WITH REGARD TO THIS
DOCUMENT, WHETHER EXPRESS OR IMPLIED. DEWETRON SPECIFICALLY DISCLAIMS THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. DEWETRON shall
not be liable for any direct, indirect, special, incidental, or consequential damages, whether based on contract,
tort, or any other legal theory, in connection with the furnishing of this document or the use of the information in
this document.

Warranty Information:
A copy of the specific warranty terms applicable to your DEWETRON product and replacement parts can be
obtained from your local sales and service office.

Restricted Rights Legend:


Use austrian law for duplication or disclosure.
DEWETRON GesmbH
Parkring 4
A-8074 Graz-Grambach / Austria

Printing History:
Version 2.0.7
Released November 3, 2004

Copyright © 1998 - 2002 DEWETRON GesmbH

This document contains information which is protected by copyright. All rights are reserved. Reproduction,
adaptation, or translation without prior written permission is prohibited, except as allowed under the copyright
laws.

All trademarks and registered trademarks are acknowledged to be the property of their owners.

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 1-1
Notice
Safety symbols in the manual:

Indicates hazardous voltages.

WARNING Calls attention to a procedure, practice, or condition that could cause bodily
injury or death.

CAUTION Calls attention to a procedure, practice, or condition that could possibly cause
damage to equipment or permanent loss of data.

WARNINGS
The following general safety precautions must be observed during all phases of operation,
service, and repair of this product. Failure to comply with these precautions or with specific
warnings elsewhere in this manual violates safety standards of design, manufacture, and
intended use of the product. DEWETRON Elektronische Messgeraete Ges.m.b.H. assumes no
liability for the customer’s failure to comply with these requirements.

All accessories shown in this document are available as option


and will not be shipped as standard parts.

1-2
Safety Instructions

Safety instructions for all DEWETRON systems


The DEWETRON data acquisition systems may only be installed by experts.
Read your manual before operating the system.
Observe local laws when using the instrument.
Ground the equipment: For Safety Class 1 equipment (equipment having a protective earth terminal), a
non interruptible safety earth ground must be provided from the mains power source to the product input
wiring terminals or supplied power cable.
DO NOT operate the product in an explosive atmosphere or in the presence of flammable gases or fumes.
DO NOT operate damaged equipment: Whenever it is possible that the safety protection features built into
this product have been impaired, either through physical damage, excessive moisture, or any other reason,
REMOVE POWER and do not use the product until safe operation can be verified by service-trained
personnel. If necessary, return the product to a DEWETRON sales and service office for service and repair
to ensure that safety features are maintained.
Keep away from live circuits: Operating personnel must not remove equipment covers or shields.
Procedures involving the removal of covers or shields are for use by service-trained personnel only. Under
certain conditions, dangerous voltages may exist even with the equipment switched off. To avoid dangerous
electrical shock, DO NOT perform procedures involving cover or shield removal unless you are qualified to
do so.
No modifications are allowed at the instrument. The fuse in the power module has to be replaced by the
same type. For continued protection against fire, replace the line fuse(s) only with fuse(s) of the same
voltage and current rating and type. DO NOT use repaired fuses or short-circuited fuse holder labels and
print on the power module may not be removed.
DO NOT service or adjust alone. Do not attempt internal service or adjustment unless another person,
capable of rendering first aid and resuscitation, is present.
DO NOT substitute parts or modify equipment: Because of the danger of introducing additional hazards, do
not install substitute parts or perform any unauthorized modification to the product. Return the product to a
DEWETRON sales and service office for service and repair to ensure that safety features are maintained.
Before opening the instrument (experts only) or exchanging the fuse in the power module disconnect power!
Don’t touch internal wiring!
Don’t use higher supply voltage than specified!
Use only original plugs and cables for harnessing.
The power-cable and -connector serve as Power-Breaker. The cable must not exceed 10 feet, disconnect
function must be possible without tools.
Safety of the operator and the unit depend on following these rules.

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 1-3
General System Information

DEWE-2010 and DEWE-3010 systems

CAUTION
The system BIOS is protected by password. Any change in the BIOS may cause a system crash.
When the system is booting, do not press ESC-button on keyboard. This may clear the BIOS
settings and cause system faults.

Any change in the file structure as deleting or adding files or directories might cause a system
crash.

Before installing software updates contact DEWETRON or your local distributor. Use only
software packages which are released by DEWETRON. Further informations are also available
in the internet (http://www.dewetron.com).

After power off the system wait at least 10 seconds before switching the system on again.
Otherwise the system may not boot correct. This prolongs also the life of all system
components.

1-4
Support
For any support please contact your local distributor or DEWETRON directly.

For Asia and Europe, please contact:


DEWETRON Ges.m.b.H.
Parkring 4
A-8074 Graz-Grambach
AUSTRIA
Tel.: +43 316 3070
Fax: +43 316 307090
Email: [email protected]
Web: http://www.dewetron.com
The telephone hotline is available Monday to Friday between 08:00 and 17:00 CET (GMT -1:00)

For the Americas, please contact:


DEWETRON, Inc.
PO Box 1460
Charlestown, RI 02813
U.S.A.
Tel.: +1 401 364 9464
Toll-free: +1 877 431 5166
Fax: +1 401 364 8565
Email: [email protected]
Web: http://www.dewamerica.com
The telephone hotline is available Monday to Friday between 08:00 and 17:00 GST (GMT +5:00)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 1-5
Support

Notes

1-6
DEWETRON Systems and Modules Overview
DEWE-Systems Overview
For detailed system information see chapter 6.

All in one solutions


The DEWE-2010, DEWE-4010 and DEWE-
DEWE-5000 5000 offers 16 slots, the DEWE-3010 8 slots
for DEWE modules. All systems are
DEWE-3010 expandable up to several hundred channels.

DEWE-4010

DEWE-2010

Signal conditioning solutions


With internal A/D converter

The DEWE-BOOK series with integrated A/D


converter offers 8 or 16 slots for DEWE
modules and, in parallel, a ±5 V output from
each module to an external device.

DEWE-BOOK-8

DEWE-BOOK-16

Signal conditioning solutions


With external A/D converter
DEWE-RACK-64 The DEWE-RACK family offers 4, 8, 16, 32, 48
or 64 slots for DEWE modules and except of
the 48 channel version, in parallel, a ±5 V
output from each module to an external device.
DEWE-RACK-32

DEWE-RACK-8

DEWE-RACK-16
DEWE-RACK-4

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 2-1
2-2
Analog amplifiers (DAQx series)
Prog.
Input Details
Module # CH Ranges Ranges Filters Bandwidth Isolation Output
connector on page
& Filter
High voltage amplifier
DAQP-DMM Banana plugs 1 ü ±10, ±40, ±100, ±200, ±400 and ±1000 V 10 Hz, 100 Hz, 1 kHz, 3 kHz 20 / 30 kHz 1.5 kVRMS ±5 V 4-1
Voltage amplifier
DAQP-V-B Banana plugs 1 ü ±0.01, ±0.1, ±1, ±5, ±10 and ±50 V 10 Hz, 100 Hz, 1 kHz, 10 kHz 50 kHz 1 kVRMS ±5 V 4-5
DAQP-V-BNC BNC 1 ü ±0.01, ±0.1, ±1, ±5, ±10 and ±50 V 10 Hz, 100 Hz, 1 kHz, 10 kHz 50 kHz 1 kVRMS ±5 V 4-5
DAQP-V-DSUB 9 pin SUB-D 1 ü ±0.01, ±0.1, ±1, ±5, ±10 and ±50 V 10 Hz, 100 Hz, 1 kHz, 10 kHz 50 kHz 350 VDC ±5 V 4-5
DAQP-V-LEMO 6 pin LEMO 1 ü ±0.01, ±0.1, ±1, ±5, ±10 and ±50 V 10 Hz, 100 Hz, 1 kHz, 10 kHz 50 kHz 350 VDC ±5 V 4-5
DAQP-µV 9 pin SUB-D 1 ±0.5, ±1, ±2.5, ±5, ±10 and ±25 mV 10 Hz, 100 Hz, 1 kHz 20 kHz n/a ±5 V 4-9
Bridge / strain gage amplifier
DAQP-BRIDGE 9 pin SUB-D 1 ü 0.1, 0.2, 0.5, 1, 2 and 5 mV/V 10 Hz, 100 Hz, 1 kHz, 5 kHz 20 kHz n/a ±5 V 4-13
DAQP-BRIDGE-A 9 pin SUB-D 1 ü 1, 2, 5, 10, 20 and 50 mV/V 10 Hz, 100 Hz, 1 kHz, 5 kHz 20 kHz 350 VDC ±5 V 4-17
9 pin SUB-D
DAQP-BRIDGE-B 1 ü 1, 2, 5, 10, 20 and 50 mV/V 10 Hz, 100 Hz, 1 kHz, 5 kHz 20 kHz 350 VDC ±5 V 4-23
or 8 pin LEMO
Carrier frequency amplifier
DAQP-TRQ 9 pin SUB-D 1 ü ±1 to ±640 mV/V (7 .. 10 mH or > 300 Ohm) 10, 30, 100, 300 Hz, 1 kHz 0 to 1 kHz n/a ±5 V 4-29
Charge / ICP amplifier for vibration measurement
DAQP-ACC-A BNC 1 ü Gain: 1, 3, 10, 30, 100 1, 10, 100, 300 kHz 0.5 Hz to 300 kHz n/a ±5 V 4-31
DAQP-CHARGE-A BNC 1 ü 0.1, 1, 10, 100 and 1000 mV/pC or 1 kHz, 5 kHz, 10 kHz, 20 kHz 0.1 Hz to 50 kHz n/a ±5 V 4-37
0, 20, 40 and 60 dB
DAQP-CHARGE-B BNC 1 ü ±100, ±500, ±2 000, ±10 000, ±40 000, ±200 10, 30, 100, 300 Hz, DC to 100 kHz 350 VDC ±5 V 4-41
DEWE-Modules Overview

000, ±1 000 000 pC 1, 3, 10, 30, 100 kHz

Analog multichannel amplifiers (MDAQ series)


Prog.
Input Details
Module # CH Ranges Ranges Filters Bandwidth Isolation Output
connector on page
& Filter
MDAQ-V BNC 16 opt. Gain: 0.1, 1 optional up to 250 kHz n/a ±10 V 5-1
MDAQ-V BNC 16 opt. Gain: 1, 10 optional up to 250 kHz n/a ±10 V 5-1
Amplifiers with integrated A/D converter and DIO modules (PAD series)
Voltage / current amplifier
PAD-V8-P 25 pin SUB-D 8 ü ±100, ±150, ±500 mV, -150 mV to +1.5 V, 1 / 4 / 8 values averaging 3 Hz 350 VDC RS232/485 6-1
±1, ±2.5, ±5, ±10, ±50 V
High accuracy thermocouple amplifier
PAD-TH8-P 25 pin SUB-D 8 ü ±15, ±50, ±100, ±150 mV, -150 mV to 1 / 4 / 8 values averaging 3 Hz 350 VDC RS232/485 6-11
+1.5 V, Thermocouple type J, K and T
RTD amplifier
PAD-RTD3 25 pin SUB-D 3 ü Pt100, max. -100 °C to 600 °C n/a 4 Hz n/a RS232/485 6-23
Analog output module
PAD-AO1 25 pin SUB-D 1 ü 0 to 20 mA, 4 to 20 mA, 0 to 10 V n/a 300 VDC RS232/485 6-29
Counter module
PAD-CNT2 25 pin SUB-D 2 ü 32 bit counter; n/a 1 Hz to 100 kHz 300 VDC RS232/485 6-35
low: 0 to 1 V, high: 3.5 to 30 V
Digital input / output module
PAD-DI8 25 pin SUB-D 8 ü Opto input low: 0 to 1 V, high: 3.5 to 30 V n/a 300 VDC RS232/485 6-45
PAD-DO7 25 pin SUB-D 7 ü Relay outputs (dry contacts) n/a 300 VDC RS232/485 6-51

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004
2-3
DEWE-Modules Overview
Notes

2-4
General Module Information

Calibration information
All DEWETRON modules are calibrated at 25 °C and meet their specifications when leaving the factory.
The time interval for recalibration depends on environmental conditions. Typically, the calibration should be
checked once a year.
Calibration certificates are available from DEWETRON as an option. DEWETRON offers two types:
ISO traceable DEWETRON certificate
Calibration certificate according to ÖKD (equivalent to DKD)
This manual contains no calibration information. For self calibration, there is a seperate calibration kit for the
DAQ series modules available. The CAL-KIT contains the required cables, software and instructions.
Adjustment information are only mentioned if they are required for operation (e.g. DAQP-TRQ).

General module specifications


Module dimensions: 20 x 65 x 105 mm (0.79 x 2.56 x 4.13 in.)
(W x H x D without front cover and connectors)
Frontcover: 20 x 87 x 2 mm (0.79 x 3.43 x 0.08 in.)
(W x H x D without connector)
Environmental:
Temp. range storage: -30 °C to +85 °C (-30 °F to 185 °F)
Temp. range operating: -5 °C to +60 °C (-4 °F to 140 °F)
Relative humidity
(MIL202): 0 to 95 % at 60 °C, non-condensing
RFI susceptibility: ±0.5 % span error at 400 MHz, 5 W, 3 m

All modules are produced according ISO9001 and ISO14001.

Module connectors
Frontpanel connector: Accessable to the user. The connector type and pin assignment varies
from module to module. Detailed pin assignment of each module is
shown in the appropriate module description.
Rear connector: 9-pin male SUB-D, interface to the DEWE-System, not accessable to the user.
1 2 3 4 5 Interface pin assignment:
1 Module output (±5 V)
2 RS-485 (A)
6 7 8 9 3 RS-485 (B)
9-pin male SUB-D connector 4 GND
5 +9 V power supply
6 +12 V power / sensor supply
7 Module input (from A/D board)
8 reserved
DAQx and PAD module 9 -9 V power supply
rear view

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 3-1
General Module Information

RS-232/485 interface
DAQP modules can be configured via RS-485 interface, PAD modules require this interface for all data
transfers. For all DEWETRON systems, an internal RS-232/485 converter is available (standard with DEWE-
2010, DEWE-3010, DEWE-4000 and DEWE-5000 systems). This converter allows communication with DAQP

DEWETRON RS-232/485
data acquisition RS-232 conversion on RS-485 DAQx or PAD
system interface DEWETRON- businterface module
motherboard

and PAD modules.


To communicate with the modules, the RS-232 interface has to be set to the following parameters:
baud rate: 9600 bps
data bits: 8
parity: no parity
stop bits: 1
handshake: not required

DAQP module configuration


The DAQP modules offer two possibilities to change the measurement range and the input filters:

1. Push button selection


All ranges and filters can be selected directly by pressing the push buttons on the module. Approx. 15 sec.
after changing range and / or filter, the range and filter information is stored in an EEPROM. This
procedure increases the livetime of the EEPROM.
The current input range setting is shown all the time by LED. To change the range just press
RANGE button a few times until the required range is displayed.
To see the current filter setting just press the FILTER button once. The corresponding LED is flashing for
approx. 3 seconds. Within this time, the filter can be selected by pressing the FILTER button again.
10 to 15 seconds after the last key activity, the information will be stored, the LED stops flashing and
shows the input range again.
CAUTION: Power loss during this time leaves the module in the former settings.

2. RS-232/485 programming
All ranges and filters can also be selected via RS-232/485 interface. All DEWE-2010, DEWE-3010, DEWE-
4000 and DEWE-5000 systems are prepared as a standard to work with DAQP modules.
The easiest way to change the configuration is to use the DEWE-CONFIG software, which comes as a
standard with the DEWETRON data acquisition system.
Detailed information about DAQP modules programming for customer applications is available in the
corresponding module section.
CAUTION: All range and filter changes which are done via RS-232/485 interface are not stored in the
EEPROM of the DAQP modules! You have to store this information in a separate initialisation file to keep
settings information for next system start!

3-2
General Module Information

DAQP programming commands


The following commands are available for all DAQP modules. Detailed command description is available in
the corresponding module section.

1. Set module address


Change the current module address to a new address. To change address send the ‘set module address’-
command while the filter button on the module gets pressed. After that, the module sends back
an acknowledge response, which contains the current module settings.
The module address always has to be a 2 digit hex value! We recommend addresses between 00 and FE
hex. Some commands uses FF hex to act all modules in a rack.

2. Read module configuration


The response contains the current module settings.

3. Set module configuration


This command allows the change of the current module setting.

4. Set remote control on / off


Lock or unlock the push botton access to range and filter selection.

PAD module programming


Due to different commands, detailed information about module programming is available for each module in the
corresponding section.
Be aware that the module address always has to be a 2 digit hex value! We recommend addresses between 00
and FE hex. Some commands uses FF hex to act all modules in a rack.

CAUTION: DO NOT MIX UP ‘#’ AND ‘$’ COMMAND SIGNS!

TO GET DATA FROM A MODULE, USE ONLY THE ‘#’ COMMAND SIGN,
OTHERWISE A MODULE-RECALIBRATION IS POSSIBLE.
THIS REQUIRES A NEW MODULE CALIBRATION!

Setting communication speed


A temporary short circuit between pin 21 and 22 (GND) offers the possibility to change the baud rate. When
changing the baud rate of TH8 and V8 modules, additional press the ID button on the module front. After
sending the mentioned command turn power off and remove the short circuit from pin 21. At next powering on
the baud rate changes become effective.
Communication speed can be up to 115200 bps for PAD modules. You have to set all modules in a rack to the
same speed. Also the rack have to be jumpered ot the same speed (DEWE-RACK-4 have no jumper to change
the communication speed of 9600 bps). When using PAD and DAQ modules in one rack, you have to set the
communication speed to 9600 bps.
Be aware that the module address always has to be a 2 digit hex value!

Module reset
A short circuit between pin 21 and 22 (GND) during power on the module effect a reset of the module to default
settings (9600 baud, 8 data bits, 1 stop bit, no parity, module address 00 hex). To reset TH8 and V8 modules,
additional press the ID button on the module front during power on the module.

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 3-3
General Module Information

Conversion table: decimal to hexadezimal and binary


Dec Hex Bin Dec Hex Bin Dec Hex Bin Dec Hex Bin
0 00 00000000 64 40 01000000 128 80 10000000 192 C0 11000000
1 01 00000001 65 41 01000001 129 81 10000001 193 C1 11000001
2 02 00000010 66 42 01000010 130 82 10000010 194 C2 11000010
3 03 00000011 67 43 01000011 131 83 10000011 195 C3 11000011
4 04 00000100 68 44 01000100 132 84 10000100 196 C4 11000100
5 05 00000101 69 45 01000101 133 85 10000101 197 C5 11000101
6 06 00000110 70 46 01000110 134 86 10000110 198 C6 11000110
7 07 00000111 71 47 01000111 135 87 10000111 199 C7 11000111
8 08 00001000 72 48 01001000 136 88 10001000 200 C8 11001000
9 09 00001001 73 49 01001001 137 89 10001001 201 C9 11001001
10 0A 00001010 74 4A 01001010 138 8A 10001010 202 CA 11001010
11 0B 00001011 75 4B 01001011 139 8B 10001011 203 CB 11001011
12 0C 00001100 76 4C 01001100 140 8C 10001100 204 CC 11001100
13 0D 00001101 77 4D 01001101 141 8D 10001101 205 CD 11001101
14 0E 00001110 78 4E 01001110 142 8E 10001110 206 CE 11001110
15 0F 00001111 79 4F 01001111 143 8F 10001111 207 CF 11001111
16 10 00010000 80 50 01010000 144 90 10010000 208 D0 11010000
17 11 00010001 81 51 01010001 145 91 10010001 209 D1 11010001
18 12 00010010 82 52 01010010 146 92 10010010 210 D2 11010010
19 13 00010011 83 53 01010011 147 93 10010011 211 D3 11010011
20 14 00010100 84 54 01010100 148 94 10010100 212 D4 11010100
21 15 00010101 85 55 01010101 149 95 10010101 213 D5 11010101
22 16 00010110 86 56 01010110 150 96 10010110 214 D6 11010110
23 17 00010111 87 57 01010111 151 97 10010111 215 D7 11010111
24 18 00011000 88 58 01011000 152 98 10011000 216 D8 11011000
25 19 00011001 89 59 01011001 153 99 10011001 217 D9 11011001
26 1A 00011010 90 5A 01011010 154 9A 10011010 218 DA 11011010
27 1B 00011011 91 5B 01011011 155 9B 10011011 219 DB 11011011
28 1C 00011100 92 5C 01011100 156 9C 10011100 220 DC 11011100
29 1D 00011101 93 5D 01011101 157 9D 10011101 221 DD 11011101
30 1E 00011110 94 5E 01011110 158 9E 10011110 222 DE 11011110
31 1F 00011111 95 5F 01011111 159 9F 10011111 223 DF 11011111
32 20 00100000 96 60 01100000 160 A0 10100000 224 E0 11100000
33 21 00100001 97 61 01100001 161 A1 10100001 225 E1 11100001
34 22 00100010 98 62 01100010 162 A2 10100010 226 E2 11100010
35 23 00100011 99 63 01100011 163 A3 10100011 227 E3 11100011
36 24 00100100 100 64 01100100 164 A4 10100100 228 E4 11100100
37 25 00100101 101 65 01100101 165 A5 10100101 229 E5 11100101
38 26 00100110 102 66 01100110 166 A6 10100110 230 E6 11100110
39 27 00100111 103 67 01100111 167 A7 10100111 231 E7 11100111
40 28 00101000 104 68 01101000 168 A8 10101000 232 E8 11101000
41 29 00101001 105 69 01101001 169 A9 10101001 233 E9 11101001
42 2A 00101010 106 6A 01101010 170 AA 10101010 234 EA 11101010
43 2B 00101011 107 6B 01101011 171 AB 10101011 235 EB 11101011
44 2C 00101100 108 6C 01101100 172 AC 10101100 236 EC 11101100
45 2D 00101101 109 6D 01101101 173 AD 10101101 237 ED 11101101
46 2E 00101110 110 6E 01101110 174 AE 10101110 238 EE 11101110
47 2F 00101111 111 6F 01101111 175 AF 10101111 239 EF 11101111
48 30 00110000 112 70 01110000 176 B0 10110000 240 F0 11110000
49 31 00110001 113 71 01110001 177 B1 10110001 241 F1 11110001
50 32 00110010 114 72 01110010 178 B2 10110010 242 F2 11110010
51 33 00110011 115 73 01110011 179 B3 10110011 243 F3 11110011
52 34 00110100 116 74 01110100 180 B4 10110100 244 F4 11110100
53 35 00110101 117 75 01110101 181 B5 10110101 245 F5 11110101
54 36 00110110 118 76 01110110 182 B6 10110110 246 F6 11110110
55 37 00110111 119 77 01110111 183 B7 10110111 247 F7 11110111
56 38 00111000 120 78 01111000 184 B8 10111000 248 F8 11111000
57 39 00111001 121 79 01111001 185 B9 10111001 249 F9 11111001
58 3A 00111010 122 7A 01111010 186 BA 10111010 250 FA 11111010
59 3B 00111011 123 7B 01111011 187 BB 10111011 251 FB 11111011
60 3C 00111100 124 7C 01111100 188 BC 10111100 252 FC 11111100
61 3D 00111101 125 7D 01111101 189 BD 10111101 253 FD 11111101
62 3E 00111110 126 7E 01111110 190 BE 10111110 254 FE 11111110
63 3F 00111111 127 7F 01111111 191 BF 10111111 255 FF 11111111

3-4
General Module Information
Module types Remote control status
Code Module type Code Function
00 DAQP-V 0 Local mode
01 DAQN-POT (range and filter button active)
02 DAQP-BRIDGE 1 Remote control
03 DAQN-RTD (range and filter button not active)
04 DAQP-DMM
05 DAQP-CHARGE
06 DAQP-µV
07 DAQP-TRQ
08 DAQP-FREQ
09 DAQP-ACC
0A
0B
0C
0D
0E
0F
10 PAD-TH8-P
11 PAD-V8-P
12
13
14
15
16 DAQ-AAF
17 DAQP-CHARGE-A
18 DAQP-BRIDGE-A
19 DAQN-OHM
1A DAQP-FREQ-A
1B DAQP-ACC-A
1C
1D CAL-SCAN
1E DAQP-CHARGE-B
1F DAQP-BRIDGE-B
20 CAL-BRIDGE
21
22
23
24
25
26
27
28
29
30
31

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 3-5
General Module Information
Notes

3-6
DAQN and DAQP Modules Series
DAQP-DMM Module

Programming commands DAQP-DMM


Instruction set
Command Syntax
Set module address ##(NewAddr)SETD\r
Read module configuration ??(Addr)\r
Set module configuration ##(Addr)(Range)(Filter)(Remote)\r
Set remote control on/off ##(Addr)Rx\r
Activate Power on default (1) ##(Addr)P(Range)(Filter)(Remote)\r
Deactivate Power on default (1) ##(Addr)P\r
Read serial number (1) ##(Addr)SETB\r
(1)
Commands applied in 08 - 2003

Commands in detail
Set module address
This command has to be sent while the filter button gets pressed on the module. After that, the new address is
stored in an EEPROM and the module sends a response string to the system.
Command: ##(NewAddr)SETD\r
##: Command leading code
NewAddr: New module address (2 characters hex from 00 to FE)
SETD: Set address command
\r: Carriage return (0D hex)
Response: !(NewAddr)(ModuleType)(Range)(Filter)(Remote)\r
!: Response leading code
NewAddr: Confirmed new module address (2 characters hex)
ModuleType: Type of module (2 characters hex, 04 hex = DAQP-DMM)
Range: Measuring range position (2 characters hex, according table)
Filter: Filter position (2 characters hex, according table)
Remote: Remote or local access to module (1 character, according general prog. info)
Example: Command: ##01SETD\r
Response: !010401020\r
(Address 01, DAQP-DMM, 400 V, 1 kHz, local mode)

Range and filter selection table


Range Code Filter Code
1000 V 00 20 kHz 00
400 V 01 3 kHz 01
200 V 02 1 kHz 02
100 V 03 100 Hz 03
40 V 04 10 Hz 04
10 V 05 - -

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-1
DAQP-DMM Module
Read module configuration
Command: ??(Addr)\r
??: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
\r: Carriage return (0D hex)
Response: !(Addr)(ModuleType)(Range)(Filter)(Remote)\r
Response details see also ‘Set module address’
Example: Command: ??01\r
Response: !010401020\r
(Address 01, DAQP-DMM, 400 V, 1 kHz, local mode)

Set module configuration


Command: ##(Addr)(Range)(Filter)(Remote)\r
Command details see also ‘Set module address’
Response: !ACK\r (Notice: an incorrect command gets no response from module!)
!: Response leading code
ACK: Acknowledge
\r: Carriage return (0D hex)
Example: Command: ##0101020\r
(Address 01, 400 V, 1 kHz, local mode)
Response: !ACK\r

Set remote control on/off


Command: ##(Addr)Rx\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Address FF sets all modules with one command
Rx: Remote on/off command
R0: local mode
R1: remote control
\r: Carriage return (0D hex)
Response: no response
Example: Command: ##01R0\r
(Module address 01, local mode)
Command: ##01R1\r
(Module address 01, remote mode)
Command: ##FFR1\r
(All modules, remote mode)

4-2
DAQP-DMM Module
Activate power on default
Not available for modules produced before 08 - 2003
Command: ##(Addr)P(Range)(Filter)(Remote)\r
Command details see also ‘Set module address’
Response: !ACK\r Valid command
Example: Command: ##01P01020\r
Response: !ACK\r

Deactivate power on default


Not available for modules produced before 08 - 2003
Deactivates the power on default mode.
The last pushbutton selected range and filter is adjusted at power on time.
Command: ##(Addr)P\r
##: command leading code
Addr: Acknowledged new module address
P: Command
\r: Carriage return (0D hex)
Response: !ACK\r Valid command
?(Addr)\r Invalid command, syntax error
Example: Command: ##01P\r
Response: !ACK\r

Read serial number


Not available for modules produced before 08 - 2003
Command: ##(Addr)SETB\r
Command details see also ‘Set module address’
Response: !(Serial)xx(Revision)xxx\r
(Serial): Module Serial Number (6 digits)
x: space
(Revision): Revision Number (e.g. V200)
\r: Carriage return (0D hex)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-3
DAQP-DMM

4-4
Nr: Command Response Function AA Address
AA+ Address
1 ## AA SETD CR !AA04RRFFk CR Program address FF = all modules
2 ?? AA CR !AA04RRFFk CR Read configuration MM Module type
3 ## AA RRFFk CR !ACK CR Set configuration RR Range
4 ## AA+ R1 CR Lock buttons FF Filter code
5 ## AA+ R0 CR Unlock buttons k Button lock
6 ## AA SETB CR !{16*ASCII} CR Read serial number
7 ## AA P RRFFk CR !ACK CR Write power on default to module

RR Range FF Filter
00 1000 V 00 20 kHz
01 400 V 01 3 kHz
02 200 V 02 1 kHz
03 100 V 03 100 Hz
04 40 V 04 10 Hz
05 10 V
DAQP-DMM Module
DAQP-V Module

Programming commands DAQP-V


Instruction set
Command Syntax
Set module address ##(NewAddr)SETD\r
Read module configuration ??(Addr)\r
Set module configuration ##(Addr)(Range)(Filter)(Remote)\r
Set remote control on/off ##(Addr)Rx\r
Activate Power on default (1) ##(Addr)P(Range)(Filter)(Remote)\r
Deactivate Power on default (1) ##(Addr)P\r
Read serial number (1) ##(Addr)SETB\r
(1)
Commands applied in 08 - 2003

Commands in detail
Set module address
This command has to be sent while the filter button gets pressed on the module. After that, the new address is
stored in an EEPROM and the module sends a response string to the system.
Command: ##(NewAddr)SETD\r
##: Command leading code
NewAddr: New module address (2 characters hex from 00 to FE)
SETD: Set address command
\r: Carriage return (0D hex)
Response: !(NewAddr)(ModuleType)(Range)(Filter)(Remote)\r
!: Response leading code
NewAddr: Confirmed new module address (2 characters hex)
ModuleType: Type of module (2 characters hex, 00 hex for DAQP-V according general prog. info)
Range: Measuring range position (2 characters hex, according table)
Filter: Filter position (2 characters hex, according table)
Remote: Remote or local access to module (1 character, according general
prog. info)
Example: Command: ##01SETD\r
Response: !010001020\r
(Address 01, DAQP-V, 10 V, 1 kHz, local mode)

Range and filter selection table


Range Code Filter Code
50 V 00 50 kHz 00
10 V 01 10 kHz 01
5V 02 1 kHz 02
1V 03 100 Hz 03
0.1 V 04 10 Hz 04
0.01 V 05 - -

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-5
DAQP-V Module
Read module configuration
Command: ??(Addr)\r
??: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
\r: Carriage return (0D hex)
Response: !(Addr)(ModuleType)(Range)(Filter)(Remote)\r
Response details see also ‘Set module address’
Example: Command: ??01\r
Response: !010001020\r
(Address 01, DAQP-V, 10 V, 1 kHz, local mode)

Set module configuration


Command: ##(Addr)(Range)(Filter)(Remote)\r
Command details see also ‘Set module address’
Response: !ACK\r (Notice: an incorrect command gets no response from module!)
!: Response leading code
ACK: Acknowledge
\r: Carriage return (0D hex)
Example: Command: ##0101020\r
(Address 01, 10 V, 1 kHz, local mode)
Response: !ACK\r

Set remote control on/off


Command: ##(Addr)Rx\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Address FF sets all modules with one command
Rx: Remote on/off command
R0: local mode
R1: remote control
\r: Carriage return (0D hex)
Response: no response
Example: Command: ##01R0\r
(Module address 01, local mode)
Command: ##01R1\r
(Module address 01, remote mode)

Activate power on default


Not available for modules produced before 08 - 2003
Command: ##(Addr)P(Range)(Filter)(Remote)\r
Command details see also ‘Set module address’
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command, syntax error
Example: Command: ##01P01020\r
Response: !ACK\r

4-6
DAQP-V Module
Deactivate power on default
Not available for modules produced before 08 - 2003
Deactivates the power on default mode.
The last pushbutton selected range and filter is adjusted at power on time.
Command: ##(Addr)P\r
##: command leading code
Addr: Acknowledged new module address
P: Command
\r: Carriage return (0D hex)
Response: !ACK\r Valid command
Example: Command: ##01P\r
Response: !ACK\r

Read serial number


Not available for modules produced before 08 - 2003
Command: ##(Addr)SETB\r
Command details see also ‘Set module address’
Response: !(Serial)xx(Revision)xxx\r
(Serial): Module Serial Number (6 digits)
x: space
(Revision): Revision Number (e.g. V200)
\r: Carriage return (0D hex)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-7
DAQP-V

4-8
Nr: Command Response Function AA Address
AA+ Address
1 ## AA SETD CR !AA00RRFFk CR Program address FF = all modules
2 ?? AA CR !AA00RRFFk CR Read configuration MM Module type
3 ## AA RRFFk CR !ACK CR Set configuration RR Range
4 ## AA+ R1 CR Lock buttons FF Filter code
5 ## AA+ R0 CR Unlock buttons k Button lock
6 ## AA SETB CR !{16*ASCII} CR Read serial number
7 ## AA P RRFFk CR !ACK CR Write power on default to module

RR Range FF Filter
00 50 V 00 50 kHz
01 10 V 01 10 kHz
DAQP-V Module

02 5V 02 1 kHz
03 1V 03 100 Hz
04 0.1 V 04 10 Hz
05 0.01 V
DAQP-µV Module

Programming commands DAQP-µV


Instruction set
Command Syntax
Set module address ##(NewAddr)SETD\r
Read module configuration ??(Addr)\r
Set module configuration ##(Addr)(Range)(Filter)(Remote)\r
Set remote control on/off ##(Addr)Rx\r

Commands in detail
Set module address
This command has to be sent as long as the filter button has been pressed on the module. After that, the new
address is stored in an EEPROM and the module sends a response string to the system.
Command: ##(NewAddr)SETD\r
##: Command leading code
NewAddr: New module address (2 characters hex from 00 to FE)
SETD: Set address command
\r: Carriage return (0D hex)
Response: !(NewAddr)(ModuleType)(Range)(Filter)(Remote)\r
!: Response leading code
NewAddr: Confirmed new module address (2 characters hex)
ModuleType: Type of module (2 characters hex, 06 hex according general prog. info)
Range: Measuring range position (2 characters hex, according table)
Filter: Filter position (2 characters hex, according table)
Remote: Remote or local access to module (1 character, according general
prog. info)
Example: Command: ##01SETD\r
Response: !010605020\r
(Address 01, DAQP-µV, 500 µV, 1 kHz, local mode)

Range and filter selection table


Range Code Filter Code
25 mV 00 20 kHz 00
10 mV 01 5 kHz 01
5 mV 02 1 kHz 02
2.5 mV 03 100 Hz 03
1 mV 04 10 Hz 04
500 µV 05 - -

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-9
DAQP-µV Module
Read module configuration
Command: ??(Addr)\r
??: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
\r: Carriage return (0D hex)
Response: !(NewAddr)(ModuleType)(Range)(Filter)(Remote)\r
Response details see also ‘Set module address’
Example: Command: ??01\r
Response: !010605020\r
(Address 01, DAQP-µV, 500 µV, 1 kHz, local mode)

Set module configuration


Command: ##(Addr)(Range)(Filter)(Remote)\r
Command details see also ‘Set module address’
Response: !ACK\r (Notice: an incorrect command gets no response from module!)
!: Response leading code
ACK: Acknowledge
\r: Carriage return (0D hex)
Example: Command: ##0105020\r
(Address 01, 500 µV, 1 kHz, local mode)
Response: !ACK\r

Set remote control on/off


Command: ##(Addr)Rx\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Address FF sets all modules with one command
Rx: Remote on/off command
0: local mode
1: remote control
\r: Carriage return (0D hex)
Response: no response
Example: Command: ##01R0\r
(Module address 01, local mode)
Command: ##01R1\r
(Module address 01, remote mode)

4-10
DAQP-µV Module

Notes

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-11
DAQP-µV

4-12
Nr: Command Response Function AA Address
1 ## AA SETD CR !AA06RRFFk CR Program address AA+ Address
2 ?? AA CR !AA06RRFFk CR Read configuration FF = all modules
3 ## AA RRFFk CR !ACK CR Set configuration MM Module type
4 ## AA+ R1 CR Lock buttons RR Range
5 ## AA+ R0 CR Unlock buttons FF Filter code
k Button lock

RR Range FF Filter
00 25 mV 00 20 kHz
01 10 mV 01 5 kHz
02 5 mV 02 1 kHz
03 2.5 mV 03 100 Hz
04 1 mV 04 10 Hz
05 500 µV
DAQP-µV Module
DAQP-BRIDGE Module

Programming commands DAQP-BRIDGE


Instruction set
Command Syntax
Set module address ##(NewAddr)SETD\r
Read module configuration ??(Addr)\r
Set module configuration ##(Addr)(Range)(Filter)(Remote)\r
Set remote control on/off ##(Addr)Rx\r
Read serial (1) ##(Addr)SETB\r
(1)
Commands applied in 08-2003

Commands in detail
Set module address
This command has to be sent as long as the filter button has been pressed on the module. After that, the new
address is stored in an EEPROM and the module sends a response string to the system.
Command: ##(NewAddr)SETD\r
##: Command leading code
NewAddr: New module address (2 characters hex from 00 to FE)
SETD: Set address command
\r: Carriage return (0D hex)
Response: !(NewAddr)(ModuleType)(Range)(Filter)(Remote)\r
!: Response leading code
NewAddr: Confirmed new module address (2 characters hex)
ModuleType: Type of module (2 characters, 02 hex according general prog. info)
Range: Current measuring range position (2 characters hex, according table)
Filter: Current filter position (2 characters hex, according table)
Remote: Remote or local access to module (1 character, according general prog. info)
Example: Command: ##01SETD\r
Response: !010204010\r
(Address 01, DAQP-BRIDGE, 1 mV/V, 5 kHz, local mode)

Range and filter selection table


Range (1) Code Filter Code
5 mV/V 00 20 kHz 00
2 mV/V 01 5 kHz 01
1 mV/V 02 1 kHz 02
0.5 mV/V 03 100 Hz 03
0.2 mV/V 04 10 Hz 04
0.1 mV/V 05 - -
(1)
@ 5V Excitation - -

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-13
DAQP-BRIDGE Module
Read module configuration
Command: ??(Addr)\r
??: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
\r: Carriage return (0D hex)
Response: !(Addr)(ModuleType)(Range)(Filter)(Remote)\r
Response details see also ‘Set module address’
Example: Command: ??01\r
Response: !010204010\r
(Address 01, DAQP-BRIDGE, 1 mV/V, 5 kHz, local mode)

Set module configuration


Command: ##(Addr)(Range)(Filter)(Remote)\r
Command details see also ‘Set module address’
Response: !ACK\r (Notice: an incorrect command get no response from module!)
!: Response leading code
ACK: Acknowledge
\r: Carriage return (0D hex)
Example: Command: ##0104010\r
(Address 01, 1 mV/V, 5 kHz, local mode)
Response: !ACK\r

Set remote control on/off


Command: ##(Addr)Rx\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Address FF sets all modules with one command
Rx: Remote on/off command
R0: local mode
R1: remote control
\r: Carriage return (0D hex)
Response: no response
Example: Command: ##01R0\r
(Module address 01, local mode)
Command: ##01R1\r
(Module address 01, remote mode)

Read serial number


Command: ##(Addr)SETB\r
Command details see also ‘Set module address’
Response: !(Serial)xx(Revision)xxx\r
(Serial): Module Serial Number (6 digits)
x: space
(Revision): Revision Number (i.e. V200)
\r: Carriage return (0D hex)

4-14
DAQP-BRIDGE Module

Notes

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-15
DAQP-BRIDGE

4-16
Nr: Command Response Function AA Address
1 ## AA SETD CR !AA02RRFFk CR Program address AA+ Address
2 ?? AA CR !AA02RRFFk CR Read configuration FF = all modules
3 ## AA RRFFk CR !ACK CR Set configuration MM Module type
4 ## AA+ R1 CR Lock buttons RR Range
5 ## AA+ R0 CR Unlock buttons FF Filter code
6 ## AA SETB CR !{16*ASCII} CR Read serial number k Button lock

RR Range FF Filter
00 5 mV/V 00 20 kHz
01 2 mV/V 01 5 kHz
02 1 mV/V 02 1 kHz
03 0.5 mV/V 03 100 Hz
04 0.2 mV/V 04 10 Hz
05 0.1 mV/V
DAQP-BRIDGE Module
DAQP-BRIDGE-A Module

Programming commands DAQP-BRIDGE-A


Instruction set
Command Syntax
Set module address ##(NewAddr)SETD\r
Read module configuration ??(Addr)\r
Set module configuration ##(Addr)(Range)(Filter)(Excitation)(ShortCircuit)(Shunt)(Mode)(FilterType)(Remote)\r
Automatic sensor offset adjustment ##(Addr)R7\r
Internal amplifier zero ##(Addr)R8\r
Set remote control on/off ##(Addr)R(Remote)\r
Input short circuit ##(Addr)R2\r
Input activate ##(Addr)R3\r
Activate shunt resistor ##(Addr)R4\r
Deactivate shunt resistor ##(Addr)R5\r
Activate Power on default ##(Addr)P(InputRange)(Filter)(Excitation)(Mode)(FilterType)(Remote)\r
Deactivate Power on default ##(Addr)P\r
Read serial number ##(Addr)SETB\r

Commands in detail
Set module address
This command has to be sent as long as the filter button has been pressed on the module. After that, the new
address is stored in an EEPROM and the module sends a response string to the system.
Command: ##(Addr)SETD\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
\r: Carriage return (0D hex)
Response:
!(Addr)18(InputRange)(Filter)(Excitation)(ShortCircuit)(Shunt)(Mode)(FilterType)(Remote)(Special)\r
!: Response leading code
Addr: Acknowledged new module address
18: Module type (DAQP-BRIDGE-A)
InputRange: Measuring range (2 characters hex, according to table)
Filter: Low pass filter (2 characters hex, according to table)
Excitation: Excitation voltage (2 characters hex, according to table)
ShortCircuit: 0 Input activated
1 Input short circuit
Shunt: 0 Shunt deactivated
1 Shunt activated
Mode: Bridge type (1 character hex, according to table)
FilterType: 0 Bessel characteristic
1 Butterworth characteristic
Remote: 0 Module button activated
1 Module button locked
Special: 0 Standard module
1 Special module
Example: Command: ##01SETD\r
Response: !0118000103001000\r
(DAQP-BRIDGE-A; 50 mV/V; 5kHz; 5V; no short circuit; no shunt; half bridge; Bessel filter; key’s
on; standard module)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-17
DAQP-BRIDGE-A Module
Range and filter selection table Bridge type Excitation

Range (1) Code Filter Code Code Mode Shunt Code Excitation
50 mV/V 00 20 kHz 00 0 Full Bridge 59.88 kOhm 0 0V
20 mV/V 01 5 kHz 01 1 Half Bridge 59.88 kOhm 1 1V
10 mV/V 02 1 kHz 02 2 Quarter Bridge 120 Ohm - 2 2.5 V
5 mV/V 03 1 00Hz 03 3 Quarter Bridge 350 Ohm - 3 5V
2 mV/V 04 10 Hz 04 4 Half Bridge 175 kOhm 4 10 V
1 mV/V 05 - - 5 Full Bridge 175 kOhm 5 0.25 V (2)
(1)
@ 5 V Excitation - - 6 0.5 V (2)
(2)
Rev. 2.00 or higher
Read module configuration
Command: ??(Addr)\r
??: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
\r: Carriage return (0D hex)
Response: !(Addr)18(InputRange)(Filter)(Excitation)(ShortCirc)(Shunt)(Mode)(FilterType)(Remote)(Special(2))\r
!: Response leading code
Addr: Module address
18: Module Type (DAQP-BRIDGE-A)
InputRange: Measuring range (2 characters hex, according to table)
Filter: Low pass filter (2 characters hex, according to table)
Excitation: Excitation Voltage (2 characters hex, according to table)
ShortCircuit: 0 Input activated
1 Input short circuit
Shunt: 0 Shunt deactivated
1 Shunt activated
Mode: Bridge type (1 character hex, according to table)
FilterType: 0 Bessel characteristic
1 Butterworth characteristic
Remote: 0 Module button activated
1 Module button locked
Special (2): 0 Standard module
1 Special module
Example: Command: ??01\r
Response: !0118000103001000\r
(DAQP-BRIDGE-A; 50 mV/V; 5 kHz; 5 V; no short circuit; no shunt; half bridge; Bessel filter; key’s
on; standard module (2)) (2)
Rev. 2.00 or higher

Set module configuration


Command: ##(Addr)(InputRange)(Filter)(Excitation)(ShortCircuit)(Shunt)(Mode)(FilterType)(Remote)\r
!: Response leading code
Addr: Module address
InputRange: Measuring range (2 characters hex, according to table)
Filter: Low pass filter (2 characters hex, according to table)
Excitation: Excitation voltage (2 characters hex, according to table)
ShortCircuit: 0 Input activated
1 Input short circuit
Shunt: 0 Shunt deactivated
1 Shunt activated
Mode: Bridge type (1 character hex, according to table)
Filter Type: 0 Bessel Characteristic
1 Butterworth Characteristic
Remote: 0 Module button activated
1 Module button locked

4-18
DAQP-BRIDGE-A Module
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command, syntax error

Automatic sensor offset adjustment


Sets the actual sensor offset to zero. The maximum adjustment range is +/-200% of the input range.
Command: ##(Addr)R7\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the address FF takes affect on all connected bridge modules.
R7 Command
\r: Carriage return (0D hex)
Response: There is no response on this command.
Warning: The module is approximately 2 seconds off-line after sending this
command. That means it cant receive any command.

Internal amplifier zero


This function short circuit the module input, and measures the offset values from the different input ranges. The
module automatically corrects the output voltage with this offset values.
Also the values are permanently stored in to the modules memory.
Command: ##(Addr)R8\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the address FF takes affect on all connected bridge modules.
R8 Command
\r: Carriage return (0D hex)
Response: There is no response on this command.
Warning: The Module is approximately 15 seconds off-line after sending this command. That
means it cant receive any command.
If there is no sensor connected, activate the half bridge mode before sending this
command. Otherwise you will get an output overflow.

Set remote control on/off


Command: ##(Addr)R(Remote)\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the Address FF takes affect on all connected bridge modules.
R: Command
Remote: 0 local mode (buttons are activated)
1 remote (buttons are locked)
\r: Carriage return (0D hex)
Response: There is no response on this command.

Input short circuit


This function short circuit the module input.
Command: ##(Addr)R2\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the Address FF takes effect on all connected bridge modules.
R2 Command
\r: Carriage return (0D hex)
Response: There is no response on this command.
Warning: The Module is approximately 0.25 seconds off-line after sending this command.

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-19
DAQP-BRIDGE-A Module
Input activate
This function is the inverse function of previous.
Command: ##(Addr)R3\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the address FF takes effect on all connected bridge modules.
R3 Command
\r: Carriage return (0D hex)
Response: There is no response on this command.
Warning: The module is approximately 0.25 seconds off-line after sending this command.

Activate shunt resistor


Activates the shunt resistor, depending on the selected bridge completion type.
Standard shunts: 350 Ohm bridge completion : 175 kOhm
120 Ohm bridge completion : 59.88 kOhm
Command: ##(Addr)R4\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the address FF takes effect on all connected bridge modules.
R4: Command
\r: Carriage return (0D hex)
Response: There is no response on this command.
Warning: The module is approximately 0.25 seconds off-line after sending this command.

Deactivate shunt resistor


Deactivates the shunt resistor.
Command: ##(Addr)R5\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the address FF takes effect on all connected bridge modules.
R5 Command
\r: Carriage return (0D hex)
Response: There is no response on this command.
Warning: The Module is approximately 0.25 seconds off-line after sending this command.

Activate power on default


Command: ##(Addr)P(InputRange)(Filter)(Excitation)(Mode)(FilterType)(Remote)\r
##: Command leading code
Addr: Acknowledged new module address
InputRange: Current measuring range (2 characters hex, according to table)
Filter: Current low pass filter (2 characters hex, according to table)
Excitation: Current Excitation Voltage (2 characters hex, according to table)
Mode: Current bridge type (1 character hex, according to table)
FilterType: 0 Bessel characteristic
1 Butterworth characteristic
Remote: 0 Module button activated
1 Module button locked
\r: Carriage return (0D hex)

4-20
DAQP-BRIDGE-A Module
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command, syntax error
Example: Command: ##01P000103010\r
Response: !ACK\r
(Set the module to 50 mV/V; 5 kHz; 5 V; full bridge; Butterworth; local buttons on; at power on)

Deactivate power on default


Deactivates the power on default mode.
The last pushbutton selected range and filter is adjusted at power on time.
Command: ##(Addr)P\r
##: Command leading code
Addr: Acknowledged new module address
P: Command
\r: Carriage return (0D hex)
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command, syntax error
Example: Command: ##01P\r
Response: !ACK\r

Read Serial Number


Command: ##(Addr)SETB\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the address FF takes effect on all connected bridge modules.
SETB: Command
\r: Carriage return (0D hex)
Response: !(SERAL)xx(REVISION)xxx\r
(SERIAL): Module serial number (6 digits) x: space
(Revision): Revision number (i.e. V200)
\r: Carriage return (0D hex)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-21
DAQP-BRIDGE-A

4-22
Nr Command Response Function AA Address
1 ## AA SETD CR !AA18RRFFESCMTRZ CR Program address AA+ Address
2 ?? AA CR !AA18RRFFESCMTRZ CR Read configuration FF = all modules
3 ## AA+ R7 CR Auto balance MM Module type (18 hex)
4 ## AA+ R8 CR Internal amplifier calibration S Short circuit 0/1
5 ## AA RRFFESCMTR CR !ACK CR SET configuration C Shunt resistor 0/1
6 ## AA+ R2 CR Short circuit input on Z Special module (2)
7 ## AA+ R3 CR Short circuit input off
8 ## AA+ R4 CR Shunt on
9 ## AA+ R5 CR Shunt off RR Range (1)
10 ## AA+ R1 CR Lock buttons 00 50 mV/V
11 ## AA+ R0 CR Unlock buttons 01 20 mV/V
12 ## AA SETB CR !{16*ASCII} CR Read serial number 02 10 mV/V
13 ## AA P RRFFESCMTR CR !ACK CR Write power on default to module 03 5 mV/V
04 2 mV/V
05 1 mV/V
FF Filter M Mode Shunt E Excitation
(1)
00 20 kHz 0 Full bridge 59.88 kOhm 0 0V @ 5 V Excitation
(2)
01 5 kHz 1 Half bridge 59.88 kOhm 1 1V Vers. 2.00 or higher
02 1 kHz 2 Quarter bridge 120 - 2 2.5 V
03 100 Hz 3 Quarter bridge 350 - 3 5V
04 10 Hz 4 Half bridge 175 kOhm 4 10 V
5 Full bridge 175 kOhm 5 0.25 V (2)
6 0.5 V (2)
DAQP-BRIDGE-A Module

T Filter Type
0 Butterworth characteristic
1 Bessel characteristic
DAQP-BRIDGE-B Module

Programming commands DAQP-BRIDGE-B


Instruction set
Command Syntax
Set module address ##(NewAddr)SETD\r
Read module configuration ??(Addr)\r
Set module configuration ##(Addr)(InputRange)(Filter)(Excitation)(ShortCircuit)(ShuntFunction)
(Shunt)(Mode)(FilterType)(Remote)\r
Automatic sensor offset adjustment ##(Addr)R7\r
Internal amplifier zero ##(Addr)R8\r
Set remote control on/off ##(Addr)R(Remote)\r
Input short circuit ##(Addr)R2\r
Input activate ##(Addr)R3\r
Activate shunt resistor ##(Addr)R4\r
Deactivate shunt resistor ##(Addr)R5\r
Activate Power on default ##(Addr)P(InputRange)(Filter)(Excitation)(ShortCircuit)(ShuntFunction)
(Shunt)(Mode)(FilterType)(Remote)\r
Deactivate Power on default ##(Addr)P\r
Read serial number ##(Addr)SETB\r

Commands in detail
Set module address
This command has to be sent as long as the filter button has been pressed on the module. After that, the new
address is stored in an EEPROM and the module sends a response string to the system.
Command: ##(Addr)SETD\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
\r: Carriage return (0D hex)
Response: !(Addr)1F(InputRange)(Filter)(Excitation)(ShortCircuit)(ShuntFunction)(Shunt)(Mode)(FilterType)
(Remote)(Special)\r
!: Response leading code
Addr: Acknowledged new module address
1F: Module type (DAQP-BRIDGE-B)
InputRange: Measuring range (2 characters hex, according to table)
Filter: Low pass filter (2 characters hex, according to table)
Excitation: Excitation voltage (1 character hex, according to table)
ShortCircuit:0 Input activated
1 Input short circuit
ShuntFunct.: Shunt function (1 character, according to table)
Shunt: 0 Shunt activated
1 Shunt deactivated
Mode: Bridge type (1 character hex, according to table)
Filter Type: 0 Butterworth characteristic
1 Bessel characteristic
Remote: 0 Module button activated
1 Module button locked
Special: 0 Standard module
1 Special module
Example: Command: ##01SETD\r
Response: !011F000130211100\r
(DAQP-BRIDGE-B; 100 mV/V; 100 kHz; 1V; no short circuit; shunt 2; shunt activated; half bridge;
Bessel filter; key’s on; standard module)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-23
DAQP-BRIDGE-B Module
Range and filter selection table Bridge type Excitation

Range Code Filter Code Code Mode Code Excitation


100 mV/V 00 Off 00 0 Full Bridge 0 0V
50 mV/V 01 100 kHz 01 1 Half Bridge 1 0.25 V
20 mV/V 02 30 kHz 02 2 Quarter Bridge 120 Ohm (3-wire) 2 0.5 V
10 mV/V 03 10 kHz 03 3 Quarter Bridge 350 Ohm (3-wire) 3 1V
5 mV/V 04 3 kHz 04 4 Quarter Bridge 120 Ohm (4-wire) 4 2.5 V
2 mV/V 05 1 kHz 05 5 Quarter Bridge 350 Ohm (4-wire) 5 5V
1 mV/V 06 300 Hz 06 6 10 V
0.5 mV/V 07 100 Hz 07
0.2 mV/V 08 30 Hz 08 Shunt function
0.1 mV/V 09 10 Hz 09
Code Shunt function
0 No shunt
1 Shunt 1
2 Shunt 2
3 External shunt
4 + 9 V output

Read module configuration


Command: ??(Addr)\r
??: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
\r: Carriage return (0D hex)
Response: !(Addr)1F(InputRange)(Filter)(Excitation)(ShortCircuit)(Shunt)(ShuntSelect)(Mode)(FilterType)
(Remote)(Special)\r
!: Response leading code
Addr: Module address
1F: Module type (DAQP-BRIDGE-B)
InputRange: Measuring range (2 characters hex, according to table)
Filter: Low pass filter (2 characters hex, according to table)
Excitation: Excitation voltage (1 character hex, according to table)
ShortCircuit:0 Input activated
1 Input short circuit
Shunt: 0 Shunt deactivated
1 Shunt activated
ShuntSelect: Current shunt (1 character, according to table)
Mode: Bridge type (1 character hex, according to table)
Filter Type: 0 Butterworth characteristic
1 Bessel characteristic
Remote: 0 Module button activated
1 Module button locked
Special: 0 Standard module
1 Special module
Example: Command: ??01\r
Response: !011F000130021000\r
(DAQP-BRIDGE-B; 100 mV/V; 100 kHz; 1V; no short circuit; shunt activated; shunt 2; half bridge;
Bessel filter; key’s on; standard module)

Set module configuration


Command: ##(Addr)(InputRange)(Filter)(Excitation)(ShortCircuit)(Shunt)(ShuntSelect)(Mode)(Filter type)
(Remote)\r
!: Response leading code
Addr: Module address
Input Range: Measuring range (2 characters hex, according to table)

4-24
DAQP-BRIDGE-B Module
Filter: Low pass filter (2 characters hex, according to table)
Excitation: Excitation voltage (1 character hex, according to table)
ShortCircuit: 0 Input activated
1 Input short circuit
Shunt: 0 Shunt deactivated
1 Shunt activated
ShuntSelect: Current shunt (1 character, according to table)
Mode: Bridge type (1 character hex, according to table)
FilterType: 0 Bessel Characteristic
1 Butterworth Characteristic
Remote: 0 Module button activated
1 Module button locked
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command, syntax error

Automatic sensor offset adjustment


Sets the actual Sensor offset to Zero. The maximum adjustment range is +/-200% of the input Range.
Command: ##(Addr)R7\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the Address FF takes affect on all connected Bridge modules.
R7 Command
\r: Carriage return (0D hex)
Response: There is no response on this command.
Warning: The Module is approximately 2 seconds off-line after sending this
command. That means it cant receive any command.

Internal amplifier zero


This function short circuit the Module input, and measures the offset values from the different input ranges. The
module automatically corrects the output voltage with this offset values.
Also the values are permanently stored in to the modules Memory.
Command: ##(Addr)R8\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the Address FF takes affect on all connected Bridge modules.
R8 Command
\r: Carriage return (0D hex)
Response: There is no response on this command.
Warning: The Module is approximately 15 seconds off-line after sending this command. That
means it cant receive any command.
If there is no sensor connected, activate the half bridge mode before sending this
command. Otherwise you will get an output overflow.

Set remote control on/off


Command: ##(Addr)R(Remote)\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the Address FF takes affect on all connected Bridge modules.
R: Command
Remote: 0 local mode (buttons are activated)
1 remote (buttons are locked)
\r: Carriage return (0D hex)
Response: There is no response on this command.

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-25
DAQP-BRIDGE-B Module
Input short circuit on
This function short circuit the Module input.
Command: ##(Addr)R2\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the Address FF takes effect on all connected Bridge modules.
R2 Command
\r: Carriage return (0D hex)
Response: There is no response on this command.
Warning: The Module is approximately 0.25 seconds off-line after sending this command.

Input short circuit off


This function is the inverse function of previous.
Command: ##(Addr)R3\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the Address FF takes effect on all connected Bridge modules.
R3 Command
\r: Carriage return (0D hex)
Response: There is no response on this command.
Warning: The module is approximately 0.25 seconds off-line after sending this command.

Activate shunt resistor


Activates the selected shunt function refered to shunt function table.
Shunt 1: 175 kOhm
Shunt 2: 59.88 kOhm
Command: ##(Addr)R4\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the address FF takes effect on all connected bridge modules.
R4: Command
\r: Carriage return (0D hex)
Response: There is no response on this command.
Warning: The module is approximately 0.25 seconds off-line after sending this command.

Deactivate shunt resistor


Deactivates the shunt resistor.
Command: ##(Addr)R5\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the address FF takes effect on all connected bridge modules.
R5 Command
\r: Carriage return (0D hex)
Response: There is no response on this command.
Warning: The Module is approximately 0.25 seconds off-line after sending this command.

4-26
DAQP-BRIDGE-B Module
Activate power on default
Command: ##(Addr)P(InputRange)(Filter)(Excitation)(ShuntSelect)(Mode)(FilterType)(Remote)\r
##: Command leading code
Addr: Acknowledged new module address
InputRange: Current measuring range (2 characters hex, according to table)
Filter: Current low pass filter (2 characters hex, according to table)
Excitation: Current Excitation Voltage (1 character hex, according to table)
ShuntSelect: Current shunt (1 character, according to table)
Mode: Current bridge type (1 character hex, according to table)
FilterType: 0 Butterworth characteristic
1 Bessel characteristic
Remote: 0 Module button activated
1 Module button locked
\r: Carriage return (0D hex)
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command, syntax error
Example: Command: ##01P000103010\r
Response: !ACK\r
(Set the module to 50 mV/V; 5 kHz; 5 V; full bridge; Butterworth; local buttons on; at power on)

Deactivate power on default


Deactivates the power on default mode.
The last pushbutton selected range and filter is adjusted at power on time.
Command: ##(Addr)P\r
##: Command leading code
Addr: Acknowledged new module address
P: Command
\r: Carriage return (0D hex)
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command, syntax error
Example: Command: ##01P\r
Response: !ACK\r

Read Serial Number


Command: ##(Addr)SETB\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the address FF takes effect on all connected bridge modules.
SETB: Command
\r: Carriage return (0D hex)
Response: !(SERAL)xx(REVISION)xxx\r
(SERIAL): Module serial number (6 digits)
x: space
(Revision): Revision number (i.e. V200)
\r: Carriage return (0D hex)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-27
DAQP-BRIDGE-B

4-28
Nr: Command Response Function REV AA Address
1 ## AA SETD CR !AA1FRRFFESCsCMTRZ CR Program address 2+ AA+ Address
2 ?? AA CR !AA1FRRFFESCsCMTRZ CR Read configuration 2+ FF = all modules
3 ## AA+ R7 CR Auto balance 0 MM Module type
4 ## AA+ R8 CR Internal amplifier calibration 0 S Short circuit 0/1
5 ## AA RRFFESCsCMTR CR !ACK CR Set configuration 0 C Shunt resistor 0/1
6 ## AA RRFFESCsCMTR CR !NoACK CR Set configuration 0 Z Special module
7 ## AA+ R2 CR Short circuit input on 0
8 ## AA+ R3 CR Short circuit input off 0
9 ## AA+ R4 CR Shunt on 0
10 ## AA+ R5 CR Shunt off 0
11 ## AA+ R1 CR Lock buttons 0
12 ## AA+ R0 CR Unlock buttons 0
13 ## AA SETB CR !{16*ASCII} CR Read serial number 0
14 ## AA P RRFFESCsCMTR CR !ACK CR Write power on default 0
15 ?? AA SETD CR !AA1FRRFFESCsCMTR CR Program address 1
16 AA CR !AA1FRRFFESCsCMTR CR Read configuration 1

Cs Shunt function M Mode E Excitation FF Filter RR Range


0 No shunt 0 Full bridge 0 0V 00 OFF 00 100 mV/V
1 Shunt I 1 Half bridge 1 0.25 V 01 100 kHz 01 50 mV/V
2 Shunt II 2 Quarter bridge 120 (3-Wire) 2 0.5 V 02 30 kHz 02 20 mV/V
3 External shunt 3 Quarter bridge 350 (3-Wire) 3 1V 03 10 kHz 03 10 mV/V
4 + 9 V output 4 Quarter bridge 120 (4-Wire) 4 2.5 V 04 3 kHz 04 5 mV/V
DAQP-BRIDGE-B Module

5 Quarter bridge 350 (4-Wire) 5 5V 05 1 kHz 05 2 mV/V


6 10 V 06 300 Hz 06 1 mV/V
T Filter type 07 100 Hz 07 0.5 mV/V
0 Butterworth characteristic 08 30 Hz 08 0.2 mV/V
1 Bessel characteristic 09 10 Hz 09 0.1 mV/V
DAQP-TRQ Module

Programming commands DAQP-TRQ


Instruction set
Command Syntax
Set module address ##(NewAddr)SETD\r
Read module configuration ??(Addr)\r
Set module configuration ##(Addr)(Range)(Filter)(Remote)\r
Set remote control on/off ##(Addr)Rx\r
Read serial (1) ##(Addr)SETB\r
(1)
Commands applied in 08-2003

Commands in detail
Set module address
This command has to be sent as long as the filter button is pressed on the module. After that, the new address
is stored in an EEPROM and the module sends a response string to the system.
Command: ##(NewAddr)SETD\r
##: Command leading code
NewAddr: New module address (2 characters hex from 00 to FE)
SETD: Set address command
\r: Carriage return (0D hex)
Response: !(NewAddr)(ModuleType)(Range)(Filter)(Remote)\r
!: Response leading code
NewAddr: Confirmed new module address (2 characters hex)
ModuleType: Type of module (2 characters hex, 07 according general prog. info)
Range: Measuring range position (2 characters hex, according table)
Filter: Filter position (2 characters hex, according table)
Remote: Remote or local access to module (1 character, according general prog. info)
Example: Command: ##01SETD\r
Response: !010704020\r
(Address 01, DAQP-TRQ, range E, 100 Hz, local mode)

Range and filter selection table


Range Code Filter Code
A 00 1 kHz 00
B 01 300 Hz 01
C 02 100 Hz 02
D 03 30 Hz 03
E 04 10 Hz 04
F 05 - -

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-29
DAQP-TRQ Module
Read module configuration
Command: ??(Addr)\r
??: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
\r: Carriage return (0D hex)
Response: !(Addr)(ModuleType)(Range)(Filter)(Remote)\r
Response details see also ‘Set module address’
Example: Command: ??01\r
Response: !010704020\r
(Address 01, DAQP-TRQ, range E, 100 Hz, local mode)

Set module configuration


Command: ##(Addr)(Range)(Filter)(Remote)\r
Command details see also ‘Set module address’
Response: !ACK\r (Notice: an incorrect command get no response from module!)
!: Response leading code
ACK: Acknowledge
\r: Carriage return (0D hex)
Example: Command: ##0104020\r
(Address 01, range E, 100 Hz, local mode)
Response: !ACK\r

Set remote control on/off


Command: ##(Addr)Rx\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Address FF sets all modules with one command
Rx: Remote on/off command
0: local mode
1: remote control
\r: Carriage return (0D hex)
Response: no response
Example: Command: ##01R0\r
(Module address 01, local mode)
Command: ##01R1\r
(Module address 01, remote mode)

Read serial number


Command: ##(Addr)SETB\r
Command details see also ‘Set module address’
Response: !(Serial)xx(Revision)xxx\r
(Serial): Module Serial Number (6 digits)
x: space
(Revision): Revision Number (i.e. V200)
\r: Carriage return (0D hex)

4-30
DAQP-ACC-A Module

Programming commands DAQP-ACC-A


Instruction set
Command Syntax
Set module address ##(NewAddr)SETD\r
Read module configuration ??(Addr)\r
Set module configuration ##(Addr)(Range)(Filter)(Current)(Highpass)(Remote)\r
Set remote control on/off ##(Addr)Rx\r
Read serial (1) ##(Addr)SETB\r
(1)
Commands applied in 08-2003

Commands in detail
Set module address
This command has to be sent as long as the filter button has been pressed on the module. After that, the new
address is stored in an EEPROM and the module sends a response string to the system.
Command: ##(NewAddr)SETD\r
##: Command leading code
NewAddr: New module address (2 characters hex from 00 to FE)
SETD: Set address command
\r: Carriage return (0D hex)
Response: !(NewAddr)(ModuleType)(Gain)(Filter)(Current)(Highpass)(Error)(Remote)\r
!: Response leading code
NewAddr: Confirmed new module address (2 characters hex)
ModuleType: Type of module (2 characters hex, 1B according general prog. info)
Range: Measuring range position (2 characters hex, according table)
Filter: Filter position (2 characters hex, according table)
Current: Selection between 4 mA and 8 mA (1 character, according table)
Highpassf.: Selection between 5 Hz and 0.5 Hz (1 character, according table)
Error: Error on module input (1 character, according table)
Remote: Remote or local access to module (1 character, according general prog. info)
Example: Command: ##01SETD\r
Response: !010902010000\r
(Address 01, DAQP-ACC, x10, 100 kHz, 4 mA, 5Hzs, no error, local)

Sensor supply Highpass filter


Code Sensor supply Code Highpass filter
0 4 mA sensor supply 0 5 Hz
1 8 mA sensor supply 1 0.5 Hz

Error codes Range and filter selection table


Code Error code Range Code Filter Code
0 No input error 1 00 300 kHz 00
1 No sensor connected 3 01 100 kHz 01
2 Input short circuit 10 02 10 kHz 02
30 03 1 kHz 03
100 04 - -

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-31
DAQP-ACC-A Module
Read module configuration
Command: ??(Addr)\r
??: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
\r: Carriage return (0D hex)
Response: !(Addr)(ModuleType)(Gain)(Filter)(Current)(Highpassfilter)(Error)(Remote)\r
Response details see also ‘Set module address’
Example: Command: ??01\r
Response: !010902010000\r
(Address 01, DAQP-ACC, x10, 100 kHz, 4 mA, 5 Hz, no error, local)

Set module configuration


Command: ##(Addr)(Gain)(Filter)(Current)(Highpassfilter)(Remote)\r
Command details see also ‘Set module address’
Response: !ACK\r (Notice: an incorrect command gets no response from module!)
!: Response leading code
ACK: Acknowledge
\r: Carriage return (0D hex)
Example: Command: ##010002110\r
(Address 01, 1, 10 kHz, 8 mA, 0.5 Hz, local)
Response: !ACK\r

Set remote control on/off


Command: ##(Addr)Rx\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Address FF sets all modules with one command
Rx: Remote on/off command
0: local mode
1: remote control
\r: Carriage return (0D hex)
Response: no response
Example: Command: ##01R0\r
(Module address 01, local mode)
Command: ##01R1\r
(Module address 01, remote mode)

Read serial number


Command: ##(Addr)SETB\r
Command details see also ‘Set module address’
Response: !(Serial)xx(Revision)xxx\r
(Serial): Module Serial Number (6 digits)
x: space
(Revision): Revision Number (i.e. V200)
\r: Carriage return (0D hex)

4-32
DAQP-CHARGE Module

Programming commands DAQP-CHARGE


Instruction set
Command Syntax
Set module address ##(NewAddr)SETD\r
Read module configuration ??(Addr)\r
Set module configuration ##(Addr)(Range)(Filter)(InputType)(FineTuning)(Remote)\r
Set remote control on/off ##(Addr)R(Remote)\r

Commands in detail
Set module address
This command has to be sent as long as the filter button has been pressed on the module. After that, the new
address is stored in an EEPROM and the module sends a response string to the system.
Command: ##(NewAddr)SETD\r
##: Command leading code
NewAddr: New module address (2 characters hex from 00 to FE)
SETD: Set address command
\r: Carriage return (0D hex)
Response: !(NewAddr)(ModuleType)(Range)(Filter)(InputType)(FineTuning)(Overflow)(Remote)\r
!: Response leading code
NewAddr: Confirmed new module address (2 characters hex)
ModuleType: Type of module (2 characters hex, 05 according general prog. info)
Range: Measuring range position (2 characters hex, according table)
Filter: Filter position (2 characters hex, according table)
InputType: Selection between ‘charge’ and ‘ICP’ input (1 character, according table)
FineTuning: Input amplifier fine tuning (3 characters hex)
Detailed fine tuning information on next page
Overflow: Overflow indicator (correspond with ‘Overflow’-LED)
Remote: Remote or local access to module (1 character, according general prog. info)
Example: Command: ##01SETD\r
Response: !0105007F019900\r
(Address 01, DAQP-CHARGE, 0 dB, 20 kHz, ICP, 1:10, no overflow, local)

Input types Range and filter selection table


Code Function Range Code Filter Code
0 ICP input active 0 dB 00 20 kHz 7F
1 Charge input active 20 dB 01 10 kHz 74
40 dB 02 5 kHz 63
60 dB 03 1 kHz 0F
Overflow status
Code Function Notice: Detailed filter selection table on next page.
0 No input overflow
1 Input overflow

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-33
DAQP-CHARGE Module
Fine tuning
As standard, the input divider is set to 1:10. In this case, the input ranges 0, 20, 40 and 60 dB are valid.
The module allows to varying the input division from 1:10 to 1:1 in 3686 steps. This feature can be used to do a
sensor calibration directly in the module.
Division 1:10 199 hex (standard range, e.g. 0 dB)
Division 1:1 FFF hex (next range, e.g. 20 dB)
All values between 199 and FFF hex are valid for module programming. As soon as the division is above 1:10
(199 hex), the input range LED’s are not active.

Detailed filter selection table


Filter No. Code Range Filter No. Code Range Filter No. Code Range Filter No. Code Range
[dec] [hex] [kHz] [dec] [hex] [kHz] [dec] [hex] [kHz] [dec] [hex] [kHz]
0 00 0,82 32 20 1,29 64 40 2,93 96 60 5,12
1 01 0,83 33 21 1,32 65 41 2,97 97 61 5,24
2 02 0,84 34 22 1,34 66 42 3,01 98 62 5,36
3 03 0,85 35 23 1,37 67 43 3,05 99 63 5,50
4 04 0,86 36 24 1,39 68 44 3,09 100 64 5,65
5 05 0,87 37 25 1,42 69 45 3,13 101 65 5,80
6 06 0,88 38 26 1,45 70 46 3,18 102 66 5,96
7 07 0,89 39 27 1,48 71 47 3,23 103 67 6,12
8 08 0,90 40 28 1,51 72 48 3,28 104 68 6,31
9 09 0,91 41 29 1,54 73 49 3,32 105 69 6,49
10 0A 0,93 42 2A 1,58 74 4A 3,38 106 6A 6,69
11 0B 0,94 43 2B 1,61 75 4B 3,43 107 6B 6,90
12 0C 0,95 44 2C 1,65 76 4C 3,49 108 6C 7,12
13 0D 0,96 45 2D 1,69 77 4D 3,54 109 6D 7,35
14 0E 0,98 46 2E 1,73 78 4E 3,60 110 6E 7,61
15 0F 0,99 47 2F 1,77 79 4F 3,66 111 6F 7,88
16 10 1,00 48 30 1,82 80 50 3,73 112 70 8,18
17 11 1,02 49 31 1,86 81 51 3,79 113 71 8,51
18 12 1,03 50 32 1,91 82 52 3,85 114 72 8,86
19 13 1,05 51 33 1,97 83 53 3,93 115 73 9,24
20 14 1,06 52 34 2,02 84 54 4,00 116 74 9,66
21 15 1,08 53 35 2,08 85 55 4,07 117 75 10,12
22 16 1,09 54 36 2,14 86 56 4,15 118 76 10,61
23 17 1,11 55 37 2,16 87 57 4,23 119 77 11,10
24 18 1,13 56 38 2,28 88 58 4,31 120 78 11,66
25 19 1,15 57 39 2,35 89 59 4,40 121 79 12,33
26 1A 1,17 58 3A 2,43 90 5A 4,49 122 7A 13,09
27 1B 1,19 59 3B 2,52 91 5B 4,58 123 7B 13,90
28 1C 1,21 60 3C 2,61 92 5C 4,68 124 7C 14,82
29 1D 1,23 61 3D 2,71 93 5D 4,79 125 7D 15,92
30 1E 1,25 62 3E 2,81 94 5E 4,89 126 7E 17,19
31 1F 1,27 63 3F 2,93 95 5F 5,00 127 7F 18,75

4-34
DAQP-CHARGE Module
Read module configuration
Command: ??(Addr)\r
??: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
\r: Carriage return (0D hex)
Response: !(Addr)(ModuleType)(Range)(Filter)(InputType)(FineTuning)(Overflow)(Remote)\r
Response details see also ‘Set module address’
Example: Command: ??01\r
Response: !0105007F019900\r
(Address 01, DAQP-CHARGE, 0 dB, 20 kHz, ICP, 1:10, no overflow, local)

Set module configuration


Command: ##(Addr)(Range)(Filter)(InputType)(FineTuning)(Remote)\r
Command details see also ‘Set module address’
Response: !ACK\r (Notice: an incorrect command gets no response from module!)
!: Response leading code
ACK: Acknowledge
\r: Carriage return (0D hex)
Example: Command: ##01007F01990\r
(Address 01, 0 dB, 20 kHz, ICP, 1:10, local)
Response: !ACK\r

Set remote control on/off


Command: ##(Addr)Rx\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Address FF sets all modules with one command
Rx: Remote on/off command
0: local mode
1: remote control
\r: Carriage return (0D hex)
Response: no response
Example: Command: ##01R0\r
(Module address 01, local mode)
Command: ##01R1\r
(Module address 01, remote mode)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-35
DAQP-CHARGE

4-36
Nr: Command Response Function AA Address
1 ## AA SETD CR !AA05RRFFitttOk CR Program address {adr+} Address
2 ?? AA CR !AA05RRFFitttOk CR Read configuration FF = all modules
3 ## AA RRFFitttk CR !ACK CR SET configuration MM Module type (05)
4 ## AA+ R1 CR Lock buttons ttt Fine tuning
5 ## AA+ R0 CR Unlock buttons k Button lock

FF Detailed filter selection table RR Range


00 0 dB
Filter No. Code Range Filter No. Code Range Filter No. Code Range Filter No. Code Range
01 20 dB
[dec] [hex] [kHz] [dec] [hex] [kHz] [dec] [hex] [kHz] [dec] [hex] [kHz]
02 40 dB
0 00 0,82 32 20 1,29 64 40 2,93 96 60 5,12 03 60 dB
1 01 0,83 33 21 1,32 65 41 2,97 97 61 5,24
2 02 0,84 34 22 1,34 66 42 3,01 98 62 5,36
3 03 0,85 35 23 1,37 67 43 3,05 99 63 5,50 i Input type
4 04 0,86 36 24 1,39 68 44 3,09 100 64 5,65 0 ICP input active
5 05 0,87 37 25 1,42 69 45 3,13 101 65 5,80 1 Charge input active
6 06 0,88 38 26 1,45 70 46 3,18 102 66 5,96
7 07 0,89 39 27 1,48 71 47 3,23 103 67 6,12
8 08 0,90 40 28 1,51 72 48 3,28 104 68 6,31 O Overflow status
9 09 0,91 41 29 1,54 73 49 3,32 105 69 6,49 0 No input overflow
10 0A 0,93 42 2A 1,58 74 4A 3,38 106 6A 6,69 1 Input overflow
DAQP-CHARGE Module

11 0B 0,94 43 2B 1,61 75 4B 3,43 107 6B 6,90


12 0C 0,95 44 2C 1,65 76 4C 3,49 108 6C 7,12
13 0D 0,96 45 2D 1,69 77 4D 3,54 109 6D 7,35
14 0E 0,98 46 2E 1,73 78 4E 3,60 110 6E 7,61
15 0F 0,99 47 2F 1,77 79 4F 3,66 111 6F 7,88
16 10 1,00 48 30 1,82 80 50 3,73 112 70 8,18
17 11 1,02 49 31 1,86 81 51 3,79 113 71 8,51
18 12 1,03 50 32 1,91 82 52 3,85 114 72 8,86
19 13 1,05 51 33 1,97 83 53 3,93 115 73 9,24
20 14 1,06 52 34 2,02 84 54 4,00 116 74 9,66
21 15 1,08 53 35 2,08 85 55 4,07 117 75 10,12
22 16 1,09 54 36 2,14 86 56 4,15 118 76 10,61
23 17 1,11 55 37 2,16 87 57 4,23 119 77 11,10
24 18 1,13 56 38 2,28 88 58 4,31 120 78 11,66
25 19 1,15 57 39 2,35 89 59 4,40 121 79 12,33
26 1A 1,17 58 3A 2,43 90 5A 4,49 122 7A 13,09
27 1B 1,19 59 3B 2,52 91 5B 4,58 123 7B 13,90
28 1C 1,21 60 3C 2,61 92 5C 4,68 124 7C 14,82
29 1D 1,23 61 3D 2,71 93 5D 4,79 125 7D 15,92
30 1E 1,25 62 3E 2,81 94 5E 4,89 126 7E 17,19
31 1F 1,27 63 3F 2,93 95 5F 5,00 127 7F 18,75
DAQP-CHARGE-A Module

Programming commands DAQP-CHARGE-A


Instruction set
Command Syntax
Set module address ##(NewAddr)SETD\r
Read module configuration ??(Addr)\r
Set module configuration ##(Addr)(Range)(LowpassFilter)(Integration)(HighpassFilter)(InputType)
(FineTuning)(Remote)\r
Set remote control on/off ##(Addr)R(Remote)\r
Activate power on default ##(Addr)P(Range)(LowpassFilter)(Integration)(HighpassFilter)(InputType)(FineTuning)
(Remote)\r
Deactivate power on default ##(Addr)P\r
Read serial number ##(Addr)SETB\r

Commands in detail
Set module address
This command has to be sent as long as the filter button has been pressed on the module. After that, the new
address is stored in an EEPROM and the module sends a response string to the system.
Command: ##(NewAddr)SETD\r
##: Command leading code
NewAddr: New module address (2 characters hex from 00 to FE)
SETD: Set address command
\r: Carriage return (0D hex)
Response: !(NewAddr)(ModuleType)(Range)(LowpassFilter)(Integration)(HighpassFilter)(InputType)
(FineTuning)(Overflow)(ICP-Voltage)(Remote)\r
!: Response leading code
NewAddr: Confirmed new module address (2 characters hex)
ModuleType: Type of module (2 characters hex, 17 according general prog. info)
Range: Amplifier range position (2 characters hex, according table)
LowpassFil.: Output lowpass filter position (2 characters hex, according table)
Integration: Integration mode (1 character, according table)
HighpassFil.: Input highpass filter position (2 characters hex, according table)
InputType: Selection between ‘charge’ and ‘ICP’ input (1 character, according table)
FineTuning: Input amplifier fine tuning (3 characters hex 199 to FFF)
Overflow: Overflow indicator (correspond with ‘Overflow’-LED)
ICP-Voltage: Current ICP-Voltage State (1 character, according table)
Remote: Remote or local access to module (1 character, according general prog. info)
Example: Command: ##05SETD\r
Response: !051703020020FFF000
New address 05; DAQP-CHARGE-A module; 100 mV/pC (40db); lowpass 3 kHz;
integration off; highpass 10 Hz; charge input active; 1:10; no overflow; no ICP
sensor; local mode

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-37
DAQP-CHARGE-A Module
Input types Integration mode
Code Function Code Function
0 Charge input active 0 Integration off
1 ICP input active 1 Single integration
2 Double integration

Overflow status
ICP-Voltage state
Code Function
Code Function
0 No input overflow
0 Sensor is inside range
1 Input overflow
1 ICP input short
2 ICP in idle
Low- highpass Filter
Code Lowpass Code Highpass Amplifier range selection tables
00 50 kHz 00 0.1 Hz
Code Charge dB Code ICP dB
01 10 kHz 01 1 Hz
02 3 kHz 02 10 Hz 00 0.1 mV/pC -20 00 5000 mV 0
03 1 kHz - - 01 1 mV/pC 0 01 500 mV 20
04 0,1 kHz - - 02 10 mV/pC 20 02 50 mV 40
03 100 mV/pC 40 03 5 mV 60
04 1000 mV/pC 60
Fine tuning
As standard, the input divider is set to 1:10. In this case, the input ranges 0, 20, 40 and 60 dB are valid.
The module allows to varying the input division from 1:10 to 1:1 in 3686 steps. This feature can be used to do a
sensor calibration directly in the module.
Division 1:1 199 hex
Division 1:5 8CC hex
Division 1:10 FFF hex
All values between 199 and FFF hex are valid for module programming. As soon as the division is above 1:10
(FFF hex), the input range LED’s are not active.

Read module configuration


Command: ??(Addr)\r
??: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
\r: Carriage return (0D hex)
Response: !(Addr)(ModuleType)(Range)(LowpassFilter)(Integration)(HighpassFilter)(InputType)
(FineTuning)(Overflow)(ICP-Voltage)(Remote)\r
Response details see also ‘Set module address’
Example: Command: ??04\r
Response: !041703020021FFF000
New address 04; DAQP-CHARGE-A module; 5 mV (60 db); lowpass 3 kHz;
integration off; highpass 10 Hz; ICP input active; 1:10; no overflow; sensor is inside
range; local mode

Set module configuration


Command: ##(Addr)(Range)(LowpassFilter)(Integration)(HighpassFilter)(InputType)(FineTuning)(Remote)\r
Command details see also ‘Set module address’
Response: !ACK\r (Notice: an incorrect command gets no response from module!)
!: Response leading code
ACK: Acknowledge
\r: Carriage return (0D hex)

4-38
DAQP-CHARGE-A Module
Set remote control on/off
Command: ##(Addr)Rx\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Address FF sets all modules with one command
Rx: Remote on/off command
0: local mode
1: remote control
\r: Carriage return (0D hex)
Response: no response
Example: Command: ##01R0\r
(Module address 01, local mode)
Command: ##01R1\r
(Module address 01, remote mode)

Activate power on default


Command: ##(Addr)P(Range)(LowpassFilter)(Integration)(HighpassFilter)(InputType)(FineTuning)
(Remote)\r
Command details see also ‘Set module address’
Response: !ACK\r Valid command

Deactivate power on default


Deactivates the power on default mode.
The last pushbutton selected range and filter is adjusted at power on time.
Command: ##(Addr)P\r
##: Command leading code
Addr: Module address
P: Command
\r: Carriage return (0D hex)
Response: !ACK\r Valid command
Example: Command: ##01P\r
Response: !ACK\r

Read Serial Number


Command: ##(Addr)SETB\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
SETB: Command
\r: Carriage return (0D hex)
Response: !(SERAL)xx(REVISION)xxx\r
(SERIAL): Module serial number (6 digits)
x: space
(Revision): Revision number (i.e. V200)
\r: Carriage return (0D hex)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-39
DAQP-CHARGE-A

4-40
Nr: Command Response Function
1 ## AA SETD CR !AAMMRRFFI{Hp}{icp}{gain}Ok CR Set module address
2 ?? AA CR !AAMMRRFFI{Hp}{icp}{gain}Ok CR Read configuration
3 ## AA RRFFI{Hp}{icp}{gain}k CR !ACK CR SET configuration
4 ## AA+ R1 CR Lock buttons
5 ## AA+ R0 CR Unlock buttons
6 ## AA SETB CR !{16*ASCII} CR Read serial number
7 ## AA P RRFFI{Hp}{icp}{gain}k CR !ACK CR Write power on default to module

FF Lowpass filter RR Charge dB


00 Full bandwith (50 kHz) 00 0.1 mV/pC -20
01 10 kHz 01 1 mV/pC 0
02 3 kHz 02 10 mV/pC 20
03 1 kHz 03 100 mV/pC 40
04 0.1 kHz 04 1000 mV/pC 60

Hp Highpass filter RR ICP dB


00 0.1 Hz 00 5000 mV 0
01 1 Hz 01 500 mV 20
02 10 Hz 02 50 mV 40
03 5 mV 60

AA Address
DAQP-CHARGE-A Module

AA+ Address I Integration mode


FF = all modules 0 Integration off
MM Module type (17) 1 Single
RR Range 2 Double integration
FF Filter code
k Button lock
Z Special module O Overflow status
{gain} Gain value 3 byte hex 0 No input
199 = *1 1 Input overflow
8CC = *5
FFF = *10
DAQP-CHARGE-B Module

Programming commands DAQP-CHARGE-B


Instruction set
Command Syntax
Set module address ##(NewAddr)SETD\r
Read module configuration ??(Addr)\r
Set module configuration ##(Addr)(Range)(LowpassFilter)(InputShort)(HighpassFilter)(FilterType)(Remote)\r
Set remote control on/off ##(Addr)R(Remote)\r
Module Reset ##(Addr)R6\r
Activate highpass filter ##(Addr)R9\r
Deactivate highass filter ##(Addr)RA\r
Activate power on default ##(Addr)P(Range)(LowpassFilter)(InputShort)(HighpassFilter)(FilterType)(Remote)\r
Deactivate power on default ##(Addr)P\r
Read serial number ##(Addr)SETB\r

Commands in detail
Set module address
This command has to be sent while the filter button gets pressed on the module. After that, the new address is
stored in an EEPROM and the module sends a response string to the system.
Command: ##(NewAddr)SETD\r
##: Command leading code
NewAddr: New module address (2 characters hex from 00 to FE)
SETD: Set address command
\r: Carriage return (0D hex)
Response: !(NewAddr)(ModuleType)(Range)(LowpassFilter)(InputShort)(HighpassFilter)(FilterType)
(Remote)(Special)(Isolation)\r
!: Response leading code
NewAddr: Confirmed new module address (2 characters hex)
ModuleType: Type of module (2 characters hex, 1E according general prog. info)
Range: Amplifier range position (2 characters hex, according table)
LowpassFil.: Filter position (2 characters hex, according table)
InputShort.: Input short circuit (390 kOhm resistor)
HighpassFil.: Activate/deactivate highpass filter (1 character, according table)
FilterType: Filter characteristic selection (1 character, according table)
Remote: Remote or local access to module (1 character, according general prog. info)
Special: 0 Standard module
1 Special module
InputIsolation:0 Galvanic isolation
1 No galvanic isolation

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-41
DAQP-CHARGE-B Module
Lowpass filter type Input short circuit
Attention: Activating the input short circuit
Code Function
causes a permanent reset. For discharging the
0 Bessel filter activated command “reset module” is recommended.
1 Butterworth filter activated
Code Function
0 Input short circuit deactivated
Amplifier range and filter selection 1 Input short circuit activated
table
Range Code Lowpass Code Highpass filter
1000 k pC 00 100 kHz 00
Code Function
200 k pC 01 30 kHz 01
40 k pC 02 10 kHz 02 0 Highpass filter deactivated (DC)
10 k pC 03 3 kHz 03 1 Highpass filter activated (AC)
2000 pC 04 1 kHz 04
500 pC 05 300 Hz 05
100 pC 06 100 Hz 06
- - 30 Hz 07
- - 10 Hz 08

Read module configuration


Command: ??(Addr)\r
??: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
\r: Carriage return (0D hex)
Response: !(Addr)(ModuleType)(Range)(LowpassFilter)(InputShortCircuit)(HighpassFilter)(FilterType)
(Remote)(Special)(Isolation)\r
Response details see also ‘Set module address’
Example: Command: ??(00)\r
Response: !001E010600100
Module address 00; CHARGE-B module; 200 k pC; 100 Hz; no short circuit;
highpass filter activated; bessel filter activated; remote mode; standard module; no
galvanic isolation

Set module configuration


Command: ##(Addr)(Range)(LowpassFilter)(InputShortCircuit)(HighpassFilter)(FilterType)(Remote)\r
Command details see also ‘Set module address’
Response: !ACK\r (Notice: an incorrect command gets no response from module!)
!: Response leading code
ACK: Acknowledge
\r: Carriage return (0D hex)

4-42
DAQP-CHARGE-B Module
Set remote control on/off
Command: ##(Addr)Rx\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Address FF sets all modules with one command
Rx: Remote on/off command
0: local mode
1: remote control
\r: Carriage return (0D hex)
Response: No response
Example: Command: ##01R0\r
(Module address 01, local mode)
Command: ##01R1\r
(Module address 01, remote mode)

Reset module
Command: ##(Addr)R6\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Address FF sets all modules with one command
R6: Reset the module for 0.5 sec.
\r: Carriage return (0D hex)
Response: !ACK\r

Activate / deactivate highpassfiter


Command: ##(Addr)Rx\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Address FF sets all modules with one command
Rx: Hihgpassfilter activate / deactivate command
9: Activate highpassfilter
A: Deactivate highpassfilter
\r: Carriage return (0D hex)
Response: No response
Example: Command: ##01R9\r
(Module address 01, highpassfilter active)
Command: ##01RA\r
(Module address 01, highpassfilter inactive)

Read Serial Number


Command: ##(Addr)SETB\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sending the address FF takes effect on all connected bridge modules.
SETB: Command
\r: Carriage return (0D hex)
Response: !(SERAL)xx(REVISION)xxx\r
(SERIAL): Module serial number (6 digits)
x: space
(Revision): Revision number (i.e. V200)
\r: Carriage return (0D hex)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-43
DAQP-CHARGE-B Module
Activate power on default
Command: ##(Addr)P(Range)(LowpassFilter)(InputShortCircuit)(HighpassFilter)(FilterType)(Remote)\r
Command details see also ‘Set module address’
Response: !ACK\r Valid command

Deactivate power on default


Deactivates the power on default mode.
The last pushbutton selected range and filter is adjusted at power on time.
Command: ##(Addr)P\r
##: Command leading code
Addr: Module address
P: Command
\r: Carriage return (0D hex)
Response: !ACK\r Valid command
Example: Command: ##01P\r
Response: !ACK\r

4-44
DAQP-CHARGE-B Module

Notes

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 4-45
DAQP-CHARGE-B

4-46
Nr: Command Response Function AA Address
1 ## AA SETD CR !AAMMRRFFECTKZG CR Program address AA+ Address
2 ?? AA CR !AAMMRRFFECTKZG CR Read configuration FF = all modules
3 ## AA RRFFECTR CR !ACK CR SET configuration MM Module type (1E)
4 ## AA+ R6 CR Module reset RR Range
5 ## AA+ R9 CR Highpass on FF Filter code
6 ## AA+ RA CR Highpass off E Input short circuit
7 ## AA+ R1 CR Lock buttons on/off (390kOHM resistor)
8 ## AA+ R0 CR Unlock buttons C Highpass
9 ## AA SETB CR !{16*ASCII} CR Read serial number T Filter type (Bessl/Buth.)
10 ## AA P RRFFECTR CR !ACK CR Write power on default to module G Galvanic isolation deactivate
k Button lock
Z Special module
RR Range FF Filter
00 1000000 pC 00 100 kHz
01 200000 pC 01 30 kHz
02 40000 pC 02 10 kHz
03 10000 pC 03 3 kHz
04 2000 pC 04 1 kHz
05 500 pC 05 300 Hz
06 100 pC 06 100 Hz
07 30 Hz
08 10 Hz
DAQP-CHARGE-B Module
MDAQ Modules Series
MDAQ-V Module

Programming commands MDAQ-V


Instruction set
Command Syntax
General commands
Read module configuration ??M(Addr)\r
Read serial number ??M(Addr)GETN\r
Read module type and firmware version ??M(Addr)VER\r
Functional commands
Read gain for channel x ??K(ChannelNo)\r
Set gain for channel x ##K(ChannelNo)FF(GainLevel)TMM\r
Read gain calibration values ??M(Addr)K(GainLevel)\r
Read offset calibration values ??M(Addr)Z(GainLevel)\r

Commands in detail
Read module configuration
Command: ??M(Addr)\r
??M: Command leading code
Addr: Module address (2 characters hex from 00 to 0F)
\r: Carriage return (0D hex)
Response: !M(Addr)(ModuleType)(ChannelNoOffset)(ChannelNo)(OutputRange)(FilterBoard)(SVersion)\r
!M: Response leading code
Addr: Module address
ModuleType: ’21’ hex for DEWE-MDAQ-V
ChNoOffset: ‘00’ hex default
ChannelNo: ‘10’ hex default
OutpRange: ‘0’ if output voltage is +- 5V
‘1’ if output voltage is +-10V
FilterBoard: ‘0’ if no filter board is connected
‘1’ if filter board type 1 is connected
‘2’ if filter board type 2 is connected
SVersion: ‘0’ for standard MDAQ-V version
‘1’ for special MDAQ-V version
Example: Command: ??M01\r
Response: !M00210010001\r
(Address=00, 21 -> MDAQ-V-Module, ChannelNoOffset=00, ChannelNo=10,
OutputRange = +-5V, 0 -> No Filter Board connected, 1-> MDAQ-V special version)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 5-1
MDAQ-V Module
Read serial number
Command: ??M(Addr)GETN\r
??M: Command leading code
Addr: Module address (2 characters hex from 00 to 0F)
GETN: Command leading code
\r: Carriage return (0D hex)
Response: !(SNR)\r
!: Response leading code
SNR: 16 bytes serial number (ASCII), blanks will be placed with 20 hex
\r: Carriage return (0D hex)
Example: Command: ??M00GETN\r
(Address = 00 hex)
Response: !220643 V100

Read module type and firmware version


Command: ??M(Addr)VER\r
??M: Command leading code
Addr: Module address (2 characters hex from 00 to 0F)
VER: Command leading code
\r: Carriage return (0D hex)
Response: !DAQM-DIFF Ver.1.00\r
!: Response leading code with Module type and firmware version x.xx
\r: Carriage return (0D hex)

Read gain for channel x


Command: ??K(ChannelNo)\r
??K: Command leading code
ChannelNo: 2 characters hex from 00 to FF
\r: Carriage return (0D hex)
Response: !M(Addr)00(GainLevel)000)\r
!M: Response leading code
Addr: Module address (2 characters hex from 00 to 0F)
GainLevel: ‘0’ for gain-level 1 (e.g. 0.1 or 1)
‘1’ for gain-level 2 (e.g. 1 or 10)
\r: Carriage return (0D hex)
Example: Command: ??K10\r
(ChannelNo = 10 hex)
Response: !M00000000\r
(Address=00, 00 -> 2 characters reserved, 0 -> Gain 0.1 or 1,
000 -> 3 characters reserved)

5-2
MDAQ-V Module
Set gain for channel x
Command: ##K(ChannelNo)FF(GainLevel)TMM\r
##K: Command leading code
ChannelNo: 2 characters hex from 00 to FF
FF: Command leading code
GainLevel: ‘0’ for gain-level 1 (e.g. 0.1 or 1)
‘1’ for gain-level 2 (e.g. 1 or 10)
TMM: Command leading code
\r: Carriage return (0D hex)
Response: !ACK\r Notice: an incorrect command gets no response from module!
!: Response leading code
ACK: Acknowledge
\r: Carriage return (0D hex)
Example: Command: ??K0AFF0TMM\r
(ChannelNo = 0A hex, 0 -> Gain 0.1 or 1)
Response: !ACK\r

Read gain calibration values


Command: ??M(Addr)K(GainLevel)\r
??M: Command leading code
Addr: Module address (2 characters hex from 00 to 0F)
K: Command leading code
GainLevel: ‘0’ for gain-level 1 (e.g. 0.1 or 1)
‘1’ for gain-level 2 (e.g. 1 or 10)
\r: Carriage return (0D hex)
Response: !(GainFault-ch0) – ..... – (GainFault-ch15)\r
!: Response leading code
GainFault-chx:‘0000’ no fault
‘0001’ 0.001 % fault (the gain is to high)
‘0002’ 0.002 % fault
‘000A’ 0.01 % fault
‘0012’ 0.018 % fault
‘7FFF’ 32.767 % fault
‘8000’ –32.768 % fault
‘FFFF’ –0.001 % fault (the gain is to less)
Notice: the GainFault-chx values are specified in two’s complement!
Example: Command: ??M00K0\r
Response: !0001 – 000A – 0011 – ….. – FFFF\r
(GainFault-ch0 = 0.001%, GainFault-ch1 = 0.01%,
GainFault-ch2 = 0.017% ..... GainFault -ch15= –0,001%)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 5-3
MDAQ-V Module
Read offset calibration values
Command: ??M(Addr)Z(GainLevel)\r
??M: Command leading code
Addr: Module address (2 characters hex from 00 to 0F)
Z: Command leading code
GainLevel: ‘0’ for gain-level 1 (e.g. 0.1 or 1)
‘1’ for gain-level 2 (e.g. 1 or 10)
\r: Carriage return (0D hex)
Response: !(OffsetFault-ch0) – ..... – (OffsetFault-ch15)\r
!: Response leading code
OffsetFault-chx: ‘0000’ no fault
‘0001’ 0.01 mV (the offset is positiv)
‘0002’ 0.02 mV
‘000A’ 0.1 mV
‘7FFF’ 327.67 mV
‘8000’ –327.68 mV (the offset is negativ)
‘FFFF’ –0.01 mV
Notice: the OffsetFault-chx values are specified in two’s complement!
Example: Command: ??M00Z0\r
Response: !0000 – 0001 – 0004 – ..... – FFFF\r
(OffsetFault-ch0 = 0 mV, OffsetFault-ch1 = 0.01 mV,
OffsetFault-ch2 = 0.04 mV ..... OffsetFault-ch15 = –0.01 mV)

5-4
MDAQ-V Module

Notes

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 5-5
MDAQ-V

5-6
Nr: Command Response Function AA Address
1 ?? M AA CR !MAAtyooccRFS CR Read module configuration ty Module type (21)
2 ?? M AA GETN CR !{SNR} CR Read serial number oo Channel number offset
3 ?? M AA VER CR !DAQM-DIFFVer.{VER} CR Read module type and firmware version cc Channel number
4 ?? K cc CR !MAA00G000 CR Read gain for channel x S Special module
5 ## K cc FFGTMM CR !ACK CR Set gain for channel x {SNR} Serial number (16 bytes)
6 ?? M AA KG CR !L-L-.....-L-L CR Read gain calibration values {VER} Firmware version
7 ?? M AA ZG CR !C-C-.....-C-C CR Read offset calibration values

R Output range F Filter L Gain fault ch x C Offset fault ch x


0 ±5 V 0 No filter board connected ‘0000’ no fault ‘0000’ no fault
1 ±10 V 1 Filter board type 1 ‘0001’ 0.001 % fault (gain is to high) ‘0001’ 0.01 mV (offset is positiv)
2 Filter board type 2 ‘0002’ 0.002 % fault ‘0002’ 0.02 mV
‘000A’ 0.01 % fault ‘000A’ 0.1 mV
MDAQ-V Module

G Gain level ‘0012’ 0.018 % fault ‘7FFF’ 327.67 mV


0 Gain level 1 Z MDAQ-V version ‘7FFF’ 32.767 % fault ‘8000’ –327.68 mV (offset is negativ)
1 Gain level 2 0 Standard ‘8000’ –32.768 % fault ‘FFFF’ –0.01 mV
1 Special ‘FFFF’ –0.001 % fault (gain is to less)
PAD Modules Series
PAD-V8-P Module

Module commands
Command summary for PAD-V8-P module

Command Syntax
GENERAL COMMANDS
Set module configuration %(OldAddr)(NewAddr)(InputRange)(BaudRate)(Format)\r
Set module address ##(Addr)SETP\r
Read module channel configuration ??(Addr)\r
Read module type and firmware version ??(Addr)VER\r
Read firmware version number $(Addr)F\r
Read module name $(Addr)M\r
Read serial number ??(Addr)SNR\r
FUNCTIONAL COMMANDS
Set input range for channel x %(Addr)T(ChannelNo)(InputRange)\r
Read analog input from channel x #(Addr)(ChannelNo)\r
Read all 8 channel data values $(Addr)A\r
Synchronized sampling #**\r
Read all internally stored values $(Addr)S\r
Read output range of channel x $(Addr)W(ChannelNo)\r
Duration of averaging %(Addr)M(AverageLength)\r
Set LED state $(Addr)L(State)\r
Read LED and digital input state $(Addr)I\r
Read module configuration $(Addr)2\r
Read channel multiplex state $(Addr)6\r
Set channel multiplex state $(Addr)5(Channels)\r
Zero calibration for channel x %(Addr)Z(ChannelNo)\r
Zero calibration for all channels $(Addr)1\r (only modules older rev. 1.14)
Span calibration for channel x %(Addr)S(ChannelNo)\r
Span calibration for all channels $(Addr)0\r (only modules older rev. 1.14)
Open memory area for custom linearisation ##(Addr)OK(Number)\r
Set custom linearisation point ##(Addr)T(PointNo)(Sign)(Voltage)(Sign)(Value)\r
Close memory area for custom linearisation ##(Addr)C(InputRangeCode)\r

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-1
PAD-V8-P Module
Set module configuration
Command: %(OldAddr)(NewAddr)(InputRange)(BaudRate)(DataFormat)\r
% Command leading code
(OldAddr) The original / old module address. The factory default address of a module is 00.
The address range is 00 to FE hex.
(NewAddr) The new module address (00 to FE hex - be careful to get no conflict with existing
module addresses).
(InputRange) Define the analog input range, refered to the table input ranges.
(BaudRate) Define communication baud rate, recommended ‘06’ hex (= 9600 bps).
(DataFormat) Define checksum and output data format, refered to the table data format
Response: !(Addr)<CR> The command to this address is valid.
?(Addr)<CR> The command is invalid, parameter values are invalid or change settings not
possible.
Example: Command: %0130080600<CR>
%: command leading code
01: old module address
30: new module address (30 hex = 48 dez)
08: voltage input ±10 V
06: baud rate (9600)
00: data format (engineering units, checksum disabled)
<CR>: carriage return
Response !30<CR>
Address successfully changed from 01 to 30.

Input ranges:

Code (hex) Input range Resolution Precision mode Digits


02 ±100 mV 100 uV 10 uV 8 or 9
03 ±500 mV 100 uV 10 uV 8 or 9
04 ±1 V 100 uV 10 uV 8 or 9
05 ±2.5 V 100 uV 10 uV 8 or 9
08 ±10 V 100 uV 10 uV 8 or 9
09 ±5 V 100 uV 10 uV 8 or 9
0A ±1 V 100 uV 10 uV 8 or 9
0B ±500 mV 100 uV 10 uV 8 or 9
0C ±150 mV 100 uV 10 uV 8 or 9
30 -150 mV to +1.5 V 100 uV 10 uV 8 or 9
32 ±50 V 100 uV 10 uV 8 or 9
48 DEWETRON defined linearization (area 4)
49 DEWETRON defined linearization (area 5)
50 Custom defined linearization (area 6)
51 Custom defined linearization (area 7)

Code Baud rate


03 1200 bps
04 2400 bps
05 4800 bps
06 9600 bps
07 1920 bps
08 38400 bps
09 57600 bps
0A 115200 bps

6-2
PAD-V8-P Module
Data format: Reserved
all bits have to be 0

7 6 5 4 3 2 1 0

Checksum Precision Analog input data format


0: disable 0: 8 digits 00: engineering units
1: enable 1: 9 digits 01: 2 byte signed, binary, scaled to full scale range, MSB first
10: 3 byte signed, binary, scaled to full scale range, MSB first
11: 4 byte signed, binary, scaled to full scale range, MSB first

Set module address


The command has to be sent to the module until the push button on the module gets pressed. Then the
module sends the answer.
Command: ##(Addr)SETP\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
\r: Carriage return (0D hex)
Response: !(Addr)(ModuleType)\r
!: Response leading code
Addr: Acknowledged new module address
ModuleType: 11 for PAD-V8-P module
Example: Command: ##01SETP\r
Response: !0111\r
(Address 01, PAD-V8-P)

Read module configuration (first channel)


Command: $(Addr)2\r
Response: !(Addr)(InputRange)(BaudRate)(DataFormat)\r
!: Response leading code
Addr: Module address
InputRange: 2 bytes hex, values 00 to FF hex, MSB first
BaudRate: Communication baud rate
DataFormat: Define checksum and output data format
\r: Carriage return (0D hex)

Read module channel configuration


Command: ??(Addr)\r
Response: !(Addr)(ModuleType)(Averaging)(S)(InputRanges)*8\r
!: Response leading code
Addr: Module address
ModuleType: ‘11’ hex for PAD-V8-P
Averaging: ‘01’, ‘04’ or ‘08’ for number of averaged values
S: Reserve
InputRange: 8*2 bytes hex, values 00 to FF hex, MSB first
\r: Carriage return (0D hex)
Example: Command: ??01\r
Response: !011101S0809053202030432\r
(Address 01, PAD-V8-P, no averaging:
channel 0: ±10 V, channel 1: ±5 V, channel 2: ±2.5 V, channel 3: ±50 V,
channel 4: ±0.1 V, channel 5: ±0.5 V, channel 6: ±1 V, channel 7: ±50 V)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-3
PAD-V8-P Module
Read module type and firmware verison
Command: ??(Addr)VER\r
Response: !PAD-V8-P Ver. x.xx\r
!: Response leading code
Module type and software version x.xx
\r Carriage return (0D hex)

Read firmware verison number


Command: $(Addr)F\r
Response: !(Addr)(Version)\r
!: Response leading code
Addr: Module address
Version: Firmware version (e.g., V1.14)
\r Carriage return (0D hex)

Read module name


Command: $(Addr)M\r
Response: !(Addr)(Name)\r
!: Response leading code
Addr: Module address
Name: Module name (e.g., PAD-V8-P)
\r Carriage return (0D hex)

Read serial number


Command: ??(Addr)SNR\r
Response: !(Addr)(SNR)\r
!: Response leading code
SNR: 6 ot 8 bytes serial number (ASCII)
\r: Carriage return (0D hex)

Set input range for channel x


The input range can be set different for each channel.
Command: %(Addr)T(ChannelNo)(InputRange)\r
%: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
ChannelNo: Channel number from 0 to 7
InputRange: 2 bytes, MSB first, values according table above
\r: Carriage return (0D hex)
Response: !(Addr)\r Command ok
?(Addr)\r Command failure (e.g. sensor identification used)
Example: Command: %01T00C\r
Response: !01\r
(Module set to ±150 mV input at channel 0)

Read analog input from channel x


Command: #(Addr)(ChannelNo)\r
#: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
ChannelNo: Channel number from 0 to 7
\r: Carriage return (0D hex)

6-4
PAD-V8-P Module
Response: >(Data)\r
> Resonse leading code
Data: Input value
\r: Carriage return (0D hex)
Example: Command: #010\r
Response: +00025.7\r
(input value 25.7 at channel 0 with 8 digit precision)

Read all 8 channels data values


Command: $(Addr)A\r
Response: Valid: >(Data)(Data)(Data)(Data)(Data)(Data)(Data)(Data)\r
Invalid: ?AA\r
>: Response leading code for valid command
?: Response leading code for invalid command
Addr: Module address (2 characters hex from 00 to FE)
Data: 8 or 9 character ASCII value (depending on precision)
Example: Command: $01A\r
Response: >+01.1001+00.2573-47.0047+00.2370+08.0292+00.0974-00.0023+05.1195\r
channel 0: +1.1001 V channel 4: +8.0292 V
channel 1: +0.2573 V channel 5: +0.0974 V
channel 2: -47.0047 V channel 6: -0.0023 V
channel 3: +0.237 V channel 7: +5.1195 V

Synchronized sampling
This command will store the current analog values for all channels. As this command uses no module
address, it has an effect on all PAD modules within the system. The values are stored within each module in a
temporary register.
Command: #**\r
Response: no response; to read out the values, use the following command.
Read all internally stored values
This command will read out the internally stored values.
Command: $(Addr)S\r
Response: !(S)(Data)(Data)(Data)(Data)(Data)(Data)(Data)(Data)\r
!: Command leading code
S: Readout state (1 = first read out; 0 = already read out)
Data: Stored analog values for channel 0 to 7

Read all internally stored values


This command will read out the internally stored values.
Command: $(Addr)S\r
Response: !(S)(Data)(Data)(Data)(Data)(Data)(Data)(Data)(Data)\r
!: Command leading code
S: Readout state (1 = first read out; 0 = already read out)
Data: Stored analog values for channel 0 to 7

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-5
PAD-V8-P Module
Read output range of channel x
Command: $(Addr)W(ChannelNo)\r
Response: !(Addr)(MinSign)(MinValue)(MaxSign)(MaxValue)\r
!: Response leading code
Addr: Module address (2 characters hex from 00 to FE)
MinSign: Sign for minimum (‘-’ or ‘+’)
MinValue: Minimum value of input range, 8 bytes ASCII
MinSign: Sign for minimum (‘-’ or ‘+’)
MaxValue: Maximum value of input range, 8 bytes ASCII
Example: Command: $01W0\r
Response: !01-173.7500+275.2450\r
(Module address 01, min. range -173.7500 N, max. range +275.2450 N)

Set duration of averaging


Command: %(Addr)M(Duration)\r
%: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Duration: ‘01’, ‘04’ or ‘08’ allowed
01: no averaging
04: average over 4 values
08: average over 8 values
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command, syntax error
Example: Command: $01M04\r
Response: !01\r
(Module at address 01 set to 4 values averaging)

Set LED state


Command: $(Addr)L(State)\r
$: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
State: ‘E’, ‘A’ or ‘B’ allowed
E: LED on
A: LED off
B: LED flashing with 1 Hz
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command, syntax error

Read LED and digital input state


This command shows the state of the LED and the digital inputs.
Command: $(Addr)I\r
Response: Valid: !(Addr)(LEDState)(DIState)\r
Invalid: ?(Addr)\r
!: Response leading code
Addr: Module address (2 characters hex from 00 to FE)
LEDState: ’E’ = LED on, ’A’ = LED off, ’B’ = LED flashing with 1 Hz
DIState: Digital input state, 4 bytes
’A’ = high or no signal, ’E’ = low

6-6
PAD-V8-P Module
Set channel multiplex state
Used to reduce data transfered with $(Addr)A and $(Addr)S command. Data of disabled channels will not be
transfered.
Command: $(Addr)5(Channels)\r
$: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Channels: 2 character value from 00 to FF hex, 8 bits refer to channels 7 to 0
1 = enable, 0 = disable
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command
No response Syntax error
Example: Command: $015AA\r
Response: !01\r
(channel 1, 3, 5, 7 enabled, channel 0, 2, 4, 6 disabled)

Read channel multiplex state


Command: $(Addr)6\r
Response: Valid: !(Addr)(Channels)\r
Invalid: ?(Addr)\r
Syntax error: No response
!: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Channels: 2 character value from 00 to FF hex, 8 bits refer to channels 7 to 0
1 = enable, 0 = disable
Example: Command: $016\r
Response: !01AA\r
(channel 1, 3, 5, 7 enabled, channel 0, 2, 4, 6 disabled)

(1)
Zero calibration for channel x
Connect 0.000 mV signal to input channel x and wait at least 5 sec. before calibration.
Command: %(Addr)Z(ChannelNo)\r
%: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
ChannelNo: Input channel number from 0 to 7, where signal is connected
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command

(1)
Zero calibration for all channels
Connect 0.000 mV signal to ALL input channels and wait at least 5 sec. before calibration.
Command: %(Addr)ZA\r
%: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command
Note: This command is valid for mudules after rev. 1.14 only (older versions used $(Addr)2\r)

(1)
Sending this commands without connecting the appropriate signals causes wrong measurement values!

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-7
PAD-V8-P Module
(1)
Span calibration for channel x
Connect +10 V signal to input channel and wait at least 5 sec. before calibration.
Command: %(Addr)S(ChannelNo)\r
%: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
ChannelNo: Input channel number from 0 to 7, where signal is connected
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command

(1)
Span calibration for all channels
Connect +10 V signal to ALL input channels and wait at least 5 sec. before calibration.
Command: %(Addr)SA\r
%: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command
Note: This command is valid for mudules after rev. 1.14 only (older versions used $(Addr)0\r)

Open memory area for custom linearisation


As the PAD-V8-P module allows different sensor linearisations directly within the module, the following three
commands are necessary to write the data.
Command: ##(Addr)OK(Number)\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Number: Customer defined linearisation can be stored into area ‘6’ (range code 50) and ‘7’
(range code 51), see also table on page 5-2
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command
Example: Command: ##01OK6\r
Response: !01\r
(open linearisation area 6 for writing data)

Set custom linearisation point


Command: ##(Addr)T(PointNo)(Sign)(Voltage)(Sign)(Value)\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
PointNo: 2 bytes ASCII from 00 to 47; number of the value; 48 values can be stored
Sign: ‘-’ or ‘+’ sign
Voltage: 6 bytes ASCII, MSB first, values from 0 to 999999 in 100 µV
Value: 5 bytes ASCII, MSB first, physical values from 0 to 29999,
one or two dezimals (depending on precision mode)
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command
Example: Command: ##01T01+012300+01230\r
Response: !01\r
(Module address 01, point 1, +1.23 V = +123.0 mm)

(1)
Sending this commands without connecting the appropriate signals causes wrong measurement values!

6-8
PAD-V8-P Module
Close memory area for custom linearisation
Close memory area to avoid unintentional writing to module.
Command: ##(Addr)C(InputRange)\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
InputRange: 2 bytes hex input range code, area 6 = 50 hex, area 7 = 51 hex
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-9
PAD-V8-P

6-10
Nr: Command Response AA Address
1 ## AA SETP CR !AAMM Set module address MM Module type (11)
2 ?? AA VER CR !PAD-V8-P VER. X.xx Read module type and firmware version b E/A/B
3 ?? AA CR !{AAMMoSFF}*8 Read module channel configuration xxx ASCII
4 ?? AA SNR CR !AAxxxxxxxx Read serial number n Channel number
5 % AA T nFF CR !AA Set input range for channel n n (1) 0 to 7 channel
6 % AA M o CR !AA Duration of averaging A = all channels
7 % AA Z n (1) CR !AA Zero calibration for channel n after rev. 1.14
8 % AA S n (1) CR !AA Span calibration for channel n @ 10.00000 V FF Input range
9 $ AA S CR !S{xxxxxxxx}*8 Read all internally stored values o 01, 04, 08
10 $ AA L b CR !AA Set LED state s "+" "-" sign
11 # ** CR Synchronized sampling k 6/7 custom lin.
12 ## AA OK k CR !AA Open memory area for custom linearisation KK lin. type (FE)
13 ## AA T NNsxxxxxxsxxxxx CR !AA Set custom linearisation point w "M" "I"
14 ## AA C KK CR !AA Close memory area for custom linearisation hh HEX wert
15 % AA {adr.new} FFBBDD CR !AA Set module configuration BB Baud rate
16 # AA n CR >sxxxxxxxx Read analog input from channel n DD Data format
PAD-V8-P Module

17 # AA CR >{sxxxxxxxx}*8 Read all channels S Flag 0/1


18 $ AA 0 CR !AA old command Span calibration for all channels @ 10.00000 V
19 $ AA 1 CR !AA old command Zero calibration for all channels BB Baud rate
20 $ AA 2 CR !AAFFBBDD Read module configuration (first channel) 3 1200 bps
21 $ AA 5 hh CR Set channel multiplex state 4 2400 bps
22 $ AA 6 CR hh Read channel multiplex state 5 4800 bps
23 $ AA A CR >{sxxxxxxxx}*8 Read all 8 channel data values 6 9600 bps
24 $ AA F CR !AAVx.xx Read module firmware 7 1920 bps
25 $ AA M CR !AAPAD-V8-P Read module name 8 38400 bps
9 57600 bps
0A 115200 bps

Code (hex) Input range Resolution Precision mode Digits


02 ±100 mV 100 uV 10 uV 8 or 9
03 ±500 mV 100 uV 10 uV 8 or 9
04 ±1 V 100 uV 10 uV 8 or 9
05 ±2.5 V 100 uV 10 uV 8 or 9
08 ±10 V 100 uV 10 uV 8 or 9
09 ±5 V 100 uV 10 uV 8 or 9
0A ±1 V 100 uV 10 uV 8 or 9
0B ±500 mV 100 uV 10 uV 8 or 9
0C ±150 mV 100 uV 10 uV 8 or 9
30 -150 mV to +1.5 V 100 uV 10 uV 8 or 9
32 ±50 V 100 uV 10 uV 8 or 9
48 DEWETRON defined linearization (area 4)
49 DEWETRON defined linearization (area 5)
50 Custom defined linearization (area 6)
51 Custom defined linearization (area 7)
PAD-TH8-P Module

Module commands
Command summary for PAD-TH8-P module

Command Syntax
GENERAL COMMANDS
Set module configuration %(OldAddr)(NewAddr)(InputRange)(BaudRate)(Format)\r
Set module address ##(Addr)SETP\r
Read module configuration ??(Addr)\r
Read module type and firmware version ??(Addr)VER\r
Read firmware version number $(Addr)F\r
Read module name $(Addr)M\r
Read serial number ??(Addr)SNR\r
FUNCTIONAL COMMANDS
Set input range for channel x %(Addr)T(ChannelNo)(InputRange)\r
Read analog input from channel x #(Addr)(ChannelNo)\r
Read all 8 channel data values $(Addr)A\r
Synchronized sampling #**\r
Read all internally stored values $(Addr)S\r
Read output range of channel x $(Addr)W(ChannelNo)\r
Set duration of averaging %(Addr)M(AverageLength)\r
Set LED state $(Addr)L(State)\r
Read LED and TC-type state $(Addr)I\r
Read channel multiplex state $(Addr)6\r
Set channel multiplex state $(Addr)5(Channels)\r
Read CJC value $(Addr)3\r
Set CJC offset value $(Addr)9(Sign)(Value)\r
Zero calibration for channel x %(Addr)Z(ChannelNo)\r
Zero calibration for all channels $(Addr)1\r (only modules older rev. 1.14)
Span calibration for channel x %(Addr)S(ChannelNo)\r
Span calibration for all channels $(Addr)0\r (only modules older rev. 1.14)
Open memory area for custom linearisation ##(Addr)OK(Number)\r
Set custom linearisation point ##(Addr)T(PointNo)(Sign)(Voltage)(Sign)(Value)\r
Close memory area for custom linearisation ##(Addr)C(InputRangeCode)(CJC)\r

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-11
PAD-TH8-P Module
Set module configuration
Command: %(OldAddr)(NewAddr)(InputRange)(BaudRate)(DataFormat)\r
% Command leading code
(OldAddr) The original / old module address. The factory default address of a module is 00.
The address range is 00 to FE hex.
(NewAddr) The new module address (00 to FE hex - be careful to get no conflict with existing
module addresses).
(InputRange) Define the analog input range, refered to the table input range.
(BaudRate) Communication baud rate; recommended ‘06’ hex (= 9600 bps).
(DataFormat) Define checksum and output data format, refered to the table data format
Response: !(Addr)<CR> The command to this address is valid.
?(Addr)<CR> The command is invalid, parameter values are invalid or change settings not
possible.
Example: Command %01300F 0600<CR>
%: command leading code
01: old module address
30: new module address
0F: thermocouple type K input (-270 °C to +1372 °C)
06: baud rate (9600)
00: data format (engineering units, checksum disabled)
<CR>: carriage return
Response !30<CR>
Description: Address successfully changed from 01 to 30.

Input ranges:

Code (hex) Input range Resolution Precision mode


00 ±15 mV 10 uV 1 uV
01 ±50 mV 10 uV 1 uV
02 ±100 mV 10 uV 1 uV
0C ±150 mV 10 uV 1 uV
0E Thermocouple type 'J' -210 °C .. 1200 °C 0.1 °C 0.01 °C
0F Thermocouple type 'K' -270 °C .. 1372 °C 0.1 °C 0.01 °C
10 Thermocouple type 'T' -270 °C .. 400 °C 0.1 °C 0.01 °C
30 -150 mV to +1.5 V 10 uV 1 uV
31 -1.5 V to +1.5 V 10 uV 1 uV
48 DEWETRON defined linearization (area 4)
49 DEWETRON defined linearization (area 5)
50 Custom defined linearization (area 6)
51 Custom defined linearization (area 7)

Code Baud rate


03 1200 bps
Data format: 04 2400 bps
05 4800 bps
Reserved 06 9600 bps
all bits have to be 0 07 1920 bps
08 38400 bps
09 57600 bps
7 6 5 4 3 2 1 0 0A 115200 bps

Checksum Precision Analog input data format


0: disable 0: 8 digits 00: engineering units
1: enable 1: 9 digits 01: 2 byte signed, binary, scaled to full scale range, MSB first
10: 3 byte signed, binary, scaled to full scale range, MSB first
11: 4 byte signed, binary, scaled to full scale range, MSB first

6-12
PAD-TH8-P Module
Set module address
The command has to be sent to the module until the push button on the module gets pressed. Then the
module sends the answer.
Command: ##(Addr)SETP\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
\r: Carriage return (0D hex)
Response: !(Addr)(ModuleType)\r
!: Response leading code
Addr: Acknowledged new module address
ModuleType: 10 for PAD-TH8-P module
Example: Command: ##01SETP\r
Response: !0110\r
(Address 01, PAD-TH8-P)

Read module configuration (first channel)


Command: $(Addr)2\r
Response: !(Addr)(InputRange)(BaudRate)(DataFormat)\r
!: Response leading code
Addr: Module address
InputRange: 2 bytes hex, values 00 to FF hex, MSB first
BaudRate: Communication baud rate
DataFormat: Define checksum and output data format
\r: Carriage return (0D hex)

Read module channel configuration


Command: ??(Addr)\r
Response: !(Addr)(ModuleType)(Averaging)(RangeSel)(InputRanges)*8\r
!: Response leading code
Addr: Module address
ModuleType: ‘10’ hex for PAD-TH8-P
Averaging: ‘01’, ‘04’ or ‘08’ for number of averaged values
RangeSel: ‘E’ if external CB8-x-P connector block is connected
‘S’ if input range is defined by software
‘I’ if intelligent connector block is connected
InputRange: 8*2 bytes hex, values 00 to FF hex, MSB first (refer ot input range table)
\r: Carriage return (0D hex)
Example: Command: ??01\r
Response: !011001E0F0F0F0F0F0F0F0F\r
(Address 01, PAD-TH8-P, no averaging, ext. sensor, 8 thermocouples ‘K’)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-13
PAD-TH8-P Module
Read module type and firmware verison
Command: ??(Addr)VER\r
Response: !PAD-TH8-P Ver. x.xx\r
!: Response leading code
Module type and software version
\r Carriage return (0D hex)

Read firmware version number


Command: $(Addr)F\r
Response: !(Addr)(Version)\r
!: Response leading code
Addr: Module address
Version: Firmware version
\r Carriage return (0D hex)

Read module name


Command: $(Addr)M\r
Response: !(Addr)(Name)\r
!: Response leading code
Addr: Module address
Name: Module name
\r Carriage return (0D hex)

Read serial number


Command: ??(Addr)SNR\r
Response: !(Addr)(SNR)\r
!: Response leading code
SNR: 6 to 8 bytes serial number (ASCII)
\r: Carriage return (0D hex)

Set input range for channel x


The input range can be set different for each channel. Dont send this command if CB8-x-P is connected.
Sending this command will also reconfigure the connector block settings! Reconfiguring connector block is
NOT RECOMMENDED!
Command: %(Addr)T(ChannelNo)(InputRange)\r
%: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
ChannelNo: Channel number from 0 to 7
InputRange: 2 bytes, MBS first, values according table above
\r: Carriage return (0D hex)
Response: !(Addr)\r Command ok
?(Addr)\r Command failure (e.g. CB8-x-P connected)
Example: Command: %01T00C\r
Response: !01\r
(Module set to ±150 mV input at channel 0)

Read analog input from channel x


Command: #(Addr)(ChannelNo)\r
#: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
ChannelNo: Channel number from 0 to 7

6-14
PAD-TH8-P Module
\r: Carriage return (0D hex)
Response: >(Data)\r
> Resonse leading code
Data: Input value
\r: Carriage return (0D hex)
Example: Command: #010\r
Response: >+00025.7\r (input value 25.7 at channel 0 with 8 digit precision)

Read all 8 channels data values


Command: $(Addr)A\r
Response: Valid: >(Data)(Data)(Data)(Data)(Data)(Data)(Data)(Data)\r
Invalid: ?AA\r
>: Response leading code for valid command
?: Response leading code for invalid command
Addr: Module address (2 characters hex from 00 to FE)
Data: 8 or 9 character ASCII value (depending on precision)
Example: Command: $01A\r
Response: >+01100.1+00257.3-00004.7+00023.7+00029.2+00097.4-00002.3+00119.5\r
channel 0: +1100.1 °C channel 4: +29.2 °C
channel 1: +257.3 °C channel 5: +97.4 °C
channel 2: -4.7 °C channel 6: -2.3 °C
channel 3: +23.7 °C channel 7: +119.5 °C

Synchronized sampling
This command will store the current analog values for all channels. As this command uses no module
address, it has an effect on all PAD modules within the system. The values are stored within each module in a
temporary register.
Command: #**\r
Response: no response; to read out the values, use the following command.

Read all internally stored values


This command will read out the internally stored values.
Command: $(Addr)S\r
Response: !(S)(Data)(Data)(Data)(Data)(Data)(Data)(Data)(Data)\r
!: Command leading code
S: Readout state (1 = first read out; 0 = re-read of old values)
Data: Stored analog values for channel 0 to 7

Read output range of channel x


Command: $(Addr)W(ChannelNo)\r
Response: !(Addr)(MinSign)(MinValue)(MaxSign)(MaxValue)\r
!: Response leading code
Addr: Module address (2 characters hex from 00 to FE)
MinSign: Sign for minimum (‘-’ or ‘+’)
MinValue: Minimum value of input range, 8 bytes ASCII
MaxSign: Sign for maximum (‘-’ or ‘+’)
MaxValue: Maximum value of input range, 8 bytes ASCII
Example: Command: $01W0\r
Response: !01-000270.0+001372.0\r
(Module address 01, min. range -270.0 °C, max. range +1372.0 °C)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-15
PAD-TH8-P Module
Read serial number of connectorblock
Command: ??(Addr)ISNR\r
Response: !(Addr)(Serial)\r
!: Response leading code
(Addr): Module address (2 characters hex from 00 to FE)
(Serial): Serial of connectorblock
\r: Carriage return (0D hex)

Set duration of averaging


Command: %(Addr)M(AverageLength)\r
%: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Average: ‘01’, ‘04’ or ‘08’ allowed
01: no averaging
04: average over 4 values
08: average over 8 values
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command, syntax error
Example: Command: $01M04\r
Response: !01\r
(Module at address 01 set to 4 values averaging)

Set LED state


Command: $(Addr)L(State)\r
$: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
State: ‘E’, ‘A’ or ‘B’ allowed
E: LED on
A: LED off
B: LED flashing with 1 Hz
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command, syntax error

Read LED and thermocouple type state


This command shows the state of the LED and the connected sensor according the following table.
If the input connector pin 17, 18, 19 (SI1, SI2, SI3) are not connected to GND, the module is set to software
selected range with or without linearisation. Typestate of sensors with Rev. < 5.0 are not recognized by this
command.

Input range Input connector state


Connected sensor
code (hex) SI1 SI2 SI3 SI4
00 Voltages, ±15 mV range A A A A
01 Voltages, ±50 mV range A A A A
02 Voltages, ±100 mV range A A A A
0C Voltages, ±150 mV range A A A A
30 Voltages, -150 mV to +1.5 V range A A A A
31 Voltages, -1.5 V to +1.5 V range A A A A
0E Thermocouple type 'J' -210 °C .. 1200 °C E A A A
0F Thermocouple type 'K' -270 °C .. 1372 °C A E A A
10 Thermocouple type 'T' -270 °C .. 400 °C E E A A
48 DEWETRON defined linearization (area 4) A A E A
49 DEWETRON defined linearization (area 5) E A E A
50 Custom defined linearization (area 6) A E E A
51 Custom defined linearization (area 7) E E E A

6-16
PAD-TH8-P Module
Command: $(Addr)I\r
Response: Valid: !(Addr)(LEDState)(TCState)\r
Invalid: ?(Addr)\r
!: Response leading code
Addr: Module address (2 characters hex from 00 to FE)
LEDState: ’E’ = LED on, ’A’ = LED off, ’B’ = LED flashing with 1 Hz
TCState: Input line state for sensor type recognition, 4 bytes
’A’ = no sensor - pin open, ’E’ = sensor connected - pin grounded

Set channel multiplex state


Used to reduce data transfered with $(Addr)A (read all channels data values) and
$(Addr)S (read all internally stored values)
command. Data of disabled channels will not be transfered.
Command: $(Addr)5(Channels)\r
$: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Channels: 2 character value from 00 to FF hex, 8 bits refer to channels 7 to 0
1 = enable, 0 = disable
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command
No response Syntax error
Example: Command: $015AA\r
Response: !01\r
(channel 1, 3, 5, 7 enabled, channel 0, 2, 4, 6 disabled)

Read channel multiplex state


Command: $(Addr)6\r
Response: Valid: !(Addr)(Channels)\r
Invalid: ?(Addr)\r
Syntax error: No response
!: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Channels: 2 character value from 00 to FF hex, 8 bits refer to channels 7 to 0
1 = enable, 0 = disable
Example: Command: $016\r
Response: !01AA\r
(channel 1, 3, 5, 7 enabled, channel 0, 2, 4, 6 disabled)

Read CJC value


Command: $(Addr)3\r
Response: Valid: !(Sign)(Value)\r
Invalid: ?(Addr)\r
!: Response leading code
Sign: ‘-’ or ‘+’ sign
Value: CJC temperature value (ASCII)
Example: Command: $013\r
Response: !+0023.8\r
(CJC temperature +23.8 °C)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-17
PAD-TH8-P Module
Read type and firmware version of connectorblock
Command: $(Addr)IVER\r
Response: !PAD-CB-x-P Ver.5.025
!: Response leading code
Connectorblock type and software version
\r: Carriage return (0D hex)

Set CJC offset value


Used to calibrate the CJC temperature according to a reference sensor.
Command: $(Addr)9(Sign)(Value)\r
$: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Sign: ‘-’ or ‘+’ sign
Value: 4 character hex value, 1 count = 0.01 °C
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command
Example: Command: $019+000A\r
Response: !01\r
(CJC offset set to 000A hex = 10 dec = 10 * 0.01 °C = 0.1 °C)

(1)
Zero calibration for channel x
Connect 0.000 mV signal to input channel and wait at least 5 sec. before calibration.
Command: %(Addr)Z(ChannelNo)\r
%: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
ChannelNo: Input channel number from 0 to 7, where signal is connected
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command

(1)
Zero calibration for all channels
Connect 0.000 mV signal to ALL input channels and wait at least 5 sec. before calibration.
Command: %(Addr)ZA\r
%: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command
Note: This command is valid for mudules after rev. 5.04 only (older versions used $(Addr)1\r)

(1)
Span calibration for channel x
Connect +1 V signal to input channel and wait at least 5 sec. before calibration.
Command: %(Addr)S(ChannelNo)\r
%: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
ChannelNo: Input channel number from 0 to 7, where signal is connected
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command(1) Sending this commands without connecting the appropriate
signals causes wrong measurement values!

(1)
Sending this commands without connecting the appropriate signals causes wrong measurement values!

6-18
PAD-TH8-P Module
(1)
Span calibration for all channels
Connect +1 V signal to ALL input channels and wait at least 5 sec. before calibration.
Command: %(Addr)\r
%: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command
Note: This command is valid for mudules after rev. 5.04 only (older versions used $(Addr)0\r)

Open memory area for custom linearisation


As the PAD-TH8-P module allows different sensor linearisations directly within the module, the following three
commands are necessary to write the data.
Command: ##(Addr)OK(Number)\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Number: Customer defined linearisation can be stored into area ‘6’ and ‘7’
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command
Example: Command: ##01OK6\r
Response: !01\r
(open linearisation area 6 for writing data)

Open memory area for custom linearisation


As the PAD-TH8-P module allows different sensor linearisations directly within the module, the following three
commands are necessary to write the data.
Command: ##(Addr)OK(Number)\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
Number: Customer defined linearisation can be stored into area ‘6’ and ‘7’
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command
Example: Command: ##01OK6\r
Response: !01\r
(open linearisation area 6 for writing data)

(1)
Sending this commands without connecting the appropriate signals causes wrong measurement values!

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-19
PAD-TH8-P Module
Set custom linearisation point
Command: ##(Addr)T(PointNo)(Sign)(Voltage)(Sign)(Value)\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
PointNo: 2 bytes ASCII from 00 to 47; number of the value; 48 values can be stored
Sign: ‘-’ or ‘+’ sign
Voltage: 6 bytes ASCII, MSB first, values from 0 to 999999 in µV
Value: 5 bytes ASCII, MSB first, values from 0 to 29999 in 0.1 °C
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command

Example: Command: ##01T01+012300+01230\r


Response: !01\r
(Module address 01, point 1, +12.3 mV = +123.0 °C)

Close memory area for custom linearisation


Close memory area to avoid unintentional writing to module.
Command: ##(Addr)C(InputRange)(CJC)\r
##: Command leading code
Addr: Module address (2 characters hex from 00 to FE)
InputRange: 2 bytes hex input range code, values above 50 hex recommended
(for details see ‘set module configuration’ command)
(CJC): CJC temperature use / ignore (Y / N)
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command

6-20
PAD-TH8-P Module

Notes

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-21
PAD-TH8-P

6-22
Nr: Command Response AA Address
1 ## AA SETP CR !AAMM Set module address MM Module type (10)
2 ?? AA VER CR !PAD-TH8-P VER. X.xx Read module type and firmware version NN Lin. point number
3 ?? AA CR !{AAMMoSFF}*8 Read module channel configuration b E, A, B
4 ?? AA IVER CR !PAD-CB-x-P VER. 5.025 Read type and firmware version of the connectorblock xxx ASCII
5 ?? AA SNR CR !AAxxxxxxxx Read serial number n Channel number
6 ?? AA ISNR CR !AAxxxxxxxx Read serial number of the connectorblock n (1) 0 to 7 channel
7 % AA T nFF CR !AA Set input range for channel n A = all channels
8 % AA I nFF CR Set input range for channel n of the connectorblock after rev. 5.04
9 $ AA W n CR !AAsiiiiiiiismmmmmmmm Read output range of channel n FF Input range
10 % AA M o CR !AA Duration of averaging ii..i Range min.
11 % AA Z n (1) CR !AA Zero calibration for channel n mm..m Range max.
12 % AA S n (1) CR !AA Span calibration for channel n @ 1.00000 V o 01, 04, 08
13 $ AA S CR !S{xxxxxxxx}*8 Read all internally stored values s "+" "-" sign
14 $ AA L b CR !AA Set LED state k 0 to 7 custom lin.
15 # ** CR !AA Synchronized sampling KK lin. type (FE)
16 ## AA OK k CR !AA Open memory area for custom linearisation {CJC} "Y" "N"
18 ## AA T NNsxxxxxxsxxxxx CR !AA Set custom linearisation point w "M" "I"
19 ## AA C KK{CJC} CR !AA Close memory area for custom linearisation hh HEX value
PAD-TH8-P Module

20 % AA {adr.new} FFBBDD CR !AA Set module configuration HHHH Hex CJC Temp
21 # AA n CR >sxxxxxxxx Read analog input from channel n BB Baud rate
22 # AA CR >{sxxxxxxxx}*8 Read all channels DD Data format
23 $ AA 0 CR !AA old command Span calibration for all channels @ 1.00000 V S Flag 0/1
24 $ AA 1 CR !AA old command Zero calibration for all channels
25 $ AA 2 CR !AAFFBBDD Read module configuration (first channel)
26 $ AA 3 CR !sxxxx.x Read CJC value BB Baud rate
27 $ AA 5 hh CR !AA Set channel multiplex state 03 1200 bps
28 $ AA 6 CR !AAhh Read channel multiplex state 04 2400 bps
29 $ AA 9 sHHHH CR !AA Set CJC offset value 05 4800 bps
30 $ AA A CR >{sxxxxxxxx}*8 Read all 8 channel data values 06 9600 bps
31 $ AA F CR !AAVx.xx Read module firmware 07 1920 bps
32 $ AA M CR !AAPAD-TH8-P Read module name 08 38400 bps
09 57600 bps
Code (hex) Input range Resolution Precision mode 0A 115200 bps
00 ±15 mV 10 uV 1 uV
01 ±50 mV 10 uV 1 uV
02 ±100 mV 10 uV 1 uV
0C ±150 mV 10 uV 1 uV
0E Thermocouple type 'J' -210 °C .. 1200 °C 0.1 °C 0.01 °C
0F Thermocouple type 'K' -270 °C .. 1372 °C 0.1 °C 0.01 °C
10 Thermocouple type 'T' -270 °C .. 400 °C 0.1 °C 0.01 °C
30 -150 mV to +1.5 V 10 uV 1 uV
31 -1.5 V to +1.5 V 10 uV 1 uV
48 DEWETRON defined linearization (area 4)
49 DEWETRON defined linearization (area 5)
50 Custom defined linearization (area 6)
51 Custom defined linearization (area 7)
PAD-RTD3 Module

Module commands
Command summary for PAD-RTD3 module

Command Syntax
GENERAL COMMANDS
Set configuration %(OldAddr)(NewAddr)(InputRange)(BaudRate)(DataFormat)
Read configuration $(Addr)2
Read module name $(Addr)M
Read firmware version $(Addr)F
FUNCTIONAL COMMANDS
Read analog data from channel 0 #(Addr)
Read analog data from channel N #(Addr)(ChannelNo)
Read analog data from all channels #(Addr)A
Span calibration $(Addr)0(ChannelNo)
Offset calibration $(Addr)1(ChannelNo)
Enable / disable channel for multiplexing $(Addr)5(ChannelVal)
Read channel multiplexing status $(Addr)6

Set configuration:
Command: %(OldAddr)(NewAddr)(InputRange)(BaudRate)(DataFormat)\r
%: Command leading code
(OldAddr): The original / old module address. The factory default address of a module is 00.
The address range is 00 to FF hex.
(NewAddr): The new module address (be careful to get no conflict with existing module
addresses).
(InputRange):Define the analog input range, refered to the table input range on next page.
(BaudRate): Define communication baud rate, recommended ‘06’ hex (= 9600 bps).
(DataForm.): Define checksum and output data format, refered to the table data format on next
page.
Response: !(Addr)\r: The command to this address is valid.
?(Addr)\r: The command is invalid, parameter values are invalid or attempt to change
settings without short circuit on the default pins 21 and 22.
Example: Command: %0130210600\r
%: command leading code
01: old module address
30: new module address
21: input range Pt100 0 °C to 100 °C a = 0.00385
06: baud rate (9600)
00: data format (engineering units, checksum disabled)
<\r: carriage return
Response: !30\r
Description: Address successfully changed from 01 to 30.

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-23
PAD-RTD3 Module

Module commands - configuration tables


Input ranges:

Code (hex) Input range


20 Pt100 -100 °C to 100 °C a = 0.00385
21 Pt100 0 °C to 100 °C a = 0.00385
22 Pt100 0 °C to 200 °C a = 0.00385
23 Pt100 0 °C to 600 °C a = 0.00385
24 Pt100 -100 °C to 100 °C a = 0.003916
25 Pt100 0 °C to 100 °C a = 0.003916
26 Pt100 0 °C to 200 °C a = 0.003916
27 Pt100 0 °C to 600 °C a = 0.003916
28 Ni100 0 °C to 100 °C
29 Ni120 0 °C to 100 °C

Data format: Reserved


all bits have to be 0

7 6 5 4 3 2 1 0

Checksum
0: disable Analog input data format
1: enable 00: engineering units
01: reserved
10: reserved
11: ohms

Read module configuration


Command: $(Addr)2\r
Response: !(Addr)(InputRange)(BaudRate)(DataFormat)\r
!: Response leading code
Addr: Module address
(InputRange):Define the input range, refered to the table Input range above.
(BaudRate): Define communication baud rate, recommended ‘06’ hex (= 9600 bps).
(DataForm): Define checksum and output data format
\r: Carriage return (0D hex)
Example: Command: $012\r
Response: !01210600\r
01: module address
21: input range Pt100 0 °C to 100 °C a = 0.00385
06: baud rate (9600)
00: data format (engineering units, checksum disabled)
<\r: carriage return

6-24
PAD-RTD3 Module
Read module name
Command: $(Addr)M\r
Response: !(Addr)(Name)\r
!: Response leading code
Addr: Module address
(Name): Module name
\r: Carriage return (0D hex)
Example: Command: $01M\r
Response: !01PAD-RTD3\r
01: module address
PAD-RTD3: module name is PAD-RTD3
\r: carriage return

Read firmware version


Command: $(Addr)F\r
Response: !(Addr)(Firmware)\r
!: Response leading code
Addr: Module address
(Firmware): Module firmware version (5 characters)
\r: Carriage return (0D hex)
Example: Command: $01F\r
Response: !01E1.2\r
01: module address 01
E1.2: current firmware version is E1.2
\r: carriage return

Read analog data from channel 0


Command: #(Addr)\r
Response: >(InputData)\r
>: Response leading code
(InputData): Analog input data from channel 0. The Data format is a + or - sign with five decimal
digits and fixed decimal point. The unit depends on the used data format.
\r: Carriage return (0D hex)
Example: Command: #01\r
Response: >+1.6888\r
>: response leading code
+1.6888: analog input module response (channel 0) is +1.6888 units
\r: carriage return

Read analog data from channel n


Command: #(Addr)(ChannelNo)\r
Response: >(InputData)\r
>: Response leading code
(InputData): Analog input data from channel n. The Data format is a + or - sign with five decimal
digits and fixed decimal point. The unit depends on the used data format.
\r: Carriage return (0D hex)
Example: Command: #031\r
Response: >+1.6888\r
>: response leading code
+1.6888: module (addr. 03) response channel 1 is +1.6888 units
\r: carriage return

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-25
PAD-RTD3 Module
Read analog data from all channels
Command: #(Addr)A\r
Response: >(InputData)(InputData)(InputData)\r
>: Response leading code
(InputData): Analog input data of Channel 0, 1 and 2. The Data format is a + or - sign with five
decimal digits and fixed decimal point. The unit depends on the used data format.
\r: Carriage return (0D hex)
Example: Command: #04A\r
Response: >+102.67+030.45+007.89\r
>: response leading code
+102.67: input value channel 0 of analog input module (addr. 04)
+030.45: input value channel 1 of analog input module (addr. 04)
+007.89: input value channel 2 of analog input module (addr. 04)
\r: carriage return

Span calibration
See also module calibration on next page

Command: $(Addr)0(ChannelNo)\r
$: Command leading code
(Addr): Module address
0: Span calibration command
(ChannelNo): Channel for calibration (1 character) 0 to 2
\r: Carriage return (0D hex)
Response: !(Addr)\r
Example: Command: $0501\r: Perform the span calibration for module 05, channel 1
Response: !05\r: Valid command

Offset calibration
See also module calibration on next page

Command: $(Addr)1(ChannelNo)\r
$: Command leading code
(Addr): Module address
1: Offset calibration command
(ChannelNo): Channel for calibration (1 character) 0 to 2
\r: Carriage return (0D hex)
Response: !(Addr)\r
Example: Command: $0511\r: Perform the offset calibration for module 05, channel 1
Response: !05\r: Valid command

Enable / Disable channels for multiplexing


Command: $(Addr)50(ChValue)\r
$: Command leading code
(Addr): Module address
5: Enable / disable channel
0: Fixed
(ChValue): Bit 2 to 0 of character control channel 2 to 0
bit value 0: Disable channel
bit value 1: Enable channel
\r: Carriage return (0D hex)
Response: !(Addr)\r

6-26
PAD-RTD3 Module
Example: Command: $01506\r
$: command leading code
01: module address
5: enable / disable command
0: fixed
6: binary 110 - Channel 1 and 2 enabled, channel 0 disabled
\r: Carriage return
Response: !01\r

Read channel multiplexing status


Command: $(Addr)6\r
Response: !(Addr)(ChValue)\r
Example: Command: $016\r
Response: !014\r
!: response leading code
01: module address
5: enable / disable command
0: fixed
4: binary 100 - Channel 1 and 2 enabled, channel 0 disabled
\r: Carriage return

Module calibration
All PAD-RTD3 modules are within specifications when leaving the factory. The time interval for recalibration
depends on environmental conditions. Typically, the calibration should be checked once a year.
For recalibration, perform following steps:
1. Select the correct input range on the module.
2. Enable module channel 0 (disable channel 1 and 2 with command ‘$(Addr)501’).
3. Apply the correct offset calibration resistance (see table) for the selected range to module channel 0.
4. Send ‘Offset calibration $(Addr)1(ChannelNo)’ to the module.
5. Apply the correct span resistance (see table) for the selected range to the module.
6. Send ‘Span calibration $(Addr)0(ChannelNo)’ to the module.
7. Repeat steps 2 to 5 three to five times for channels 1 and 2.
8. Set all channels active with command ‘$(Addr)507’.

Sending this commands without connecting the appropriate signals causes wrong measurement values!
Calibration commands are only possible at default settings (pin-21/22 short circuit, address 00, baud rate
9600)
Code (hex) Input range Offset calibration Span calibration
resistance resistance
20 Pt100 -100 °C .. 100 °C a = 0.00385 50 Ohm 200 Ohm
21 Pt100 0 °C .. 100 °C a = 0.00385 50 Ohm 200 Ohm
22 Pt100 0 °C .. 200 °C a = 0.00385 50 Ohm 200 Ohm
23 Pt100 0 °C .. 600 °C a = 0.00385 50 Ohm 350 Ohm
24 Pt100 -100 °C .. 100 °C a = 0.003916 50 Ohm 200 Ohm
25 Pt100 0 °C .. 100 °C a = 0.003916 50 Ohm 200 Ohm
26 Pt100 0 °C .. 200 °C a = 0.003916 50 Ohm 200 Ohm
27 Pt100 0 °C .. 600 °C a = 0.003916 50 Ohm 350 Ohm
28 Ni100 0 °C .. 100 °C 50 Ohm 350 Ohm
29 Ni120 0 °C .. 100 °C 50 Ohm 200 Ohm

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-27
PAD-RTD3

6-28
Nr: Command Response AA Address
1 % AA AA(new) FFBBDD CR !AA CR Set module configuration M Module name
2 $ AA 2 CR !AAFFBBDD CR Read configuration N Channel number
3 $ AA M CR !AAM CR Read module name V Firmware version
4 $ AA F CR !AAV CR Read firmware version L Analog input data
5 # AA CR >L CR Read analog data from channel 0
6 # AA N CR >L CR Read analog data from channel N
7 # AA A CR >LLL CR Read analog data from all channels BB Baud rate
8 $ AA 0 N CR !AA CR Span calibration 03 1200 bps
9 $ AA 1 N CR !AA CR Offset calibration 04 2400 bps
10 $ AA 5 0v CR !AA CR Enable / disable channel for multiplexing 05 4800 bps
11 $ AA 6 CR !AA0v CR Read channel multiplexing status 06 9600 bps
07 1920 bps
08 38400 bps
FF Input range 09 115200 bps
20 Pt100 -100 °C to 100 °C a = 0.00385 0A 57600 bps
21 Pt100 0 °C to 100 °C a = 0.00385
22 Pt100 0 °C to 200 °C a = 0.00385 v Channel value
PAD-RTD3 Module

23 Pt100 0 °C to 600 °C a = 0.00385 1 Channel 0


24 Pt100 -100 °C to 100 °C a = 0.003916 2 Channel 1
25 Pt100 0 °C to 100 °C a = 0.003916 4 Channel 2
26 Pt100 0 °C to 200 °C a = 0.003916 v = sum of activated
27 Pt100 0 °C to 600 °C a = 0.003916
28 Ni100 0 °C to 100 °C
29 Ni120 0 °C to 100 °C

DD Configuration code table


Reserved
all bits have to be 0

7 6 5 4 3 2 1 0

Checksum
0: disable (recomm.) Analog input data format
1: enable 00: engineering units
11: ohms
PAD-AO1 Module

Module commands
Command summary for PAD-AO1 module

Command Syntax
GENERAL COMMANDS
Set configuration %(OldAddr)(NewAddr)(OutputRange)(BaudRate)(DataFormat)
Read configuration $(Addr)2
Read module name $(Addr)M
Read firmware version $(Addr)F
FUNCTIONAL COMMANDS
Send data to analog output #(Addr)(data)
Save current output as startup value $(Addr)4
Read back reset status $(Addr)5
Read back last value $(Addr)6

Set configuration:
Command: %(OldAddr)(NewAddr)(OutputRange)(BaudRate)(DataFormat)\r
%: Command leading code
(OldAddr): The original / old module address. The factory default address of a module is 00.
The address range is 00 to FE hex.
(NewAddr): The new module address (be careful to get no conflict with existing module
addresses).
(Outp.Range):Define the analog output range, refered to the table output range on next page.
(BaudRate): Define communication baud rate, recommended ‘06’ hex (= 9600 bps).
(DataFormat):Define checksum and output data format, refered to the table data format on next
page.
Response: !(Addr)\r The command to this address is valid.
?(Addr)\r The command is invalid, parameter values are invalid or attempt to change
settings without short circuit on the default pins 21 and 22.
Example: Command: %0102300600\r
%: command leading code
01: old module address
02: new module address
30: output range (0 to 20 mA)
06: baud rate (9600 bps)
00: data format (engineering units, checksum disabled, immediate change)
\r: carriage return
Response: !02\r
Address successfully changed from 01 to 02.

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-29
PAD-AO1 Module

Module commands - configuration tables


Output ranges:

Code (hex) Input range


30 0 .. 20 mA (max. load 500 Ohm!)
31 4 .. 20 mA (max. load 500 Ohm!)
32 0 .. 10 V

Data format:

7 6 5 4 3 2 1 0

Checksum
0: disable (recom.)
Slew rate Analog input data format
1: enable
control 00: engineering units
(see table) 01: % of full scale range
Reserved 10: two’s complement of hexadecimal
has to be 0 11: reserved

Code Slew rate control Code Slew rate control


5 4 3 2 Voltage Current 5 4 3 2 Voltage Current
0 0 0 0 immediate change immediate change 1 0 0 0 8 V/sec 16 mA/sec
0 0 0 1 0.0625 V/sec 0.125 mA/sec 1 0 0 1 16 V/sec 32 mA/sec
0 0 1 0 0.125 V/sec 0.250 mA/sec 1 0 1 0 32 V/sec 64 mA/sec
0 0 1 1 0.250 V/sec 0.500 mA/sec 1 0 1 1 64 V/sec 128 mA/sec
0 1 0 0 0.500 V/sec 1 mA/sec 1 1 0 0 128 V/sec 256 mA/sec
0 1 0 1 1 V/sec 2 mA/sec 1 1 0 1 256 V/sec 512 mA/sec
0 1 1 0 2 V/sec 4 mA/sec 1 1 1 0 512 V/sec 1024 mA/sec
0 1 1 1 4 V/sec 8 mA/sec

Module calibration
All PAD-AO1 modules are within specifications when leaving the factory. The time interval for recalibration
depends on environmental conditions. Typically, the calibration should be checked once a year.

Calibration performance: to be implemented

Read module configuration


Command: $(Addr)2\r
Response: !(Addr)(OutputRange)(BaudRate)(DataFormat)\r
!: Response leading code
Addr: Module address
(OutpRange): Define the analog output range, refered to the table output range on next page.
(BaudRate): Define communication baud rate, recommended ‘06’ hex (= 9600 bps).
(DataForm): Define checksum and output data format
\r: Carriage return (0D hex)

6-30
PAD-AO1 Module
Example: Command: $012\r
Response: !01300600\r
01: module address
30: output range (0 to 20 mA)
06: baud rate (9600 bps)
00: data format (engineering units, checksum disabled, immediate change)
\r: carriage return

Read module name


Command: $(Addr)M\r
Response: !(Addr)(Name)\r
!: Response leading code
Addr: Module address
(Name): Module name
\r: Carriage return (0D hex)
Example: Command: $01M\r
Response: !01PAD-A01\r
01: module address
PAD-A01: module name is PAD-A01
\r: carriage return

Read firmware version


Command: $(Addr)F\r
Response: !(Addr)(Firmware)\r
!: Response leading code
Addr: Module address
(Firmware): Module firmware version (5 characters)
\r: Carriage return (0D hex)
Example: Command: $01F\r
Response: !01B1.0\r
01: module address 01
B1.0: current firmware version is B1.0
\r: carriage return

Send data to analog output


Command: #(Addr)(data)\r
#: Command leading code
(Addr): Module address
(data): Output value (6 characters, refer to data format table)
\r: Carriage return (0D hex)
Response: >\r: Valid command
?(Addr)\r: Out of range (output will go to the most close value)
!\r: Command ignore
no response: Syntax error, communication error or address error
Example: Command: #0110.654\r
#: command leading code
01: module address
10.654: current output = 10.654 mA
\r: carriage return
Response: >\r: valid command

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-31
PAD-AO1 Module
Save current output as startup value
Command: $(Addr)4\r
Response: !(Addr)\r: Valid command
?(Addr)\r: Out of range (output will go to the most close value)
!\r: Command ignore
no response: Syntax error, communication error or address error
Example: Command: #0110.654\r (set output as 10.654 mA for module 01)
Response: >\r: valid command
Command: $014\r (set the start-up analog output for module 01 as 10.654 mA)
Response: !01\r valid command

Read back reset status


Command: $(Addr)5\r
Read back the reset status to detect the module watchdog failure.
Response: !(Addr)0\r: Module has not been reset since the last reset status read
!(Addr)1\r: Module has been reset since the last reset status read
?(Addr)\r: Invalid command
no response: Syntax error, communication error or address error
Example: Command: $015\r
Response: !010\r valid command
!: response leading code
01: module address
0: module has not been reset since the last reset status read
(value 1 at first time power on)
\r: carriage return

Read back last value


Command: $(Addr)6\r
Read back the latest analog output value (no measurement)
Response: !(Addr)(Data)\r: Module has not been reset since the last reset status read
?(Addr)\r: Invalid command
no response: Syntax error, communication error or address error
Example: Command: #0110.654\r (set output as 10.654 mA for module 01)
Response: >\r: valid command
Command: $016\r
Response: !0110.654\r
!: response leading code
01: module address
10.654:last output value was 10.654 mA for module 01
\r: carriage return

6-32
PAD-AO1 Module

Notes

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-33
PAD-AO1

6-34
Nr: Command Response AA Address
1 % AA AA(new) FFBBDD CR !AA CR Set configuration z Digit
2 $ AA 2 CR !AAFFBBDD CR Read configuration M Module name
3 $ AA M CR !AAM CR Read module name V Firmware version
4 $ AA F CR !AAV CR Read firmware version S Reset status
5 # AA zz.zzz CR > CR Send data to analog output
6 $ AA 4 CR !AA CR Save current output as startup value
7 $ AA 5 CR !AAS CR Read back reset status FF Output range
8 $ AA 6 CR !AAzz.zzz CR Read back last value 30 0 to 20 mA
31 4 to 20 mA
32 0 to 10 V
DD Configuration code table

7 6 5 4 3 2 1 0 BB Baud rate
03 1200 bps
04 2400 bps
PAD-AO1 Module

05 4800 bps
Checksum 06 9600 bps
0: disable (recom.)
Slew rate Analog input data format 07 1920 bps
1: enable
control 00: engineering units 08 38400 bps
(see table) 01: % of full scale range 09 57600 bps
Reserved 10: two’s complement of hexadecimal 0A 115200 bps
has to be 0 11: reserved

Code Slew rate control Code Slew rate control


5 4 3 2 Voltage Current 5 4 3 2 Voltage Current
0 0 0 0 immediate change immediate change 1 0 0 0 8 V/sec 16 mA/sec
0 0 0 1 0.0625 V/sec 0.125 mA/sec 1 0 0 1 16 V/sec 32 mA/sec
0 0 1 0 0.125 V/sec 0.250 mA/sec 1 0 1 0 32 V/sec 64 mA/sec
0 0 1 1 0.250 V/sec 0.500 mA/sec 1 0 1 1 64 V/sec 128 mA/sec
0 1 0 0 0.500 V/sec 1 mA/sec 1 1 0 0 128 V/sec 256 mA/sec
0 1 0 1 1 V/sec 2 mA/sec 1 1 0 1 256 V/sec 512 mA/sec
0 1 1 0 2 V/sec 4 mA/sec 1 1 1 0 512 V/sec 1024 mA/sec
0 1 1 1 4 V/sec 8 mA/sec
PAD-CNT2 Module

Module commands
Command summary for PAD-CNT2 module

Command Syntax
GENERAL COMMANDS
Set configuration %(OldAddr)(NewAddr)(InputRange)(BaudRate)(DataFormat)
Read configuration $(Addr)2
Read module name $(Addr)M
Read firmware version $(Addr)F
FUNCTIONAL COMMANDS
Read counter or frequency x #(Addr)(Counter/FrequencyNo)
Set input mode $(Addr)B(Status)
Read input mode $(Addr)B
Set high trigger level $(Addr)1H(TriggerHighLevel)
Read high trigger level $(Addr)1H
Set low trigger level $(Addr)1L(TriggerLowLevel)
Read low trigger level $(Addr)1L
Set maximum counter value $(Addr)3(CounterNumber)(MaxValue)
Read maximum counter value $(Addr)3
Set digital filter status $(Addr)4(CounterNumber)(DigitalFilter)
Read digital filter status $(Addr)
Set the counter status $(Addr)5(Start/Stop)
Read the counter status $(Addr)5
Reset counter $(Addr)6(CounterNumber)
Read overflow status $(Addr)7(CounterNumber)
Set gate control mode $(Addr)A(Status)
Read gate control mode $(Addr)A

Set configuration:
Command: %(OldAddr)(NewAddr)(InputType)(BaudRate)(DataFormat)\r
%: Command leading code
(OldAddr): The original / old module address. The factory default address of a module is 00.
The address range is 00 to FE hex.
(NewAddr): The new module address (be careful to get no conflict with existing module
addresses).
(InputType): Define the input type (counter, frequency) refered to table input type on next page.
(BaudRate): Define communication baud rate, recommended ‘06’ hex (= 9600 bps).
(DataForm.): Define checksum and frequency gate time, refered to the table data format on next
page.
\r: Carriage return (0D hex)
Response: !(Addr)\r The command to this address is valid.
?(Addr)\r The command is invalid, parameter values are invalid or attempt to change
settings without short circuit on the default pins 21 and 22.
Example: Command: %0102500600\r
%: command leading code
01: old module address
02: new module address
50: input type (counter)
06: baud rate (9600)
00: data format (0.1 second frequency gate time, checksum disabled)
\r: carriage return
Response: !02\r
Description: Address successfully changed from 01 to 02.

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-35
PAD-CNT2 Module
Module commands - configuration tables

Input type:
Valid for entire module - both channels in frequency or counter mode.
Code (hex) Input type
50 Counter
51 Frequency

Data format: Reserved


all bits have to be 0

7 6 5 4 3 2 1 0

Checksum Frequency gate time


0: disable (recomm.) 0: 0.1 second gate time
1: enable 1: 1 second gate time

Read module configuration


Command: $(Addr)2\r
Response: !(Addr)(InputType)(BaudRate)(DataFormat)\r
!: Response leading code
(Addr): Module address
(InputType): Define the input type (counter, frequency)
(BaudRate): Define communication baud rate, recommended ‘06’ hex (= 9600 bps)
(DataForm.): Define checksum and frequency gate time
\r: Carriage return (0D hex)
Example: Command: $012\r
Response: !01500600\r
!: Response leading code
01: module address
50: input type (counter)
06: baud rate (9600)
00: data format (0.1 second frequency gate time, checksum disabled)
\r: carriage return

6-36
PAD-CNT2 Module
Read module name
Command: $(Addr)M\r
Response: !(Addr)(Name)\r
!: Response leading code
(Addr): Module address
(Name): Module name
\r: Carriage return (0D hex)
Example: Command: $01M\r
Response: !01CNT-2\r
01: module address
CNT-2: module name is CNT-2
\r: carriage return

Read firmware version


Command: $(Addr)F\r
Response: !(Addr)(Firmware)\r
!: Response leading code
(Addr): Module address
(Firmware): Module firmware version (5 characters)
\r: Carriage return (0D hex)
Example: Command: $01F\r
Response: !01A1.2\r
01: module address 01
A1.2: current firmware version is A1.2
\r: carriage return

Read counter or frequency


Command: #(Addr)(Channel)\r
#: Command leading code
(Addr): Module address
(Channel): Channel of counter or frequency (0 or 1)
\r: Carriage return (0D hex)
Response: >(Addr)(Cnt/Frq)\r
>: Response leading code
(Cnt/Frq): 8 characters counter or frequency value (hex)
\r: Carriage return (0D hex)
Example: Command: $012\r
Response: !01500600
Command: #010\r
Response: >0000001D\r
>: Response leading code
0000001D: Counter 0 = 1D = 29 (dec)
\r: Carriage return (0D hex)
Example: Command: $072\r
Response: !07510600
Command: #071\r
Response: >0000001D\r
>: Response leading code
0000001D: Frequency 1 = 1D Hz = 29 Hz (dec)
\r: Carriage return (0D hex)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-37
PAD-CNT2 Module
Set input mode
Command: $(Addr)B(Status)\r
$: Command leading code
(Addr): Module address
(Status): Input mode (isolated / non isolated) refered to table set input mode
\r: Carriage return (0D hex)
Response: !(Addr)\r Valid command
Example: Command: $01B2\r
$: Command leading code
01: Module address
B2: Set channel 0 non isolated and channel 1 isolated
\r: Carriage return (0D hex)
Response: !01\r Valid command

Input mode Command Channel 0 Channel 1


Input mode 0 $(Addr)B0 Non isolated (Pin 9 .. 11) Non isolated (Pin 11 .. 13)
Input mode 1 $(Addr)B1 Isolated (Pin 1 .. 4) Isolated (Pin 5 .. 8)
Input mode 2 $(Addr)B2 Non isolated (Pin 9 .. 11) Isolated (Pin 5 .. 8)
Input mode 3 $(Addr)B3 Isolated (Pin 1 .. 4) Non isolated (Pin 11 .. 13)

Read input mode


Command: $(Addr)B\r
Response: !(Addr)(Status)\r
!: Response leading code
(Addr): Module address
(Status): Input mode (isolated / non isolated) refered to table set input mode
\r: Carriage return (0D hex)
Example: Command: $01B\r
Response: !012\r (Channel 0 non isolated and channel 1 isolated)

Set high trigger level of non-isolated input


Command: $(Addr)1H(TrigLevel)\r
$: Command leading code
(Addr): Module address
(TrigLevel): 2 characters decimal value for high trigger level. The unit is 0.1 V and the range
can be from 0.0 to 5.0 V. Default setting is 2.4 V.
\r: Carriage return (0D hex)
Response: !(Addr)\r Valid command
Example: Command: $011H2.3\r
$: Command leading code
01: Module address
1H2.3: Set the high trigger level to 2.3 V
\r: Carriage return (0D hex)
Response: !01\r Valid command

6-38
PAD-CNT2 Module
Read high trigger level of non-isolated input
Command: $(Addr)1H\r
Response: !(Addr)(TrigLevel)\r
!: Response leading code
(Addr): Module address
(TrigLevel): 2 characters decimal value for high trigger level
\r: Carriage return (0D hex)
Example: Command: $011H\r
Response: !0123\r
!: Response leading code
01: Module address
2.3: The high trigger is 2.3 V
\r: Carriage return (0D hex)

Set low trigger level of non-isolated input


Command: $(Addr)1L(TrigLevel)\r
$: Command leading code
(Addr): Module address
(TrigLevel): 2 characters decimal value for low trigger level. The unit is 0.1 V and the range
can be from 0.0 to 5.0 V. Default setting is 0.8 V.
\r: Carriage return (0D hex)
Response: !(Addr)\r Valid command
Example: Command: $011L0.9\r
$: Command leading code
01: Module address
1L0.9: Set the high trigger level to 0.9 V
\r: Carriage return (0D hex)
Response: !01\r Valid command

Read low trigger level of non-isolated input


Command: $(Addr)1L\r
Response: !(Addr)(TrigLevel)\r
!: Response leading code
(Addr): Module address
(TrigLevel): 2 characters decimal value for high trigger level
\r: Carriage return (0D hex)
Example: Command: $011L\r
Response: !0109\r
!: Response leading code
01: Module address
0.9: The high trigger is 0.9 V
\r: Carriage return (0D hex)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-39
PAD-CNT2 Module
Attention! The CNT module has no automatic overflow. You have to reset the counter at value FF
FF FF FF!

Reset counter
Reset the counter to preset value and clear the overflow flag.
Command: $(Addr)6(Channel)\r
$: Command leading code
(Addr): Module address
(Channel): Number of counter (0 or 1)
\r: Carriage return (0D hex)
Response: !(Addr)\r Valid command
Example: Command: $0160\r Reset counter 0 of module 01
Response: !01\r Valid command

Set preset counter value


This is the counter value after “reset” or “power on” the module.
Preset value will be ignored in frequency mode.
Command: @(Addr)P(Channel)(PreValue)\r
@: Command leading code
(Addr): Module address
(Channel): Number of counter (0 or 1)
(PreValue): 8-character value (hex)
\r: Carriage return (0D hex)
Response: !(Addr)\r Valid command
Example: Command: @01P0FFFF0000\r
set preset value of counter 0 to FFFF0000
Response: !01\r Valid command

Read preset counter value


Command: @(Addr)G(Channel)\r
Response: !(Addr)(PreValue)\r
@: Response leading code
(Addr): Module address
(PreValue): 8-character value (hex)
\r: Carriage return (0D hex)
Example: Command: @01G0\r
Response: !01FFFF0000\r
The preset value of counter 0 is FFFF0000

Set maximum counter value


Command: $(Addr)3(Channel)(MaxValue)\r
$: Command leading code
(Addr): Module address
(Channel): Number of counter (0 or 1)
(MaxValue): 8-character value (hex)
\r: Carriage return (0D hex)
Response: !(Addr)\r Valid command
Example: Command: $0130FFFF0000\r
set maximum value of counter 0 to FFFF0000
Response: !01\r Valid command

6-40
PAD-CNT2 Module
Read maximum counter value
Command: $(Addr)3(Channel)\r
Response: !(Addr)(MaxValue)\r
$: Response leading code
(Addr): Module address
(MaxValue): 8-character value (hex)
\r: Carriage return (0D hex)
Example: Command: $01G0\r
Response: !01FFFF0000\r
The maximum value of counter 0 is FFFF0000

Set digital filter status


The digital filter is disable in frequency mode. Valid for both none-isolated & isolated inputs.
Command: $(Addr)4(DigFilter)\r
$: Command leading code
(Addr): Module address
(DigFilter): 0 Digital filter disabled
1 Digital filter enabled
\r: Carriage return (0D hex)
Response: !(Addr)\r Valid command
Example: Command: $0141\r
Digital filter enabled
Response: !01\r Valid command

Read digital filter status


Command: $(Addr)4\r
Response: !(Addr)(DigFilter)\r
$: Response leading code
(Addr): Module address
(DigFilter): 0 Digital filter disabled
1 Digital filter enabled
\r: Carriage return (0D hex)
Example: Command: $014\r
Response: !010\r
Digital filter is disabled

Set the counter status


Command: $(Addr)5(Start/Stop)\r
$: Command leading code
(Addr): Module address
(Start/Stop): 0 Stop counter
1 Start counter
\r: Carriage return (0D hex)
Response: !(Addr)\r Valid command
Example: Command: $0150\r
Stop counter
Response: !01\r Valid command

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-41
Read the counter status
Command: $(Addr)5\r
Response: !(Addr)(Start/Stop)\r
$: Response leading code
(Addr): Module address
(Start/Stop): 0 Stop counter
1 Start counter
\r: Carriage return (0D hex)
Example: Command: $015\r
Response: !010\r
Counter stopped

Read overflow status


Command: $(Addr)7(Channel)\r
$: Command leading code
(Addr): Module address
(Channel): Channel (0 or 1)
\r: Carriage return (0D hex)
Response: !(Addr)(Status)\r
!: Command leading code
(Addr): Module address
(Status): 0 for no overflow; 1 for overflow
\r: Carriage return (0D hex)
Example: Command: $0170\r
Response: !011\r
!: Response leading code
01: Module address
1: Counter 0 is overflow
\r: Carriage return (0D hex)

Set gate control mode


This command will be ignored in frequency mode.
Command: $(Addr)A(GateContr)\r
$: Command leading code
(Addr): Module address
(GateContr): Gate control mode (1 character refered to gate control table)
\r: Carriage return (0D hex)
Response: !(Addr)\r Valid command
Example: Command: $01A0
$: Command leading code
01: Module address
A0: Gate is low active
\r: Carriage return (0D hex)
Response: !01\r Valid command

Command Gate status


$(Addr)A0 low active
$(Addr)A1 high active
$(Addr)A2 disabled (= always active)

6-42
Read gate control mode
Command: $(Addr)A\r
Response: !(Addr)(GateContr)\r
!: Command leading code
(Addr): Module address
(GateContr): Gate control mode (1 character refered to gate control table)
\r: Carriage return (0D hex)
Example: Command: $01A\r

Response: !010\r
!: Response leading code
01: Module address
0: Gate is low active
\r: Carriage return (0D hex)

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-43
PAD-CNT2

6-44
Nr: Command Response AA Address
1 % AA AA(new) TTBBDD CR !AA CR Set configuration M Module name
2 $ AA 2 CR !AATTBBDD CR Read configuration V Firmware version
3 $ AA M CR !AAM CR Read module name z Digit
4 $ AA F CR !AAV CR Read firmware version h HEX value
5 # AA N CR >hhhhhhhh CR Read counter or frequency
6 $ AA BS CR !AA CR Set input mode
7 $ AA B CR !AAS CR Read input mode BB Baud rate
8 $ AA 1H zz CR !AA CR Set high trigger level 03 1200 bps
9 $ AA 1H CR !AAzz CR Read high trigger level 04 2400 bps
10 $ AA 1L zz CR !AA CR Set low trigger level 05 4800 bps
11 $ AA 1L CR !AAzz CR Read low trigger level 06 9600 bps
12 $ AA 3 Nhhhhhhhh CR !AA CR Set maximum counter value 07 1920 bps
13 $ AA 3 CR !AAhhhhhhhh CR Read maximum counter value 08 38400 bps
14 $ AA 4 Nz CR !AA CR Set digital filter status 09 57600 bps
15 $ AA 4 CR !AAz CR Read digital filter status 0A 115200 bps
16 $ AA 5 z CR !AA CR Set the counter status
17 $ AA 5 CR !AAz CR Read the counter status
PAD-CNT2 Module

18 $ AA 6 N CR !AA CR Reset counter TT Input type


19 $ AA 7 N CR !AAO CR Read overflow status 50 Counter
20 $ AA A G CR !AA CR Set gate control mode 51 Frequency
21 $ AA A CR !AAG CR Read gate control mode
22 @ AA P Nhhhhhhhh CR !AA CR Set preset counter value
23 @ AA G CR !AAhhhhhhhh CR Read preset counter value N Channel
0 Channel 0 of module
1 Channel 1 of module
Input mode Input mode
Channel 0 S Channel 1
Non isolated 0 Non isolated DD Configuration code table
Isolated 1 Isolated
Non Isolated 2 Isolated
Isolated 3 Non isolated

O Overflow
0 No counter overflow 7 6 5 4 3 2 1 0
1 Counter overflow

G Gate control Checksum Frequency gate time


0 Low active 0: disable (recomm.) 0: 0.1 second gate time
1 High active 1: enable 1: 1 second gate time
2 Disabled
PAD-DI8 Module

Module commands
Command summary for PAD-DI8 module

Command Syntax
GENERAL COMMANDS
Set configuration %(OldAddr)(NewAddr)40(BaudRate)(DataFormat)
Read configuration $(Addr)2
Read module name $(Addr)M
Read firmware version $(Addr)F
FUNCTIONAL COMMANDS
Read digital input data $(Addr)6
Read latch value of digital input $(Addr)L(LatchStatus)
Clear latch input $(Addr)C
Synchronized sampling #**
Read synchronized data $(Addr)4

Set configuration:
Command: %(OldAddr)(NewAddr)(InputRange)(BaudRate)(DataFormat)\r
%: Command leading code
(OldAddr): The original / old module address. The factory default address of a module is 00.
The address range is 00 to FE hex.
(NewAddr): The new module address (be careful to get no conflict with existing module
addresses).
(InputRange):Type 40 for DI module
(BaudRate): Define communication baud rate, recommended ‘06’ hex (= 9600 bps).
(DataForm.): Define dataformat (checksum) refered to the table data format on next page.
Response: !(Addr)\r The command to this address is valid.
?(Addr)\r The command is invalid, parameter values are invalid or attempt to change
settings without short circuit on the default pins 21 and 22.
Example: Command: %0102400600\r
%: command leading code
01: old module address
02: new module address
40: DI module
06: baud rate (9600)
00: data format (checksum disabled)
\r: carriage return
Response: !02\r
Description: Address successfully changed from 01 to 02

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-45
PAD-DI8 Module

Module commands - configuration tables


Data format: Reserved
all bits have to be 0

Input
First data Second data
7 6 5 4 3 2 1 0 DI (0 to 7) 00 to FF 00 00
first byte second byte third byte

Checksum Set to 1
0: disable (recomm.)
1: enable

Read module configuration


Command: $(Addr)2\r
Response: !(Addr)(InputRange)(BaudRate)(DataFormat)\r
!: Response leading code
(Addr): Module address
(InputRange):Type 40 for DI module
(BaudRate): Define communication baud rate, recommended ‘06’ hex (= 9600 bps)
(DataForm.): Define dataformat (checksum)
\r: Carriage return (0D hex)
Example: Command: $012\r
Response: !01400602\r
!: response leading code
01: module address
40: DI module
06: baud rate (9600)
02: data format (checksum disabled)
\r: carriage return

Read module name


Command: $(Addr)M\r
Response: !(Addr)(Name)\r
!: Response leading code
(Addr): Module address
(Name): Module name
\r: Carriage return (0D hex)
Example: Command: $01M\r
Response: !01PAD-DI8\r
01: module address
PAD-DI8: module name is PAD-DI8
\r: carriage return

6-46
PAD-DI8 Module
Read firmware version
Command: $(Addr)F\r
Response: !(Addr)(Firmware)\r
!: Response leading code
(Addr): Module address
(Firmware): Module firmware version (5 characters)
\r: Carriage return (0D hex)
Example: Command: $01F\r
Response: !01B1.3\r
!: response leading code
01: module address 01
B1.3: current firmware version is B1.3
\r: carriage return

Read digital input data


Command: $(Addr)6\r
Response: !(InputData)\r
!: Response leading code
(InputData): Input data refered to the table Input data format
3 bytes - information only in the first byte
\r: Carriage return (0D hex)
Example: Command: $016\r
Response: !0F0000\r
!: response leading code
0F0000: Input 0 to 3 are high (first byte = 0F = 00001111)
\r: carriage return

Read latch value of digital input


Triggering at rising/falling edge and storing them.
Command: $(Addr)L(Latch)\r
$: Command leading code
(Addr): Module address
L: Command for read latched digital input
(Latch): Select latch at rising edge (1) or falling edge (0)
\r: Carriage return (0D hex)
Response: !(LatchData)\r
!: Response leading code
(LatchData): Input channel is latched (1) or input channel is not latched (0)
\r: Carriage return (0D hex)
Example: Read: !000000 Latch: !000000
!010000 !010000
!000000 !010000 Rising edge stays stored until
“clear latch” command
Command: $01L1\r
Response: !010000\r
!: response leading code
010000: Input 0 is high
\r: carriage return

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-47
PAD-DI8 Module
Clear latch input
Command: $(Addr)C\r
$: Command leading code
(Addr): Module address
C: Command for clear latched digital input
\r: Carriage return (0D hex)
Response: !(Addr)\r

Synchronized sampling
This command will store the current input values for all channels. As this command uses no module address,
it has an effect on all PAD modules within the system. The values are stored within each module in a temporary
register.
Command: #**\r
Response: no response; to read out the values, use the following command.

Read synchronized data


Command: $(Addr)4\r
Response: !(S)(Data)\r
!: Command leading code
S: Readout state (1 = first read out; 0 = re-read of old values)
Data: Stored input values for channel 0 to 7
Example: Command: $014\r
Response: !1000000\r
!: response leading code
000000: readed data
\r: carriage return

6-48
PAD-DI8 Module

Notes

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-49
PAD-DI8

6-50
Nr: Command Response AA Address
1 % AA AA(new) 40BBDD CR !AA CR Set module configuration M Module name
2 $ AA 2 CR !AA40BBDD CR Read configuration V Firmware version
3 $ AA M CR !AAM CR Read module name z Digit
4 $ AA F CR !AAV CR Read firmware version h HEX value
5 # AA 6 CR !{Input} CR Read digital input data
6 $ AA L S CR !{Input} CR Read latch value of digital input
7 $ AA C CR !AA CR Clear latch value BB Baud rate
8 # ** CR Synchronized sampling 03 1200 bps
9 $ AA 4 CR !zRhhhhhh CR Read synchronized data 04 2400 bps
05 4800 bps
06 9600 bps
DD Configuration code table Input 07 1920 bps
First data Second data 08 38400 bps
Reserved DI (0 to 7) 00 to FF 00 00 09 57600 bps
PAD-DI8 Module

all bits have to be 0 0A 115200 bps

S Latch status
0 Latch is low
1 Latch is high
7 6 5 4 3 2 1 0

R Readout state
0 Re-read out of old value
Checksum Set to 1 1 First read out
0: disable (recomm.)
1: enable
PAD-DO7 Module

Module commands
Command summary for PAD-DO7 module

Command Syntax
GENERAL COMMANDS
Set configuration %(OldAddr)(NewAddr)(InputRange)(BaudRate)(DataFormat)
Read configuration $(Addr)2
Read module name $(Addr)M
Read firmware version $(Addr)F
FUNCTIONAL COMMANDS
Set value of digital output #(Addr)(MultichannelOn/Off)(Value)
Set digital output @(Addr)(Outputdata)

Set configuration:
Syntax: %(OldAddr)(NewAddr)(InputRange)(BaudRate)(DataFormat)
Description: % Command leading code
(OldAddr): The original / old module address. The factory default address of a module is 00.
The address range is 00 to FE hex.
(NewAddr): The new module address (be careful to get no conflict with existing module
addresses).
(Range): Type 40 for DO module
(BaudRate): Define communication baud rate, recommended ‘06’ hex (= 9600 bps).
(DataForm.): Define checksum and output data format, refered to the table data format on next
page.
Response: !(Addr)\r The command to this address is valid.
?(Addr)\r The command is invalid, parameter values are invalid or attempt to change
settings without short circuit on the default pins 21 and 22.
Example: Command: %0102400600\r
%: command leading code
01: old module address
02: new module address
40: DO module
06: baud rate (9600)
00: data format (checksum disabled)
\r: carriage return
Response: !02\r
Description: Address successfully changed from 01 to 02

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-51
PAD-DO7 Module

Module commands - configuration tables


Data format: Reserved
all bits have to be 0

7 6 5 4 3 2 1 0

Checksum
0: disable
1: enable

Read module configuration


Command: $(Addr)2\r
Response: !(Addr)(InputRange)(BaudRate)(DataFormat)\r
!: Response leading code
(Addr): Module address
(InputRange):Type 40 for DO module
(BaudRate): Define communication baud rate, recommended ‘06’ hex (= 9600 bps)
(DataForm.): Define dataformat (checksum)
\r: Carriage return (0D hex)
Example: Command: $012\r
Response: !01400600\r
!: response leading code
01: module address
40: DO module
06: baud rate (9600)
00: data format (checksum disabled)
\r: carriage return

Read module name


Command: $(Addr)M\r
Response: !(Addr)(Name)\r
!: Response leading code
(Addr): Module address
(Name): Module name
\r: Carriage return (0D hex)
Example: Command: $01M\r
Response: !01PAD-DO7\r
01: module address
PAD-DO7: module name is 0815
\r: carriage return

6-52
PAD-DO7 Module
Read firmware version
Command: $(Addr)F\r
Response: !(Addr)(Firmware)\r
!: Response leading code
(Addr): Module address
(Firmware): Module firmware version (4 characters)
\r: Carriage return (0D hex)
Example: Command: $01F\r
Response: !01B1.2\r
!: response leading code
01: module address 01
B1.2: current firmware version is B1.2
\r: carriage return

Set value of digital output:


Command: #(Addr)(MultichannelOn/Off)(Value)\r
# Command leading code
(Addr) Current module address (00 to FE hex).
(Multichannel) 00: setting value for all channels (Multichannel)
1x: setting value for channel x (x = 0 to 6)(Singlechannel)
(Value) Multichannel: 00 to 7F hex
Singlechannel (1x): 00 turn channel x off
01 turn channel x on
\r: carriage return
Response: >\r
Example: Command: #021001\r
Module 02; channel 0 on
Response: >\r
Command: #021601\r
Module 02; channel 6 on
Response: >\r

Set digital output:


Command: @(Addr)(Data)\r
@ Command leading code
(Addr) Current module address (00 to FE hex).
(Data) Output data from 00 to 7F (7 bit)
\r: carriage return
Response: >\r
Example: Command: #027F\r
Set module 02; output data 7F
Response: >\r

DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 6-53
PAD-DO7

6-54
Nr: Command Response AA Address
1 % AA AA(new) 40BBFF CR !AA CR Set module configuration M Module name
2 $ AA 2 CR !AA40BBFF CR Read configuration h HEX value
3 $ AA M CR !AAM CR Read module name V Firmware version
4 $ AA F CR !AAV CR Read firmware version
5 # AA {Output} CR > CR Set value of digital output
6 @ AA hh CR > CR Set digital output BB Baud rate
03 1200 bps
04 2400 bps
DD Configuration code table Output 05 4800 bps
Multi channel 06 9600 bps
Reserved
00 00 to 7F 07 1920 bps
all bits have to be 0
Flag Data 08 38400 bps
Single channel 09 57600 bps
10 00 =ch 0 off 0A 115200 bps
10 01 =ch 0 on
PAD-DO7 Module

16 00 =ch 6 off
7 6 5 4 3 2 1 0 16 01 =ch 6 on

Checksum
0: disable (recomm.)
1: enable

You might also like