Scadpack Workbench- V6.5- Heartbeat Counter Communications Setup

akash11132

Lifetime Supporting Member
Join Date
Jun 2017
Location
Sydney
Posts
45
Hi Everyone,

I am newbie in programming RTUs. I am currently working on a water infrastructure project. This project involves reading Modbus registers from PLC and mapping that to RTU DNP3 points of Scadapack 535E RTU. The DNP3 Points from RTU has to be read by Remote SCADA(ClearSCADA). We are using Scadapack Workbench V6.5 to program the RTU.

To ensure the communications is not lost between PLC and RTU, a watchdog counter is used in both RTU(Scadapack workbench) and PLC(Unity Pro). These counters are set to be incremented every second . If any of the counter stops incrementing for about 40 seconds time interval, it is assumed that the communication is lost. Is there any sample program to demonstrate this idea.



Regards,

Akash
 
Create a variable called Last_Count. Every scan compare the last count to the current count. While they remain equal (i.e. comms has failed), run a timer. Set a reasonable timer preset for the "comms fail".

If the count changes (i.e. comms is successful) move the count value to the Last_Count. As the values are no longer equal the timer resets to zero.
 

Similar Topics

was trying to use Connected Components to connect to a 525 drive via usb with the face off but can't seem to connect to it. the screen lights up...
Replies
7
Views
747
So I'm using CCW to program a panel view and this is not my first I have done many. My Problem is I get an error message that I have never seen...
Replies
2
Views
475
How do you expand a branch in connected components workbench. Example i want to add an interlock around more than one contact. Most software you...
Replies
14
Views
1,266
I’m working on a conveyor project for work. We’re trying to install a few diverts to carry product directly to one of two trailer doors. I have...
Replies
5
Views
1,036
I cannot get CCW to add a controller, i keep getting a error message saying that the device is not authorized. This happens with any model and...
Replies
1
Views
1,329
Back
Top Bottom