Siemens SINUMERIK 828D Commissioning Manual page 825

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

Advertisement

Tag identifier
CREATE_CYCLE
Easy XML
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Description
The tag generates an NC block, whose syntax is defined by the value of the NC_IN‐
STRUCTION tag.
Before generating the NC instruction, the parser calls the CYCLE_CRE‐
ATE_EVENT tag of the FORM. This tag can be used to calculate the cycle param‐
eters.
Syntax:
<CREATE_CYCLE/>
Option:
If a reference variable is specified, the instruction copies the generated call into
this variable.
<create_cycle refvar="name" />
Attribute:
● refvar
If the tag is assigned a reference variable, the NC instruction is copied to this
variable.
Example:
<LET name="cyc_string" type="string"> Cycle100(0, 1000, 5)</
LET>
<SOFTKEY_OK>
<caption>OK</caption>
<CREATE_CYCLE />
<close_form />
<navigation>main_menu</navigation>
</SOFTKEY_OK>
or
<SOFTKEY_OK>
<caption>OK</caption>
<CREATE_CYCLE refvar= "cyc_string" />
<close_form />
<navigation>main_menu</navigation>
</SOFTKEY_OK>
Generating user dialogs
1.7 Generating user menus
73

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents