Modbus TCP failed / Proxmox LXC

Hi,

I get the following error when trying to retrieve PT100 probe values via Modbus TCP (using modbus contrib).

Client -> fsm failed state after sending Get More About It By Logging  TCP@192.168.1.201:8887 default Unit-Id: 1

I tested with modbus poll, and I can successfully connect to the gateway and retrieve the values.

Configuration : node-red on contener LXC Proxmox.

Thanks for your help

Since you have node-red running in a container, this is likely a networking issue.

Try installing node-red-node-ping and ping the modbus IP from within node-red to verify whether it has connectivity.

ping is ok.

192.168.1.201 is my TCP gateway. Port 8887

Can you explain? is this a TCP to RTU/ASCII or something?

Yes,

With Modbus Pool (software) : OK

PTA8D08 (PT100 sensor) RS485 Modbus RTU > NB114 (TCP gateway ) > Modbus Pool (software, connect mode : modbus RTU over TCP/IP)

work perfectly.

With Node-Red : ko

PTA8D08 (PT100 sensor) RS485 Modbus RTU > NB114 (TCP gateway ) > Node-red (on Proxmox LXC container)

I made sure that Modbus Pool was not connected to the gateway at the same time as Node-Red.

ok, works now

The gateway was misconfigured. Thanks, you made me redo the entire configuration.

1 Like