Substitution Characters - Siemens SINUMERIK 808D ADVANCED Series Commissioning Manual

Hide thumbs Also See for SINUMERIK 808D ADVANCED Series:
Table of Contents

Advertisement

Tag identifier
CREATE_CYCLE
14.7.2

Substitution characters

The system offers the option of defining control properties (attribute values) for the runtime. In order to use this function, the
desired property must be set in a local variable and the variable name must be transferred to the tag as an attribute value
preceded by the character $.
If the tag expects a string as attribute value or value, the $$$ characters must be placed in front of the variable name.
Example:
<let name="my_ypos">100</let>
<let name="field_name" type="string"></let>
<control name = "edit1" xpos = "322" ypos = "$my_ypos" refvar="nck/Channel/Parameter/R[1]"
/>
<op>my_ypos = my_ypos +20 </op>
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
Description
The tag generates an NC block, whose syntax is defined by the value of the
NC_INSTRUCTION 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.
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>
335

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808d advanced t

Table of Contents