Hi,
I have a design based on Anybus IP (Profinet and Ethernet/IP) implemented in Xilinx Zynq-7030. My custom Linux application is based on source code ABCC Starter Kit 3.04.01 and ABCC Driver 5.04.01.
I think that my request should be easy to answer; I need a way to determine whether or not the network cable is connected. I know that the callback function (ETN_SetAttrSuccessCallback) is being executed whenever I plug or unplug the network cable, but I can’t find an attribute that tells me which state I am in.
I know that ANB_STATUS toggles between “ABP_ANB_STATE_WAIT_PROCESS” and “ABP_ANB_STATE_PROCESS_ACTIVE” when the Profinet PLC gets disconnected/connected, but I don’t see a change of state when I just unplug/plug the cable to a standard network.
Is there a variable or object that can tell me the network status? Thanks.
Yannick.