25 / 79Issued: 19.12.2012 Version: KST EthernetKRL 2.2 V1 en (PDF)
6 Programming
Attributes for the element in the raw data <RAW> … </RAW>:
ELEMENT Set_Out Sets an output or flag after receiving the ele-
ment (optional)
Number of the output:
1 … 4,096
Number of the flag:
1 … 1,025
Set_Flag
ELEMENT Mode Method used to process a data record in the
data memory
FIFO: First In First Out
LIFO: Last In First Out
Only relevant if individual data records are to
be treated differently than configured under
BUFFERING for the interface.
Element Attribute Description
Element Attribute Description
ELEMENT Tag Name of the element
ELEMENT Type Data type of the element
BYTE: Binary data record of fixed length
STREAM: Variable binary data record with
end string
ELEMENT Set_Out Sets an output or flag after receiving the ele-
ment (optional)
Number of the output:
1 … 4 096
Number of the flag:
1 … 1 025
Set_Flag
ELEMENT EOS End string of an elementary piece of informa-
tion (only relevant if TYPE = STREAM)
ASCII encoding: 1 … 32 characters
Alternative end is separated by means of
the “Ι” character.
Examples:
<ELEMENT … EOS="123,134,21"/>
<ELEMENT … EOS="123,134,21Ι13,10"/>
ELEMENT Size Fixed size of information if TYPE = BYTE
1 … 3,600 bytes
Maximum size of information if TYPE =
STREAM
1 … 3,600 bytes