EthercatDevice_XXX.pdoBitWrite()

[EthercatDevice_XXX]

Description

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

The text of the 86Duino reference is a modification of the Arduino reference and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

Leave a Comment

Scroll to Top