EasyManuals Logo

Siemens SINUMERIK 808D ADVANCED Commissioning Manual

Siemens SINUMERIK 808D ADVANCED
508 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
Page #322 background imageLoading...
Page #322 background image
Commissioning Manual
322 01/2017
Tag identifier
Meaning
XML_PARSER
Continued The parser also supplies variables so that the call-back functions can access the event
data.
startElementHandler:
Function parameters
tag_name - tag name
num - number of attributes found
System variables
$xmlAttribute String array that contains the 0-num attribute name range.
$xmlValue String array that contains the 0-num attribute value range.
Example:
<function_body name="startElementHandler" return="true"
parameter="tag_name, num">
<print text="attribute name %s"> $xmlAttribute[0]</print>
<print text="attribute value %s"> $xmlValue [0]</print>
</function_body>
endElementHandler:
Function parameters
tag_name - tag name
Example:
<function_body name="endElementHandler" parameter="tag_name">
<print text="name %s"> tag_name </print>
</function_body>
XML_PARSER
Continued
charactersHandler:
System variables
$xmlCharacters String with data
$xmlCharactersStart Always 0
$xmlCharactersLength Number of bytes
Example:
<function_body name="charactersHandler" return="true" >
<print text="chars %s"> $xmlCharacters </print>
</function_body>
documentHandler:
Function parameters
state 1 start document, 2 end document
errorHandler:
System variables
$xmlErrorString Contains the invalid line (system variable)
Example:
<function_body name="errorHandler" >
<print text="error %s">$xmlErrorString</print>
</function_body>
Call-back result:
$return If 1 (true), the parser continues parsing the file

Table of Contents

Other manuals for Siemens SINUMERIK 808D ADVANCED

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 808D ADVANCED and is the answer not in the manual?

Siemens SINUMERIK 808D ADVANCED Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 808D ADVANCED
CategoryControl Unit
LanguageEnglish

Related product manuals