top of page

Modbus Device Identification: Finish Every Reply Before Accepting the Asset Record

2 days ago
4 min read

A Modbus asset record can look complete after the first successful reply while still missing identification objects. When a supported device returns a continuation indication, finish that read before accepting the inventory entry. Keep the returned identity separate from evidence that the instrument is suitable, correctly configured or ready to control a process.


Conceptual illustration of an unbranded communications module and information tiles forming an asset record
Original conceptual illustration of collecting device information; not a product photograph, actual dashboard or proof of security features.

Key takeaways • A successful reply may be only part of the identification set. Follow the returned continuation object, retain the raw evidence, and mark an interrupted collection incomplete. Identity strings do not prove configuration, calibration or authenticity.


01 Confirm support and define the record


The Modbus Application Protocol Specification V1.1b3, section 6.21, defines Read Device Identification using function 43 (0x2B) and MEI type 14 (0x0E). Basic identification uses objects 0x00 VendorName, 0x01 ProductCode and 0x02 MajorMinorRevision. Read Device ID code 01 requests basic stream access; codes 02 and 03 request regular and extended stream access. Code 04 requests one object individually.


Check the exact instrument manual and client documentation before using this service. Do not assume that ordinary register polling establishes support. A reported revision is a useful comparison field, but ask the manufacturer what it identifies on that model before treating it as a complete firmware description.


Decide which fields your maintenance record actually needs. Keep the physical asset label, network destination, collection time, source of each field and any unresolved discrepancy. Treat a missing value as an open question rather than completing it from a similar instrument’s record. For equipment documentation, start with the ProSense manuals and data sheets page.


02 Continue until the stream finishes


Start a stream read at Object Id 0. When More Follows is 0xFF, use the returned Next Object Id in the next request, keeping the same Read Device ID code. More Follows 0x00 ends the stream. Each returned object has its own ID, length and value; Number Of Objects describes that response. These objects are not holding-register addresses.


Illustrative Modbus regular identification stream: start object 00, follow Next Object Id 04 when More Follows is FF, and accept only after a valid finish and field checks
Original explanatory diagram. Values are hexadecimal; the sequence is illustrative and is not a complete wire packet.

The following is a recommended acceptance workflow, not a prescribed polling configuration. Have the responsible integrator approve the destination and test window. Use a bench arrangement or an approved diagnostic path; do not add a second serial polling master to an operating bus or alter control logic to obtain an inventory.


  1. Capture the request and complete response together, with a timestamp and the intended destination. Retain an unmodified copy before exporting readable strings.

  2. Validate the response before adding its objects to a temporary collection. Check expected service fields, object count and declared lengths against the bytes actually available.

  3. Continue from the returned continuation point. Put a finite transaction and elapsed-time limit around the collection, and detect repeated continuation points so a faulty exchange cannot run indefinitely.

  4. Commit the collected record only after a valid finish and the required field checks. If collection stops early, retain the partial evidence with an incomplete status and a reason.


Choose those limits for the application rather than copying arbitrary numbers from another site. Keep discovery work outside the normal measurement timing budget where practical. A maintenance query should not silently delay the monitoring task it is meant to document.


03 Work through a hypothetical two-reply capture


Imagine an approved test device completing a regular stream read in two replies. The first response says More Follows = 0xFF and Next Object Id = 0x04. The follow-up therefore starts at 0x04, with the same access code. The second response ends the stream. This is an illustrative transaction sequence, not a tested product capability or a complete wire packet.


Suppose a collection tool saves only the first response and labels the job successful because communication worked. The repair is to complete and validate the collection, then compare the accepted result with the intended record. Do not fill the absent fields from a cached display. If the second response never arrives, record an incomplete attempt; preserve the last accepted inventory separately instead of silently merging observations from different runs.


04 Investigate gaps without guessing the identity


A blank application field can originate in several places: the collection may be unfinished, the parser may have rejected an object, or the application may not map the collected field. Compare the capture, parsed collection and displayed inventory in that order. Keep an unsupported-service outcome distinct from a timeout; neither should become a fabricated product identity.


Common mistakes include incrementing an assumed page number, trusting the first reply as the whole record, treating an identity string as a unique serial number, and choosing a register map solely from a product-name match. A complete identification collection still needs comparison with the supplied model, options and applicable documentation. It does not prove measurement accuracy or authorise a configuration change.


If a separate register read is rejected, use the Modbus Exception 02 diagnostic guide to investigate the requested mapping. Keep that investigation separate from whether the identity collection finished. When planning a replacement, discuss the exact interface and documentation requirements against the ProSense automation range; this guide makes no model-specific support or software integration promise.


05 Close with evidence someone else can use


Hand over the accepted object list, raw capture, collection outcome, document revision and any mismatch against the asset label. Give the next technician a clear distinction between observed identity, manually verified details and unresolved fields. Escalate a concise paired request/response record rather than a screenshot containing only a generic success banner. Keep credentials and sensitive network details out of ordinary support copies.


Primary reference: Modbus Organisation’s Application Protocol Specification V1.1b3, section 6.21, pages 43–46. Check the installed device’s own manual for implementation details and supported access.


Need help with your application?


For equipment selection, visit ProSense Instruments, email sales@prosenseinstruments.com.au or call 1800 560 854. Include the exact model, applicable manual and a concise diagnostic record.


For complete industrial monitoring and automation projects, visit ProSense Solutions or email sales@prosense.com.au.


For software enquiries, visit ProSight Software or email info@prosightsoftware.com. Confirm device and protocol integration separately for your application.



Recent Posts

See All

Comments


bottom of page