Operating Manual

IRS31Pro-UMB Operating Manual V10 / 01.2020
G. Lufft Mess- und Regeltechnik GmbH 49
Example of request to 3 channels (101, 601 and 900):
Request by UMB Config Tool:
01 10 01 90 01 F0 09 02 2F 10 03 65 00 59 02 84 03 03 D2 6C 04
Response from IRS31Pro-UMB sensor:
01 10 01 F0 01 90 1C 02 2F 10 00 03 08 00 65 00 16 ED 14 CF 41 08 00 59 02 16 80 E3
25 3F 05 00 84 03 10 0A 03 FC A2 04
18.4 Communication in ASCII Protocol
Text-based communication with devices is possible using ASCII protocol.
To do this, in the device configuration, interface settings, the protocol mode must be set to ASCII (see
Configuration with PC Configuration Software UMB Config Tool, 10.2.3 page 26).
ASCII protocol is network-compatible and serves exclusively for online data requests. The device does
not respond to incomprehensible ASCII commands.
Note: The use of binary protocol is recommended for lengthy transmission routes (e.g. network,
GPRS/UMTS), as ASCII protocol is unable to detect transmission errors (not CRC-secured).
Note: TLS channels are not available in ASCII protocol.
18.4.1 Structure
An ASCII command is introduced by the ‘&’ character and completed by the CR (0Dh) sign. There is a
space character (20h) between the individual blocks in each case; this is represented by an underscore
character ‘_’. Characters that represent an ASCII value are in ordinary inverted commas.
18.4.2 Summary of ASCII Commands
Command
Function BC AZ
M Online data request l
X Switches to binary protocol k
R Triggers software reset
k
D Software reset with delay
k
I Device information k
These operating instructions describe the online data request only. You can find the description of the
other commands in the UMB protocol.
18.4.3 Online Data Request (M)
Description: By way of this command, a measurement value is requested from a specific channel.
Request: '&'_<ID>
5
_'M'_<channel>
5
CR
Response: '$'_<ID>
5
_'M'_<channel>
5
_<value>
5
CR
<ID>
5
Device address (5 decimal places with leading zeros)
<channel>
5
Indicates the channel number (5 decimal places with leading zeros)
<value>
5
Measurement value (5 decimal places with leading zeros); a measurement value
normalized to 0 65520d. Various error codes are defined from 65521d 65535d. The
necessary min and max values for the calculation should be taken from the description of
the channels in chapter 6.1.
Example:
Request: &_36865_M_00100
By way of this request, channel 100 of the device with address 36865 (IRS31Pro-UMB with device ID
001) is requested.
Response: $_36865_M_00100_34785
This channel outputs a temperature from –40 to +80°C; this results in the following calculation: