Writing a simple parameter (SDO).

The EplWriteObject user defined function block is used for sending a simple SDO message to write a parameter to a slave.

Inputs

Parameter

Data type

Description

EN

BOOL

The message is sent on a rising edge of this input.

PORT

STRING

Name of the port (not used).

SLV

DINT

Powerlink slave number.

Object

DINT

SDO parameter index

Sub

DINT

SDO parameter sub-index

VAL

USINT

Parameter value

LEN

DINT

Number of bytes to send - from 1 to 4.

TO

TIME

Timeout for exchange

Outputs

Parameter

Data type

Description

Ready

BOOL

  • TRUE when the block is ready
  • FALSE during an exchange

RC

DINT

Powerlink return check


Created with the Personal Edition of HelpNDoc: Easily create Web Help sites