EthercatDevice_XXX.pdoRead32()

[EthercatDevice_XXX]

描述

讀取從站的 Input PDO。(unit32_t)

格式

uint32_t pdoRead32(uint16_t offset);

語法

EthercatDevice_XXX slave;
slave.pdoRead32();

參數

  • uint16_t offset:PDO 的內存地址。

回傳

uint32_t:4-byte 的數據。如果出錯,返回值為0。


函式庫參考主頁面

86Duino 參考的文本是根據 Creative Commons Attribution-ShareAlike 3.0 License,部分文本是從 the Arduino reference 修改的。 參考中的代碼示例已發佈到公共領域。

發表評論

上部へスクロール