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 July 19th, 2012, 03:14 AM   #1
AB2005
Member
Pakistan

AB2005 is offline
 
Join Date: Nov 2006
Location: Soth Asia
Posts: 166
PLC-5 program downloaded from EEPROM by-self.

We have a PLC-5 in a printing machine. Few weeks ago, I made some online change in the running program of PLC but did not burn in to EEPROM. So EEPROM had the original program. Today I found that the change which I made was not present in PLC. I suspected that the program in PLC was corrupted and it downloaded the program from EEPROM but such thing happen when battery is low and we cycle the PLC power but I found no battery error and the key was on RUN position. I failed to understand the possible reason that why that problem happened. Any idea?
  Reply With Quote
Old July 19th, 2012, 04:44 AM   #2
HJTRBO
Member
New Zealand

HJTRBO is offline
 
HJTRBO's Avatar
 
Join Date: Jul 2008
Location: Melbourne
Posts: 435
Power cycle by someone?
  Reply With Quote
Old July 19th, 2012, 05:58 AM   #3
hagos
Member
Sudan

hagos is offline
 
Join Date: Oct 2004
Location: Africa
Posts: 120
Plc5 eeprom

Dear Folks,

Long time since I worked in AB PLC's, but I recall that there is a DIP switch at the rack back plane which controls the EEPROM.

Please refer to the manual & let's know what will come up with you.

Cheers
Hagso
  Reply With Quote
Old July 20th, 2012, 02:19 AM   #4
Malcolmt
Member
South Africa

Malcolmt is offline
 
Join Date: Dec 2010
Location: Johannesburg
Posts: 16
It sounds like you have an issue with the setting of the dip switch on the backplane behind PLC.
If 6&7 are off then the memory module transfers each time at power up
If 6&7 are on then the memory module only transfers at powerup if the PLC memory is not valid.
If 6 = on and 7 = off then the memory module never transfers to the PLC. This is the preferred setting if you don't use a module in your system.
  Reply With Quote
Old August 12th, 2012, 12:21 AM   #5
AB2005
Member
Pakistan

AB2005 is offline
 
Join Date: Nov 2006
Location: Soth Asia
Posts: 166
Hello Malcolmt

Sorry for replying late as I was busy for another project. Both 6&7 switches are ON but i did not understand that why PLC memory failed and it loaded the program from EEPROM as there is no error message received about low battery. I have checked the battery voltage and found 3.1V at no load. However I have replaced the battery. Lets see what happen.
Is there any way to check how many times PLC loaded the program from EEPROM?
  Reply With Quote
Old August 12th, 2012, 04:53 AM   #6
yasirkhi
Member
Canada

yasirkhi is offline
 
Join Date: Oct 2011
Location: Toronto
Posts: 71
You must assure that you have original program saved, just in case you. Refer to manual and see what Malcolmt is asking about dip-switches settings.
  Reply With Quote
Old August 12th, 2012, 04:45 PM   #7
OkiePC
Lifetime Supporting Member
United States

OkiePC is offline
 
OkiePC's Avatar
 
Join Date: Mar 2005
Location: ENE of Nowhere Oklahoma
Posts: 7,496
Quote:
Originally Posted by AB2005 View Post
Hello Malcolmt

Sorry for replying late as I was busy for another project. Both 6&7 switches are ON but i did not understand that why PLC memory failed and it loaded the program from EEPROM as there is no error message received about low battery.
The memory corruption that caused the load from EEPROM would have wiped away any error messages, and there are two main causes aside from low battery:

1) Incoming power problem. Electrical noise from high frequency devices, voltage fluctuations, poor grounding and lightning are common sources.
2) Early sign of power supply failure.

There are probably other possible explanations, but those are two that I have experienced.

The use of EEPROM backup can hamper your ability to perform run time edits...Any time there is a mismatch and you have the settings enabled to Load On Memory Error, you run the risk of this happening. So, either defeat the EEPROM, and rely on a PC with RSLogix5 to recover if the fault returns, or plan scheduled burning of the EEPROM.

I have seen voltage level disturbances cause this to happen, if there is a brownout for just a few cycles. We used an expensive constant voltage transformer to supply a steady 120vac to all the PLC-5s I supported and I only saw one power supply failure among some 2 dozen of them. It was ten years old and it wiped itself twice about 30 days between occurrences, and then another month later, no sign of life from the PS.

As for managing EEPROMs and maintaining online editing power: I have the same issue with a bunch of SLCs, and what I do, is put in the rung comment for LAD2 rung 0:"2012-MM-DD: PC : NOT BURNED TO EEPROM!" followed by a list of descriptions of the un-burned edits and save it to our share drive.

When the weekend rolls around or whenever there's an opportunity, I store to EEPROM and then delete that section of the rung comment.

Paul
__________________
It's not all the variables I am most concerned with, it's the undiscovered constants.

"You can lead a horse to water but if he's got his head up his as$ he may die of thirst anyway."

Last edited by OkiePC; August 12th, 2012 at 04:52 PM.
  Reply With Quote
Old August 22nd, 2012, 02:11 AM   #8
AB2005
Member
Pakistan

AB2005 is offline
 
Join Date: Nov 2006
Location: Soth Asia
Posts: 166
Hi OkiePC;

Thanks for replying. I have already installed a true sine wave ONLINE type UPS at PLC power supply some months before. So your second point could be valid that "early sign of power supply failure".
As i already requested "Is there any way to check how many times PLC loaded the program from EEPROM?" Please answer.
This time I am getting this information from HMI. The designed in "emBase" software which have this option that if PLC loads the program from EEPROM, HMI saves date and time. Obviously, HMI collects this info from PLC. I am assuming that may be HMI providing wrong info which needs to be verify by another way.
  Reply With Quote
Old August 22nd, 2012, 07:32 AM   #9
OkiePC
Lifetime Supporting Member
United States

OkiePC is offline
 
OkiePC's Avatar
 
Join Date: Mar 2005
Location: ENE of Nowhere Oklahoma
Posts: 7,496
Quote:
Originally Posted by AB2005 View Post
As i already requested "Is there any way to check how many times PLC loaded the program from EEPROM?" Please answer.
This time I am getting this information from HMI. The designed in "emBase" software which have this option that if PLC loads the program from EEPROM, HMI saves date and time. Obviously, HMI collects this info from PLC. I am assuming that may be HMI providing wrong info which needs to be verify by another way.
There is a bit which gets set after a load from EPROM occurs. Your HMI can watch for a rising transition of that bit address and then reset it in order to be able to detect the next occurrence.

The bit is address in an enhanced PLC-5:
S:10/03 "memory module transferred at power-up"
__________________
It's not all the variables I am most concerned with, it's the undiscovered constants.

"You can lead a horse to water but if he's got his head up his as$ he may die of thirst anyway."
  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
Plc suggestion aec LIVE PLC Questions And Answers 36 January 2nd, 2012 01:56 AM
Download a PLC program? Transport memories? Mc_Topaz LIVE PLC Questions And Answers 10 April 25th, 2011 09:40 PM
Rslogix5 plcdb222 LIVE PLC Questions And Answers 21 September 29th, 2006 09:32 AM
Simulator, Simulation, Shadow Code Terry Woods LIVE PLC Questions And Answers 1 January 2nd, 2005 01:40 PM
tranfering program to the PLC jerrycat LIVE PLC Questions And Answers 2 September 16th, 2003 06:53 AM


All times are GMT -5. The time now is 10:08 AM.


.