64 / 79 Issued: 19.12.2012 Version: KST EthernetKRL 2.2 V1 en (PDF)
KUKA.EthernetKRL 2.2
RET = EKI_GetBoolArray(CHAR[], CHAR[], BOOL[])
Function Reads a Boolean value out of the memory and copies
the value into the array transferred by the KRL pro-
gram
Values are read until the array is full or no element is
present anymore.
Parameter 1 Type: CHAR
Name of the open channel
Parameter 2 Type: CHAR
Name of the position in the XML structure
Parameter 3 Type: BOOL
Array read out of the memory
Maximum number of readable array elements:
512
RET Type: EKI_STATUS
Return values of the function (>>> "Return values"
Page 36)
Example RET = EKI_GetBoolArray("Channel_1", "Root/Activ",
MyBool[])
RET = EKI_GetInt(CHAR[], CHAR[], Int)
Function Reads an integer value out of a memory
Parameter 1 Type: CHAR
Name of the open channel
Parameter 2 Type: CHAR
Name of the position in the XML structure
Parameter 3 Type: INT
Value read out of the memory
RET Type: EKI_STATUS
Return values of the function (>>> "Return values"
Page 36)
Example RET = EKI_GetInt("Channel_1", "Root/Numbers/
One", MyInteger)
RET = EKI_GetIntArray(CHAR[], CHAR[], Int[])
Function Reads an integer value out of a memory and copies
the value into the array transferred by the KRL pro-
gram
Values are read until the array is full or no element is
present anymore.
Parameter 1 Type: CHAR
Name of the open channel
Parameter 2 Type: CHAR
Name of the position in the XML structure
Parameter 3 Type: INT
Array read out of the memory
Maximum number of readable array elements:
512