Siemens SINUMERIK 808D ADVANCED Commissioning Manual page 318

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

Advertisement

Tag identifier
SHOW_CONTROL
SLEEP
STOP
SWITCH
THEN
318
Meaning
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" />
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" />
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 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>
Instruction if the condition has been fulfilled (IF, THEN, ELSE)
Commissioning Manual
01/2017

Advertisement

Table of Contents
loading

Table of Contents