Siemens SINUMERIK 840DE sl Commissioning Manual page 801

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

Advertisement

Tag identifier
CREATE_CYCLE
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
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.8 Generating user menus
83

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents