MCU-PLUS-SDK-AM243X: EtherNet/IP Adapter Configuration: Input Only Instance number

Part Number: MCU-PLUS-SDK-AM243X

The previous thread got locked, so I'll ask here.

We performed operation verification in Early Access version 09.02.00.03 of INDUSTRIAL-COMMUNICATIONS-SDK-AM243X.

"ethernetip_adapter_generic_device_mii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang"

We have confirmed that the same issue is occurring as in the previous version.

The Input Only instance number used in the demo has been changed from 254 (0xfe) to 197 (0xc5).

In this case, errors occur in the CT20 protocol test.

1> *** Expected Successful ForwardOpen: Received General Status 01, Extended Status 0x0100
2> *** Unexpected failure to reuse the existing multicast T->O connection.
3> *** Expected Successful ForwardOpen: Received General Status 01, Extended Status 0x0100
4> *** Unable to open an Point-to-Point I/O to the same application path.

I have attached the results and customized source code.

Input-only_0xc5_ind_comms_sdk_am243x_09_02_00_03.zip

These errors have not been fixed, so please check.

  • Hi 

    Thanks for your query.

    I will check on this and get back to you.

    Regards

    Ashwani

  • Hi Ryohei,

    In the Industrial Comms SDK  v9.2 ,you can use the new CIP API function EI_API_CIP_setAssemblyAppType to apply an application type to an existing assembly instance.

    1. Application changes:
    In the "app_generic_device.c" file of the application, replace the following line of code:

        errCode = EI_API_CIP_createAssembly(pCipNode, 0xfe, EI_API_CIP_eAR_GET); // Input-only.

    with the following lines:

        errCode = EI_API_CIP_createAssembly(pCipNode, 0xc5, EI_API_CIP_eAR_GET); // Input-only.
        errCode = EI_API_CIP_setAssemblyAppType(pCipNode, 0xc5, EI_API_CIP_eAPP_TYPE_IO);

    2. SOC file changes:
    In the SOC file, change the Connection Path for Connection2 in the SOC file to :
        "ConnectionPath": [
        32,
        4,
        36,
        1,
        44,
        197,
        44,
        100
        ],

    Also, in the SOC file you must change the Instance IDs for the Instance Group 2 of the Assembly object from 254, 255 to 197, 255.

    After making these changes, you can start the ODVA CT20 which should pass without any errors.

    Regards
    Archit Dev

  • Hi Archit,

    Thank you for your reply.

    I understood that it will be fixed in Industrial Comms SDK v9.2.

    We are looking forward to the release of Industrial Comms SDK v9.2.