Page 1
Interface description and command set English DMP41 Digital precicion measuring device...
Page 2
Fax +49 6151 803-9100 info@hbm.com www.hbm.com Mat.: 7-0102.0003 DVS: A03474_04_E00_00 HBM: public 03.2020 E Hottinger Baldwin Messtechnik GmbH. Subject to modifications. All product descriptions are for general information only. They are not to be understood as a guarantee of quality or...
Documentation overview The complete production documentation of the precision measuring devices DMP41 (DMP41-T2; DMP41-T6) comprises the following publications: S The operating manual 'Digital precision measuring device DMP41-T2, DMP41-T6' (A3463) explains the manual operation of the device S The operating manual 'Digital precision measuring device DMP41...
1.1.1 Operation with PC This manual explains the operation of your HBM device with a computer. S You can implement all device settings by sending an appropriate command sequence from the computer. Automation of repetitive measurement sequences is possible with a computer and the corresponding programs.
Documentation overview How to work with this manual Administrator rights belong to: S The person who entered the password S The person working directly (stand‐alone) on the DMP41 (default) 1.1.2 Chapter and appendix overview Chapter A Introduction General information for using this manual. A documentation overview shows you which documents are part of the DMP device.
Page 8
Documentation overview How to work with this manual Appendix hang III Functional command overview You can also search for commands sorted by function. Appendix IV Keyword index DMP41 A03474_04_E00_00 HBM: public...
The device can be operated simultaneously via all interfaces, but can only be parameterized over one connection at the same time. The HBM Interpreter “translates" the command and corresponding character string received from an interface into a code understood by the DMP41.
Communication with the DMP Ethernet interface The DMP41 can be included in an Ethernet network, and thus directly to the TCP/IP world, via the Ethernet connection RJ45 socket. This means that visualization and control are not only possible on site, but also, with relevant safety devices, anywhere in the world.
Page 12
(octets) (e.g. 192.156.168.10). The IP address can be assigned automatically (default setting) in the DMP41 (DHCP) or entered via the device keyboard. Standard addresses Choose Start -> Run from the Windows start menu and enter “CMD", you can then use “Ping IP"...
Setting the Ethernet interface When the Ethernet interface is set to DHCP (Dynamic Host Configuration Protocol), the addresses assigned by the DHCP server to DMP41 are dis played in the address fields. It is also possible to set fixed addresses directly in the DMP41 (IP address, network mask, Gateway, DHCP).
Page 14
Communication with the DMP Ethernet interface DMP41 A03474_04_E00_00 HBM: public...
The DMP41 enables connection to a USB HOST interface. A USB Device (e.g. keyboard) is always connected to a USB HOST (controller). The DMP41 can be connected via the USB HOST socket to S a USB stick S a keyboard...
CTRL A (SOH) or with the RES and RST commands Important An RS232 interface can only be operated with the DMP41 via an adapter (USB -> RS232). A USB-RS232 adapter is included in the scope of delivery of the DMP41 (1-KAB297).
S the baud rate S the parity and S the number of stop bits Baud rates 300, 600, 1200, 2400, 4800, 9600 , 19200, 38400, 57600, 115200 Parity Even , odd, none Stop bit Factory setting DMP41 A03474_04_E00_00 HBM: public...
Page 18
Communication with the DMP RS‐232 interface DMP41 A03474_04_E00_00 HBM: public...
In order to use the demo program, you need the free program “Microsoft Visual Studio Express" ► Connect the DMP41 and PC, then switch both on ► Install “Microsoft Visual Studio Express" ► Open the program DMP41Demo.sln on the system CD ►...
Page 20
Program creation Communication via the Ethernet interface / Test program User interface DMP41Demo: S Enter the IP address of your DMP41 S Click in sequence from Jump to the appropriate point (1‐4) in the program with a double click (see following page).
Page 21
Communication via the Ethernet interface / Test program Single measured value acquisition with DMP41 private void ConnectBt_Click(object sender, EventArgs e) myTCPClient = new TCPClient(this.IPAddressTB.Text, 1234); // Set up connection with DMP41 (via entered IP address and default Port 1234) private void PrepareBt_Click(object sender, EventArgs e) myTCPClient.WriteLine("RAR1234");...
Page 22
Program creation Communication via the Ethernet interface / Test program DMP41 A03474_04_E00_00 HBM: public...
Command set of the HBM interpreter Important agreements Command set of the HBM interpreter Important agreements These agreements and general information will facilitate your work with the HBM Interpreter commands. Notation S All commands can be input using lower or capital case letters.
'CTRL R' or 'CTRL B' and ends with 'CTRL A' Acknowledgment behavior S You can select whether the response of the DMP41 should be output or not following setting commands. Output commands - indicated by a ? - always generate output data (see SRB command).
Example: BDR4800,2,1(x) 0(y) The interface was set to 4800 baud. S Query commands: Measured values or device settings are read out from the DMP41 and displayed on the screen. Example: BDR?(x) 4800,2,1,1(y) The RS‐232 interface is set to 4800 baud, Even Parity and 1 Stop Bit.
*IDN?(x) HBM,DMP41,4D:5B:B9:02:00:00,1.0.3.2(y) Example 2: CHS?0(x) 3(y) The responses sent by the DMP41 are indicated in italics in this documentation (second line in examples). Output values: q1,q2...qn Numerical values with preceding sign, character strings (always in “ ") or '?' as error message Separator End sequence (CRLF).
Effect E.g. Explanation how the DMP41 is set. Response The DMP41 responds to your input. This response is shown on the screen with terminal operation (always with output errors, optional with input errors). Example The example shows the inputted command and the response of the DMP41.
Command set of the HBM interpreter Important agreements 5.1.5 Administrator rights Administrator rights are required for all measurement‐relevant settings: Function Command Set bridge excitation voltage and transducer type Select amplifier input signal Switchover filter Input of cut‐off frequency and filter characteristic...
Page 29
Command set of the HBM interpreter Important agreements Administrator rights are not required for the following functions: Function Command Change password Select amplifier channels Measuring range switchover Measured value output format Output of device identification *IDN? Set measured value transfer rate...
Command set of the HBM interpreter Communication Communication 5.2.1 Addressing Control character (only with RS‐232‐C): CTRL R: Start of computer communication (ASCII code 18 decimal) CTRL B: Start of computer communication (ASCII code 2 decimal) Channel Select Select amplifier channel...
Page 31
Command set of the HBM interpreter Communication Effect: The amplifier channels are selected according to the binary value of the parameter p1. This specifies which amplifier channels are addressed by the following command. Response: Acknowledgement Significance Command executed Error Example 1:...
Page 32
CHS? can also be sent instead of CHS?(0). Reset Execute warm start Syntax: RES (x) Parameter: none Effect: The device executes a warm start. Communication is termi nated. Response: none Example: RES(x) Information The RES command is a HBM command. DMP41 A03474_04_E00_00 HBM: public...
The transmission is always carried out with 8 bit character length. Effect: Baud rate, parity bit and number of stop bits for the serial interfaces are reset. Response: Acknowledgement Significance Command executed Error Example 1: The DMP41 is operated via the RS‐232‐C interface: BDR19200,2,1,1(x) 0(y) DMP41 A03474_04_E00_00 HBM: public...
Page 34
Communication The RS‐232‐C interface was set to 19200 baud, even parity, 1 stop bit. Example 2: The DMP41 is operated via the RS‐485 interface: BDR4800,0,2(x) 0(y) The RS‐485 interface was set to 4800 baud, no parity, 2 stop bits. Important The response after a BDR command is always output with the changed set...
Page 35
(0 or ?). The output of this data can be switched on/off with this command. Example 1: SRB?(x) Device -> Example 2: SRB?;2(x) Device <- SRB2(x) Device -> SRB2;0(x) Device <- The responses are activated after the DMP41 is switched Response: DMP41 A03474_04_E00_00 HBM: public...
Page 36
Command set of the HBM interpreter Communication Acknowledgement Significance Command is executed when SRB 1(x) was input Error when SRB 1(x) was input None Command is executed error when SRB 0(x) was input Example: SRB1(x) 0(y) The command was acknowledged.
Command set of the HBM interpreter Communication 5.2.3 Error control, status register Extended Status Query XST? Extended status query Syntax: XST?(x) Parameter: none Effect: The DMP41 responds with a bit‐coded decimal number. Decimal 0001 0002 0004 0008 0010 0020 0040 0080 0100 0200...
Command set of the HBM interpreter Communication Transducer electronic datasheet Query TED? Output TID/TEDS Syntax: TED?p1(x), p2(x) Parameter: TID/TEDS function Read out TID Kanal Channel 1 … Channel 2 Response: q1(y) TID/TEDS Data Example: TED?3,1(x) „57000000932E9C23„ 5.2.4 Identification Amplifier Identification Query...
Command set of the HBM interpreter Amplifier settings Effect: Output of device identification. Example: IDN?(x) HBM,DMP41, 4D:5B:B9:02:00:00:1.0.3.2(y) Company, device designation, serial number, version num ber of software. Amplifier settings 5.3.1 Amplifier input Amplifier Sensor Adaptation Input bridge excitation voltage and transducer type...
Page 40
Command set of the HBM interpreter Amplifier settings Example: ASA3,1(x) 0(y) The amplifier is set to 10 V bridge excitation voltage, 2.5 mV/V sensitivity and Shunt 'OFF'. Important This command triggers a calibration procedure in the measuring amplifier. Amplifier Sensor Adaptation Query...
Page 41
Command set of the HBM interpreter Amplifier settings Bridge excitation voltage (V) 02.5 05.0 10.0 10.0 The index corresponds to the bridge excitation voltage to be set (each ele ment in the table is 4 characters long). Sensitivity Sensitivity Only 2.5 mV/V possible (10 V excitation) 2.5 mV/V or 5 mV/V possible (5 V excitation)
Command set of the HBM interpreter Amplifier settings Parameter: none Effect: Type of amplifier input signal is output. Response: q1(y) Input signal source of the amplifier Amplifier input is switched to ZERO. Amplifier input is switched to CAL. Amplifier input is switched to MEAS.
Page 43
Command set of the HBM interpreter Amplifier settings Effect: Output of set filter Response: q1(y) Filter code number Example: AFS?(x) 1(y) Filter fc1 is switched on Amplifier Signal Filtering Input of cut‐off frequency and filter characteristic Syntax: ASF p1,p2,p3(x) Parameter:...
Page 44
Command set of the HBM interpreter Amplifier settings Acknowledge- Significance ment Command executed Error Example: Input of cut‐off frequency and filter characteristic for filter fc2. ASF 2,4,0 (x) 0(y) Filter fc2 is set to 0.22Hz cut‐off frequency and Bessel characteristic.(see tables for command ASF?)
Command set of the HBM interpreter Amplifier settings The following tables list the possible cut-off frequencies with Bessel or Butterworth characteristics with the maximum possible sampling rate (see also command ISR). The index corresponds to the frequency voltage to be set (each ele- ment in the table is 5 characters long).
Page 46
Command set of the HBM interpreter Amplifier settings Effect: The input value is saved in the amplifier zero memory. Response: Acknowledge- Significance ment Command executed Error Example 1: Start zero setting CDW(x) 0(y) Example 2: CDW10000(x) 0(y) Information If the value read out with CDW?1 (absolute value) is sent for p1, the momentarily present gross measurement signal is set to zero.
Page 47
Command set of the HBM interpreter Amplifier settings CDW?: If correspondingly programmed, the output value is inverted See also SGN A zero value that is more "10.1 mV/V will not be accepted. Calibration Dead Weight Query CDW? Output of zero value...
Page 48
Command set of the HBM interpreter Amplifier settings Measuring range code number Measuring range (Range) 1 Measuring range (Range) 2 Effect: The required measuring range is switched on. Response: Acknowledge- Significance ment Command executed Error Example: CMR2(x) 0(y) Measuring range 2 set.
Command set of the HBM interpreter Amplifier settings 5.3.4 Taring Tare Instruction Start taring/Input tare value Syntax: TAR p1,p2(x) Parameters: p1 and p2 (optional) Tare value in ADU units p2=10 or not set p1 in ADU p2=11 p1 in mV/V...
Page 50
Command set of the HBM interpreter Amplifier settings Tare Value Query TAR? Output Tare value or current value Syntax: TAR?p1 Parameter: p1 (optional) Tare value in ADU units Return value Tare value in ADU Tare value in ADU Actual gross measured value in ADU...
Page 51
Command set of the HBM interpreter Amplifier settings Extended Status Mask Query ESM? Output channel mask Syntax: ESM?(x) Parameter: none Effect: Returns the channel masks of the channels that could not be tared or set to zero. Response: q1(y) All channels tared/set to zero...
Page 52
Command set of the HBM interpreter Amplifier settings 5.3.5 Transfer of amplifier settings and comments Transmit Device Data Saves amplifier settings and comments Syntax: TDD p1(x) Parameter: Amplifier settings Restore Factory Settings Restore User Settings Save User Settings Comments Restore User Channel Names...
Page 53
Command set of the HBM interpreter Amplifier settings P1: 1, 2, 5, 6 P2 = Number of parameter set Comments 1 … 100 (load from settings, save in user parameters) Example: TDD1,100(x) 0(y) Loads the channel sets back from parameter set 100.
Page 54
Command set of the HBM interpreter Amplifier settings Response: q2(y) at p1=0 Setup Internal EEPROM User input External EEPROM (transducer EEPROM) Error Example: TDD?0 returns “0" User Channel Comment Enter channel names Syntax: UCC p1(x) Parameter: Any string “_ _ _ _ _", (45 characters) Effect: Any channel name can be assigned with this command.
Page 55
Command set of the HBM interpreter Amplifier settings Slot Name Assign slot name Syntax: SLNp1,p2(x) Parameter: Status Slot number (1 … 100) Status Slot name (string) Effect: The channel settings are saved with the TDD command. The command makes it possible to assign a freely definable name to each of these slots (1...100).
Command set of the HBM interpreter Amplifier functions Amplifier functions 5.4.1 Output format, measured value output Change Output Format Change measured value output format Syntax: COF p1(x) Parameter: Measured value output format Measured value, channel, status (ASCII format) Measured value (ASCII format)
Page 57
Command set of the HBM interpreter Amplifier functions Sta Significanc message Calibration Display expired warning symbol Error Transducer Switchover value to: No connected transducer Transducer Switchover or amplifier value to: Transducer error Overflow Switchover value to: Overflow error Initialization Switchover...
Page 58
Command set of the HBM interpreter Amplifier functions Information This command applies to all channels of a device. Information The measured values are scaled in ASCII format or output in ADU units in binary format. Change Output Format Query COF?
Page 59
Command set of the HBM interpreter Amplifier functions Syntax: ISR p1,p2(x) p1 is ignored, the following calculation applies for p2: Internal cycle frequency (=450 Hz) = 1 .. 450 P2 = Measured value transfer rate The following commands initiate an output with a timeslot of 15 measured...
Page 60
Command set of the HBM interpreter Amplifier functions Measuring Signal Value Query MSV? Output measured value Syntax: MSV? p1,p2,p3(x) Parameter: Selection of amplifier signal Signal Meas. val. Gross According to actual measuring range Meas. val. Net According to actual measuring range 3 …...
Page 61
Command set of the HBM interpreter Amplifier functions Maximum value mV/V Gross Maximum value Net mV/V Maximum value mV/V Absolute Peak-to-peak mV/V Meas. val. Gross Unit 2 Meas. val. Net Unit 2 Measured value Unit 2 Absolute Minimum value Unit 2...
Page 62
Command set of the HBM interpreter Amplifier functions MSV?: If appropriately programmed, all values are inverted (see also SGN command). Exceptions for the following parameters: 16 to 18 19 to 21 26 to 32 36 to 43 Example 1: Output in ASCII full format TEX44,59(x) Separator `,' and `;'...
Page 63
Command set of the HBM interpreter Amplifier functions #14ffeedd00(y) 1 byte status Binary format 3 byte measured value ASCII format Identifier for binary output Indicates the number of decimal places of y (x=0 with con tinuous output) Indicates the number of binary bytes that follow (omitted in continuous output) E.g.:...
Page 64
Command set of the HBM interpreter Amplifier functions Example: Measurement of transducer temperature with 1-wire tem perature sensor MEV?1(x) 2650.0 26,50 C, Status OK MEV?15 (15 = Channel mask) 2650,0,2850,0,2670,0,0,5 Channel 1: 26.5 C, Status OK Channel 2: 28.5 C, Status OK Channel 3: 26.7...
Page 65
Command set of the HBM interpreter Amplifier functions Parameter: Parameter separator 1 - 126 Default: 44, ASCII “,” Block separator 1 - 126 Default: 13, ASCII “CR” Effect: ASCII characters entered with p1 and p2 act as separators in ASCII measured value output (command MSV?). ASCII characters entered with p1 are output as parameter separa...
Page 66
Command set of the HBM interpreter Amplifier functions 5.4.2 Display functions Important The commands in this “Display functions" chapter have an effect on the measured values shown in the display. Engineering Unit Input of unit Syntax: ENU p1,p2(x) Parameter: Measuring range to which the unit applies 1 = Measuring range 1;...
Page 67
Command set of the HBM interpreter Amplifier functions Response: q1,q2(y) No. of measuring range (Range1/2) A string consisting of maximum 4 characters. The string characters can be found in the table on the next page. Possible unit for measuring range 1: “...
Page 68
Command set of the HBM interpreter Amplifier functions “ V_ _ _G_ _ _KG_ _T_ _ _KT_ _TONSLBS_N_ _ _KN_ _BAR_mBARPA_ PAS_HPASKPASPSI_UM_ _MM_ _CM_ _M_ _ _INCHNM_ _FTL BINLB ” UM/MM/S_M/SSp/o_p/ PPM_ Output table of possible units. This string contains the table of possible units for this ampli...
Page 69
Command set of the HBM interpreter Amplifier functions Acknowledgement Significance Command executed Error Example: IAD2,10000,3,4(x) 0(y) Set display adaptation for measuring range 2 Display full scale 10.000 with step 0.010 Important Only the range momentarily selected with ASA can be input in measuring range 1;...
Page 70
Command set of the HBM interpreter Amplifier functions Linearization Table Linearization of transducer characteristic curve Syntax: LTB n,x 1 ..Parameters: n=2 ...11 x=Numbers in mV/V (Measuring range 1) y=Numbers with actual unit from measuring range 2 Effect: This command can be used to correct known linearity devia...
Page 71
Command set of the HBM interpreter Amplifier functions Example: Display Measuring range 2 125 kg Measuring range 1 100 kg Transducer output signal (mV/V) Sign Reversal Reversal of preceding sign Syntax: SGN p1(x) Parameter: Display Normal display of measured values...
Command set of the HBM interpreter Multi‐Client Multi‐Client Request Admin Rights Request administrator rights Syntax: RAR p1(x) Parameter: Display Any string Current password Special case: P1 = 0 Effect: Requests the administrator rights Response: Acknowledgement Significance Command executed Password correct...
Page 73
Command set of the HBM interpreter Multi‐Client Request Admin Rights Query RAR? Query assigned administrator rights Syntax: RAR?(x) Parameter: none Effect: Queries the assigned administrator rights Response: q1(y) Status The requesting Client already has administrator rights (setting amplifier settings is permitted).
Page 74
Significance ment Password correct Incorrect password or other parameter error Example: SWA1234,1(x) 0(y) Password OK. DMP41 display Client starts with administra tor rights. SWA1234,1(x) ?(y) Password incorrect. DMP41 display Client starts with cur rent settings. SWA1234,0(x) 0(y) Password OK. DMP41 display Client starts without admin...
Command set of the HBM interpreter Other Start with Adminrights Query SWA? Start with/without querying administrator rights Syntax: SWA?(x) Parameter: none Effect: Status of start behavior is queried. Response: q1(y) Status Display Client starts with administrator rights Display Client starts without administrator rights...
Page 76
Command set of the HBM interpreter Other Value in %, dimmed intensity in percent Value in seconds q1(y) 0.100 Example: BGL?(x) 100,25,600(y) Standard intensity set to 100%, dimmed intensity set to 25%. Switch to dimmed intensity after 600 seconds idle time (no screen contact and no keys pressed).
Page 77
Command set of the HBM interpreter Other Filter characteristic for measurement channel 2 Filter frequency for measurement channel 1 Filter frequency for measurement channel 2 Excitation voltage channel 1 Excitation voltage channel 2 Note: Meaning of second column: e.g. filter frequency index...
Page 78
Assign device name “DMP41 Schmidt". Device Name DEN? Output device name Syntax: DEN?(x) Effect: Returns the name of the device, e.g. “DMP41 Schmidt". This is the name that is shown during a device scan. Version Information Version information Syntax: VIN?(x) Effect:...
Page 79
Command set of the HBM interpreter Other Device Reset Reset ranges to factory settings Syntax: DRSp1(x) Parameter: Significance Content Reset channel settings to factory Range, Filter, Scaling, Name, settings Resolution, Zero, MinMax Reset hardware settings to factory Password, Brightness, DeviceName...
Page 80
Returns the addresses and ports of all connected clients, e.g. 127.0.0:1096,172.19.1.3:54174 Example: 127.0.0.1:1096 = IP address and port of client that is run ning on the DMP41 (display and operating software) 172.19.1.3:54174 = IP address and port of another client (here via Ethernet) DMP41 A03474_04_E00_00 HBM: public...
One byte consists of 8 bits, e.g. 01010001. Firmware Software that is saved in EEPROM or PROM and which defines the device function. The firmware is permanently installed and does not run on an external computer. DMP41 A03474_04_E00_00 HBM: public...
Page 82
Serial A standardized transmission mode where data is transfered bit by bit between a transmission and a reception device. Syntax A specified sequence of characters in which commands, parameters and switches must be entered. DMP41 A03474_04_E00_00 HBM: public...
Select amplifier input signal ASS?, Output of input signal type Filter settings AFS, Filter switchover (fc 1/2) AFS?, Output filter settings, ASF, Input of cut-off frequency and filter characteristic ASF?, Output of cut-off frequency and filter characteristic Measurement range DMP41 A03474_04_E00_00 HBM: public...
Page 84
Set measured value transfer rate MEV, Output of extended measured values MSV?, Output measured value STP, Stop measured value output TEX, Define measured value separator TEX?, Output measured value separator Display functions ENU, Input of unit ENU?, Output of unit DMP41 A03474_04_E00_00 HBM: public...
Page 85
SWA, Start with administrator rights SWA?, Start with/without requesting administrator rights Other BGL, Background lighting BGL?, Query intensity of background lighting DEN, Device name DRS, Reset to factory settings VIN?, Version information RS2?, RS232 adapter detected DMP41 A03474_04_E00_00 HBM: public...