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.

[参考译文] LP-AM243:industrial_comms/ethercat_slave_demo、IT's RxPDO 和 TxPDO 可以映射相同的对象?

Guru**** 2348430 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1450696/lp-am243-industrial_comms-ethercat_slave_demo-it-s-rxpdo-and-txpdo-can-be-mapped-same-object

器件型号:LP-AM243

工具与软件:

大家好、 大家好、团队

About am243x 工业通信 SDK example、examples/industrial_comms/ethercat_slave_demo/device_profiles/401_simple/ecSlvSimple.c、

当  ecSlvSimple.c 中的 CB 函数 EC_SLV_APP_SS_applicationRun ()为空时,它可能能够通过 PDO 和 它的入口对象进行通信。

但是、更改后的 TxPDO 映射与 RxPDO 映射相同(如下表所示)、PDO 和 SDO 通信将无法正常工作。

是规范吗?  在这种情况下、是否有纠正方法?  

RxPDO
索引1600:01 0x7000110
索引1600:02 0x7000210
TxPDO
索引1A00:01 0x7000110
索引1A00:02 0x7000210

您是否有任何有关此程序的 EtherCAT 通信顺序的文档?

此致、

小山

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    函数  EC_SLV_APP_SS_applicationRun() 是与 EtherCAT 帧同步的 EtherCAT 从站应用功能。 即使此应用程序函数为空、EtherCAT 从站堆栈也能够与 EtherCAT 主站通信。

    通常、同一个对象条目不会同时映射到 TxPDO 和 RxPDO。 如果万一情况发生、输入需要环回到输出、或相反、则这应在 PLC 逻辑或从应用程序侧发生。  

    您可以在 EtherCAT Simple Demo 中找到该示例的详细信息

    此致、

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    感谢您回答我的问题 Harsha,我理解。