EthercatDevice_XXX.pdoRead()

[EthercatDevice_XXX]

Description

Read Slave Process Data Input.

Format

int pdoRead(uint16_t offset, void *data, uint32_t size);

Syntax

EthercatDevice_XXX slave;
slave.pdoRead();

Parameters

  • uint16_t offset: The ProcessData memory address.
  • void *data: Memory pointer data for read.
  • uint32_t size: Data Length.

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