EthercatDevice_XXX.pdoWrite16()

[EthercatDevice_XXX]

Description

Write Slave Process Data Output. (unit16_t)

Format

int pdoWrite16(uint16_t offset, uint16_t value);

Syntax

EthercatDevice_XXX slave;
slave.pdoWrite16();

Parameters

  • uint16_t offset: The ProcessData memory address.
  • uint16_t value: 2-byte Data.

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