Host Engineering Forum
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 04, 2012, 07:52:20 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Downloading with PID  (Read 693 times)
Controls Guy
Internal Dev
****
Posts: 1105


Darth Ladder


« on: August 26, 2010, 05:01:03 pm »

If you open a project from disk and do File -> Save Project -> To PLC that will get all non-ladder elements such as PID loops, manual I/O config and so on, right?  Or do you have to go into the PLC -> Setup -> PID dialog, read from disk, and then write to PLC?

I had a customer who reloaded a program and had no PID loops.  I think they probably opened the file, went online with "Use Disk" and clicked the "Write to PLC" button.

I want to make sure I give them correct instructions on how to do it so the PID loops and other stuff gets downloaded.
Logged

I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.
franji1
Bit Weenie
Host Moderator
*****
Posts: 973



WWW
« Reply #1 on: August 26, 2010, 08:42:05 pm »

PID Setup configuration is stored in System V, with references to User V that contains the ACTUAL PID loop data (tuning constants, PV, SP, Output, etc.).  Hence, you must download the PROJECT (i.e. PROGRAM and DATA) to get your PID settings into a DL PLC.

If the customer ONLY hits the Write to PLC button on the Online Toolbar, this only writes the PROGRAM.  Or, if the customer NEVER SAVED their project to DISK or NEVER SAVED their PID Setup configuration and PID loop data to DISK from the two PID dialogs, then when they write their PROJECT to the PLC, it will write the previous values that were last saved to disk(zeros?).
Logged

franji1
Bit Weenie
Host Moderator
*****
Posts: 973



WWW
« Reply #2 on: August 26, 2010, 08:44:35 pm »

I forgot to mention - this behavior is all with DirectSOFT.  If you use the free DNLoader tool, it sucks up ALL the Retentive memory and stores it on disk, then lets you write it back to a PLC at a later date - great for OEMs that are downloading the same program(s) over and over again.

I guess if the user stuck their PID data in non-retentive User V, or they tweaked the default retentive range to clear SYSTEM V, then this may not work either!   Shocked
Logged

Controls Guy
Internal Dev
****
Posts: 1105


Darth Ladder


« Reply #3 on: August 26, 2010, 10:19:42 pm »

OK, I told them right then.  I told them to use "Save Project -> To PLC", and I wanted to make sure that would do it without having to transfer PID setup in a separate step.

Thanks, Mark.
Logged

I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.
Greg
HOS†ech
Hero Member
*****
Posts: 284


Hmmm...


WWW
« Reply #4 on: August 30, 2010, 02:50:55 pm »

There's a chart that shows what is saved by what:

http://www.hosteng.com/FAQFiles/DSP%20save%20and%20load%20chart2.pdf
Logged
b_carlton
Internal Dev
****
Posts: 370



WWW
« Reply #5 on: August 30, 2010, 03:09:48 pm »

Interesting - I did not know that T/C accumulator values are not saved/written even during a 'Save Project'. This doesn't show the status of communication port setups but I believe they are not saved/restored either. We do our secondary port setups in ladder for that reason.

I also have avoided using the T/C accumulator area even if I was not using those timers or counters. This is another reason to not do that.
« Last Edit: August 30, 2010, 03:15:33 pm by b_carlton » Logged

An output is a PLC's way of getting its inputs to change.
Greg
HOS†ech
Hero Member
*****
Posts: 284


Hmmm...


WWW
« Reply #6 on: August 30, 2010, 03:16:15 pm »

Regarding "System V-memory", it has a Note (1) on it that says:

"(1) - System V-memory contains retentive ranges, etc., but does NOT save PLC password NOR comm port settings, NOR watchdog settings"


Regarding "Timer/Counter Accumulator Memory", it has a Note (9) on it that says:

"(9) - Values are never automatically written. To write them manually (to file or PLC) you must use Memory Editor"
« Last Edit: August 30, 2010, 03:20:09 pm by Greg » Logged
b_carlton
Internal Dev
****
Posts: 370



WWW
« Reply #7 on: August 30, 2010, 03:22:18 pm »

Dang, these eyes are getting too old.
Logged

An output is a PLC's way of getting its inputs to change.
Controls Guy
Internal Dev
****
Posts: 1105


Darth Ladder


« Reply #8 on: August 30, 2010, 10:37:45 pm »

There's a chart that shows what is saved by what:

http://www.hosteng.com/FAQFiles/DSP%20save%20and%20load%20chart2.pdf

Cool chart!  Thanks, Greg.  I'll make sure to keep a link to that.
Logged

I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM