Siemens S7 OB errors

dfabian911

Member
Join Date
Nov 2005
Location
Warren Ohio
Posts
4
Hi, I am programming a large motion and PLC system using Siemens Step 7 and an S7 300 CPU. Have been trying to figure out a good way to create alarms that tells me a specific remote I/O rack has failed. I have installed OB86 in my processor, but am having a difficult time trying to figure out how to display an alarm on my WinCC station that tells that a specific rack number has failed. I am only asking how to set bits that tell me that the rack is faulted, adding the alarm itself is easy. The Siemens documentation is so obtuse about everything and you have to pour through approx 5325 pages before you find any meaningful information. Havent been able to find any example code I can use as a model.

Want to build this up to the point were the OB's are actully functional, and I think once I get this first one going then I can build on that.

Thanks!
Debbie
 
Debbie,

You might be better off using one of the pre-written Siemens functions that are available to do what you want.

They are FB125 or FC125,

This thread (Click here) is about the said functions.

Or if you don't want the extensive diagnostics that the functions give you, you could use SFC51, there is a sample code in that thread which will tell you which nodes haves gone down. All you have to do is map the memory bits you use to your alarms.

Paul
 
Thanks for the info. I didnt know that SFC51 existed. I will give it a try tomorrow. I have investigated using FB125, but didnt like the fact that they didnt add any alarms in the enclosed WinCC project. I think now I could integrate the screens they provide, but want the alarms as well. Again Siemens documentation and help files are very difficult to find good info, and sometimes there are not enough hours in the day to figure out some of these details.

But again, thanks I will give the SFC a try!
 
Debbie,

The code I posted in the other thread assumes the use of an intergrated DP master (i.e 315-2DP), if you are using a CP card as the DP master then the SZL_ID pin needs to be W#16#4692

Paul
 

Similar Topics

I have 3 control panels made by an OEM, they are all identical and have a Siemens S7-1200 PLC with a Siemens CB-1241 Modbus card talking to 2...
Replies
8
Views
4,531
My company is commissioning a new machine and we're having a few issues with I/O Channel errors. My Italian colleague took a screen shot for me to...
Replies
6
Views
2,361
After compiling a NetPro project, we got many errors as follows. What does this mean? What to do? Thank you Error: The object has already...
Replies
2
Views
1,585
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
6
Views
117
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
134
Back
Top Bottom