OB86 and checking if fault is solved

Goran_

Member
Join Date
Aug 2016
Location
Serbia
Posts
9
Hi,

lets say that wehave one S7-1500 and one ET200S connected through profibus. I remove profibus connection from ET and detect a problem using OB86. At this point I would display some alarm to HMI. Normally, we should be able to reset any fault after the problem has been solved.

If a request is sent to reset all alarms, do I use some function like DeviceStates to check if everything is OK at that point, or there is some better way?

I now that there is an incoming / outgoing event is OB86, which could be considered as problem occurred / problem solved pair. This becomes more complicated when there are multiple problems and multiple incoming . outgoing messages, so you need to match one with another.

How do you handle such scenarios?
 
You can use the OB86 to set a bit with the fault that is happening, but you should never rely on OB86 to reset the bit. I had a machine programmed in this way and the bit that was set was non-volatile too.

So we had an error on a profibus node (a joystick), we though it would be broken as considering as it was a small system we would power down the machine replace the joystick and power it back up.

Guess what? problem solved while the machine was down, so OB86 never ran to reset the fault bit. We had to pull the profibus cable and put if back again to clear the fault.

On other systems we had a function made that would actually map out the profibus network and write a bit if the node was found. This was done with SFC51. We could then take the bit address as an alarm.
If you want, you can check for the presence of only the nodes that actually exist and take it from there.
 

Similar Topics

Hello.We are using S7-300 Cpu.Sometimes give an error.OB86 and OB122 blocks called.OB86 Block ; L #OB86_FLT_ID T...
Replies
7
Views
1,917
I have a S71200 PLC connected to GSD board as a ProFinet I/O I am tasked with detecting when loss of communication happens I understand this...
Replies
2
Views
2,745
Hello, I'm working with OB86 to track some diagnostic data, i write all start information of the OB to a DB including the timestamp. but when i...
Replies
4
Views
5,178
Hi My PLC wont accept OB86,but the simulaor will It is a 6ES7-315-2AG10-0AB0 /V2.0 OB86 is actually 'empty' of code. The config is basically...
Replies
3
Views
1,717
We have S7 414-H PLC. In the software I found Organization block OB82. But in the network nothing code there.. Comment is there I/O fault 1. And...
Replies
8
Views
8,679
Back
Top Bottom