I have tried to assign the IP address to the Raspberry Pi from the PLC software(ecoStructure Machine expert). But I could not see that the Pi is having the IP address assigned for Ethernet connection when I ssh to the pi with command line.In what way did you arrive at the conclusion "could not see IP was assigned to the ethernet port"? What did you do to make you think that?
On the other hand, I can assign static IP to the Pi through Netplan. and I can verify that it is working when I connect the pi directly to the router.
Hence, I changed this config and set a static IP in the same namespace, domain of the PLC and asked PLC to assign the same IP to the raspberry Pi. But it was not assigned.
I tried to use DHCP on Pi if that could work but it is not working.
I want to attach a sensor to Pi and transfer that data to PLC via modbus library such as libmodbus.
Statistics: Posted by ujjwalrathod007 — Sat Mar 23, 2024 12:42 pm