You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old June 27th, 2008, 10:29 AM   #1
JOLTRON
Lifetime Supporting Member
United States

JOLTRON is offline
 
JOLTRON's Avatar
 
Join Date: Aug 2006
Location: MI
Posts: 438
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?
  Reply With Quote
Old June 27th, 2008, 12:21 PM   #2
L D[AR2,P#0.0]
Supporting Member
United Kingdom

L D[AR2,P#0.0] is offline
 
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.
  Reply With Quote
Old June 27th, 2008, 05:17 PM   #3
JOLTRON
Lifetime Supporting Member
United States

JOLTRON is offline
 
JOLTRON's Avatar
 
Join Date: Aug 2006
Location: MI
Posts: 438
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???
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 04:20 PM.


.