Siemens SINUMERIK 828D Commissioning Manual page 772

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Generating user dialogs
1.6 XML identifier
Tag identifier
DO_WHILE
DYNAMIC_INCLUDE
ELSE
20
Meaning
Do while loop
DO
Instructions
WHILE (Test)
Syntax:
<DO_WHILE>
Instructions
...
<CONDITION>...</CONDITION>
</DO_WHILE>
The Do While loop comprises a block of instructions and a condition. The code in the in‐
struction block is executed first, then the condition is applied. If the condition is true, the
function executes the code section again. This is continually repeated until the condition is
false.
Example:
<DO_WHILE>
<DATA name = "PLC/qb11"> 15 </DATA>
<CONDITIION> "plc/ib9" == 0 </CONDITION>
</DO_WHILE>
The tag includes an XML script file.
Contrary to the INCLUDE tag, read-in is first only realized when executing the corresponding
operation.
For large projects, the use of the tag reduces the load time of the customer area and/or the
cycle support. Further, the average level of resources is reduced, as not all of the dialogs
are always called during a session.
Syntax:
<DYNAMIC_INCLUDE src="path name"/>
Example:
<SOFTKEY POSITION="3">
<CAPTION>MY_MENU</CAPTION>
<DYNAMIC_INCLUDE src/>
<NAVIGATION>MY_MENU</NAVIGATION>
</SOFTKEY>
Instruction for situations where the condition has not been met (IF, THEN, ELSE)
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Easy XML

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents