63 / 79Issued: 19.12.2012 Version: KST EthernetKRL 2.2 V1 en (PDF)
9 Appendix
9.4.4 Reading data
Parameter 3 Type: FRAME
Value written in the memory
RET Type: EKI_STATUS
Return values of the function (>>> "Return values"
Page 36)
Example RET= EKI_SetFrame("Channel_1", "Root/BASE", {X
0.0, Y 0.0, Z 0.0, A 0.0, B 0.0, C 0.0})
RET = EKI_SetString(CHAR[], CHAR[], CHAR[])
Function Writes a string in 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: CHAR
String written in the memory
Maximum number of characters:
3,600
RET Type: EKI_STATUS
Return values of the function (>>> "Return values"
Page 36)
Example RET = EKI_SetString("Channel_1", "Root/Message",
"Hello")
RET = EKI_SetFrame(CHAR[], CHAR[], FRAME)
RET = EKI_GetBool(CHAR[], CHAR[], BOOL)
Function Reads a Boolean 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: BOOL
Value read out of the memory
RET Type: EKI_STATUS
Return values of the function (>>> "Return values"
Page 36)
Example RET = EKI_GetBool("Channel_1", "Root/Activ",
MyBool)