January-26th-2021, 04:17 PM
Hi there again,
yes you are right. There are indeed two use cases.
In use case A.) netPI is driven in PROFINET mode and then it is part of a PROFINET mastered network where a PLC writes data cyclically from an output buffer to a PROFINET device and read data cyclically data from a device and put this data in an input buffer. For such a communication the netPI RTE 3 has a dual-rj45 port interface being capable of be driven as such a PROFINET device.
In use case B.) the netPI is behaving like TIA portal and just uses the TCP/IP based programming commands going forth and back between a PLC and TIA portal software usually. This use case does not need netPI RTE 3 PROFINET ports. It just needs a normal Ethernet port.
The use case B.) you can easily check yourself with any other standard Ethernet device like a PC or notebook. Install Node-RED under windows on this PC and post install the S7comm node additionally. Connect this PC to the (second) S7 PLC port (configure the PCs IP address well to fit the IP subnet of the PLC) and you can communicate with your PC to the PLC being able to read or write data from/to the buffers of the PLC immediately
Back to your initial problem. In the Node-RED on netPI ... does the node status printed out under the Node-RED indicate "communicating"? And are the LEDs RUN an ERR on netPI are both off and not shining? Are the SF BF LEDs on your PLC are also green and not indicating any red color?
Thx
yes you are right. There are indeed two use cases.
In use case A.) netPI is driven in PROFINET mode and then it is part of a PROFINET mastered network where a PLC writes data cyclically from an output buffer to a PROFINET device and read data cyclically data from a device and put this data in an input buffer. For such a communication the netPI RTE 3 has a dual-rj45 port interface being capable of be driven as such a PROFINET device.
In use case B.) the netPI is behaving like TIA portal and just uses the TCP/IP based programming commands going forth and back between a PLC and TIA portal software usually. This use case does not need netPI RTE 3 PROFINET ports. It just needs a normal Ethernet port.
The use case B.) you can easily check yourself with any other standard Ethernet device like a PC or notebook. Install Node-RED under windows on this PC and post install the S7comm node additionally. Connect this PC to the (second) S7 PLC port (configure the PCs IP address well to fit the IP subnet of the PLC) and you can communicate with your PC to the PLC being able to read or write data from/to the buffers of the PLC immediately
Back to your initial problem. In the Node-RED on netPI ... does the node status printed out under the Node-RED indicate "communicating"? And are the LEDs RUN an ERR on netPI are both off and not shining? Are the SF BF LEDs on your PLC are also green and not indicating any red color?
Thx
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)