DEWE-Modules, Programmers Reference Manual
DEWE-Modules, Programmers Reference Manual
DEWE-Modules
Programmers Reference Manual
ISO9001
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.
Printing History:
Version 2.0.7
Released November 3, 2004
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:
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.
1-2
Safety Instructions
DE-M0382E • DEWE-Modules Programmers Reference Manual • Printing version 2.0.7 • Nov 3, 2004 1-3
General System Information
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.
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.
DEWE-4010
DEWE-2010
DEWE-BOOK-8
DEWE-BOOK-16
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
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).
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
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
TO GET DATA FROM A MODULE, USE ONLY THE ‘#’ COMMAND SIGN,
OTHERWISE A MODULE-RECALIBRATION IS POSSIBLE.
THIS REQUIRES A NEW MODULE CALIBRATION!
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
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
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)
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)
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
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
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)
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)
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
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
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)
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)
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
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)
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)
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
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
4-18
DAQP-BRIDGE-A Module
Response: !(Addr)\r Valid command
?(Addr)\r Invalid command, syntax error
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.
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)
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
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
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
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.
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)
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
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)
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)
4-30
DAQP-ACC-A Module
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)
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)
4-32
DAQP-CHARGE Module
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)
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.
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)
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
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.
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)
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
AA Address
DAQP-CHARGE-A Module
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
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
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
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
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
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
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
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:
6-2
PAD-V8-P Module
Data format: Reserved
all bits have to be 0
7 6 5 4 3 2 1 0
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)
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)
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
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)
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)
(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)
(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
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:
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)
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)
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)
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.
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)
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
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)
(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)
(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
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
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
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
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
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
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
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
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
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.
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
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
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
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
7 6 5 4 3 2 1 0
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
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
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)
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
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
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
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
O Overflow
0 No counter overflow 7 6 5 4 3 2 1 0
1 Counter overflow
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
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
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
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.
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
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
7 6 5 4 3 2 1 0
Checksum
0: disable
1: enable
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
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