Generate an alert when driver connection is down

Find and share HowTos to various installations / configurations!
Search

Post Reply
4 posts • Page 1 of 1
pablo.chamorro
Posts: 15
Joined: Mon Jan 27, 2020 12:42 pm

Generate an alert when driver connection is down

Post by pablo.chamorro » Wed Nov 11, 2020 10:59 am

Hello,

Till now, we use the 'invalid bit' checkbox to check if some driver connection is down, but if the panel is not opened you can not realize it.

We would like to recives an alarm on our AESRow when a driver connection is down. There is an easy way on WinCCOA to config that? Maybe, a checkbox on the driver connection config panel?

We only found the 'alarming active' checkbox on help documentation, but it not seems it's what we want to do. It's possible that we should make our own control?

Thanks.

User avatar
leoknipp
Posts: 2344
Joined: Tue Aug 24, 2010 5:28 pm

Re: Generate an alert when driver connection is down

Post by leoknipp » Thu Nov 12, 2020 7:59 am

How an alert can be generated if the driver looses connection to a PLC or a device depends on the driver you are using.
Depending on the driver for a connection to a PLC/device an internal datapoint is used where possibly the connection information is saved. When you configure an _alert_hdl config for this element you will get an alarm if the connection is down.
For details for the driver you are using please have a look at the WinCC OA Documentation.

Which driver are you talking about?

Best Regards
Leopold Knipp
Senior Support Specialist

pablo.chamorro
Posts: 15
Joined: Mon Jan 27, 2020 12:42 pm

Re: Generate an alert when driver connection is down

Post by pablo.chamorro » Thu Nov 12, 2020 8:30 am

Hi leoknipp,

We use S7, S7Plus, OPCUA and Modbus.

So, you are talking about configure an _alert_hdl into the connState of each driver connection?

It is a good practice edit internals DP?

User avatar
leoknipp
Posts: 2344
Joined: Tue Aug 24, 2010 5:28 pm

Re: Generate an alert when driver connection is down

Post by leoknipp » Thu Nov 19, 2020 11:45 am

Yes, I am talking about the elements where the "connection state" is written to.
The name of the DP element may differ for every driver.

You can modify the internal datapoints and add an _alert_hdl config to it.
The System Overview panel can be used to configure an error state and an _alert_hdl config to internal datapoint elements. This has the advantage that the error state is increased if a PLC connection is lost.

Best Regards
Leopold Knipp
Senior Support Specialist

Post Reply
4 posts • Page 1 of 1