Understanding Siemens OB80, OB35 & OB40 relationships

thelectric

Member
Join Date
Aug 2011
Location
Ontario
Posts
11
Hello there Wizards,
I spent sometime browsing older posts before posting these questions on what appears to be an old subject & classic problem. Level one S7-300 training at Siemens did not cover this issue. And we were told not to take level two without a year in the field.
Question here on the relationship of OB80, OB35 & OB40 in scan time over run faults. The diagnostic buffer posts show an OB80 scan time overrun fault with a causing OB80, followed by a second post of the OB80 scan time overrun fault with causing OB35. As I understand it, the initial scan time over run was not caused by the OB35 interrupt, but by something else. And the OB35 error stopping the processor, is because it could not be processed twice in a row. If this is true, could an OB40 hardware interrupt being processed too frequently, cause the increased scan time? Thereby a faulty input device? I struggle with this because our average scan time is 1-2ms. CPU scan time set to 150ms, OB35 is 100ms, and therefore OB40 is potentially the wild card.
 
, could an OB40 hardware interrupt being processed too frequently, cause the increased scan time? Thereby a faulty input device?
Yes.
You could add a counter in OB40, to trace how often it is triggered.
Reset the counter every second or so.
Then you can monitor the counter in code and generate an alarm if the input triggers in an unrealistical manner.

Is it possible that an undersized MMC card could cause erratic OB80 scan time overrun faults?
No. If the MMC is too small, you would be unable to load the program on the card.
Do you write to the card from the PLC program ?
 

Similar Topics

In a project I've been working on, I am taking data from a Siemens PLC datablock and storing it in a SQL database. The PC is communicating with a...
Replies
13
Views
8,874
As someone who knows nothing about PLC's I've joined this forum in the hope that you can help me. I sell particle counters. These are used in...
Replies
17
Views
6,000
Dear All, I need to buy the following contactors from siemens....the whole panel is from germany...now I am in the job of spares indenting....I...
Replies
3
Views
4,121
I am using Allen Bradley PLC for Ethernet/IP communication. I send any explicit msg request (Get attribute or Set attribute), I observed packet...
Replies
0
Views
85
Took a new job and the controls schemes are fairly old and I'm used to Allen Bradley and Siemens. I'm looking to replace a pair of Superior...
Replies
1
Views
120
Back
Top Bottom