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: Watchdog Counter increased.

Part Number: AMIC110

Hi,

My customer is developing the EtherCAT slave with AMIC110.

RxPDO was not mapped to Sync Manager 2 in tiescappl.h

The watchdog is disabled by writing 0 to the Watchdog Time PDI register (0x0410:0x0411) and Watchdog Time Process Data (0x0420:0x0421) register

in CheckSmSettings (ecatslv.c) but reading Watchdog Status Process Data (0x0440:0x0441) is 0, and the Watchdog Counter Process Data (0x0442) register

continues to increase.

is this possible?

  • Hi
    Sorry for the late response.

    SY Yoon said:
    RxPDO was not mapped to Sync Manager 2 in tiescappl.h

    Is it possible for you to share all the changes you made for this, including the changes in XML file ?

    Please note that there is a similar issue mentioned in Errata in PD/PDI watchdog counter issue section

    Regards
    Dhaval Khandla

  • Hi, 

    Thank you for your reply. 

    If PD/PDI watchdog counter issue is the cause, is there a workaround?

  • Hi

    SY Yoon said:
    If PD/PDI watchdog counter issue is the cause, is there a workaround?

    No

    As mentioned in Errata, "PDI/PD watchdog counter incremented by 1 whenever PDI/PD watchdog is disabled using EtherCAT master", but you are seeing it incrementing continuously. That is what I understood from the post. Please correct me if I am wrong. So the behavior is different in your case. If possible, can share all the changes you made for this, including the changes in XML file, so that we can re-create this issue on our side?

    Regards
    Dhaval Khandla

  • Hi,

    As I said before, customer's board doesn't map RxPDO to SyncMaster.

    This board is the input board.

    But the watchdog monitored process data output and expired if there is no a write access to a SyncMaster.

    In this case, since the PDO is not mapped to the SyncMaster, the watchdog continues to expire and an error is sent to the host.

    I don't want to send an error to the host.

    So I disabled the watchdog by writing 0 to the 0x0410:0x0411, but it didn't affect.

    I attach a file. xml file has error to upload so I changed file type from .xml to .log.

    You can change the file type from .log to .xml and then see it.

    EtherCAT_Test.log

  • Hi, 

    I shared XML file. 

    Could you check a file?

  • Hi
    Sorry for the delay in responding.

    I tried removing the <RxPdo> entries in XML, as I saw in your XML. And I ensured the SM2 size is 0 by returning pOutputSize as 0 in APPL_GenerateMapping function call. After this change, when I load the application and scan using TwinCAT, I am able to reach OP state. More importantly, I still see the same behaviour for WD PDI/SM counter. I see it incrementing by one only, not continuously.

    Regards
    Dhaval Khandla