This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2434: LP- AM2434

Part Number: AM2434

Tool/software:

Hi 
We are creating a custom board by using AM2434 - LP  and we are using SDK version ind_comms_sdk_am243x_09_02_00_08.
How to read and write data of class 0x70, instance 0x01 and attribute 0x308? Need to understand how to set and get data?
Do you have any  object library to read or write data on an application?
I am using the below method to try and access data to read and write to the EIP stack. (Below SS for reference)
  • Hi Yashaswini,

    yes, to get an attribute you can use the EI_API_CIP_getAttr_<attribute type> APIs, a similar one also exist for writing to an attribute EI_API_CIP_setAttr_<attribute type>.
    Please refer to the API reference found under your SDK installation folder.
    (C:/ti/ind_comms_sdk_am243x_09_02_00_08/docs/am243x/ethernetip_adapter/modules.html)

    What is exactly your question here, do you have trouble setting/getting attribute number 0x308? (by the way, in your code you are accessing attributes 0x308, 0x309, ..., 0x30C in the for loop, not just 0x308).
    Of course, you must have created the attributes before accessing them, which I assume you have done.

    Best regards
    Pourya