You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
A Modbus device delivers some Registers as data_type = BCD.
For example the "Date & Time" information via 3 Bytes (24bit) as BCD.
So far, I did not find a way to decode these registers :-(
Question is:
Is there a way to decode BCD coded registers?
or
could this become a new feature??
Thanks for your the brillliant "Telegraf"
Cheers
Jurgen
Expected behavior
Decode for example:
Read 3-bytes and assign 3-bits per digit
and
assign 2 digits to the 1st number ( e.g.: the day)
assign 2 digits to the 2nd number (e.g.: the month)
assign 2 digits to the 3rd number ( e.g. 2 digit year)
etc.
Actual behavior
??
Additional info
No response
The text was updated successfully, but these errors were encountered:
Use Case
Hi.
A Modbus device delivers some Registers as data_type = BCD.
For example the "Date & Time" information via 3 Bytes (24bit) as BCD.
So far, I did not find a way to decode these registers :-(
Question is:
Is there a way to decode BCD coded registers?
or
could this become a new feature??
Thanks for your the brillliant "Telegraf"
Cheers
Jurgen
Expected behavior
Decode for example:
Read 3-bytes and assign 3-bits per digit
and
assign 2 digits to the 1st number ( e.g.: the day)
assign 2 digits to the 2nd number (e.g.: the month)
assign 2 digits to the 3rd number ( e.g. 2 digit year)
etc.
Actual behavior
??
Additional info
No response
The text was updated successfully, but these errors were encountered: