EasyManuals Logo

Siemens SINUMERIK ONE MCP 2400.4c Commissioning Manual

Siemens SINUMERIK ONE MCP 2400.4c
1734 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 #760 background imageLoading...
Page #760 background image
Tag identifier Meaning
WHILE WHILE loop
WHILE (Test)
Instruction
Syntax:
<WHILE>
<CONDITION>…</CONDITION>
Instructions
</WHILE>
The While loop executes a sequence of instructions repeatedly while a condition is met.
This condition is tested before the sequence of instructions is executed.
Example:
<WHILE>
<CONDITION> "plc/ib9" == 0 </CONDITION>
<DATA name = "PLC/qb11"> 15 </DATA>
</WHILE>
XML_PARSER The “XML_PARSER” tag can be used to parse XML files.
The parser interprets an XML file and calls defined call-back functions. Each call-back func‐
tion belongs to a predefined event. The programmer can process the XML data within this
function.
Predefined events:
start document
The parser opens the document and starts parsing.
end document
The parser closes the document.
start element
The parser has found an element and creates a list with all attributes and attribute values.
These lists are forwarded to the call-back function.
end element
The end of the element has been found.
characters
The parser forwards all characters of an element.
error
The parser has detected a syntax error.
When an event occurs, the parser calls the callback function and checks the return value
of the function. If the function returns the value "true", the parser continues the process.
Generating user dialogs
1.7 XML identifier
Easy XML
42 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1

Table of Contents

Other manuals for Siemens SINUMERIK ONE MCP 2400.4c

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK ONE MCP 2400.4c and is the answer not in the manual?

Siemens SINUMERIK ONE MCP 2400.4c Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK ONE MCP 2400.4c
CategoryControl Systems
LanguageEnglish

Related product manuals