Reading an array parameter (SDO).

The EplReadArray user defined function block is used for sending a simple SDO message to read an array parameter from 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

Parameter index

Sub

DINT

Parameter sub-index

VAL[]

USINT[]

Read array parameter value answered by the slave

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: Full-featured Kindle eBooks generator