[EthercatDevice_XXX]
説明
(CoE) Get the object list from the EtherCAT Slave device to EtherCAT Master.
Format
int getODlist(uint16_t *list, uint32_t list_size, uint32_t *abortcode = NULL, uint32_t timeout_us = ECAT_DEFAULT_COE_TIMEOUT_US);
Syntax
EthercatDevice_XXX slave;
slave.getODlist();
Parameters
uint16_t *list
: pointer of the object list.uint32_t list_size
: pointer size of the object list.uint32_t *abortcode
: SDO abort code pointer.uint32_t timeout_us
: Timeout, unit for microsecond.
Returns
Int: >=0 for number of object in object list; if the return value is smaller than 0 means error.
Libraries Reference Home
86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。