January 2012 4.2 The "Machine Parameters" Mode of Operation 355
UpdObjectRemove The indicated configuration object is removed from the current machine
configuration. If the name of a *.cfg file is entered, the configuration object is
removed only from the entered file. This procedure is performed during
startup of the control if the version number of the OEM configuration on the
control is older than the version number of the update rule.
The object to be removed is marked in the configuration editor. The user must
confirm the final removal by pressing the SAVE soft key in the configuration
editor.
Syntax:
Example:
UpdObjectRemove (
entity:="CfgOemBool",
version:=1.01,
key:="MG_OemBool",
file:="%OEM%\\config\\plc_oem.cfg
)
The indicated configuration object is removed from the plc_oem.cfg file. Other
*.cfg files of the machine configuration in which the object also exists are not
affected.
UpdObjectRemove (
entity := STRING, ; Name of the configuration object
version := REAL, ; Version number
key := STRING, ; Key name of the configuration
object
file := STRING
(OPTIONAL)
; Configuration object is removed
only from the entered file
)