Siemens TIA Portal - Distinguish between different Diagnostic Interrupts

Join Date
Jul 2018
Location
Wollongong
Posts
3
Hi,

Is it possible to distinguish what caused a diagnostic interrupt? For example, on a remote IO station I have a rack that has a IM155-5 PN HF (6ES7155-5AA00-0AC0) and a AI Card (6ES7531-7KF00-0AB0) mounted. This AI card will generate a diagnostic interrupt at the following events:

No supply voltage L+
Wire Break
Overflow
Underflow
Common mode error; and
Reference channel error.
These events have all been selected in the hardware configuration for the AI card.

If this AI card generates a diagnostic interrupt is it possible to determine which of the above events caused the diagnostic interrupt? Was it the “No supply voltage L+” or “Wire Break” or “Overflow” etc.?

If it is possible to distinguish what event triggered the diagnostic interrupt is it then possible to extract this information so that I can generate an alarm for each event “No supply voltage L+” or “Wire break” or “Overflow” etc. in the Program Blocks of TIA portal?

I have looked everywhere in Siemens forums, sites and manuals however I cannot find an answer which is leading me to think that you cannot distinguish between the events. So basically if this card generates a diagnostic interrupt you cannot pinpoint the exact event/fault.

This remote rack is connected via profinet back to another rack with CPU (6ES7516-3FN01-0AB0) mounted.

Any help would be greatly appreciated.

Kind Regards,

Scott
 
Yes, the interrupt function will generally have details that you can use about which event caused it.

I haven't gotten to this point in TIA, but in Step7 you could then use this information with SFC51 to get more detail.
 
There is an instruction called something like RALRM that you call in the diagnostic interrupt. It returns a whole ton of data, but one value is the specific kind of error.
 

Similar Topics

I am currently am in a PLC class and need urgent help on how the ladder logic would be laid out. I understand how to get the traffic lights to...
Replies
19
Views
388
Hello, If the date on the license manager of tia Portal has expired, can I still work with it? or is this just to keep the program up to date...
Replies
7
Views
188
Hi everyone I've created an FC that includes the blocks TCON, TDISCON, TSEND and TRCV. This block has to be as generic as possible across...
Replies
15
Views
1,486
Hello, i can find the CPU when searching for it. But when I go Online i just get the icon for "Not compatible" everywhere. I get no additional...
Replies
4
Views
1,076
Hi, I want to initialise some tags on first scan only. As they are related to wall-clock time, I want to do the initialisation when the PLC first...
Replies
4
Views
1,124
Back
Top Bottom