01.11.2018, 20:49
(This post was last modified: 01.11.2018, 20:59 by Erwin van der Zwart.)
Hi,
First of all you have not set a port on the Modbus TCP connection:
Try also:
If that does not work try changing 55 to 54
BR,
Erwin
First of all you have not set a port on the Modbus TCP connection:
Code:
mb:open('192.168.201.53', 502)
Code:
tfvalue, ffvalue = mb:readregisters(55, 2)
log(tfvalue,ffvalue)
BR,
Erwin