Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
289
Conditional cancellation of a loop.
The tag is used to generate control elements.
The tag enables one or more control components to be restarted.
<CONTROL_RESET resetnc="TRUE" />
•
The NC component is restarted.
If the parser starts to process the tag CREATE_CYCLE, initially, the message
<CREATE_CYCLE_EVENT> is sent to the active form. This message can be used for
preparing the cycle parameters, before the parser generates the NC operation from the
parameter list and the generation rule.
<CREATE_CYCLE_EVENT>
…
…
</CREATE_CYCLE_EVENT>
<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>
…
…