Modbus Addressing

This topic describes the Modbus addressing format as used by the RMC. For other addressing formats, see the Register Map Overview topic.

The Modbus/RTU and Modbus/TCP address format must be used when communicating with the RMC75S via Modbus/RTU and when communicating with the RMC75E or RMC150E via Modbus/TCP.

Address Format

The Modbus addressing assigns a single number to each register.

There are three different ways to refer to Modicon holding registers:

Finding Modbus Addresses for RMC Registers

When configuring the host controller (such as a PLC or HMI) to communicate with an RMC, you will need to enter the Modbus addresses of the RMC's registers that you wish to read from or write to.

Ways to find RMC addresses:

  1. In RMCTools editors:
    Some register addresses are displayed in RMCTools, such as in the Reg # column in Axis Tools, Indirect Data Map, and the Variable Table. To view those addresses in various formats, in the Reg# column, right-click the address and choose Address Formats.

  2. Use the Address Maps in RMCTools to browse all the register addresses for any addressing method.

  3. Use the Register Map help topic to browse all the register addresses for any addressing method.

Modbus Address Sections

The Modbus address space for the RMC's is divided in sections as listed below. See each section for addresses of individual items within each section.

RMC75

Description

RMC75 IEC File

RMC75 Starting

Modbus Address

Indirect Data Map

18

1

Indirect Data Map Definition

17

513

Command Area

25

1025

Variables - Current Values

56-59

1537

Controller Info

7

3585

Axis Status Registers

8-11

4097

Axis Parameters

12-15

6145

Command Area - Small

16

8193

Indirect Data Map Definition (duplicate area)

17

8705

Indirect Data Map (duplicate area)

18

9217

Axis Definitions

19

9729

Controller Parameters/Status

20

10241

Communication Configuration

21

10753

Event Log Configuration

22

11265

Discrete I/O

23

11777

Task Status/Configuration

24

12289

Command Area (duplicate area)

25

12801

Analog Inputs

26

13313

Axis Names

27

13825

Image Upload/Download Area

30

15361

Plot Layout

31

15873

Plot Status/Configuration

32-39

16385

Dynamic Plot Upload Area

40-47

20481

Static Plot Upload Area

48-55

24577

Variables - Current Values (duplicate area)

56-59

28673

Variables - Initial Values

64-67

32769

Variables - Attributes

68

34817

RMC150

Description

RMC150 IEC File

RMC150 Starting

Modbus Address

Indirect Data Map

42

1

Indirect Data Map Definition

41

513

Command Area

40

1025

Variables - Current Values

56-59

1537

Controller Info

7

3585

Axis Status Registers

8-23

4097

Axis Parameters

24-39

12289

Command Area (duplicate area)

40

20481

Indirect Data Map Definition (duplicate area)

41

20993

Indirect Data Map (duplicate area)

42

21505

Axis Definitions

43

22017

Controller Parameters/Status

44

22529

Communication Configuration

45

23041

Event Log Configuration

46

23553

Discrete I/O

47

24065

Task Status/Configuration

48

24577

Axis Names

49

25089

Variables - Current Values (duplicate area)

56-59

28673

Variables - Initial Values

72-75

36865

Variables - Attributes

88

45057

Image Upload/Download Area

94

48129

Plot Layout

95

48641

Plot Status/Configuration

96-103

49153

Dynamic Plot Upload Area

104-111

53249

Static Plot Upload Area
(the Modbus address space doesn't cover the entire range of 112-143)

112-127

57345

RMC200

The RMC200 Modbus addressing includes the pre-defined addresses as listed below. The remaining Modbus addresses may be configured in the Address Maps.

 

Description

RMC200
IEC Address

RMC200

Modbus Address

Indirect Data Map

%MD8.0-1023

1 - 2047

Command Area, axes 0-n1

%MD16.0-1019

2049 - 4087

Axis 0 Command Area

%MD16.0-9

2049 - 2067

Axis 1 Command Area

%MD16.10-19

2069 - 2087

Axis 2 Command Area

%MD16.20-29

2089 - 2107

...

...

2049 + (20 x Axis Number)...

Variables - Current Values

%MD1024.0-4095

4097 - 12287

Image Upload/Download Area

%MD23.0-1023

12289-14335

1 The maximum axis number n is 101 for the CPU40 and 47 for the CPU20L.

Address Calculation Utility (RMC75 and RMC150)

For the RMC75 and RMC150, the standard Modbus addresses can be calculated from the IEC addresses as described here, with the exception of the first four items in the table.

To obtain the Modbus holding register offset address of RMC registers, use the Register Maps. The maps provide the Modbus offset for each register. The complete address is the holding register offset prepended with 4 and padded with zeros if necessary. For example, holding register offset 8193 will then become the address 408193 or 48193, depending on the host controller.

In addition, you can use the utility or calculation below to determine the Modbus holding register offset, given the IEC address.

RMC75 and RMC150

 

 

 

IEC Address

 

Modbus Holding
Register Offset

 

 

%MD

.

 

 

Modbus Holding
Register Offset

 

IEC Address

 

 

 

 

Manual Calculation

The Modbus address is calculated according to the following equation:

Modbus RTU Address = 2 x [(256 x file) + element] + 1

where the RMC IEC addressing format is %MDfile.element

Examples:

%MD12:3 = 2 x [(256 x 12) + 3] + 1 = 6151

%MD9:56 = 2 x [(256 x 9) + 56] + 1 = 4721

 

See Also

Register Map Overview


Send comments on this topic.

Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion