Issues connecting to Modbus server created through S7

I`m getting the error for my modbus server connection on node red -

"Error: {"name":"Port Not Open Error","message":"Port Not Open","errno":"ECONNREFUSED"}"

I`ve matched the connections up for the siemens server on s7 and then also matched the modbus node on Node Red to match but its just not working -

any advice would be much appreciated.



Few things to check

  • Can you ping the PLC from the computer where Node-RED is running?
  • Is there any output in the ERR output of the Modbus block in the PLC?
  • Did you setup the CONNCET input

and last but no least

  • Why using Modbus instead of the S7 node?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.