EthercatDevice_XXX.pdoBitWrite()

[EthercatDevice_XXX]

説明

Write Bit of Process Data Output.

Format

int pdoBitWrite(uint32_t bit_offset, uint8_t value);

Syntax

EthercatDevice_XXX slave;
slave.pdoBitWrite();

Parameters

  • uint32_t bit_offset: The ProcessData memory address, Unit: Bit
  • uint8_t value: 1-byte memory pointer point to the data for writing to ProcessData.

Returns

Int: 0 for successful; if the return value is smaller than 0 means error.


Libraries Reference Home

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

コメントする

上部へスクロール