January-26th-2021, 03:48 PM
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
Best regards
J.L.
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

Best regards
J.L.