358 HEIDENHAIN Technical Manual MANUALplus 620
UpdAttributeInsert The indicated machine parameter is inserted in the machine configuration. The 
procedure is performed if...
 the control determines that the parameter is currently hidden or does not 
exist
 the current OEM version number of the configuration is less than the 
version number indicated in the update rule.
If you would like to insert a value for an optional machine parameter, you must 
set insertOptional:=TRUE.
If you do not enter a value, the control automatically uses the default 
parameter value when following the update rule.
Syntax:
Example:
UpdAttributeInsert  (
entity:="CfgOemBool",
version:=1.02,
key:="MG_OemBool",
attrName:="value"
index:=2,
insertOptional:=TRUE,
value:="TRUE"
)
A new index with the value TRUE is inserted for the marker MG_OemBool.
UpdAttributeInsert (
entity := STRING, ; Name of the configuration 
object
version := REAL, ; Version number
key := STRING,
(OPTIONAL)
; Key name of the configuration 
object
attrName := STRING, ; Name of the machine 
parameter to be inserted
index := UNSIGNED,
(OPTIONAL)
; Index for list parameters 
(arrays). If the parameter is a list, 
then it is inserted at the given 
location
insertOptional := BOOLEAN,
(OPTIONAL)
; Insert optional parameter
value := STRING
(OPTIONAL)
; Parameter value. Default value 
is used if nothing is entered.
)