I am trying to develop the C++ application with RSLinx CIP API.
This application will send the CIP message to CompactLogix via EtherNet/IP with DTL_CIP_MESSAGE_SEND_W function in API.
But I have a trouble to connect via EtherNet/IP. I don't understand how to set baPath in DTL_AB_CIP_PATH structure.
Sample program by Rockwell shows only the example using ControlNet not EtherNet/IP.
Would appreciate if someone provide me the sample program to connect via EtherNet/IP or how to set the baPath when using EtherNet/IP.
Thank you
This application will send the CIP message to CompactLogix via EtherNet/IP with DTL_CIP_MESSAGE_SEND_W function in API.
But I have a trouble to connect via EtherNet/IP. I don't understand how to set baPath in DTL_AB_CIP_PATH structure.
Sample program by Rockwell shows only the example using ControlNet not EtherNet/IP.
Would appreciate if someone provide me the sample program to connect via EtherNet/IP or how to set the baPath when using EtherNet/IP.
Thank you