Hello Anybus Support,
I have been trying to set a custom MAC address to CompactCom B40 EtherNet IP module using the Ethernet Object (0xF9) attribute 1.
I have the following edit in abcc_identification.h file:
#if ETN_OBJ_ENABLE
/*
** Attribute 1: MAC Address (Array[6] of UINT8)
*/
#ifndef ETN_IA_MAC_ADDRESS_ENABLE
#define ETN_IA_MAC_ADDRESS_ENABLE TRUE
#define ETN_IA_MAC_ADDRESS_VALUE “\x00\x30\x11\x12\x34\x56”
#endif#endif /* #if ETN_OBJ_ENABLE */
ETN_OBJ_ENABLE is also enabled in abcc_obj_cfg.h file.
Pre-programmed MAC address on EIP Module: 00-30-11-3A-6E-FD
After uploading the above changes to host application the MAC address comes out to be: 00-30-11-00-94-00 everytime irrespective of what I set for ETN_IA_MAC_ADDRESS_VALUE
Is there anything that I am missing in configuring the MAC address of Anybus CC40 module?