Overview Page 3/30
MID_M2000_BA_MODBUS_02_1805
1. Overview
ModMAG
®
M2000 supports ModBus
®
RTU communications. Port A (pins 5, 6, 7) support
ModBus
®
RTU using RS232.The RS485 is supported as an accessory daughterboard. Verify
or configure the ModMAG
®
M2000 communication port B. Access the port settings at main
menu > communications > port B settings.
The tables to follow identify the ModBus
®
registers and attributes that exist in the ModMAG
®
M2000 flow meter. Each register has attributes that are also specified in the tables.
Application specific. sets
ModBus
®
auto-bauds
1.1 Write security
Write security identifies the required security level of the register in order to be suc-
cessfully written. This attribute does not apply to the readability of the register and re-
gisters listed with admin, service or user are unprotected if the meter is not secured
(that is, admin pin is not programmed.)
• Firmware - Typically, read-only registers.This means only the flow meter firmware
has the privilege to update the register.
• Factory – Includes registers that can only be written by the factory
• Admin – Registers that require admin level access
• Service – Registers that require service level access
• User – Registers that require user level access
• None – Register is always unprotected
All registers can be protected by enabling security on the flow meter. Once the flow
meter is secured, all registers are write-protected unless remote privilege is granted.
All read accesses to registers are still accepted when the flow meter is secured.
Obtaining remote privilege for write operations requires a sequence of ModBus
®
actions to take place. Remote login process is encrypted to ensure protection of the
log-in pins.
• Read the random value register (address 0x012B).
• Perform necessary calculations (contact Badger Meter for details).
• Write the remote login register (address 0x012F).
It is advised that a support application is written to perform this process and embed-
ded within the main application software used to access the flow meter.