I want to communicate between the Arduino Portenta Machine Control (PMC) and my PC using a LAN cable. However, the network configuration on the Arduino PMC is not working correctly. I only have the hardware and do not have an Arduino PLC license, so I am developing with Arduino IDE.
Here's my code:
byte mac[] = {
0x90, 0x2E, 0x16, 0xF4, 0xED, 0xB4
};
IPAddress ip(192, 168, 0, 180);
Ethernet.begin(mac, ip);
Physical connection: Arduino PMC - Router - My PC
Additional Info:
- When the LAN cable is connected, the green light on the Arduino LAN port does not turn on.
- RS232 and Wi-Fi are working fine.
Is this a hardware issue with the LAN port?
please help me!