24 / 79
Issued: 19.12.2012 Version: KST EthernetKRL 2.2 V1 en (PDF)
Example
6.1.2
XML structure for data reception
Description
The configuration depends on whether XML data or binary data are received.
An XML structure has to be defined for the reception of XML data: <XML>
… </XML>
Raw data have to be defined for the reception of binary data: <RAW> …
</RAW>
Attributes in the elements of the XML structure <XML> … </XML>:
<CONFIGURATION>
<EXTERNAL>
<IP>172.1.10.5</IP>
<PORT>60000</PORT>
<TYPE>Server</TYPE>
</EXTERNAL>
<INTERNAL>
<ENVIRONMENT>Program</ENVIRONMENT>
<BUFFERING Mode="FIFO" Limit="10"/>
<BUFFSIZE Limit="16384"/>
<TIMEOUT Connect="60000"/>
<ALIVE Set_Out="666" Ping="200"/>
<IP>192.1.10.20</IP>
<PORT>54600</PORT>
<PROTOCOL>TCP</PROTOCOL>
<Messages Display="disabled" Logging="error"/>
</INTERNAL>
</CONFIGURATION>
Element
Attribute
Description
ELEMENT
Tag
Name of the element
The XML structure for data reception is defined
here (XPath).
(
>>>
6.1.4 "Configuration according to the
ELEMENT
Type
Data type of the element
STRING
REAL
INT
BOOL
FRAME
Note
: Optional if the tag is used only for event
messages. In this case no memory capacity is
reserved for the element.
Event flag example
: <ELEMENT Tag="Ext"
Set_Flag="56"/>
Summary of Contents for KUKA.EthernetKRL 2.2
Page 8: ...8 79 Issued 19 12 2012 Version KST EthernetKRL 2 2 V1 en PDF KUKA EthernetKRL 2 2 ...
Page 16: ...16 79 Issued 19 12 2012 Version KST EthernetKRL 2 2 V1 en PDF KUKA EthernetKRL 2 2 ...
Page 20: ...20 79 Issued 19 12 2012 Version KST EthernetKRL 2 2 V1 en PDF KUKA EthernetKRL 2 2 ...
Page 40: ...40 79 Issued 19 12 2012 Version KST EthernetKRL 2 2 V1 en PDF KUKA EthernetKRL 2 2 ...
Page 52: ...52 79 Issued 19 12 2012 Version KST EthernetKRL 2 2 V1 en PDF KUKA EthernetKRL 2 2 ...
Page 58: ...58 79 Issued 19 12 2012 Version KST EthernetKRL 2 2 V1 en PDF KUKA EthernetKRL 2 2 ...
Page 76: ...76 79 Issued 19 12 2012 Version KST EthernetKRL 2 2 V1 en PDF KUKA EthernetKRL 2 2 ...
Page 79: ...79 79 Issued 19 12 2012 Version KST EthernetKRL 2 2 V1 en PDF KUKA EthernetKRL 2 2 ...