EthercatDevice_XXX.getEntryDescription()

[EthercatDevice_XXX]

説明

(CoE) Get the entry description with the Slave index.

Format

int getEntryDescription(uint16_t od_index, uint8_t od_subindex, uint8_t *valueinfo, uint16_t *datatype, uint16_t *bitlength , uint16_t *objaccess, char *entryname, size_t entryname_size, uint32_t *abortcode = NULL, uint32_t timeout_us = ECAT_DEFAULT_COE_TIMEOUT_US);

Syntax

EthercatDevice_XXX slave;
slave.getEntryDescription();

Parameters

  • uint16_t od_index: CANOpen Object index.
  • uint8_t od_subindex: CANOpen Object sub-index.
  • uint8_t *valueinfo: data information.
  • uint16_t *datatype: data type.
  • uint16_t *bitlength: data bit-length.
  • uint16_t *objaccess: access and mapping attributes.
  • char *entryname: Entry name.
  • size_t entryname_size: Length of Entry name.
  • uint32_t *abortcode: SDO abort code pointer.
  • uint32_t timeout_us: Timeout, unit for microsecond.

Returns

Int: >=0 for Length of the Entry Name; if the return value is smaller than 0 means error.


Libraries Reference Home

86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。

コメントする

上部へスクロール