Forum

Notifications
Clear all

S7-300 goes to STOP with SF, diagnostics buffer says OB 121 not loaded

2 Posts
2 Users
0 Reactions
0 Views
(@bram99)
New Member
Joined: 1 year ago
Posts: 0
Topic starter   [#210]

Sorry if this is basic. I'm doing an internship at a small workshop and they've let me add a recipe copy function to an old machine. CPU 315-2 PN/DP, STEP 7 V5.6 on the laptop.

Since my change the CPU goes to STOP after some minutes, SF LED on. Buffer says:

"STOP caused by programming error (OB not loaded or cannot be loaded)"
"OB 121 not available"
"Area length error when writing. DB 10, byte address 2048"

My FC uses SFC20 BLKMOV with an ANY pointer that I build from a counter, copied off a forum post. I did a memory reset and loaded everything again and it runs for a while and then stops again. The battery in the CPU is old, might be that? Or is it that ANY pointer, I'm not sure I understand what I copied.


Advertisement

   
Quote
(@jcasey)
New Member
Joined: 1 year ago
Posts: 0
 

> OB 121 not available

That line is the one that matters, not the battery. On a Logix box this would be a major fault with a code and the controller stops the same way. On a 300 it means the CPU hit a programming error and went looking for the block that handles it, which is OB121, and you haven't got one.

What exactly did the change touch? The ANY pointer length, or where it points?



   
ReplyQuote
Share: