DLMS/COSEM Error Codes & Exception Responses Comprehensive Analysis
-
Decoding DLMS/COSEM Data-Access-Result and Confirmed-Service-Error Codes
When a GET, SET, or ACTION fails, the meter returns a numeric error code. Here is the definitive reference:
Code Data-Access-Result Root Cause & Resolution 0successOperation completed successfully 1hardware-faultMemory or peripheral communication failure in meter 2temporary-failureMeter is busy (e.g. executing flash write or billing calculation) 3read-write-deniedInsufficient permissions in current Association LN 4object-undefinedRequested OBIS code does not exist in meter firmware 9object-class-inconsistentClass ID in request does not match device model 11type-unmatchedData type in SET request differs from attribute specification 12scope-of-access-violatedSelective access range or entry exceeds valid buffer bounds 13data-block-unavailableBlock transfer index requested is out of range Use this lookup matrix to automate error handling in your HES drivers!
-
For code
2(temporary-failure), our HES implements an exponential backoff retry (1s, 2s, 4s). For code3(read-write-denied), it immediately triggers an association privilege alert. -
For code
11(type-unmatched), always double check whether the attribute expects anoctet-stringvsvisible-string. Passing ASCII text as raw visible-string when octet-string is required is a frequent source of type mismatch.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login