WinCC "PLC Offline" alarm example

Pavel_Le

Member
Join Date
Feb 2017
Location
Vancouver, BC
Posts
2
Hi all,
rookie question:

I have WinCC PC station and S7 PLC connected over ethernet.
My goal is to generate alarm on HMI (or lock it out) whenever PLC is offline. So far I figured out how to work with PLC internal faults, but not if the PLC is unreachable.

How do I attack this? Any "Hello World!" examples you guys might share?
(I use TIA)
Thanks!
 
Hi all,
rookie question:

I have WinCC PC station and S7 PLC connected over ethernet.
My goal is to generate alarm on HMI (or lock it out) whenever PLC is offline. So far I figured out how to work with PLC internal faults, but not if the PLC is unreachable.

How do I attack this? Any "Hello World!" examples you guys might share?
(I use TIA)
Thanks!

Which CPU?

Have a look at this for flexible panel to get the general idea.


fthis
 
First of all, what are you using? WinCC Advanced, Flexible? S7-1200, 1500? TIA 13, 14, 15?

I've used the coordination area pointer with a WinCC Comfort panel and S7-1500 CPU in the past, and though it's finicky and not at all well documented, it works.
 
First of all, what are you using? WinCC Advanced, Flexible? S7-1200, 1500? TIA 13, 14, 15?

I've used the coordination area pointer with a WinCC Comfort panel and S7-1500 CPU in the past, and though it's finicky and not at all well documented, it works.

TIA 15, WinCC Poffessional, S7-300 (I think PLC model is irrelevant in this case)
 
WinCC Professional has built in connection monitoring. The Connections editor should have more details, such as the timers presets used.

There are a ton of system alarms that are automatically generated. One of them is "Connection NAME disconnected" (or connected). I believe you can choose to display the System Events in your Alarm View. You can also use the Events on the system alarms, to trigger scripts or system functions based on their calling.

According to the help file, there are also some system tags you can create. Creating a tag called "@<ConnectionName>@ConnectionState" allows you to read the current status of the connection (1 = connected). If you use @ForceConnectionState instead, then you can write to the tag and allow actually activating and deactivating the connection in Runtime. Search for @ConnectionState in the help for more info.
 
TIA 15, WinCC Poffessional, S7-300 (I think PLC model is irrelevant in this case)

CPU type may very well be relevant for some system functions like "GetPLCMode" and I'm sure others that I'm not familiar with.

MK42's suggestion should work with comfort panels and runtime advanced but I don't recall seeing it with runtime professional. I guess I have some testing to do when I get sometime.
 
MK42's suggestion should work with comfort panels and runtime advanced but I don't recall seeing it with runtime professional. I guess I have some testing to do when I get sometime.

The first idea is from comfort/adv, true, but the second idea is straight from the WinCC Pro help. I don't think it works in adv.
 

Similar Topics

In our production plant we have multiple different networks (subnets). IT dept have setup routing between them so different subnets can...
Replies
0
Views
84
Is it possible to connect a PC with running WinCC Advanced or Unified to a siemens PLC such as S7-1200 across different subnets? The computers can...
Replies
0
Views
74
Hello, someone have experience about how to delete an alarm message(alarm already solved) from alarm viewer with something coming from PLC? THANKS
Replies
0
Views
375
Hi everybody. Please help me. i want to know is it poosible to write SCADA program for a CJ2M-CPU31 OMRON PLC in WINCC program? Programming of...
Replies
3
Views
1,388
Hi, So we have 3 pc with wincc rt installed. I have the program in my laptop and downloaded to file system the scada file, transferred it to the...
Replies
6
Views
1,990
Back
Top Bottom