View Full Version : Initializing DB's
June 27th, 2008, 10:29 AM
If i have a DB that has already been downloaded and running, is there any way to read the "actual value" into the initial value. If I make a change to some machines in the DB that control's the Model select after I download I have to re select my part number. Any suggestions?
June 27th, 2008, 12:21 PM
Upload the DB from the plc to the programmer (I copy from the online view into the offline view). The actual values from the online copy will be copied to the actual values column in the offline copy. Make your changes in the offline actual values column, save and then download.
The initial values column causes much confusion - here's my explanation.
When you create a new variable declaration in a DB, you enter the variable name, data type and the required initial value (or accept the default initial values which is zero). When you save the DB, the initial value is copied to the actual value column - importantly this is only done the first time you create the variable. You are now free to edit the actual value column and save the DB - the initial value column will stay unchanged and will not affect the actual value column until you use the editor option called Initialize Data block. Using this option will copy all initial values to actual values.
The actual values column is what is transferred to and used by the plc.
June 27th, 2008, 05:17 PM
What if I add a few BOOL's and INT's to a DB. At that point I would need to Initialize that DB again and it writes the initial values over the actual. Can I copy the Actual online values to the Intial values???