TECT_DATA_FLASH: Read, Write or Delete AutoTune Data on FlashΒΆ
Function Block TECT_DATA_FLASH
The Function Block TECT_DATA_FLASH can be used to save following data on flash:
- Internal parameters: rKS, rTU, rTG and wCoolFact_Tune TECT_INTERNAL_STATUS_TYPE).
- Machine set parameters: wCoolFact, rKP, rTI, rTD, rT1 TECT_MACHINE_SET_TYPE.
The main purpose of the flash operation is to save the parameters calculated from AutoTune, as they need a long time to be calculated. This Function Block is used as the second safety copy of AutoTune parameters besides saving as retain variables.
To rewrite the content on the flash, current data needs to be deleted before write operation. One instance of this Function Block has to be called for the complete system.