EthercatDevice_XXX.pdoBitRead()

[EthercatDevice_XXX]

Description

Read Bit of Process Data Input.

Format

int pdoBitRead(uint32_t bit_offset);

Syntax

EthercatDevice_XXX slave;
slave.pdoBitRead();

Parameters

  • uint32_t bit_offset: The ProcessData memory address, Unit: Bit.

Returns

Int: 1-bit data value; if the return value is smaller than 0 means an 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