PLC and SCADA Connection Status

Find and share HowTos to various installations / configurations!
6 posts • Page 1 of 1
yeshwarya
Posts:7
Joined: Wed Aug 08, 2018 10:18 am

PLC and SCADA Connection Status

Post by yeshwarya »

Dear Team :)

I am using Siemens PLC S7-400 and WinCC-OA 3.15.

I had created few SCADA library for field object in WinCC-OA. I used Wizard to apply script to object and $parameter. I developed 40-50 object in WinCC-OA.


While testing I found that when PLC is disconnected, still my object not showing any indication. It will remains as its as like when system is online.

I checked the option using invalid bit, its working. but for 40-50 object and 1000 of scripts is not possible to change in script.



Is there any alternate way to show PLC connection in SCADA.


Please urgent, Waiting for your reply.

adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

Re: PLC and SCADA Connection Status

Post by adaneau »

Hi,

You can always show an alarm linked to ConnState datapoint element of your PLC datapoint.

BR
Alexandre

yeshwarya
Posts:7
Joined: Wed Aug 08, 2018 10:18 am

Re: PLC and SCADA Connection Status

Post by yeshwarya »

How to show an alarm.
I want to show any indication on object that PLC is disconnected.


Please can you provide me in details.

adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

Re: PLC and SCADA Connection Status

Post by adaneau »

If you dont want to modify all your objects then it is impossible.

If you are ready to change your objects, you can always add a frame independant from any other code of the object which will show either invalid bit either alarms.

But sorry it is lame to expect to display something on object you self made without modifying it :dry:

BR
Alexandre

yeshwarya
Posts:7
Joined: Wed Aug 08, 2018 10:18 am

Re: PLC and SCADA Connection Status

Post by yeshwarya »

I Used dpConnect and dpexist property to connect $ parameter. From this property is it possible to show PLC disconnect alarm or I have to made script for Inavalid bit.

adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

Re: PLC and SCADA Connection Status

Post by adaneau »

Hi

For invalid you can use
dpConnect( "cbFct", "yourDpeName:_online.._invalid").

Your cbFct must handle a boolean as value type as invalid is a bool.

BR
Alexandre

6 posts • Page 1 of 1