[EthercatDevice_XXX]
描述
讀取從站的 Input PDO。
格式
int pdoRead(uint16_t offset, void *data, uint32_t size);
語法
EthercatDevice_XXX slave;
slave.pdoRead();
參數
uint16_t offset
:PDO 的內存地址。void *data
:讀取內存指標數據。uint32_t size
:數據長度。
回傳
Int:0表示成功;如果返回值小於0表示錯誤。
函式庫參考主頁面
86Duino 參考的文本是根據 Creative Commons Attribution-ShareAlike 3.0 License,部分文本是從 the Arduino reference 修改的。 參考中的代碼示例已發佈到公共領域。