8/16/2011 10:12 AM | |
Posts: 40 Rating: (1) |
dear Experts, I'm facing a problem on CPU 928A (6ES5928-3UA21), where it is going to stop suddenly several times per day.to put it back back inot "RUN", we justactivate the switch stop/run, then it works allOK. the problem isoccuringsometimes every 10 minutes and sometimes it happened once per day. I have attached the ISTACK and BSTACK, and I would appreciate your help in this matter. is it a hardware or software problem? does this CPU has internally a RAM module? regards, AttachmentISTACK CPU 928A.pdf (397 Downloads) |
8/17/2011 6:46 AM | |
Joined: 10/7/2005 Last visit: 10/11/2024 Posts: 3024 Rating: (1054)
|
Hello Berno09
Your single Slot 928A CPU (6ES5928-3UA21) has 64KB of inbuilt RAM (plus 46KB of dedicated DB RAM). I suggestyou do the folwloing: 1.) Put the CPU into Stop 2.) Upload the whole program 3.) Power off the PLC 4.) Remove EPROM from CPU (leave slot empty) 5.) Power PLC up 6.) Download theonline backup into it 7.) Test that all still works as before If so, you are now in a position to add some capture code into your program NOTE: Make sure you have a backup battery in your S5 power supply, otherwise you'll loose your program if a power failure happens.
To start with see chapter 5.6.4 of the AG S5-135U CPU 928 Programming Guide to get the background and error codes reference info. Thereafter, do the following: 1.)Find an freeDB and create at least DW 0-3 in it (all of type KH is fine). 2.)Findafree FB andadd the following code to it: C DBxyz // open DB TDD 0 // accu1--> DD0 TAK // swap accu1 and 2 TDD2 // accu1--> DD2 TAK // restore accu content (in case its used elswehere in OB) BE 3.) Add the call of this FB to OB24as the first call in it 4.) When the next CPU Stop happens, open DB xyz onlineand compare the values in DW0-3 with the ones listed in the manual to identify the I/O error cause. Other things to bear in mind: If OB24 does NOT yet exist in the CPU, add a STP commandas the last line to it when you create it to ensure the CPU continues to go to STOP upon its call (see chapter 5.4 of the manual). DX 0 is used to set up general systembehaviour (e.g. max allowed cycle time)and also what OB leads to a STOP if not programmed (see chapter 7 of the manual). The S5-135U/155U CPU 928/CPU 928B/CPU 948 List of Operations manual may come in handy too. I hope this helps and pelase let us know what you find. |
Last edited by: fritz at: 8/17/2011 6:59 AMfixed manual link Cheers |
|
Follow us on