1.7 Generating user menus
1.7.1
Creating processing cycle forms
The cycle support function allows the automatic creation and decompilation of a cycle call
through the form dialog.
To manage this functionality, the following tags are available:
● NC_INSTRUCTION
● CREATE_CYCLE
To mark a cycle form, in the FORM
tag, the attribute
type should be specified with the value
cycle. This marking allows the NC_INSTRUCTION to be processed.
Example
<FORM name = "cycle100_form" type= "CYCLE">
…
…
</FORM>
The NC_INSTRUCTION tag contains the cycle call to be generated. All cycle parameters
should be reserved using space retainers.
Example
<FORM name = "cycle100_form" type= "CYCLE">
<NC_INSTRUCTION refvar= "cyc_string" >Cycle100 ($p1, $p2, $p3)</
NC_INSTRUCTION>
…
…
…
</FORM
The CREATE_CYCLE tag prepares the values saved in the space retainer variables and
generates the NC instruction.
Generating user dialogs
1.7 Generating user menus
Easy XML
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3 71