Coming from the world of Rockwell I am used to saving and uploading current parameter data, which then get downloaded with the logic if I do another download.
I'm trying to understand how this works in Codesys, I see I need to be concerned with retaining values during a power loss (such as analog scaling parameters), but I also want to commission a system, and save the program and all the parameters and download it into a sister system since they will be the same, or if the controller has to be replaced the program can be downloaded an off you go.
As I seem to understand, I have to design this data retention with VAR RETAIN and PERSISTENT, but that seems to only apply at the controller level. Will the actual data ever be saved with the project file? Or will I have to add logic to initialize hard-coded values into the system critical parameters?
I'm trying to understand how this works in Codesys, I see I need to be concerned with retaining values during a power loss (such as analog scaling parameters), but I also want to commission a system, and save the program and all the parameters and download it into a sister system since they will be the same, or if the controller has to be replaced the program can be downloaded an off you go.
As I seem to understand, I have to design this data retention with VAR RETAIN and PERSISTENT, but that seems to only apply at the controller level. Will the actual data ever be saved with the project file? Or will I have to add logic to initialize hard-coded values into the system critical parameters?