Input Description

../_images/6fc8a66de48d40f20a317f345cb67281

EN

Data_Type Default_Value Range Unit
BOOL FALSE TRUE/FALSE -

The input EN has to be driven in edge triggered mode.

The execution of the Function Block is started with a positive edge on the input EN.

In the first call it evaluates its inputs and creates a local copy of them. Afterwards it starts its internal algorithm. It may take several PLC task cycles until it is executed.

Once the execution is completed DONE and its other outputs are set. To start the Function Block again a new positive edge on the input EN has to be applied.

SLOT

Data_Type Default_Value Range Unit
BYTE 0 0 … 4 (6) -

At input SLOT, the Communication Module slot is specified which should be used by the Function Block.

The internal Communication Module always has the index 0. All external Communication Modules are serially numbered from right to left, starting with 1.

NODE

Data_Type Default_Value Range Unit
DWORD 0 1 … 4294967295 -

NODE represents the ETHERCAT address of the slave.

DRIVE_NR (drive number)

Data type: BYTE, default value: 0

Drive number, starting with 0

SERCOS_ID (sercos id)

Data type: WORD, default value: 0

SERCOS Identification Number of the Object to be read.

FLAG (flag)

Data type: BYTE, default value: 0

Read Flag, following values are allowed:

  • 0x01: SOE_ELEMENT_FLAGS_DATASTATE
  • 0x02: SOE_ELEMENT_FLAGS_NAME
  • 0x04: SOE_ELEMENT_FLAGS_ATTRIBUTE
  • 0x08: SOE_ELEMENT_FLAGS_UNIT
  • 0x10: SOE_ELEMENT_FLAGS_MIN
  • 0x20: SOE_ELEMENT_FLAGS_MAX
  • 0x40: SOE_ELEMENT_FLAGS_VALUE

MAX_LEN (maximum length)

Data type: DWORD, default value: 0

Maximal length of the data array.

DATA (pointer to the data array)

Data type: POINTER TO ARRAY OF BYTE

Pointer to the Receive Buffer.

TOUT

Data_Type Default_Value Range Unit
DWORD 0 0 … 4294967295 ms

Value of timeout in ms.