Siemens SINUMERIK 808D ADVANCED Series Commissioning Manual page 305

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

Advertisement

Tag identifier
TYPEDEF Continued
WAITING
WHILE
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
Meaning
Some predefined functions expect variables of structure type RECT, POINT, or SIZE as
the call parameter. These structures are defined in the file struct_def.xml.
RECT:
<typedef name="StructRect" type="struct" >
<element name="left" type="int">0</element>
<element name="top" type="int">0</element>
<element name="right" type="int">0</element>
<element name="bottom" type="int">0</element>
</typedef>
POINT:
<typedef name="StructPoint" type="struct" >
<element name="x" type="int">0</element>
<element name="y" type="int">0</element>
</typedef>
SIZE:
<typedef name="StructSize" type="struct" >
<element name="width" type="int">0</element>
<element name="height" type="int">0</element>
</typedef>
The tag waits for the component to undergo a hot restart after an NC or drive reset.
Attributes:
WAITINGFORNC = "TRUE" - the system waits for the NC to restart
Syntax:
<WAITING WAITINGFORNC = "TRUE"/>
Example:
...
<CONTROL_RESET resetnc = "true"/>
<WAITING waitingfornc = "true"/>
...
WHILE loop
WHILE (Test)
Instruction
Syntax:
<WHILE>
<CONDITION>...</CONDITION>
Instructions
...
</WHILE>
The While loop executes a sequence of instructions repeatedly while a condition is met.
This condition is tested before the sequence of instructions is executed.
Example:
<WHILE>
<CONDITION> "plc/ib9" == 0 </CONDITION>
<DATA name = "PLC/qb11"> 15 </DATA>
</WHILE>
305

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808d advanced t

Table of Contents