I am learning to program PLCs, specifically Siemens Step7 with TIA Portal, and in the meanwhile I am following some tutorials to use Node-RED to create HMI (just to write/read some data). Specifically I am using the "S7" nodes
I am using PLCSIM to do the first trials, but I am not being able to communicate the virtual PLC and Node-RED. I am using NetToPLCsim to create a virtual connection (I introduced the IP assigned to the PLC and the address of the ethernet adapter).
NetToPLCsim appears to work well. I made a "ping" to the IP address of the simulated PLC and I got response (108ms average).
The PUT/GET access is allowed.
Here you can see the set up of the S7 Node.
The debug shows the message : Error: connect ECONNREFUSED 192.168.0.105:102
Any idea of where is the mistake?
Thanks and best regards