EasyManua.ls Logo

Siemens SINUMERIK 808D ADVANCED Series - Page 303

Siemens SINUMERIK 808D ADVANCED Series
480 pages
Print Icon
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
6FC5397-4EP10-0BA8, 07/2018
303
Tag identifier
Meaning
SHOW_CONTROL
The visibility of a control can be controlled using the tag.
Syntax:
<SHOW_CONTROL name="<name>" type="<type>" />
Attributes:
name
Name of the control
type =
"TRUE" - control becomes visible
type
= "FALSE" - control becomes invisible (hidden)
Example:
<SHOW_CONTROL name="myEditfield" type="false" />
<SHOW_CONTROL name="myEditfield" type="true" />
SLEEP
The tag interrupts script execution for the specified period. The interruption time is ob-
tained from the transferred value multiplied by the time base.
Syntax:
<SLEEP value="Interruption time" />
Example:
Wait time, 30 * time base.
<SLEEP value="30" />
STOP
Interpretation is canceled at this point.
SWITCH
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 instruc-
tions 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>
THEN
Instruction if the condition has been fulfilled (IF, THEN, ELSE)

Table of Contents

Related product manuals