Commissioning Manual
01/2017
351
The tag generates an NC block, whose syntax is defined by the value of the
tag.
Before generating the NC instruction, the parser calls the
CYCLE_CREATE_EVENT tag of the FORM. This tag can be used to calculate
the cycle parameters.
<CREATE_CYCLE/>
If a reference variable is specified, the instruction copies the generated call into
this variable.
<create_cycle refvar="name" />
•
If the tag is assigned a reference variable, the NC instruction is copied to this
variable.
<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>