Tag identifier
CREATE_CYCLE_EVENT
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Meaning
If the parser starts to process the tag CREATE_CYCLE, initially, the message <CRE‐
ATE_CYCLE_EVENT sent> is sent to the active form. This message can be used for pre‐
paring the cycle parameters, before the parser generates the NC operation from the pa‐
rameter list and the generation rule.
Syntax:
<CREATE_CYCLE_EVENT>
...
...
</CREATE_CYCLE_EVENT>
Example:
<SOFTKEY_OK>
...
<CREATE_CYCLE />
...
...
<SOFTKEY_OK>
...
...
<FORM>
<NC_INSTRUCTION>MY_CYCLE($P1, $P2)</ NC_INSTRUCTION >
...
...
<CREATE_CYCLE_EVENT>
<type_cast name="P1" type="int"/>
<OP> P1 = P1 * 150 </OP>
</CREATE_CYCLE_EVENT>
...
...
</FORM>
Generating user dialogs
1.7 XML identifier
23