[EthercatDevice_XXX]
説明
(CoE) Read the object from EtherCAT Slave device to EtherCAT Master. (unit16_t)
Format
uint16_t sdoUpload16(uint16_t od_index, uint8_t od_subindex, uint32_t timeout_us = ECAT_DEFAULT_COE_TIMEOUT_US);
Syntax
EthercatDevice_XXX slave;
slave.sdoUpload16();
Parameters
uint16_t od_index
: CANOpen Object index.uint8_t od_subindex
: CANOpen Object sub-index.uint32_t timeout_us
: Timeout, unit for microsecond.
Returns
Unit16_t: 2-byte data value. If error, the return value is 0.
Libraries Reference Home
86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。