EasyManua.ls Logo

Siemens SINUMERIK 808D ADVANCED Series

Siemens SINUMERIK 808D ADVANCED Series
480 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...
Commissioning Manual
308 6FC5397-4EP10-0BA8, 07/2018
Tag identifier
Meaning
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
14.6.3
System variables
The system variables can be used in the EasyXLanguage scripts for the data exchange between a script parser and a
program flow.
The table below provides the automatically created system variables that can be used in the relevant tags.
System variable
Description
Tags where valid
$actionresult Notifies a script parser of whether the event can be execut-
ed
KEY_EVENT
$focus_name
$focus_item_data
Contains the name of the control that has the input focus
Contains the numeric value of item_data, which was as-
signed to the control
FOCUS_IN
INDEX_CHANGED
EDIT_CHANGED
$return
Transfers the return values of a subfunction
FUNCTION_BODY
$message_par1
$message_par2
Contains the parameters for calling the SEND_MESSAGE
function
MESSAGE
$keycode
$actionresult
Contains the key codes with executable scripts
KEY_EVENT
$xmlAttribute
$xmlValue
$xmlCharacters
$xmlCharactersStart
$xmlCharactersLength
Contains the attribute list of the obtained variables
Contains the value list of the obtained variables
Contains the data stream
Contains the start index
Contains the number of characters saved in a data stream
XML_PARSER - startEl-
ementHandler
XML_PARSER - character-
sHandler

Table of Contents

Related product manuals