Save values of the input parameters (types ED, EF, ER, ES) in a file and use these values as initialization values for the input parameters during controller start-up.
This function saves the values of the input parameters in one file. The file is named IoConfig.par and located in directory ESystem on the mass storage device (CF card or SD card). The file IoConfig.par is used for the initialization of the input parameters during system start-up. The input parameters are initialized with the values saved in the file IoConfig.par.
The FC_SysSaveParameter function saves the input parameters in an internal buffer. This buffer contains the values of the input parameters at the time when the FC_SysSaveParameter function is executed. The buffer is the data basis for the file IoConfig.par. This behavior causes an interaction with the FC_SysSaveParByLogAddr function. The value for one input parameter is updated in the buffer via the FC_SysSaveParByLogAddr function; then the file IoConfig.par is written with the help of the buffer. If the file IoConfig.par is deleted between the call-up of FC_SysSaveParameter and FC_SysSaveParByLogAddr, the file IoConfig.par receives the initialization values for the input parameters.