Input DescriptionΒΆ

../_images/ea8dbcbb40db162e0a331390008a2c0e

EN (enable)

Data_Type Default_Value Range Unit
BOOL - - -

In order to enable the function block processing, input EN has to be continuously set to TRUE. The function block is not processed if input EN = FALSE. While input is set to TRUE, the inputs are continuously checked for validity and plausibility. If this is not the case, processing is aborted and an error is displayed.

SLOT

Data_Type Default_Value Range Unit
BYTE 0 - -

The input parameter SLOT chooses the ETHERCAT Communication Module to be queried. The slots are numbered from right to left. Slot number 1 is the one beside the CPU.

NODE

Data_Type Default_Value Range Unit
WORD 0 - -

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 (timeout)

Data type: DWORD, default value: 0, unit: ms

Timeout until the information from the slave must be available.