• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Profinet to Siemens PLC
#1
Hello,


I'm definitely not an expert in profinet and PLC but I've been reading lots of posts on this forum and it got me confused.

We want to exchange information between a PLC and the netPI RTE with PROFINET.

We plugged one of the fieldbus port into a siemens profinet ET 200S (I currently don't know what PLC we are using). On TIA portal we made the connection using the GSD file and gave a name and an IP to the netPI. We are using the netpi-nodered container (latest) and inside nodered, we use the fieldbus node. We correctly created the profinet table with a simple send (1 byte) and receive (1 byte). We made the same table in TIA. When we deploy the flow, everything is green and TIA portal shows that the connection is correct. This is working because if we change the netPI profinet table, TIA portals shows an error related a profinet table mismatch. We use a send fieldbus node and a receive one. They are correctly mapped to an inject node and a debug console.

When we deploy, we have a first receive message from profinet, with no error, showing a value of 0 (but the value in the PLC is not zero). Even if we change a value in the PLC, nodered does not detect it (it does not even receive a message from profinet). When we send a value, the PLC does not detect it either. It feels just like they are writing and reading in a different address but everything is properly configured.

What got me confused is the s7comm node. In a post, I saw that if we want to exchange data with the PLC, the s7comm node should be used over the main Ethernet port of the netPI (not the 2xRJ45 card). So basically we are not talking about profinet anymore ? We should'nt use the fieldbus card to exchange data with the PLC ?

Sorry if my questions are a bit... obvious to answer for you, but I'm definitely not an expert and even my coworkers (dealing with PLC stuff) are kinda confused because they don't really know nodered and the netPI technology  Sad

Best regards

J.L.
  Reply


Messages In This Thread
Profinet to Siemens PLC - by j.langlois - January-26th-2021, 03:48 PM
RE: Profinet to Siemens PLC - by Armin@netPI - January-26th-2021, 04:17 PM
RE: Profinet to Siemens PLC - by j.langlois - January-26th-2021, 04:52 PM
RE: Profinet to Siemens PLC - by Armin@netPI - January-26th-2021, 05:41 PM
RE: Profinet to Siemens PLC - by j.langlois - January-26th-2021, 06:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Profinet name lost after reboot Dipro 7 5,158 November-16th-2020, 01:07 PM
Last Post: Armin@netPI
  Profinet stopped working (spidev spi0.0: SPI transfer timed out) Schranz 7 5,347 November-2nd-2020, 04:20 PM
Last Post: Armin@netPI
  netPI profinet device name WalterSchaefer 2 2,645 October-7th-2020, 11:10 AM
Last Post: WalterSchaefer
  Siemens PLC -Uploading and downloading using netPI & VPN SAhire@hilscher.local 22 15,548 July-20th-2020, 02:08 PM
Last Post: Armin@netPI
  how to pick up PROFINET data and store them to OPC UA server on Node-RED/netPI. tad 7 6,004 March-16th-2020, 10:21 AM
Last Post: Armin@netPI
  PROFINET IO startup compilation arpan.patel@slscorp.com 3 3,047 February-24th-2020, 12:47 PM
Last Post: Armin@netPI
  Profinet Startup Time Schranz 3 3,655 November-18th-2019, 03:22 PM
Last Post: Armin@netPI
  Codesys RTE profinet echteler 2 3,570 September-25th-2019, 09:56 AM
Last Post: Armin@netPI
  normal ethernet port using for Profinet MGharat 4 4,916 August-7th-2019, 10:39 AM
Last Post: hannes
  Detecting NetPI in Siemens TIA via Profinet andrewc 3 4,061 April-11th-2019, 06:42 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)