Logic Machine Forum
modbus json file - string data type - 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: modbus json file - string data type (/showthread.php?tid=1434)



modbus json file - string data type - Coppo67 - 08.06.2018

Hi,   I 've looked in docs / user manuals but cannot find a json file or code structure that  supports  STRING data type...STR16..STR20 for modbus device mapping file .

any examples out there please, would be appreciated.


RE: modbus json file - string data type - admin - 08.06.2018

Strings are not supported in profile. Here's example of reading strings from scripts:
https://forum.logicmachine.net/showthread.php?tid=1245

If you need both profile and scripts to access the same port then use modbus proxy:
https://forum.logicmachine.net/showthread.php?tid=387&pid=1953#pid1953


RE: modbus json file - string data type - Coppo67 - 12.07.2018

(08.06.2018, 06:58)admin Wrote: Strings are not supported in profile. Here's example of reading strings from scripts:
https://forum.logicmachine.net/showthread.php?tid=1245

If you need both profile and scripts to access the same port then use modbus proxy:
https://forum.logicmachine.net/showthread.php?tid=387&pid=1953#pid1953



ahhh... I just saw this post from someone else looks close to what we are trying to do
https://forum.logicmachine.net/showthread.php?tid=1245