Logic Machine Forum
Modbus TCP connect failed: nil - 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 TCP connect failed: nil (/showthread.php?tid=312)



Modbus TCP connect failed: nil - Habib - 28.05.2016

Hi,

I use a SpaceLynk with 3 Modbus Energie meters (Eastron SDM630) via an anybus  modbus TCP/RTU Gateway. The modbus profile is self made an it works for me. I get all Parameters which I want (up to 86) an visualize them. But in my SL error log I get allways these entrys every time the spacelink wants to poll them.


[Image: errorlog.png]

Did I something wrong in my Profile?

I defined all my meters with the same adress (the ip from my gateway) which are only differs by the device adress (4,5,6) like following screen shot.


[Image: modbusdevice.png]

the next step I will try is to connect they directly via RS485 to my SL...

Regards
Habib

(I can't add my profile as attachment, so I post a link to it: modbus profile)


RE: Modbus TCP connect failed: nil - Erwin van der Zwart - 28.05.2016

Hi Habib,


Can you forward your IP GW and send me the connection details through private message?

BR,

Erwin


RE: Modbus TCP connect failed: nil - admin - 29.05.2016

It's a small bug in the firmware, "connect failed: nil" means that connect works fine. This will be fixed in next release.


RE: Modbus TCP connect failed: nil - Erwin van der Zwart - 29.05.2016

Hi Edgars,

Already noticed that, for the mean time
i loaded a script version to read the Modbus to
avoid the messages.

TBC,

BR,

Erwin


RE: Modbus TCP connect failed: nil - Habib - 29.05.2016

Hi,

thank you for your support :-)

@edgar
I've seen, you spent lot of time for helping. Much thanks for that.

My installation is at moment in a very early state, so I have much time to fix that.

Regards
Habib


RE: Modbus TCP connect failed: nil - Habib - 15.03.2017

I'm still waiting for the next release....


RE: Modbus TCP connect failed: nil - forsterm - 29.03.2017

(29.05.2016, 06:16)Hi Erwin,I have exactly the same problem.What must I do, to avoid this messages? Erwin van der Zwart Wrote: Hi Edgars,

Already noticed that, for the mean time
i loaded a script version to read the Modbus to
avoid the messages.

TBC,

BR,

Erwin
Hi Erwin,
I have exactly the same problem.

What must I do, to avoid the messages?


RE: Modbus TCP connect failed: nil - Habib - 29.03.2017

Hi forsterm,

you have to wait until the next Fw release :-( There is no other work-a-round possible


RE: Modbus TCP connect failed: nil - Erwin van der Zwart - 29.03.2017

Hi,

We started translations of new FW so can't be real long.. a few weeks i guess..

BR,

Erwin