Siemens SINUMERIK 840DE sl Commissioning Manual page 756

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Generating user dialogs
1.7 XML identifier
Tag identifier
SLEEP
STOP
SWITCH
38
Meaning
The tag interrupts script execution for the specified period. The interruption time is obtained
from the transferred value multiplied by the time base of 50 ms.
Syntax:
<SLEEP value="Interruption time" />
Example:
Wait time, 1.5 sec.
<SLEEP value="30" />
Interpretation is canceled at this point.
The SWITCH instruction describes a multiple choice. A term is evaluated once and com‐
pared with a number of constants. If the expression matches the constants, the instructions
are executed within the CASE instruction.
The DEFAULT instruction is executed when none of the constants match the expression.
Syntax:
<SWITCH>
<CONDITION> Value </CONDITION>
<CASE value="<Constant 1>">
Instructions
...
</CASE>
<CASE value="<Constant 2>">
Instructions
...
</CASE>
<DEFAULT>
Instructions
...
</DEFAULT>
</SWITCH>
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Easy XML

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents