Hello Support,
I’m working on an Anybus NP40 with EtherNet/IP Firmware.
My application is up ad running but I noticed that if the ethernet cable is not pluggeg, the IP address received from the module is 0.0.0.0. (Object 4, Instance 3, Attribute 5)
This is my startup procedure:
- Read the IP Address (previosly assigned by DHCP) during the UserInit
The IP is for instance 192.168.1.3. - Also read MAC address, Subnet Mask and DHCP status.
- Complete UserInit.
After that, every 30 seconds I read the Network object to get the same parameters read during the UserInit.
If the ethernet cable is plugged, the IP address is a valid IP address otherwise if, the cable is unplugged I get an invalid IP address 0.0.0.0.
The same behavior applies to the MAC address.
Is there a relation between the parameters sotred into the network object and the physical status of the ethernet port?
Thanks in advance.
Best regards,
Federico.