News:

  • June 09, 2026, 03:12:41 AM

Login with username, password and session length

Author Topic: Downloading with PID  (Read 16425 times)

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3607
  • Darth Ladder
Downloading with PID
« 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.
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
  • Hero Member
  • *****
  • Posts: 3827
    • Host Engineering
Re: Downloading with PID
« 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?).

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3827
    • Host Engineering
Re: Downloading with PID
« 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!   :o

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3607
  • Darth Ladder
Re: Downloading with PID
« 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.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

Greg

  • HostTech
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 702
  • Hmmm...
    • Host Engineering, Inc.
Re: Downloading with PID
« 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
There are two types of people in the world; those that can extrapolate from incomplete data sets.

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: Downloading with PID
« 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 »
An output is a PLC's way of getting its inputs to change.

Greg

  • HostTech
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 702
  • Hmmm...
    • Host Engineering, Inc.
Re: Downloading with PID
« 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 »
There are two types of people in the world; those that can extrapolate from incomplete data sets.

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: Downloading with PID
« Reply #7 on: August 30, 2010, 03:22:18 PM »
Dang, these eyes are getting too old.
An output is a PLC's way of getting its inputs to change.

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3607
  • Darth Ladder
Re: Downloading with PID
« 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.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.