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.

Multiple AM335x ICE with Twincat 3

Hi, I am new to Ethercat & Twincat,

Im trying to reproduce the scenario  given in TI guide in  with 2 ICE boards, It works well with one board, but when connected in daisy chain mode, if I enter a value for the LEDs 32bitOutput, in either boxes  (of the two) I would only activate the first board, Pls let me know how to sort this

Thanks

  • Hi,

    I will try to forward this to Industrial SDK support, but response will probably be delayed as most people are already out for the holidays.

  • Hello,

    Can you please check if your second box is in the OP state? Double-click the Device, and go to the Online tab which appears to see the State of all the boxes.

    Thanks,
    Srikant
  • Hi,

    Thanks for getting back, Both units are in OP state.
    Still the output only goes to one box.

    Thanks.

    Mendis

  • Hi Mendis,

    Just to confirm, when you change the 32Bit Output under Box 1, you see LEDs on first board toggled according to your input, but when you change the 32Bit Output under Box 2, LEDs on second board remain in the previous states. Is that correct? Also, are all the LEDs on second board OFF, or are they switched on in a particular combination? Are you using v1 or v2 boards?

    Thanks,

    Srikant

  • Hi,
    Yes, When I change output under box1, LEDs on board 1 change accordingly. When I change outputs on box2, Second board remains in the previous state. BUT FIRST board lights up (ADDS) instead.
    Box1 0x2 -> LED2 lights up in Board 1
    Box2 0x4 -> LED 2 & 3 lights up in Board 1 -- no state change in board 2

    It is the same even when the two boards were interchanged and reprogrammed.

    Both boards switches off the LEDs from walk sequence after putting in OP mode.

    Using v1 boards.

    Thanks
    Arjuna Mendis

  • Hi,

    We tried out this scenario with two ICE v1s and were able to operate LEDs on both ICE boards from TwinCAT 3.

    To troubleshoot further, could you provide us with a capture of the traffic using Wireshark and configuring Promiscuous mode on TwinCAT? To configure promiscuous mode on TwinCAT, double-click "Device", open "Adapter" tab, and check "Promiscuous mode (use with Wireshark only)". You need to restart config mode after configuring this.

    Thanks,
    Srikant
  • What is meant by the following?
    Box1 0x2 -> LED2 lights up in Board 1
    Box2 0x4 -> LED 2 & 3 lights up in Board 1 -- no state change in board 2

    We tried writing value 0x2 to Box1 output and 0x4 to Box2 output. Writing to Box2 output changed only LED on Box2.

    Thanks,
    Srikant