This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

KMB - Modbus
#1
Hi
Is there anybody who has modbus profile for SML 133 already done?

The device comes from here:
http://kmb.cz/index.php/en/

I've started to create the plugin but it's plenty of work and the try and fail process on LM really hurts.

Logicmachine team, can you please provide me a link to the profile.json file description? I can't find it.

Thank you
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Reply
#2
We do not have a profile for this device but it is well documented so creating a profile should not be too hard.

Start by using RTU read test to read registers with known values like voltage or frequency. You might have to play with Read swap settings and sometimes you need to subtract 1 from the register address that is specified in the documentation.

Docs: http://openrb.com/docs/modbus.htm
Reply
#3
Thank you.
The device provides more than 500 values. Most of them are unimportant but I would like to do the definition json file properly. Do you have any tips how to do it fastly?

My idea is this workflow: PDF -> LibreOffice Calc -> XML (by XSLT) -> JSON
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Reply


Forum Jump: