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.

AMIC110: How to use EIP tool to light LED on ICE110

Genius 5785 points
Part Number: AMIC110

Hello Experts,

I'm evaluating EtherNet/IP with PRU-ICSS-ETHERNETIP-ADAPTER v1.0.3.4 and PDK v1.0.12(PSDK-RTOS v5.1.0.11).

I can get the attributes from ICE110 with Molex EIP Tool v2.3. When selecting "C-Copy IN -> OUT" or "U-Increment Data" in the demo menu, I suppose that the LED will light according to the received data. How do I use EIP Tool for sending the data to ICE110?

Regards,
Kzk

  • Hello,

    For EtherNet/IP, do you have a simple way to turn on the LEDs of the ICE using TwinCAT like EtherCAT? I'd like to try to light the LEDs of the ICE using EIP tool etc. without using PLC. Please give me some advice.

    Regards,
    Kzk

  • Hi KzK, maybe you can use something similar to EIPDEV_copyINtoOUTData()?, where you inside toggle LEDs. I am not too familiar with EIP tool, but you probably could change Input data from there..

    In EtherCAT this is done via PDO, and application read sDOOutputs.LEDs and set LEDs with sDOOutputs.LEDs()

    C:\TI\PRU-ICSS-EtherCAT_Slave_01.00.06.01\protocols\ethercat_slave\ecat_appl\EcatStack\tiescappl.c
    void APPL_Application(void)
    {
    uint8_t LED; // initial test data
    static uint8_t prevState = 55;

    LED = sDOOutputs.LEDs;

    if(LED != prevState)
    {
    Board_setDigOutput(LED);
    }


    thank you,
    Paula
  • Hi Kzk, apologize, I missed to read your first post.. I will ask around about EIP tool. But, did you try using "Explicit message"?

    thank you,
    Paula
  • Hi Paula,

    Thank you for your reply. Yes, I've used Explicit Message. There is an Explicit Message tab in EIP tool. I select and issue a Get Attributes All (01, 02, 20, 01, 24, 01) request and receive the desired response. By using the functionality of this tab, it's possible to issue a request to ICE110, but I don't know how to set a certain request data for lighting the LED. Please let me know if you have any advice.

    Regards,
    Kzk

  • Hi KzK, I asked our developers, and internally we haven't used EIP tool in cycle communication mode (we don't know if it is possible). Our developers have used PLCs or EDITT tool for this purpose.

    thank you,

    Paula

  • Hi Paula,

    Thanks anyway. That's kind of you.

    Regard,

    Kzk