How do Modbus registers map to OIDs?
The Babel Buster SP functions as a stand-alone server device. It can be configured as a Modbus RTU master or slave. It is also concurrently a Modbus TCP client and server. When the RTU side is configured as the master, it automatically polls the various Modbus devices periodically. The TCP client, if used, will also automatically poll various Modbus TCP devices periodically. This data is stored in local registers in Babel Buster SP. This data is simply saved, waiting for SNMP to Get the data. When SNMP does a Set, this results in data being written to the Modbus device once per update, or repeatedly if configured to do so.
To begin the process of mapping Modbus to SNMP, you need to obtain documentation from the device manufacturer telling you which registers contain what data. You will also need to see that baud rates are matched, and you know or can set the RTU slave address (or unit number, comparable to a shortened IP address).
There are technically four types of Modbus "registers"; however, most of the time you will be dealing with "holding registers". If no mention is made of register type, you can reasonably assume holding register.
Modbus register numbers are the Modbus equivalent of the SNMP OID, but simply much shorter, having only a single number rather than a string of numbers like the OID. There is no concept of a tree structure to the numbering scheme in Modbus. It can be thought of as a simple array of numbers, and the register number is your index into that array.
The screen shot clip below illustrates setting up read map #1 to get register 1 from remote device 1 and storing its data in local register 1. Check out the web page demo above for a more in depth look at this.

If we now want to see the OID list where we find this data, look at the MIB View page. The OID for reaching the data obtained from register 1 at device 1 is 1.3.6.1.4.1.3815.1.2.2.1.1.1.1.1.2.1.
