Hello,
I have two INpact M.2 PROFINET IRT cards. They reside in two units of our custom hardware. They are on the same subnet (only the 4th octet of their addresses differ):
Card 1:
Address: 192.168.20.30
Netmask: 255:255:255:0
Gateway: 192.168.20.1
Card 2:
Address: 192.168.20.31
Netmask: 255:255:255:0
Gateway: 192.168.20.1
As part of the initialization process in our code, we call the following to obtain the card’s IP address:
ABCC_GetAttribute(psMsg, ABP_OBJ_NUM_NC, 3, ABP_NC_VAR_IA_VALUE, ABCC_GetNewSourceId());
We sometimes see this sequence of behavior:
- When a card is initialized, we see that the returned attribute is the IP address value of the other card.
- When the other card initializes, its IP address is 0.0.0.0, presumably because of Address Conflict Detection.
This is rather strange behavior, and we would like to better understand why this is happening. Any help is appreciated.
- Joseph