Programming
7.2 Technology data block
S7-1500 Motion Control V13 Update 3
Function Manual, 07/2014, A5E03879256-AC
177
7.2.4
Change restart-relevant data
In order to change restart-relevant data in the technology data block, write to the starting
values of the tags in load memory using the extended instruction "WRIT_DBL". In order for
the changes to be applied, a restart of the technology object must be performed.
Whether changes to the value of a tag are relevant for the restart can be found in the
description of the tags in the Appendix (Page 332).
Requirement
The technology object has been created.
Procedure
To change restart-relevant data, proceed as follows:
1.
Create a data block and fill it with the restart-relevant values, that you want to change in
the technology data block. In doing so, the data types must match the tags to be
changed.
2.
Write the values from your data block to the starting values of the tags of the technology
data block in load memory, using the extended instruction "WRIT_DBL".
If restart-relevant data were changed, this will be indicated in the <TO>.StatusWord.X3
(OnlineStartValuesChanged) tag of the technology object.
3.
Perform a restart of the technology object using the Motion Control instruction
"MC_Reset" with parameter "Restart" = TRUE.
After the restart of the technology object, the new value is transferred into the technology
data block in work memory, and is effective.