66 / 79 Issued: 19.12.2012 Version: KST EthernetKRL 2.2 V1 en (PDF)
KUKA.EthernetKRL 2.2
Parameter 3 Type: CHAR
String read out of the memory
Maximum number of characters:
3,600
RET Type: EKI_STATUS
Return values of the function (>>> "Return values"
Page 36)
XML example RET = EKI_GetString("Channel_1", "Root/Message",
MyChars[])
Binary example RET = EKI_GetString("Channel_1", "Streams", MyS-
tream[])
RET = EKI_GetFrame(CHAR[], CHAR[], FRAME)
Function Reads a FRAME type 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: FRAME
Value read out of the memory
RET Type: EKI_STATUS
Return values of the function (>>> "Return values"
Page 36)
Example RET = EKI_GetFrame("Channel_1", "Root/TCP",
MyFrame)
RET = EKI_GetFrameArray(CHAR[], CHAR[], FRAME[])
Function Reads a FRAME type value out of a memory and cop-
ies 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: FRAME
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_GetFrameArray("Channel_1", "Root/
TCP", MyFrame[])
RET = EKI_GetString(CHAR[], CHAR[], CHAR[])