![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|
#1 |
|
Lifetime Supporting Member
|
Initializing DB's
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?
|
|
|
|
#2 |
|
Supporting Member
![]() Join Date: Nov 2006
Location: UK
Posts: 4,542
|
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. |
|
|
|
#3 |
|
Lifetime Supporting Member
|
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???
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| S7- Add 2 DB's ? | steen.bill | LIVE PLC Questions And Answers | 6 | March 11th, 2008 03:13 AM |
| Comparing DBs recipes (S7) | Werner | LIVE PLC Questions And Answers | 4 | March 7th, 2008 07:19 AM |
| S7 - will bigger MMC increase No. of DB's available | Johnny T | LIVE PLC Questions And Answers | 13 | March 20th, 2007 03:29 AM |
| S7 instance DBs gets reset to "initial val" upon cold restart. | JesperMP | LIVE PLC Questions And Answers | 11 | January 10th, 2007 11:57 AM |
| S7 - Moving Symbolic names from Merker to DBs | RMA | LIVE PLC Questions And Answers | 11 | March 11th, 2005 05:32 AM |