Siemens SINUMERIK 808D Function Manual page 232

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

Advertisement

Tag identifier
DO_WHILE
DYNAMIC_INCLUDE
ELSE
232
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
instruction 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 corre-
sponding 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)
Function Manual
01/2017

Advertisement

Table of Contents
loading

Table of Contents