• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Communication between PLC and Netpi
#3
Hi Armin,

thanks for your quick answer.

Here is the requested info:
The version of NodeRed is HILSCHERNETPI_NODERED_FB_VERSION 1.2.0

For both input and output we configured 1 byte on the plc and the WebConfigurator in NodeRed. To comunicate we just set one bit in the output byte and try to receive the byte with the fieldbus node (signal 0000 0001).
The signal which we actually received was not 0000 0001. We received different signals, and when we tried to send a signal to the PLC we had one bit changed in the receiving signal. For example, we receive 1001 1111 and upon sending a signal from NodeRed we received 1011 1111 once, so just one bit changed. After we stopped we received the inital signal 1001 1111.
Some tryouts later while still trying to receive data, we injected with the fieldbus node 1 byte to the plc and the received data changed (e.g. 1000 1111 to 1010 1111)

Attached the asked exported Node-RED flow

Thank in advance

Michael


Attached Files
.txt   test_flow_michael.json.txt (Size: 2.13 KB / Downloads: 6)
  Reply


Messages In This Thread
Communication between PLC and Netpi - by Dipro - August-31st-2020, 08:35 AM
RE: Communication between PLC and Netpi - by Armin@netPI - August-31st-2020, 08:46 AM
RE: Communication between PLC and Netpi - by Dipro - September-8th-2020, 08:37 PM
RE: Communication between PLC and Netpi - by Armin@netPI - September-9th-2020, 04:49 PM
RE: Communication between PLC and Netpi - by Dipro - October-3rd-2020, 10:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  REST API server data communication MGharat 2 2,564 July-21st-2021, 07:01 AM
Last Post: MGharat
  communication cycle as EtherCAT slave tad 2 2,248 April-20th-2021, 11:14 AM
Last Post: tad
  OPC UA communication - Cloud Stefano.sotelo 1 2,667 April-26th-2018, 10:21 AM
Last Post: Armin@netPI
  Inter-container communication with help of DNS Armin@netPI 0 2,201 December-4th-2017, 07:02 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)