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

Hi, I'm setting up a modbus master on an S7-300. It seems to work in OB1 but not when I use it in OB35. Does anyone have any ideas why? Could...
Replies
9
Views
63
The past week we received a new piece of equipment from Germany which utilizes siemens controls. Typically in our company we use A.B. controls for...
Replies
12
Views
317
Hello I have a s7-1200 and I would like to read the tags present in this controller with my controllogix controller. The two controllers don't use...
Replies
5
Views
164
Hi need help why this “failure 5 emergency stop “ appears at every startup in the morning ? Have to shut off main switch at least 10 times on...
Replies
19
Views
313
i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
127
Back
Top Bottom