Siemens S5 OB's

Jeroen Benoot

Member
Join Date
Oct 2006
Location
Oostkamp [BE]
Posts
42
Hello,

i have a problem that a Siemens S5 115u 928b CPU goes to Stop mode.
The only thing I can do to restart is fully erase it and reload the program. To make sure it's not a fault in my program I thought I could program an OB that is called when a programming fault occurs.

In S7 I know this is OB121, anyone an idea this is possible in S5?


Thanks,

Jeroen Benoot
 
OB's available in CPU928B for handling errors:
OB19 - call of not programed block,
OB23 - timeout during direct access to IO module,
OB24 - timeout during update of IO image,
OB25 - adressing error,
OB26 - scan cycle timeout,
OB27 - substitution error,
OB29 - operation error,
OB30 - parameter assignment error,
OB31 - other execution errors,
OB32 - transfer errors for data blocks,
OB32 - collision of cyclic interrupts,
OB34 - error in PID controller processing.
 
If you check the Istack this will tell you why & where it fell over

it will tell you the block it stopped on the address after the fault & what caused it, if you load the program & it runs again I suspect that somewhere in the program there is a pointer stored in a DB that calls a word beyond the length of the block or indirectly trying to access I/O that does not exist, this occurs when people do not put traps in the code to stop a pointer incementing beyond a DB length or I/O.
 

Similar Topics

This is the first time I am working with Simatic Manager Step7 as I started my siemens journey with TIA which is pretty easy and do a lot of stuff...
Replies
1
Views
45
Hi, I have PLC S7-1200 and switch XC-208 and Iam trying to implement this SNMP library: SIOS I am not sure, what I am doing wrong, but there is...
Replies
3
Views
92
Hi all, i am the new controls guy at the plant and i have inherited a pc from the previous controls guy with Siemens tia portal version 16 and 17...
Replies
15
Views
483
Hi all, I have some difficulties with programming a NAT config in my Scalance SC636-2C When programming the NAT-table i'm not able to reach my...
Replies
4
Views
147
Hi, Yesterday, I was at a customer site. I made one little change. Changed a dummy bool output to an actual output. I didn't add any tags, or...
Replies
15
Views
299
Back
Top Bottom