Technical data

Technology functions
CPU 317T: Technology Functions
6-218 A5E00251798-03
6.6.3 FB 407 MC_WriteParameter - Changing parameters
Valid for firmware version V3.1.x of the integrated technology
Purpose
You can use the "MC_WriteParameter" technology function to edit the
parameters of technology objects while the Technology CPU is in RUN. These
changes apply until the next POWER OFF / POWER ON or CPU memory reset
operation was carried out (exception: the value set during absolute value
adjustment is retained even under those conditions.)
Of the input parameters Value, ValueDInt, ValueDword1, ValueDword2 and
ValueBool, the system evaluates only those which conform to the relevant
technology parameter (for details, refer to the List of technology parameters).
The technology function can only modify parameters identified in the List of
technology parameters with access type "W", i.e. "Write" access.
Input parameter Index can be used for direct access to multi-parameters (the
value at input parameter Index is not evaluated for single parameters):
- Data records (Dataset_1 to Dataset_16)
- Encoders (Encoder_1 to Encoder_8)
- Synchronization objects (1 for synchronization object, 2 for superimposing
synchronization object)
!
Caution
The use of this technology function is intended for experienced users. Wrong input
may result in uncontrolled response of the drive!
The system does not check the plausibility of your entries.
Wrong input may lead to inconsistency of the technology object.
Applicable to
Parameters of the technology objects you configured in S7T Config.
Note that some parameter changes require a system restart (for information,
refer to the List of technology parameters "Activation" column.)
Requirements
The parameter defined by the parameter number and index must be available
and assigned the write attribute.
Overriding commands
An MC_WriteParameter command can not be canceled by any other command.
An MC_WriteParameter command does not cancel any other commands.