Logic Machine Forum
KMB - Modbus - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: KMB - Modbus (/showthread.php?tid=604)



KMB - Modbus - Thomas - 08.02.2017

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


RE: KMB - Modbus - admin - 09.02.2017

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


RE: KMB - Modbus - Thomas - 13.02.2017

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