![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|
#1 |
|
Member
![]() Join Date: Sep 2006
Location: Cluj
Posts: 43
|
Hello fellow programmers!
I've come to you with a new problem... currently I am working on a project involving a network of 8 Siemens PLCs (ET200S IM151-8 PN/DP CPU). They all pretty much do the same thing, so they're configured almost the same, except the HW. They all seem to work flawlessly, except one. This one, when I start it up, immediately turns on the RED SF LED. I've attached the Diagnostic Buffer read with Module Information inside Siemens. I've also read Area length error when reading and Please help me: Area length error when reading but I couldn't figure out what's the solution to my problem. I also mention that the CPU doesn't go into STOP because I loaded all the necessary OBs in order to prevent that ), but the boss see's every RED thingy as a problem , so I must solve this one in order to get him off my back.Has anyone ever dealt with this situation? Could anyone help me solve this? Thanks in advance! Voicu P.S. Oh, I forgot to mention... I'm the boss...
|
|
|
|
#2 |
|
Supporting Member
![]() Join Date: Nov 2006
Location: UK
Posts: 4,540
|
Delete OB121 from the plc so that it does stop then examine the stacks to track down your errant code which is attempting to access a bit in a DB but the DB is not big enough.
|
|
|
|
#3 |
|
Member
![]() Join Date: Jul 2005
Location: Antwerp
Posts: 159
|
My best guess is that you don’t have DB 43 loaded but the fault message isn’t very specific in this case.
Here’s one trick I sometimes use to diagnose this problem. Load the software in PLCSIM and remove OB121. This will make the PLC(SIM) go to STOP. Then open the PLC module information and open the I-stack. The button “Open block” will take you to the point where the PLC went to STOP. |
|
|
|
#4 |
|
Member
![]() Join Date: Sep 2006
Location: Cluj
Posts: 43
|
It's good to be reminded from time to time that PLCSim exists
(Thank you Jobbe). I did what you told me (thus learning a new way to debug programs without carrying out the whole compile all procedure and loading into the PLC - getting smarter by each day that passes me ).I've found the problem that was causing this. It was in the alarm managing function block, an erroneous copy paste from another PLC was addressing an address (DBX43.0) non existent in my DB (DB1) . So i figured out that the "43" the diagnostic buffer was telling me about is the address of the bit that I was wrongly addressing.Thank you! Thank you! Thank you! ![]() ![]() ![]() You saved my day. Next round of drinks on me ![]() ![]() ![]() Cheers to all, Voicu Last edited by svoicum; September 8th, 2010 at 03:47 AM. |
|
|
|
#5 |
|
Member
|
Brost!!!!
I got a kick out of your thread, svoicum.
__________________
"I never let a cowboy make the coffee." Yeah, thats what Granny always said to my Grandad. And he'd say: "Never tell a joke that ain't that funny more than once." "And if you wanna hear God laugh, tell Him your plans." Van Zant "Help Somebody" |
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Step7 Reading from IDB STAT area | AJZ | LIVE PLC Questions And Answers | 3 | March 31st, 2010 06:39 PM |
| Area length error when reading | manmeetvirdi | LIVE PLC Questions And Answers | 9 | November 21st, 2009 07:34 AM |
| area length error when writing?? | Richharry | LIVE PLC Questions And Answers | 7 | September 13th, 2007 07:19 AM |
| Please help me: Area length error when reading | BoSChoW | LIVE PLC Questions And Answers | 14 | August 10th, 2006 09:26 AM |
| S7 Area Length Fail | kennyb | LIVE PLC Questions And Answers | 6 | January 31st, 2005 03:37 PM |