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 October 13th, 2018, 04:43 PM   #1
_Dock_
Member
United States

_Dock_ is offline
 
Join Date: Sep 2015
Location: KY
Posts: 46
Managing Compactlogix Tag Values After Project Updates

We manufacture machines with lots of variable parameter set points, mostly DINT's but some BOOL.

The issue we have is if a software/project update is pushed out, the technicians have to record every parameter value of the specific machine, do the update, then manipulate the values to back match previous setpoints.

This occurs because most updates are tested on separate machines which setpoints may vary from the machine being updated.

While not a huge issue, it does open up potential for major human error, causing the tech headaches or call backs before they even get to the airport.

Does anyone have a good way of managing this?

Thanks,
  Reply With Quote
Old October 13th, 2018, 05:15 PM   #2
Saffa
Member
New Zealand

Saffa is offline
 
Join Date: Feb 2012
Location: Bay of Plenty
Posts: 909
http://www.plctalk.net/qanda/showthread.php?t=98133

Check out the last post. I haven't used this myself though, we very rarely do full downloads.
  Reply With Quote
Old October 22nd, 2018, 02:28 PM   #3
_Dock_
Member
United States

_Dock_ is offline
 
Join Date: Sep 2015
Location: KY
Posts: 46
Quote:
Originally Posted by Saffa View Post
http://www.plctalk.net/qanda/showthread.php?t=98133

Check out the last post. I haven't used this myself though, we very rarely do full downloads.
Turns out this is only valid for about version 21 and previous. Does anyone have any other suggestions?
  Reply With Quote
Old October 22nd, 2018, 02:43 PM   #4
mdim
Member
Bulgaria

mdim is offline
 
mdim's Avatar
 
Join Date: Jan 2013
Location: Sofia
Posts: 212
A package that came recently to us had a "Magic Button"on the HMI, that stores all current setpoints to a text file in the HMI. After you do whatever you need to you press the other magic button and copy back the setpoints to the PLC. You could do this without the HMI, just copy to a array in the PLC with a tag for trigger. You can modify it online even.
  Reply With Quote
Old October 22nd, 2018, 03:10 PM   #5
_Dock_
Member
United States

_Dock_ is offline
 
Join Date: Sep 2015
Location: KY
Posts: 46
This is similar to what I had originally thought about, basically just creating a UDT that mirrors the tag values as a MEMORY table then writing it back after a download.
  Reply With Quote
Old October 22nd, 2018, 03:20 PM   #6
Archie
Member
United States

Archie is offline
 
Join Date: May 2002
Location: Orangeburg, SC
Posts: 1,783
There is a sample project for AdvancedHMI that does this. You can edit the code behind the buttons to change to the tags you want to save. It was setup to store array data, so if you have mixed individual tags, it may not be ideal.

You can find the project at the link below under the name SaveDataTableAndRestoreCLX.zip :

https://sourceforge.net/projects/adv...ampleProjects/

If you wanted to get more complex, AdvancedHMI could read the list of the tags, then read their data. It could be done with maybe a dozen lines of code.
__________________
Expectations lead to disappointment. Appreciation leads to satisfaction.

AdvancedHMI - HMI Software without the license key hassles
  Reply With Quote
Old October 22nd, 2018, 03:45 PM   #7
Bit_Bucket_07
Member
United States

Bit_Bucket_07 is offline
 
Bit_Bucket_07's Avatar
 
Join Date: Feb 2013
Location: Southeast US
Posts: 1,411
Quote:
Originally Posted by mdim View Post
A package that came recently to us had a "Magic Button"on the HMI, that stores all current setpoints to a text file in the HMI. After you do whatever you need to you press the other magic button and copy back the setpoints to the PLC. You could do this without the HMI, just copy to a array in the PLC with a tag for trigger. You can modify it online even.

Hosting the setpoint data in the PLC wouldn't work, since the values in the off-line version of the program wouldn't necessarily match what is in the current program, which is to be overwritten with a download.
__________________
  Reply With Quote
Old October 22nd, 2018, 04:09 PM   #8
mdim
Member
Bulgaria

mdim is offline
 
mdim's Avatar
 
Join Date: Jan 2013
Location: Sofia
Posts: 212
Yeah, for sure there are a couple of steps more, before download, you go online, save and then you can copy this array into your new program. I know, there are smarter ways to do it, but it will depend if you are doing it once or million times.
Other than this you can export it even with excel and RSLinx. But having this separate array with "checkpoints of the setpoints" will allow you to easily make sure you did all the modifications and minimizes the risk of missing some value
  Reply With Quote
Old October 22nd, 2018, 07:23 PM   #9
JaxGTO
Member
United States

JaxGTO is offline
 
Join Date: Apr 2009
Location: Kalieefornia
Posts: 634
If there is a PanelView you can save/restore recipes from a USB drive.
AB Sample code site has code for reading/writing data to the SD card in the PLC, but it's pretty complicated, but does work.
__________________
I have to use Rockwell Software!
  Reply With Quote
Old October 23rd, 2018, 01:07 AM   #10
ArtWalls
Member
United States

ArtWalls is offline
 
Join Date: Apr 2016
Location: Miami, Arizona
Posts: 22
I use OPC read/writes through Excel, with a bit of VBA to move things around. It takes a classic or professional version of RSLinx for the OPC. Create Topics in RSLinx for referring to the PLC, then create tag groups with the desired tags/parameters. Rockwell has some sample code available if you’ve used VBA, I think I could post a workbook if you are interested.
  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
Crimson 3 - Force Tag Read From 5370 Compactlogix califflash LIVE PLC Questions And Answers 1 August 22nd, 2014 02:39 PM
PV600 Tag addressing with compactlogix wevie0037@ LIVE PLC Questions And Answers 6 September 2nd, 2011 11:40 PM
Retain Controller Data in an HMI tag (Allen-Bradley) Money4Nothing LIVE PLC Questions And Answers 16 July 19th, 2007 08:38 AM
Downloading to ControlLogix without overwriting Tag values ihc LIVE PLC Questions And Answers 5 October 19th, 2006 04:51 PM
WinCC project reading STEP 7 project symbol table Pandiani LIVE PLC Questions And Answers 1 August 11th, 2005 04:20 PM


All times are GMT -5. The time now is 05:06 PM.


.