0% found this document useful (0 votes)
92 views22 pages

Proservo NMS 53x: MODBUS Communication Protocol

This document describes the MODBUS communication protocol implementation for the Proservo NMS 53x inventory control system. It discusses the hardware interface, data formats, register assignments, status codes, example telegrams, and configuration parameters for MODBUS communication with the Proservo NMS 53x. The Proservo acts as a MODBUS slave and supports functions like reading/writing registers, preset single/multiple registers, and running gauge operations via MODBUS commands.

Uploaded by

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

Proservo NMS 53x: MODBUS Communication Protocol

This document describes the MODBUS communication protocol implementation for the Proservo NMS 53x inventory control system. It discusses the hardware interface, data formats, register assignments, status codes, example telegrams, and configuration parameters for MODBUS communication with the Proservo NMS 53x. The Proservo acts as a MODBUS slave and supports functions like reading/writing registers, preset single/multiple registers, and running gauge operations via MODBUS commands.

Uploaded by

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

MODBUS communication protocol

Proservo NMS 53x


Inventory Control

E - +

KA 002N/08/en/07.07
Software-Version:
RS 485 Interface module: ver 1.03.00
NMS CPU module: ver 4.27_ST
Table of contents NMS 53x - MODBUS communication protocol

Table of contents

1 Introduction. . . . . . . . . . . . . . . . . . . . . . 3

2 Implementation . . . . . . . . . . . . . . . . . . . 4

3 Configuration. . . . . . . . . . . . . . . . . . . . . 5
3.1 Exception . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.2 Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

4 Functions and data formats . . . . . . . . . . 6


4.1 Word registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
4.2 Floating-point registers . . . . . . . . . . . . . . . . . . . . . . . 6

5 Exception responses . . . . . . . . . . . . . . . 8

6 Hardware implementation. . . . . . . . . . . 9
6.1 Termination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
6.2 RS-485 MODBUS Interface . . . . . . . . . . . . . . . . . . . . 9
6.3 MODBUS Transmission sequence . . . . . . . . . . . . . . . 9

7 MODBUS register assignment . . . . . . . 10


7.1 Primary information . . . . . . . . . . . . . . . . . . . . . . . . 10
7.2 Specific temperature data . . . . . . . . . . . . . . . . . . . . 12
7.3 Specific density profile data . . . . . . . . . . . . . . . . . . . 13
7.4 TSM NRF590 compatible data. . . . . . . . . . . . . . . . . 15

8 Proservo specific code . . . . . . . . . . . . . 16


8.1 NMS Gauge status code . . . . . . . . . . . . . . . . . . . . . 16
8.2 NMS Operation status code . . . . . . . . . . . . . . . . . . . 17
8.3 NMS Device error status code . . . . . . . . . . . . . . . . . 18
8.4 NMS Density profile operation code . . . . . . . . . . . . 18
8.5 NMS Density profile level status code . . . . . . . . . . . 19

9 MODBUS example telegram . . . . . . . . 20


9.1 2 registered data (Function code 03) . . . . . . . . . . . . 20
9.2 1 registered data (Function code 04) . . . . . . . . . . . . 20
9.3 6 registered data (Function code 03) . . . . . . . . . . . . 20
9.4 Gauge operation “UP” (Function code 06) . . . . . . . . 20
9.5 Gauge operation “STOP” (Function code 16) . . . . . . 20

10 Proservo configuration for MODBUS . . 21


10.1 Communication speed. . . . . . . . . . . . . . . . . . . . . . . 21
10.2 Slave address setting . . . . . . . . . . . . . . . . . . . . . . . . 21

2 Endress+Hauser
NMS 53x - MODBUS communication protocol 1 Introduction

1 Introduction

This protocol guide explains the operation of the MODBUS protocol per Modicon document PI-
MBUS-300 REV C(1991) implemented in the Endress + Hauser Proservo NMS 53x.
MODBUS protocol defines the format of data and the techniques used to control the flow of data.
In MODBUS, the flow of data between two devices used a master / slave type arrangement. The
Proservo acts as a MODBUS slave and runs on the EIA (RS)-485 version of the MODBUS commu-
nication board.

Customer logistic
Inventory Management program
OPC server

MODBUS master
DCS/PLC

MODBUS loop 1
MODBUS alave

Proservo NMS 53x MODBUS loop 2

Fig. 1 Typical device layout for MODBUS communication with Proservo NMS 53x

Endress+Hauser 3
2 Implementation NMS 53x - MODBUS communication protocol

2 Implementation

The implementation of MODBUS protocol for the Proservo provides a standard form of digital com-
munication. Every effort has been made to parallel current implementations so that the Proservo
communicates with existing MODBUS masters.

Check compatibility carefully to ensure that the Proservo is properly configured for the data format
expected by the host computer. Due to the unique application requirements of the Proservo, excep-
tions have been made and noted.
Note!
This is no guarantee, however, that the interpretation made here will be the same as that followed
by the MODBUS master.

The Proservo implementation of MODBUS protocol provides for the passing of measured and cal-
culated variables, configuration information and diagnostics in data registers. Data is sent in these
registers as floating-point values, word values, numeric codes related to configuration lists, status
summary words (packed bits) or individual status flags (single bits).

One master and up to 31 Proservos may be multidrop on a single EIS (RS) 485 communication bus.
The MODBUS functions implemented in the Proservo are listed in the following table.

MODBUS functions

Function code Function Information type MODBUS nomenclature

03 Read Word, code, status word, floating point Read output registers

04 Read Word, code, status word, floating point Read input registers

06 Write Word, code, status word Preset single register

16 Write Word, code, status word, floating point Force multiple registers

4 Endress+Hauser
NMS 53x - MODBUS communication protocol 3 Configuration

3 Configuration

The MODBUS port on the Proservo must be configured to establish communications. The local dis-
play allows the user to set the Proservo MODBUS port to match the MODBUS master.

Proservo addresses provide unique identification for the host. The Proservo address is configurable
through the local display. The address may range from 1 to 247 and must be unique for each MOD-
BUS device on a loop. Each Proservo only responds when a query has been sent to its unique address
by the host.

The MODBUS protocol supports two modes of transmission. Remote Terminal Unit (RTU) or ASCII
(American Standard Code for Information Interchange). The choice between these two modes is
dependent on the preference of the host. RTU is often the preferred protocol because of its improved
error detection capabilities and higher throughput. ASCII mode uses ASCII printable characters to
represent hexadecimal values. This mode of transmission requires almost twice as many characters
to pass information compared to the RTU transmission mode.
Note!
The Proservo only supports the RTU mode of MODBUS communications.

3.1 Exception
Because the Proservo does not distinguish between inputs and outputs, function code 01 and 03 as
they apply to bits, and function codes 02 and 04 as they apply to numerical values refer to the same
data registers.

3.2 Parameters
The EIA (RS) 485 port must be configured for a transmission speed (baud rate). Allowable values
are 1200, 2400, 4800, 9600, 19200 bits per second. This item must be configured using the local
display. A summary of the configuration information required by the Proservo in order to implement
MODBUS is provided in the following table. Default values are highlighted.

MODBUS configuration information

Configuration item Valid entries MODBUS configurable Local display configurable

MODBUS address 1... 247 No Yes

600
1200
2400
Baud rate No Yes
4800
9600
19200

Odd
Parity Even No Yes
None

Unsigned
Word type No Yes
Signed

Endress+Hauser 5
4 Function and data formats NMS 53x - MODBUS communication protocol

4 Function and data formats

The MODBUS data in the Proservo is arranged in word registers, floating point registers and status
bit registers. The assignment for these registries are found in “MODBUS register assignment”.
The Proservo also supports a two 16-bits register floating point data format. Function codes 03 and
04 are used to read these floating point register pairs while function code 16 is used to write the
floating point register pairs.

A complete description of all MODBUS commands can be found in the Modicon MODBUS Protocol
Reference Guide, document number PI-MBUS-300.

4.1 Word registers


Word registers holding 16 bits of data (sometimes referred to as integers) are the most commonly
used type of MODBUS data and are supported by most MODBUS hosts. In the Proservo implemen-
tation, the MODBUS word registers are used to transfer one of the following four formats:
• Word Data (unsigned) - a scaled number from 0 to 65535.
• Integer Data (signed) - a scaled number from -32768 to 32767.
• Coded Data - Multiple choice configuration data chosen from a coded list.
• Packed Bit Data - Registers form of 16 packed single bits.

The word and coded data registers contain all of the information needed to configure and read pro-
cess data. Any word register may be read with function code 03 or function code 04. These same
registers may be written one at a time with function code 06 or multiple registers can be written
with function code 16.

4.1.1 Word data


The word data (unsigned) is a whole number 0 and 65,535 stored as a 16 bit binary number.

4.1.2 Integer data


Integer data (signed) is a scaled number from -32768 to +32767.

4.1.3 Coded data


Coded data responds to a look-up table value. Data written to these registers must be a valid table
entry or the value is rejected. For example, within the Proservo the units of a value are represented
by the HART standard value look-up (see chapter 7 “MODBUS register assignments”).
Therefore, if the Units value read from a HART device was 45 (002D Hex), the units would be
Meters.

4.1.4 Packed bits


Packed bits represent 16 individual status packed into one register. The status bits have been packed
this way for systems that prefer handling only register information. The bits within the packed reg-
ister are grouped by data function type.

4.2 Floating-point registers


Although not part of the MODBUS protocol specification, floating point numbers have been imple-
mented using the IEEE 754 standard 32 bit representation [see IEEE Computer Society (1985)
“IEEE Standard for Binary Floating-Point Arithmetic, IEEE Std. 754-1985” for complete technical
information on this format]. Floating point numbers increase accuracy and reduce the complexity

6 Endress+Hauser
NMS 53x - MODBUS communication protocol 4 Function and data formats

required in scaling word values and provide a means to transmit numbers used by the Proservo that
are not easily scaled.

Endress+Hauser 7
5 Exception responses NMS 53x - MODBUS communication protocol

5 Exception responses

The exception responses returned by the Proservo are listed below.

MODBUS exception responses

Exception Response Reason

01 Illegal function Try to use functions that are not supported

02 Illegal data address Data address (bit or register) is not defined

03 Illegal data value Data value being written is out of range

10 (0x0A) Value read only Data address being written is read only

In addition, messages that are received with a parity error, checksum error or message format error
will be ignored.

8 Endress+Hauser
NMS 53x - MODBUS communication protocol 6 Hardware implementation

6 Hardware implementation

The Proservo uses a 2-Wire EIA (RS) 485 hardware interface to communicate with the MODBUS
master. EIA (RS) 485 is a high speed differential communications network which allows up to 32
devices to operate on one network. The Proservo and MODBUS master share a twisted pair wire to
communicate.

The communication distance EIS (RS) 485 can reliably travel depend on baud rate (communication
speed), wire quality, environmental electrical noise, wiring configuration and the number of multi-
drop Proservos. The recommended wire for EIS (RS) 485 system is 18-gauge or larger, shielded,
twisted pairs. The shield should be grounded at the MODBUS master (control system or computer)
end.

6.1 Termination
Termination resistors should be placed at each end of the communication bus to minimize reflec-
tions on the line. If multiple Proservos are connected using MODBUS communication, then an
adjustment must be made on the MODBUS communication board.

6.2 RS-485 MODBUS Interface


There are various method of interfacing a RS-485 MODBUS loop to the control system. The method
used will depend on the system and software being installed. However, if a PC RS-485 interface is
required, it is recommended that this be an internal industrial specification interface card (e.g. ISA,
PCI, PCMCIA) providing galvanic isolation and lightening protection and not an external RS-232 to
RS-485 converter.

6.3 MODBUS Transmission sequence


The Proservo ~ Host receiver MODBUS communication shall have an ideal sequence in order to
perform smooth data transmission and avoid unnecessary data loss.

MODBUS master
Host receiver Request Request

MODBUS slave
Proservo NMS 53x
Answer

100ms 100ms
Less than 500ms

Note!
100 millisecond time between “Request” from the MODBUS host to “Answer” by the Proservo
NMS 53x will secure the safe data acquisition especially since the transmission distance is relatively
long (max. loop distance limits to 1200m).

Endress+Hauser 9
7 MODBUS register assignment NMS 53x - MODBUS communication protocol

7 MODBUS register assignment

7.1 MODBUS register for primary information


The following chart describes the general measured values and parameters that are available for
MODBUS communication.

MODBUS Code Data Item Data Range Unit Note Data GVH *2 Remarks
Register *1 (default) Format

1 03 / 04 Displacer Position 0 ~ 65535.0 mm Float 000 *3

3 03 / 04 Liquid Level 0 ~ 65535.0 mm Float 008 *3

5 03 / 04 Liquid Temperature -200.0 ~ 360.0 °C 10-1 Integer 010 *4

6 03 / 04 Average Gas Temperature -200.0 ~ 360.0 °C 10-1 Integer 013 *4

7 03 / 04 HART Device 1 Data Float 011

9 03 / 04 HART Device 2 Data Float 012

10

11 03 / 04 Water Bottom Level 0 ~ 65535.0 mm Float 014 *3

12

13 03 / 04 Upper Density 0 ~ 3.2767 g/ml 10-4 Word 005

14 03 / 04 Middle Density 0 ~ 3.2767 g/ml 10-4 Word 006

15 03 / 04 Lower Density 0 ~ 3.2767 g/ml 10-4 Word 007

16 03 / 04 Upper Interface Level 0 ~ 65535.0 mm Float 002 *3

17

18 03 / 04 Middle Interface Level 0 ~ 65535.0 mm Float 003 *3

19

20 03 / 04 Tank Bottom Level 0 ~ 65535.0 mm Float 004 *3

21

22 03 / 04 Gauge Status 0 ~ 31 Word 021 *5

23 03 / 04 Balance Signal 0~1 Word 022

24 03 / 04 Device Error 0 ~ 999 Word 036 *6

25 03 / 04 Level Alarm 0~3 Word 034

26 Spare

27 06 / 16 Gauge Operation 0 ~ 10 Preset Word 025 *7

28 06 / 16 Density Operation Select 0~3 Preset Word 840 *8

29 Spare

10 Endress+Hauser
NMS 53x - MODBUS communication protocol 7 MODBUS register assignment

Remarks:
1. Depending on the MODBUS function code selected, the following offset values must be added.
– function code 03: 40000
– function code 04: 30000
2. GVH represents the location of the data or parameters that are stored in the Proservo matrix
position. (see matrix chart in TI006N/08/en for the name and definition of specific matrix)
– G: represents the matrix group
– V: vertical row of selected matrix group
– H: horizontal row within the selected vertical row in the matrix group
3. Units related to “Length” are available from mm., cm., m, ft., inch. The selection of unit must
be predetermined by GVH 760 “LEV. UNIT (HOST)” in the Proservo.
4. Units related to “Temperature” are available in °C or °F. The selection of units must be pre
determined by GVH 761 “TEMP. UNIT (HOST)” in the Proservo.
Note!
Units related to “Density” for the MODBUS communication are only available in g/ml. The density
unit display, however, can be expressed on the display unit of Proservo by configuring the desired
parameter on GVH 767 “DEN. UNIT”.

5. Refer to the NMS Gauge Status code in section 8.1.


6. Refer to the NMS Device Error Status code in section 8.2.
7. Refer to the NMS Gauge Operation code in section 8.3.
8. Selection of density operation command.
– 0: Spot Upper Density
– 1: Tank Profile
– 2: I / F Profile
– 3: Manual I / F Profile
The actual measured data and parameters in MODBUS register 13 and 62 ~ 100 depend on the type of
density operation entered.

Endress+Hauser 11
7 MODBUS register assignment NMS 53x - MODBUS communication protocol

7.2 MODBUS register for specific temperature data


Individual element position and measured value are available when the Proservo is connected to
the Prothermo NMT 53x series.

MODBUS Code Data Item Data Range Unit Note Data GVH *2 Remarks
Register *1 (default) Format

30 03 / 04 NMT Element Temp. 1 -200.0 ~ 360.0 °C 10-1 Integer 450 *4

31 03 / 04 NMT Element Temp. 2 -200.0 ~ 360.0 °C 10-1 Integer 451 *4

32 03 / 04 NMT Element Temp. 3 -200.0 ~ 360.0 °C 10-1 Integer 452 *4


-1
33 03 / 04 NMT Element Temp. 4 -200.0 ~ 360.0 °C 10 Integer 453 *4

34 03 / 04 NMT Element Temp. 5 -200.0 ~ 360.0 °C 10-1 Integer 454 *4

35 03 / 04 NMT Element Temp. 6 -200.0 ~ 360.0 °C 10-1 Integer 455 *4

36 03 / 04 NMT Element Temp. 7 -200.0 ~ 360.0 °C 10-1 Integer 456 *4


-1
37 03 / 04 NMT Element Temp. 8 -200.0 ~ 360.0 °C 10 Integer 457 *4

38 03 / 04 NMT Element Temp. 9 -200.0 ~ 360.0 °C 10-1 Integer 458 *4

39 03 / 04 NMT Element Temp. 10 -200.0 ~ 360.0 °C 10-1 Integer 459 *4

40 03 / 04 NMT Element Temp. 11 -200.0 ~ 360.0 °C 10-1 Integer 473 *4 *9


-1
41 03 / 04 NMT Element Temp. 12 -200.0 ~ 360.0 °C 10 Integer 473 *4 *9

42 03 / 04 NMT Element Temp. 13 -200.0 ~ 360.0 °C 10-1 Integer 473 *4 *9

43 03 / 04 NMT Element Temp. 14 -200.0 ~ 360.0 °C 10-1 Integer 473 *4 *9

44 03 / 04 NMT Element Temp. 15 -200.0 ~ 360.0 °C 10-1 Integer 473 *4 *9


-1
45 03 / 04 NMT Element Temp. 16 -200.0 ~ 360.0 °C 10 Integer 473 *4 *9

46 03 / 04 NMT Element Position 1 0 ~ 65535 mm Word 460 *3

47 03 / 04 NMT Element Position 2 0 ~ 65535 mm Word 461 *3

48 03 / 04 NMT Element Position 3 0 ~ 65535 mm Word 462 *3

49 03 / 04 NMT Element Position 4 0 ~ 65535 mm Word 463 *3

50 03 / 04 NMT Element Position 5 0 ~ 65535 mm Word 464 *3

51 03 / 04 NMT Element Position 6 0 ~ 65535 mm Word 465 *3

52 03 / 04 NMT Element Position 7 0 ~ 65535 mm Word 466 *3

53 03 / 04 NMT Element Position 8 0 ~ 65535 mm Word 467 *3

54 03 / 04 NMT Element Position 9 0 ~ 65535 mm Word 468 *3

55 03 / 04 NMT Element Position 10 0 ~ 65535 mm Word 469 *3

56 03 / 04 NMT Element Position 11 0 ~ 65535 mm Word 477 *3 *9

57 03 / 04 NMT Element Position 12 0 ~ 65535 mm Word 477 *3 *9

58 03 / 04 NMT Element Position 13 0 ~ 65535 mm Word 477 *3 *9

59 03 / 04 NMT Element Position 14 0 ~ 65535 mm Word 477 *3 *9

60 03 / 04 NMT Element Position 15 0 ~ 65535 mm Word 477 *3 *9

61 03 / 04 NMT Element Position 16 0 ~ 65535 mm Word 477 *3 *9

Remarks

9. The NMT Element 11 ~ 16 temperature and position must be configured on the matrix posi-
tion GVH 470 “SELECT POINT” when these values need to be visualized on the Proservo’s
display.

12 Endress+Hauser
NMS 53x - MODBUS communication protocol 7 MODBUS register assignment

7.3 MODBUS register for specific density data


The measured value of “Density Profile” operation can be transmitted on the MODBUS comunica-
tion.
Note!
The optional measuring function code within the Proservo’s order structure must be selected, in
order to perform the density profile.

MODBUS Code Data Item Data Range Unit Note Data GVH *2 Remarks
Register *1 (default) Format

850 /
62 03 / 04 Density Profile Operation Status 0~9 Word *8 *10
950

851 /
63 03 / 04 Level Condition 0~9 Word *11
951

64 03 / 04 Operation Time (Day) 00 ~ 31 DD Word

65 03 / 04 Operation Time (Time) 0000 ~ 2459 HH MM Word 852

66 03 / 04 I / F Level 0 ~ 65535 mm Word 953

854 /
67 03 / 04 Average Profile Density 0 ~ 3.2767 g/ml 10-4 Word
954

855 /
68 03 / 04 Average Temp. -200.0 ~ 360.0 °C 10-1 Integer
955

860 /
69 03 / 04 Profile Density 01 0 ~ 3.2767 g/ml 10-4 Word
960

861 /
70 03 / 04 Profile Density 02 0 ~ 3.2767 g/ml 10-4 Word
961

862 /
71 03 / 04 Profile Density 03 0 ~ 3.2767 g/ml 10-4 Word
962

863 /
72 03 / 04 Profile Density 04 0 ~ 3.2767 g/ml 10-4 Word
963

864 /
73 03 / 04 Profile Density 05 0 ~ 3.2767 g/ml 10-4 Word
964

865 /
74 03 / 04 Profile Density 06 0 ~ 3.2767 g/ml 10-4 Word
965

866 /
75 03 / 04 Profile Density 07 0 ~ 3.2767 g/ml 10-4 Word
966

867 /
76 03 / 04 Profile Density 08 0 ~ 3.2767 g/ml 10-4 Word
967

868 /
77 03 / 04 Profile Density 09 0 ~ 3.2767 g/ml 10-4 Word
968

869 /
78 03 / 04 Profile Density 10 0 ~ 3.2767 g/ml 10-4 Word
969

870 /
79 03 / 04 Profile Density 11 0 ~ 3.2767 g/ml 10-4 Word
970

871 /
80 03 / 04 Profile Density 12 0 ~ 3.2767 g/ml 10-4 Word
971

872 /
81 03 / 04 Profile Density 13 0 ~ 3.2767 g/ml 10-4 Word
972

Endress+Hauser 13
7 MODBUS register assignment NMS 53x - MODBUS communication protocol

MODBUS Code Data Item Data Range Unit Note Data GVH *2 Remarks
Register *1 (default) Format

873 /
82 03 / 04 Profile Density 14 0 ~ 3.2767 g/ml 10-4 Word
973

874 /
83 03 / 04 Profile Density 15 0 ~ 3.2767 g/ml 10-4 Word
974

875 /
84 03 / 04 Profile Density 16 0 ~ 3.2767 g/ml 10-4 Word
975

880 /
85 03 / 04 Profile Position 01 0 ~ 65535 mm Word
980

881 /
86 03 / 04 Profile Position 02 0 ~ 65535 mm Word
981

882 /
87 03 / 04 Profile Position 03 0 ~ 65535 mm Word
982

883 /
88 03 / 04 Profile Position 04 0 ~ 65535 mm Word
983

884 /
89 03 / 04 Profile Position 05 0 ~ 65535 mm Word
984

885 /
90 03 / 04 Profile Position 06 0 ~ 65535 mm Word
985

886 /
91 03 / 04 Profile Position 07 0 ~ 65535 mm Word
986

887 /
92 03 / 04 Profile Position 08 0 ~ 65535 mm Word
987

888 /
93 03 / 04 Profile Position 09 0 ~ 65535 mm Word
988

889 /
94 03 / 04 Profile Position 10 0 ~ 65535 mm Word
989

890 /
95 03 / 04 Profile Position 11 0 ~ 65535 mm Word
990

891 /
96 03 / 04 Profile Position 12 0 ~ 65535 mm Word
991

892 /
97 03 / 04 Profile Position 13 0 ~ 65535 mm Word
992

893 /
98 03 / 04 Profile Position 14 0 ~ 65535 mm Word
993

894 /
99 03 / 04 Profile Position 15 0 ~ 65535 mm Word
994

895 /
100 03 / 04 Profile Position 16 0 ~ 65535 mm Word
995

Remarks
10. Refer to the NMS Density Profile Operation Status code in section 8.4.
11. Refer to the NMS Density Profile Level Condition code in section 8.5.

14 Endress+Hauser
NMS 53x - MODBUS communication protocol 7 MODBUS register assignment

7.4 Compatible MODBUS register for TSM NRF 590


The following MODBUS registers contain exactly the same value and parameters as that were
described in 7.1 ~ 7.4. These are, in addition, available in specific MODBUS register addresses that
are used in the Tank Side Monitor NRF 590.

MODBUS Code Data Item Data Range Unit Note Data GVH *2 Remarks
Register *1 (default) Format

3001 03 / 04 Liquid Level 0 ~ 65535.0 mm Float 008 *3

3002

3003 03 / 04 Displacer Position 0 ~ 65535.0 mm Float 000 *3

3004

3005 03 / 04 Liquid Temperature -200.0 ~ 360.0 °C 10-1 Integer 010 *4

3006

3007 03 / 04 HART Device 1 Data Float 011

3008

3009 03 / 04 HART Device 2 Data Float 012

3010

3011 03 / 04 Spare

3012 03 / 04 Spare

3013 03 / 04 Upper Density 0 ~ 3.2767 g/ml 10-4 Word 005

3014

3015 03 / 04 Water Bottom Level 0 ~ 65535.0 mm Float 014 *3

3016

3017 03 / 04 Average Gas Temperature -200.0 ~ 360.0 °C 10-1 Integer 013 *4

3018

Note!
7.4 MODBUS register only contains primary value and parameters which can be shared by both the
Proservo and Tank Side Monitor. In contrast, they have several device designated functions which
are not implemented in the others (e.g. Density Profile Operation: Proservo only, Calculated vol-
ume: TSM only).

Endress+Hauser 15
8 Proservo specific code NMS 53x - MODBUS communication protocol

8 Proservo specific code

Since the Proservo is an intelligent servo gauge that performs both measurement and data transmis-
sion at the same time, device specific gauge status, error and operation code have been implemented
to monitor the operational condition.

8.1 NMS Gauge Status Code

Code Description Remarks

0 No definition

1 Displacer at reference position

2 Displacer hoisting up

3 None

4 Displacer stop

5 Level measurement, balanced

6 Up. I/F level, balanced *1

7 Mid. I/F level, balanced *1

8 Bottom meas. balanced *1

9 Upper Dens, finished *1

10 Middle Dens, finished *1

11 Bottom Dens, finished *1

12 Release over tension

13 Calibration activated

14 Seek level

15 Follow level

16 Seek Upper Density *1

17 Seek Middle Density *1

18 Seek Density Bottom *1

19 Seek Upper I/F level *1

20 Follow up. I/F level *1

21 Seek Mid. I/F level *1

22 Follow Mid. I/F level *1

23 Seek Bottom Level

24 Not initialised

25 Stopped at High Stop.

26 Stopped at Low Stop

27 Repeatability testing

28 Seeking water level *1

29 Water level, balanced *1

30 Follow water level *1

31 Over / Under tension

Remarks

16 Endress+Hauser
NMS 53x - MODBUS communication protocol 8 Proservo specific code

1. Status available when the Proservo NMS 53x is implemented with Interface and Density mea-
surement functionality.

8.2 NMS Device Error Code

Error Code Description Definition Remarks

0 No error No error present

Measured displacer weight exceeds the Over Tension


101 OVER TENSION
set value at GVH 162

Measured displacer weight reduced below the Under


102 UNDER TENSION
Tension set value at GVH 163

Unable to recognize Z phase pulse (1 complete rotation


106 Z PHASE NO INPUT (2nd)
of encoder) to CPU after retry

107 ADC / SENSOR ERROR Signal from AD converter out of the range

Recognized device error at the Prothermo NMT 53x


111 LOCAL ERROR NMT *2
(Average Temperature)

Unable to recognize Z phase pulse (1 complete rotation


112 Z PHASE NO INPUT (1st)
of encoder) to CPU

113 LOCAL ERROR NRF Recognized device error at the Promonitor NRF 560 *3

114 SIFA ERROR Local HART master IC failure on the Proservo

Excess auto wire calibration range (e.g. build up on the


115 WIRE CALIB. ERROR
wire)

Excess auto weight calibration range (e.g. deposit and


120 DISPLACER CALIB. ERROR
build up on the displacer)

Recognized error between display panel 3 keys control


121 LCD CHECK
input to CPU

Unable to recognize A phase pulse (20 pulse / 1 rotation


122 A PHASE NO INPUT
of encoder) to CPU

124 POWER FAILURE Supply voltage drop below allowable value

201 MEMORY ERROR Memory defect in W&M parameters

232 LOCAL ERROR DEVICE1 Recognized device error at connected HART device 1 *3

233 LOCAL ERROR DEVICE2 Recognized device error at connected HART device 2 *3

Local HART communication error to the Promonitor


240 DEVICE ERROR NRF *3
NRF 560

Local HART communication error to the Prothermo


250 DEVICE ERROR NMT *2
NMT 53x

130 DEVICE ERROR: DEVICE1 Local HART communication error to the HART device 1 *3

131 DEVICE ERROR: DEVICE2 Local HART communication error to the HART device 2 *3

132 ROM ERROR Failure in the EEPROM data

Status input activated via connected switch (e.g. Leak


133 ECONOUCE CONTACT ON
detector, level alarm switch)

Remarks

Endress+Hauser 17
8 Proservo specific code NMS 53x - MODBUS communication protocol

2. Error code available only when the Prothermo NMT 53x or 3 wire RTD SPOT temperature
bulb is connected.
3. Error code available only when the Promonitor NRF 560 or HART device 1 / 2 is connected.

8.3 NMS Gauge Operation Code

Code Description Remarks

0 LEVEL

1 UP

2 STOP

3 BOTTOM LEVEL

4 UPPER I/F LEVEL *1

5 MIDDLE I/F LEVEL *1

6 UPPER DENSITY *1 *4

7 MIDDLE DENSITY *1

8 BOTTOM DENSITY *1

9 REPEATABILITY

10 WATER DIP *1

Remarks
4. Upper density operation command can initiate several density measurement functions depend-
ing on the selection made at the MODBUS register 28 or GVH 840 “OPE. SELECT”. Refer to
the operation manual about the definition of various density measurements.

8.4 NMS Density Profile Operation Status


The newly implemented “Density Profile” function requires certain condition to be established prior
to the operation. Also, this feature promises the safe operation throughout its sequence.

Code Description Definition Remarks

0 ACCEPTING Accepting density profile command *5

Command accepted, waiting for other parameters to be


1 STANDBY *6
prepared for the measurement

2 IN OPERATION In Tank Profile (density profile throughout the tank) operation

3 OPR. END Density profile measurement operation finished normally

Error condition report, displacer could not balance during


4 UN_BALANCE_ERR *7
STANDBY / measuring position

Error condition report based on incomplete operation, displacer


5 OPR. ERR. STOP
shall return to level

In Interface Profile (density profile within upper layer)


6 I / F OPERATION
operation

18 Endress+Hauser
NMS 53x - MODBUS communication protocol 8 Proservo specific code

Code Description Definition Remarks

Error condition report caused by incomplete I/F Profile


7 I / F ERR. STOP
measurement

In Manual Interface Profile (density profile within upper layer


8 I / F MANU. OPE *8
with manually entered interface level) operation

9 END / LEVEL SHORT Error condition report caused by too low level *9

Remarks
5. ALL of 3 density profile (Tank Profile, I/F Profile and Manual I/F Profile) operations always
start from the liquid level measurement. The operation command will not be accepted unless
the displacer of Proservo stays at the liquid level.
6. Density profile measurement requires the following condition to be satisfied.
Liquid level movement: The operation requires stable liquid level to fulfill tank safety. The param-
eter can be configured at the following matrix.
– GVH844 “BAL. LEVEL”: Default 2.0mm. Range 1.0 ~ 99.9mm
The liquid level is continuously monitored every 5 minute. Condition to be allowed when the liq-
uid movement stays within this set parameter.
7. The displacer must balance in order to perform stable density measurement. Each balancing
position has waiver (waiting period) before cancelling the operation.
– GVH847 “OPE. Wait Time”: Default 1min. Range 0 ~ 99 min.
If the condition in GVH847 “BAL. LEVEL” is not satisfied, the time set in this matrix will be a
waiver before the entire operation is cancelled.
– GVH845 “UP Wait Time”: Default 1min, Range 0 ~ 99 min.
– GVH846 “LIQ. Wait Time”: Default 1min, Range 0 ~ 99 min.
8. Interface level value has to be manually entered in GVH842 “I/F Man. Level” before the oper-
ation command is issued.
9. The operation will be ignored if the level is too close to the tank floor. Default setting is
300mm.

8.5 NMS Density Profile Level Condition


Designated displacer balance status for the density profile measurement.

Code Description Definition Remarks

0 OFF LEVEL MEAS. Displacer is not positioned at the liquid level

1 STABLE Displacer balanced at liquid level

2 UNSTABLE Displacer unbalanced (seeking) at liquid level

Density Profile operation without confirming the level condition or


3 IGNOR CONDITION *10
displacer location.

Remarks
10. Maintenance purpose only!

Endress+Hauser 19
9 MODBUS example telegram NMS 53x - MODBUS communication protocol

9 MODBUS example telegram

9.1 2 registered data request from address 0000 (Function


code 03)

• Gauge position data 4671179A (15429.9mm)

9.2 1 registered data request from address 0004 (Function


code 04)

• Temperature data 00AD (17.3°C)

9.3 6 registered data request from address 0000 (Function


code 03)

• Gauge position data 467116CD (15429.7mm)


• Level data 467116CD (15429.7mm)
• Temperature data 00AD (17.3°C)
• Gas temperature data 00D9 (21.7°C)

9.4 0x0001 writing in address 001A (Function code 06)

• Gauge operation command: UP

9.5 0x0002 writing in address 001A (Function code 16)

• Gauge operation command: STOP

20 Endress+Hauser
NMS 53x - MODBUS communication protocol 10 NMS configuration for MODBUS

10 NMS configuration for MODBUS

The Proservo NMS 53x provides configuration parameters to meet the MODBUS communication
system compatibility.

10.1 Communication speed (RS485 Baud rate)


The communication speed can be configured based on MODBUS communication environment.

Matrix position: GVH295 “MODBUS Config”


• 0: 1200bps / EVEN parity
• 1: 1200bps / ODD parity
• 2: 1200bps / NONE parity
• 3: 2400bps / EVEN parity
• 4: 2400bps / ODD parity
• 5: 2400bps / NONE parity
• 6: 4800bps / EVEN parity
• 7: 4800bps / ODD parity
• 8: 4800bps / NONE parity
• 9: 9600bps / EVEN parity
• 10: 9600bps / ODD parity
• 11: 9600bps / NONE parity
• 12: 19200bps / EVEN parity
• 13: 19200bps / ODD parity
• 14: 19200bps / NONE parity

10.2 Slave address setting


The slave address for each connected Proservo on the MODBUS communication loop can be con-
figured.

Matrix position: GVH285 “ADDRESS”.


• Default: 1
• Range: 1 ~ 247

Endress+Hauser 21
Poland – Wroclaw Brazil – Sao Paulo Iran – Tehran
• Endress+Hauser Polska Sp. z o.o. • Endress+Hauser Controle e Automaçao Ltda. Patsa Industry
Europe Tel. (071) 7 80 37 00, Fax (071) 7 80 37 60 Tel. (011) 50 33 43 33, Fax (011) 50 31 30 67 Tel. (021) 8 72 68 69, Fax (021) 8 71 96 66
Austria – Wien Portugal – Cacem Canada – Burlington, Ontario
• Endress+Hauser Ges.m.b.H. Israel – Netanya
• Endress+Hauser Portugal Lda. • Endress+Hauser Canada Ltd.
Tel. (01) 88 05 60, Fax (01) 88 05 63 35 Instrumetrics Industrial Control Ltd.
Tel. (21) 4 26 72 90, Fax (21) 4 26 72 99 Tel. (905) 68 19 29 2, Fax (905) 68 19 44 4
Tel. (09) 8 35 70 90, Fax (09) 8 35 06 19
Belarus – Minsk Romania – Bucharest Chile – Santiago de Chile
Belorgsintez S.C. Romconseng S.R.L. • Endress+Hauser (Chile) Ltd. Japan – Tokyo
Tel. (017) 2 50 84 73, Fax (017) 2 50 85 83 Tel. (021) 41 12 50 1, Fax (021) 41 01 63 4 Tel. (02) 3 21 30 09, Fax (02) 3 21 30 25 • Sakura Endress Co. Ltd.
Tel. (0422) 54 06 11, Fax (0422) 55 02 75
Belgium / Luxembourg – Bruxelles Russia – Moscow Colombia – Bogota D.C.
• Endress+Hauser S.A. / N.V. • OOO Endress+Hauser Colsein Ltda. Jordan – Amman
Tel. (02) 2 48 06 00, Fax (02) 2 48 05 53 Tel. (095) 78 32 85 0, Fax (095) 78 32 85 5 Tel. (01) 2 36 76 59, Fax (01) 6 10 78 68 A.P. Parpas Engineering S.A.
Costa Rica – San Jose Tel. (06) 5 53 92 83, Fax (06) 5 53 92 05
Bulgaria – Sofia Slovak Republic – Bratislava
Transcom Technik s.r.o. Euro-Tec S.A. Kazakhstan – Almaty
Intertech-Automation EOOD
Tel. (2) 44 88 86 90, Fax (2) 44 88 71 12 Tel. 2 20 28 08, Fax 2 96 15 42
Tel. (02) 9 76 96 66, Fax (02) 9 76 96 60 BEI Electro
Slovenia – Ljubljana Ecuador – Quito Tel. (72) 30 00 28, Fax (72) 50 71 30
Croatia – Zagreb Insetec Cia. Ltda.
• Endress+Hauser (Slovenija) D.O.O.
• Endress+Hauser GmbH+Co. Tel. (02) 2 26 91 48, Fax (02) 2 46 18 33 Korea, South – Seoul
Tel. (01) 5 19 22 17, Fax (01) 5 19 22 98
Tel. (01) 6 63 77 85, Fax (01) 6 63 78 23 • Endress+Hauser (Korea) Co. Ltd.
Spain – Sant Just Desvern El Salvador – San Salvador Tel. (02) 26 58 72 00, Fax (02) 26 59 28 38
Cyprus – Nicosia • Endress+Hauser S.A. Automatizacion y Control Industrial de
I+G Electrical Services Co. Ltd. Tel. (93) 4 80 33 66, Fax (93) 4 73 38 39 El Salvador, S.A. de C.V. Kuwait – Safat
Tel. (02) 48 47 88, Fax (02) 48 46 90 Tel. 2 60 24 24, Fax 2 60 56 77 United Technical Services Est. For General
Sweden – Sollentuna Trading
Czech Republic – Praha 4 • Endress+Hauser AB Guatemala – Ciudad de Guatemala
• Endress+Hauser Czech s.r.o. Automatizacion y Control Industrial, S.A. Tel. 2 41 12 63, Fax 2 41 15 93
Tel. (08) 55 51 16 00, Fax (08) 55 51 16 55
Tel. (02) 41 08 04 50, Fax (02) 41 08 04 60 Tel. (03) 34 59 85, Fax (03) 32 74 31
Switzerland – Reinach/BL 1 Lebanon – Jbeil Main Entry
Denmark – Søborg • Endress+Hauser Metso AG Honduras – San Pedro Sula, Cortes Network Engineering
Tel. (061) 7 15 75 75, Fax (061) 7 11 16 50 Automatizacion y Control Industrial de Honduras, Tel. (3) 94 40 80, Fax (9) 54 80 38
• Endress+Hauser A/S
S.A. de C.V.
Tel. (70) 13 11 32, Fax (70) 13 21 33 Malaysia – Shah Alam, Selangor Darul Ehsan
Turkey – Levent/Istanbul Tel. 5 57 91 36, Fax 5 57 91 39
Estonia – Tartu Intek Endüstriyel Ölcü ve Kontrol Sistemleri • Endress+Hauser (M) Sdn. Bhd.
Tel. (0212) 2 75 13 55, Fax (0212) 2 66 27 75 Mexico – Naucalpan de Juárez
Elvi-Aqua OÜ Tel. (03) 78 46 48 48, Fax (03) 78 46 88 00
• Endress+Hauser (México), S.A. de C.V.
Tel. (7) 30 27 32, Fax (7) 30 27 31 Ukraine – Kiev Tel. (5) 553 71 11 10, Fax (5) 553 71 11 28 Pakistan – Karachi
Finland – Helsinki Photonika GmbH Speedy Automation
Tel. (44) 451 85 31, Fax (44) 451 85 31 Nicaragua – Managua
• Metso Endress+Hauser Oy Automatización y Control Industrial de Tel. (021) 7 72 29 53, Fax (021) 7 73 68 84
Tel. (204) 8 31 60, Fax (204) 8 31 61 Yugoslavia Republic – Beograd Nicaragua, S.A.
Tel. 2 22 61 90, Fax 2 28 70 24 Philippines – Manila
Meris d.o.o.
France – Huningue Tel. (11) 244 29 66, Fax (11) 308 57 78 Inter Conglomerates Inc.
• Endress+Hauser S.A. Panama – Paitilla Tel. (2) 637 85 77, Fax (2) 637 51 27
Tel. (389) 69 67 68, Fax (389) 69 48 02 Euro Technology de Panama, S.A.
Tel. 290 62 86, Fax 290 62 06 Saudi Arabia – Jeddah
Germany – Weil am Rhein Africa Anasia Trading Co. Ltd.
• Endress+Hauser Messtechnik GmbH+Co. KG Peru – Miraflores
Corsusa International Tel. (02) 6 53 36 61, Fax (02) 6 53 35 04
Tel. (07621) 9 75 01, Fax (07621) 97 55 55 Algeria – Annaba
Tel. (1) 44 41 20 0, Fax (1) 44 43 66 4 Singapore – Singapore
Symes Systemes et Mesures
Great Britain – Manchester Tel. (38) 88 30 03, Fax (38) 88 30 02 • Endress+Hauser (S.E.A.) Pte. Ltd.
USA – Greenwood, Indiana
• Endress+Hauser Ltd. • Endress+Hauser Inc. Tel. (65) 66 82 22, Fax (65) 66 68 48
Tel. (0161) 2 86 50 00, Fax (0161) 9 98 18 41 Cameroun – Douala
Tel. (317) 5 35 71 38, Fax (317) 5 35 84 98
Lemelle Enterprises Sultanate of Oman – Ruwi
Greece – Athens Tel. 988 72 02 , Fax 342 06 73 USA – Norcross, Atlanta Mustafa & Sultan Sience & Industry Co. L.L.C.
I & G Building Services • Endress+Hauser Systems & Gauging Inc. Tel. 63 60 00, Fax 60 70 66
Tel. (02) 109 24 15 00, Fax (02) 109 22 17 14 Egypt – Heliopolis/Cairo
Tel. (770) 4 47 92 02, Fax (770) 4 47 57 67
Anasia Egypt For Trading (S.A.E.) Taiwan – Taipei
Hungary – Budapest Tel. (02) 2 68 41 59, Fax (02) 2 68 41 69 Venezuela – Caracas Kingjarl Corporation
• Endress+Hauser Magyarország Controval C.A. Tel. (02) 27 18 39 38, Fax (02) 27 13 41 90
Ghana – Tema Tel. (212) 9 44 09 66, Fax (212) 9 44 45 54
Tel. (01) 4 12 04 21, Fax (01) 4 12 04 24 Douglas Electrical Engineering Consultancy
Thailand – Bangkok 10210
Iceland – Reykjavik Tel. (22) 41 08 47, Fax (27) 752 71 66
• Endress+Hauser (Thailand) Ltd.
Sindra-Stál hf Ivory Coast – Abidjan 06 Tel. (2) 9 96 78 11-20, Fax (2) 9 96 78 10
Tel. 5 75 00 00, Fax 5 75 00 10 CIM-CI S.A.R.L.
Asia
Tel. 22 48 55 54, Fax 22 48 60 45 United Arab Emirates – Dubai
Ireland – Clane / County Kildare Azerbaijan – Baku
Descon Trading L.L.C.
• Flomeaco Endress+Hauser Ltd. Libya – Dahra/Tripoli Modcon Systems - Baku
Tel. (04) 2 65 36 51, Fax (04) 2 65 32 64
Tel. (045) 86 86 15, Fax (045) 86 81 82 HK International Trading Services Company Tel. (12) 92 98 59, Fax (12) 99 13 72
Tel. 214 44 17 40, Fax 214 44 46 39 Brunei – Seria/Negara Uzbekistan – Tashkent
Italy – Cernusco s/N, Milano Im Mexatronika-Tes
Morocco – Casablanca American International Industries (B) Sdn. Bhd.
• Endress+Hauser S.p.A. Tel. (71) 1 91 77 07, Fax (71) 1 91 76 94
Oussama S.A. Tel. (33) 22 37 37, Fax (33) 22 54 58
Tel. (02) 92 19 21, Fax (02) 92 19 23 62
Tel. (02) 22 24 13 38, Fax (02) 2 40 26 57 Cambodia – Khan Daun Penh, Phnom Penh Vietnam – Ho Chi Minh City
Latvia – Riga Comin Khmere Co. Ltd.
Nigeria – Dopemu, Agege, Lagos Tan Viet Bao
Elekoms Ltd. Tel. (23) 42 66 22, Fax (23) 42 60 56 Tel. (08) 923 52 25, Fax (08) 923 52 27
Tel. (07) 33 64 44, Fax (07) 33 64 48 Automated Process Limited
Tel. (01) 472 99 67, Fax (01) 804 78 03 China – Shanghai
Lithuania – Kaunas • Endress+Hauser (Shanghai) Instrumentation
Senegal – Dakar
UAB Agava Ltd. Co. Ltd.
Tel. (03) 7 20 24 10, Fax (03) 7 20 74 14
Narmer S.A.R.L.
Tel. (021) 54 90 23 00, Fax (021) 54 90 23 03
Australia + New Zealand
Tel. 823 30 92, Fax 821 17 40
Macedonia – Beograd China – Beijing Australia – North Ryde NSW 2113
South Africa – Sandton • Endress+Hauser Australia Pty. Ltd.
Meris d.o.o. • Endress+Hauser (Beijing) Instrumentation Co.
• Endress+Hauser (Pty.) Ltd. Tel. (02) 88 77 70 00, Fax (02) 88 77 70 99
Tel. (11) 44 42 96 6, Fax (11) 30 85 77 8 Ltd.
Tel. (011) 2 62 80 00, Fax (011) 2 62 80 62
Tel. (010) 65 88 24 68, Fax (010) 65 88 17 25
Moldavia – Chisinau New Zealand – Auckland
Tunisia – Tunis Hong Kong – Tsimshatsui / Kowloon
S.C. Techno Test SRL EMC Industrial Group Ltd.
CMR Controle, Maintenance et Regulation • Endress+Hauser (H.K.) Ltd. Tel. (09) 4 15 51 10, Fax (09) 4 15 51 15
Tel. (02) 22 61 60, Fax (02) 22 83 13 Tel. (07) 17 93 07 7, Fax (07) 17 88 59 5 Tel. 8 52 25 28 31 20, Fax 8 52 28 65 41 71
Netherlands – Naarden India – Mumbai
• Endress+Hauser B.V. • Endress+Hauser (India) Pvt. Ltd.
Tel. (035) 6 95 86 11, Fax (035) 6 95 88 25 America Tel. (022) 56 93 83 33, Fax (022) 56 93 83 30
All other countries
• Endress+Hauser GmbH+Co. KG
Norway – Lierskogen Argentina – Buenos Aires Indonesia – Jakarta Instruments International
• Endress+Hauser A/S • Endress+Hauser Argentina S.A. PT Grama Bazita Weil am Rhein, Germany
Tel. 32 85 98 50, Fax 32 85 98 51 Tel. (11) 45 22 79 70, Fax (11) 45 22 79 09 Tel. (21) 7 95 50 83, Fax (21) 7 97 50 89 Tel. (07621) 9 75 02, Fax (07621) 97 53 45

Endress + Huaser Japan Co. Ltd


Product Center Yamanashi
862-1 Mitsukunugi Sakaigawacho
Fuefukishi, Yamanshi 406-0846 Japan

Tel: ++81 55 266 4964


Fax: ++81 55 266 4969
http://www.endress.com

KA 002N/08/en/07.07

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy