• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Configuring S7-1200 PLC to communicate with node-red ...
#3
Hello Armin, thank you for the quick reply. Technically, I have followed the steps as mentioned in your previous reply.

Here's what I have done:
1. Created a container in docker to access Node-Red.
2. In the Node-Red, I configured the fieldbus in and out node by setting the fieldbus interface to the only option available (in which there is only 1 fieldbus interface in my case).
3. I have configured the PROFINET Device Configuration by using 1 send byte and 1 receive byte to read digital input and output from S7-1200 PLC.
4. I have also map the input and output of netPi to the S7-1200 PLC in the TIA program.

Issues:
1. When the LAN port of netPi and either one of the fieldbus port is connected tot he same switch, TIA portal can detect the the netPi, but the netPi default browser cannot be
established (meaning I cannot access the netPi's Node-Red at all).
2. When the netPi's fieldbus port connection is removed (both in and out are not connected to the switch), the netPi's default browser can be established properly (meaning I have
access to netPi's Node-red and the status of the PROFINET IO node in/out is 'running' instead of 'communicating'), but this would mean that TIA Portal cannot detect the
netPi device at all.

Questions:
1. Does connecting the fieldbus port stops the netPi's default browser from establishing normally?
2. Do I need to configure the S7-1200 PLC in advance and then load the program from TIA to S7-1200 PLC first and then configure the PROFINET Device
Configuration and Node-Red flow in the browser?

Thank you.

Kind regards,
Cman587
  Reply


Messages In This Thread
RE: Configuring S7-1200 PLC to communicate with node-red ... - by Cman587 - January-27th-2021, 09:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Configuring EtherCAT communication Hoeber 1 2,223 September-22nd-2021, 01:29 PM
Last Post: Armin@netPI
  IoT Edge Gateway: Node-RED - ARRAY -> OPC UA AxelHa2111 5 4,904 May-21st-2021, 05:13 PM
Last Post: Armin@netPI
  InfluxDB, Node-RED and Grafana Armin@netPI 0 3,719 January-6th-2021, 02:36 PM
Last Post: Armin@netPI
  PROFINET to OPC UA data conversion with Node-RED Armin@netPI 0 3,616 July-7th-2020, 12:20 PM
Last Post: Armin@netPI
  Accessing Siemens S7 PLCs over Node-RED Armin@netPI 3 9,389 February-24th-2020, 06:44 PM
Last Post: jacp
Information NPIX-RCAN with node-red-contrib-canbus node patrick 0 2,162 August-22nd-2019, 02:36 PM
Last Post: patrick

Forum Jump:


Users browsing this thread: 1 Guest(s)