Version 1.0
PN: 2042-8198
Page 51 of 75
DN: 10-32813
•
6: Write Single Register
•
16: Write Multiple Registers
As a Modbus® RTU master, the RMA PLUS only implements the following Modbus® function codes:
•
3: Read Holding Registers
•
6: Write Single Register
–
•
16: Write Multiple Registers
Modbus® RTU supports all integer data types, floats, enums and Watbus Parameter types. Strings are
not implemented. See
for more information.
The 16-bit word / register order of multi-register data types may be changed to suit the client
application. By default, the word order is low, high. See
The object model for the Modbus® RTU slave is user-defined. A sample file (shown below) exists in the
path defined by the keys
. Add records to these files as necessary
keeping the following in mind:
•
The Modbus® register is user-defined. It is an unsigned 16-bit integer with a range of 0
–
65535.
•
Records must be sorted in ascending order by Modbus® register (Column A).
•
The file may contain a maximum of 2000 valid records.
•
There is currently a maximum of 500 unique data points per Watbus bus and zone.
•
You must respect the data type of the target element i.e. 32-bit integers, floats and parameters
consume two registers, so you must skip a register number before starting the next custom data
point. In this example, additional records may be added starting at registers 2 and 1002 because
both elements are 32-bit values.
•
A value of 0 will be returned for registers that are not explicitly defined in the table.
•
An exception will be returned if a request exceeds the limits of the table, i.e. register > 1001 in this
example.
•
Writing will not return an exception unless the above condition is violated.
Register
Bus
Segment
Zone
Class
Instance
Member
Refresh Count
0
1
0
0
1
1
1
0
DEV 1 Hardware ID
1000
1
0
0
36
1
19
0
RTC 1 Timestamp
Figure 47 - ModbusRtuX.csv default configuration
Perform test read / write operations on the data. A sample Modbus® RTU test program is included on
the MICRO SD drive for testing purposes (sd:\Software\Modbus RTU). In the following example, the
RMA PLUS’s
Hardware ID (32-bit Integer) is returned for registers 0, 1. Registers 2 and 3 were not
specified so they return 0s.
Summary of Contents for RMA PLUS RMAP-2A Series
Page 1: ...Version 1 0 PN 2042 8198 Page 1 of 75 DN 10 32813 RMA PLUS User Manual...
Page 8: ...Version 1 0 PN 2042 8198 Page 8 of 75 DN 10 32813...
Page 11: ...Version 1 0 PN 2042 8198 Page 11 of 75 DN 10 32813 Figure 3 Ground Wire Location...
Page 26: ...Version 1 0 PN 2042 8198 Page 26 of 75 DN 10 32813 Figure 22 RMA PLUS via USBD MICRO SD root...
Page 27: ...Version 1 0 PN 2042 8198 Page 27 of 75 DN 10 32813 Figure 23 RMA PLUS via USBD NOR FLASH root...
Page 42: ...Version 1 0 PN 2042 8198 Page 42 of 75 DN 10 32813 Figure 37 Default web page Index html...
Page 75: ...Version 1 0 PN 2042 8198 Page 75 of 75 DN 10 32813...