Showing posts with label Alarm. Show all posts
Showing posts with label Alarm. Show all posts

Friday, 14 April 2023

OPC Agent Expert : OPC DA & UA Client Windows App

- 2 komentar

 Hello innovators!



OPCAgentX is a comprehensive OPC client application designed for Windows that supports both OPC Data Access (DA) and OPC Unified Architecture (UA). With a variety of powerful features such as trend/chart displays, SQL database logging, alarm and notification capabilities, and MQTT publishing, OPCAgentX is a robust solution for real-time data acquisition.


00:00 - intro

00:11 - OPC DA Browse & Monitor

01:54 - Trend / Chart

03:34 - SQL Database logging

06:02 - File logging

08:29 - Alarm

10:51 - Publish to MQTT

12:17 - OPC UA

13:46 - Options Theme


Download OPCAgentX free version here:

https://mega.nz/file/5yRlhQwR#3wcTCVOhYa3mWJa9kG9rEcC6HvSak7lCvth4n8dcAOs


Thanks and have a nice day!

[Continue reading...]

Friday, 12 February 2021

Scalare update 1.0.0.4

- 5 komentar





tambahan pada versi ini:

+ Menu
+ Scale factor (faktor pengali) di bagian Tag Management
+ Alarms (Configuration, Monitoring, Archived)
+ Logging (Configuration dan Archived)
+ tombol Request Full Version di bagian About

Download aplikasi Scalare disini:
hadiscada.com/scalare
*versi Portable sudah terupdate, untuk Setup nya belum

Terima kasih.
[Continue reading...]

Sunday, 3 May 2020

Modbus Logger Expert

- 2 komentar
ModLogX (Modbus Logger Expert) is an application for logging data from Modbus TCP Server or Modbus RTU Slave to SQL database or File or Cloud, and other function.


The features / functions :
1. Connect to Modbus TCP Server/ RTU Slave or act as Modbus TCP Server/ RTU Slave
2. Tag Management for easy access Modbus Register
3. Trending for each tag or group
4.  Log to file (CSV or TXT)
5. Log to SQL (MS SQL Server or MySQL)
6. Log to cloud (Firebase Realtime Database) for access data from mobile device (optional)
7. Alarm configuration based on status/value of tags
8. SMS notification when alarm active
9. Save all configuration to file and Open from file.


Here are some screenshots and few steps to follow:

> open Connection page, click Edit button (icon pencil) then define the connection.

> open Tag Management page, click Add Group button (icon plus) then create new group with defined Start Modbus Register and Length Register to read. then click Add Tag button to create some tag with each Register address defined.

> click menu File > Save, then write your filename. Make sure your Modbus Server was running (here I use Modbus Simulator), then click Activate button.

 > to show the trending, click on the tag then click Trend button (icon line chart).


for more information please ask us by email to:
hadiScada@gmail.com
or Whatsapp message to:
+6281212129806

Please download ModLogX demo exe file from here:
https://app.box.com/s/4m5xaj4rkeuedkezo1j7a99qvj01z64m


Thank you!
[Continue reading...]

Wednesday, 1 July 2015

Send SMS for WinCC Alarm

- 11 komentar
Dear All,
here is our answer, when a friend ask about: How to send SMS automatically when Alarm is active in WinCC?

Alarm Control Center (ACC) from Siemens is the best tool for this purpose, and many other functionalities for Alarm handling (escalation).

But, if you want to use another application (more cheap/simple), we create a little application called Send_SMS.
Please make sure that you already have a GSM modem for sending SMS and make sure this modem is working. Remember the serial (COM) port which is  used by the modem.

There are 3 kind of work we will do:
1) download the file
2) edit Alarm Logging
3) edit Global Script

1. DOWNLOAD FILES
Please follow these steps:
> download the zip file here.
> rename the file extension from .JPG to .ZIP, then extract the file.
> there are 2 application, send_sms_w.exe is Windows application and send_sms_c.exe is Console.
> test sending SMS using send_sms_w.exe

> edit Settings of Port number, Baud rate, destination Phone number, SMS center.
> click Connect button.
> write some text, then click SEND button.
> check incomming SMS on destination phone.
> if the test above is success, then put send_sms_c.exe to the specified location, like on C:\ drive

2. EDIT ALARM LOGGING
> open Alarm Logging from WinCC Explorer.
> select the alarm messages which is you want to send SMS.
> check the Trigger Action option.

3. EDIT SCRIPT
> open Global Script C.
> select Standard functions > Alarm > GMsgFunction
> open the script and edit, to be like this:



#include "apdefap.h"

BOOL GMsgFunction( char* pszMsgData)
{
char s_sms [200];

MSG_RTDATA_STRUCT mRT;
  memset( &mRT, 0, sizeof( MSG_RTDATA_STRUCT ) );

  if( pszMsgData != NULL )
  {
     printf( "Meldung : %s \r\n", pszMsgData );

    // Meldungsdaten einlesen
     sscanf( pszMsgData,  "%ld,%ld,%04d.%02d.%02d,%02d:%02d:%02d:%03d,%ld, %ld, %ld, %d,%d",
&mRT.dwMsgNr,  // Meldungsnummer
&mRT.dwMsgState,   // Status MSG_STATE_COME, .._GO, .._QUIT, .._QUIT_SYSTEM
&mRT.stMsgTime.wYear,  // Jahr
&mRT.stMsgTime.wMonth,  // Monat
&mRT.stMsgTime.wDay, // Tag
&mRT.stMsgTime.wHour,  // Stunde
&mRT.stMsgTime.wMinute, // Minute
&mRT.stMsgTime.wSecond,  // Sekunde
&mRT.stMsgTime.wMilliseconds, // Millisekunde
&mRT.dwTimeDiff, // Zeitdauer der anstehenden Meldung
&mRT.dwCounter, // Interner Meldungszähler
&mRT.dwFlags, // Flags( intern )
&mRT.wPValueUsed,
&mRT.wTextValueUsed );

      // Prozesswerte lesen, falls gewünscht
    } 

  printf("Nr : %d, St: %x, %d-%d-%d %d:%d:%d.%d, Dur: %d, Cnt %d, Fl %d\r\n" , 
  mRT.dwMsgNr, mRT.dwMsgState, mRT.stMsgTime.wDay, mRT.stMsgTime.wMonth, mRT.stMsgTime.wYear, 
  mRT.stMsgTime.wHour, mRT.stMsgTime.wMinute, mRT.stMsgTime.wSecond, mRT.stMsgTime.wMilliseconds, mRT.dwTimeDiff,
  mRT.dwCounter, mRT.dwFlags ) ;

if (mRT.dwMsgState == 1)
{
printf ("send sms..");
sprintf(s_sms, "C:\\send_sms_c.exe 1 9600 +6281234567890 +628100000 \"Test Alarm %d\"", mRT.dwMsgNr);
ProgramExecute(s_sms);
}

   return( TRUE );
}

* the red one is the additional script.
* edit path of file, port number, baud rate, phone number, SMS center

> you can modify the content of message, on the example above, we just send a message number of alarm.
> save and go test runtime WinCC.


Thank you. 
[Continue reading...]
 
Copyright © . HadiSCADA - Posts · Comments
Theme Template by BTDesigner · Powered by Blogger