EthercatDevice_XXX.pdoWrite()

[EthercatDevice_XXX]

Description

Write Slave Process Data Output.

Format

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

Syntax

EthercatDevice_XXX slave;
slave.pdoWrite();

Parameters

  • uint16_t offset: The ProcessData memory address.
  • void *data: Memory pointer data write.
  • 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