January 2012 4.7 Machine-Parameter Subfiles 383
4.7 Machine-Parameter Subfiles
Individual data from the configuration files can be taken into the MP subfiles.
These subfiles can be superimposed on the machine parameters during run
time.
In principle, all files that do not require a system restart can be superimposed.
The MP subfiles are usually activated by the PLC, but they can also be
activated manually by using the configuration editor.
4.7.1 Syntax of machine-parameter subfile
The syntax of an MP subfile corresponds to that of a basic file.
Subfiles differ from basic files in that only the entities or attributes to be
changed must be described.
In basic files a data object (entity) must be described completely. This means
that the basic file must contain the "key" and all "attributes" of the entity.
entity(
key:= Key4711,
attribute1:= value1,
attribute2:= value2,
attribute3:= value3,
attribute4:= value4,
)
In subfiles, only the required data needs to be indicated. Entity and key,
however, must always be indicated.
Please note: MP subfiles must not contain any reset parameters.
Example of MP subfile with a new value for attribute 3:
entity(
key:= Key4711,
attribute3:= valuex
)