EasyManua.ls Logo

Kuka KUKA.EthernetKRL 2.2 - Page 65

Kuka KUKA.EthernetKRL 2.2
79 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
65 / 79Issued: 19.12.2012 Version: KST EthernetKRL 2.2 V1 en (PDF)
9 Appendix
RET Type: EKI_STATUS
Return values of the function (>>> "Return values"
Page 36)
Example RET = EKI_GetIntArray("Channel_1", "Root/Numbers/
One", MyInteger[])
RET = EKI_GetReal(CHAR[], CHAR[], Real)
Function Reads a floating point 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: REAL
Value read out of the memory
RET Type: EKI_STATUS
Return values of the function (>>> "Return values"
Page 36)
Example RET = EKI_GetReal("Channel_1", "Root/Position",
MyReal)
RET = EKI_GetRealArray(CHAR[], CHAR[], Real[])
Function Reads a floating point 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: REAL
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_GetRealArray("Channel_1", "Root/Posi-
tion", MyReal[])
RET = EKI_GetString(CHAR[], CHAR[], CHAR[])
Function Reads a string 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 or name of
the element in the raw data
RET = EKI_GetIntArray(CHAR[], CHAR[], Int[])

Table of Contents

Related product manuals