Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Tuesday, 7 March 2023

S7-PLC DB Simulator - FREE

- 0 komentar

 Hello innovators!


Let me introduce our latest innovation: S7DBSim, a simple Windows application that can simulate Data Block of Siemens S7-PLC.

This video shows how to use the application and how it communicates with WinCC.



00:00 - How to use S7DBSim

04:47 - Test with WinCC


It's FREE, please download the Zip file from here: 

https://mega.nz/file/piokQZAK#1YAJ5tALloWbyasTRty8h-YzdcLv7ImDoqheWhLQ4lA


This app use Snap7 library: 

https://github.com/SCADACS/snap7


I hope this application will be useful for you. If you have any questions or suggestions, please write them in a comment or by email.


Thanks and have a nice day!

[Continue reading...]

Friday, 22 January 2021

Scalare* Runtime

- 0 komentar

Scalare* Runtime adalah aplikasi yang khusus dibuat untuk menjalankan file Scalare dengan ektensi .sclr

Saat pertama kali aplikasi dijalankan akan membuat Registry baru di Windows, jadi perlu kredensial Administrator Windows saat dijalankan, ini bisa dilakukan dengan cara klik kanan lalu pilih "Run as Administrator".

Untuk membuat file .sclr rekan-rekan harus Update Scalare* ke versi terbaru yaitu 1.0.0.3, di aplikasi terbaru ada tambahan menu "Build" yang akan menyimpan projek ke file .sclr, dimana file tersebut akan dikenali dan bisa langsung dibuka/dijalankan oleh aplikasi Scalare* Runtime. 



Silahkan download aplikasi Scalare* Runtime disini:

http://hadiscada.com/scalare/download/scalare_runtime.zip

**cara download: klik kanan > Simpan tautan sebagai..


Terima kasih.


[Continue reading...]

Tuesday, 5 May 2020

Video Tutorial : VB Modbus TCP Client to MySQL Database

- 2 komentar


Please see the previous video :
Visual Basic Modbus TCP Client
http://hadiscada.blogspot.com/2020/05/video-tutorial-visual-basic-modbus-tcp.html

This video is the advanced step, now we will do monitoring Modbus TCP data then logging to MySQL database.


TimeSteps:
00:04 Form Design
05:50 Setup MySQL Database and Table
07:58 Scripting
17:50 Test


The project source code can be downloaded here:
https://drive.google.com/open?id=1Cv8CU8a_tDqLM3YimtGDiuwmxWwJJ-3m


Thank you.
[Continue reading...]

Monday, 4 May 2020

Video Tutorial : Visual Basic Modbus TCP Client

- 0 komentar


This video shows How to create Modbus TCP Client desktop application using Visual Basic language in Microsoft Visual Studio 2019. In this project we will add EasyModbus library using Nuget Package Manager.
and we will use Mod_RSsim Modbus Simulator, can be downloaded from here: http://www.plcsimulator.org/downloads The project source code can be downloaded here: https://drive.google.com/open?id=1hIRpKCkbE_i5zxXpqpNKh4p6xr8XKLd-


Thank you.
[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...]

Friday, 31 January 2020

Dashboard Designer

- 0 komentar


Dashboard Designer is a Windows desktop application to create HMI (Human Machine Interface) / SCADA (Supervisory, Control and Data Aquisition) application dashboard.
it can connect to various protocol/data source like OPC.
the project is saved in XML file, and can be uploaded/downloaded to/from Cloud (Firebase) storage.


Dashboard Designer - Part 1/3 (Graphic)

Dashboard Designer - Part 2/3 (Connection & Runtime)

Dashboard Designer - Part 3/3 (File Open-Save/Upload-Download)


if you need more information please contact to: hadiScada@gmail.com

Thanks.
[Continue reading...]

Saturday, 11 March 2017

Modbus Osiloskop

- 0 komentar
Sebenarnya sudah lama kami ingin post aplikasi VB ini, namun baru kali ini bisa kami share.
Aplikasi Modbus Osiloskop adalah permintaan dari seseorang dan beliau membayar kami untuk projek ini, jadi tidak akan kami share secara gratis source code projek VB nya, hanya aplikasi EXE nya.
Aplikasi ini berfungsi untuk membaca nilai dari register Modbus Serial (RS232), kemudian menampilkannya di grafik/chart. Chart nya bisa diperbesar (zoom in) dan diperkecil (zoom out).
Berikut adalah tampilan dari aplikasi tersebut:

Setting/konfigurasi nya:

Tampilan ketika dijalankan:

Untuk menjalankan aplikasi ini sebenarnya tinggal langsung PC nya dikonek ke device Modbus, sesuaikan setting Port dan alamat registernya.
Namun pada saat pengetesan saya menggunakan dua software ini: ModRS_Sim dan VSPE.
Penjelasannya sudah dijelaskan di artikel sebelumnya, namun sekilas saya gambarkan sebagai berikut:

VSPE
Virtual Serial Port Emulator, aplikasi ini berfungsi untuk membuat virtual serial port. Kita akan membuat 2 buah serial port yang secara virtual terhubung (Pair). Ini adalah tampilan dari aplikasi VSPE:

dan ini adalah koneksi Pair nya:

ModRS_Sim
Ini adalah tampilan aplikasi ModRS_Sim. Pilih protokolnya Serial.

Berikut setting portnya:

Ini adalah fitur ModRS_Sim untuk animasi/simulasi pertambahan nilai di register:


 Jadi seperti ini prosedurnya:
> buka aplikasi VSPE, buat koneksi Pair. pada contoh diatas port Com2 dan Com3
> buka aplikasi ModRS_sim, setting protokol ke Serial, setting Baud rate, parity, dll. pilih port Com2.
> buka aplikasi Modbus Osiloskop, buat file baru, buka tab Setting, Edit. lalu pilih port Com3, setting baudrate, parity sesuai dengan settingan di ModRS_sim. Tentukan alamat Register 1 sampai 3.
> dari aplikasi Modbus Osiloskop, jalankan dengan klik menu Action > Start.
> dari aplikasi ModRS_sim, tulislah nilai tertentu pada register yang sudah ditentukan, bedakan nilainya agar terlihat beda pada grafik, misal 10,20,30.
> kemudian dari aplikasi ModRS_sim, buka fitur Animation, laukakn penambahan 10 nilai setiap 1 detik, lihatlah ke grafik Osiloskop, setelah nilai di register lebih dari 100 maka ubah pertambahannya menjadi -10 agar kurva di grafik Modbus Osiloskop terlihat seperti gelombang sinus.

Demikian penjelasan kami.
Alikasi EXE Modbus Osiloskop silahkan download disini: https://goo.gl/3SYIhC
note: rename ekstensi file ke .zip

Untuk yang ingin membeli source code projek VB nya, silahkan hubungi kami via email.
Terima kasih.
[Continue reading...]

Sunday, 5 June 2016

AutoBatch : Auto Run Batch File

- 0 komentar

Hi..

I create a simple sample (demo) VB.net project (application) named AutoBatch. 
This application is for Auto Run BAT file, when the file is added to specified directory (folder).


Please download the project from here.

Learning points from this project was :
+ how to watch the content of diretory
+ how to run the BAT file 
+ how to delete file
+ how to save the Setting of application
+ how to load the Setting of application
+ how to use Timer to evaluate the change of folder
+ how to use Timer for Demo session
+ how to make a sample simple BAT file. 



picture when there is no BAT file.

picture when new BAT file added.

picture when Run BAT file.


Thank you..
[Continue reading...]

Saturday, 5 March 2016

Taskbar Show Hide

- 0 komentar
Pernahkah Anda mendapatkan Taskbar Windows menghilang?
Taskbar adalah bar yang defaultnya terdapat di bagian bawah layar, dimana semua aplikasi yang sedang berjalan akan ditampilkan icon-nya. Melalui Taskbar ini kita bisa menampilkan dan menyembunyikan aplikasi yang sedang berjalan.
Taskbar juga sebgai tempat Quick Launch dan Sys Tray. Biasanya aplikasi penting akan meletakan icon kecil sebagai shortcut menu di Sys Tray.
Apa yang membuat saya ingin membahas ini adalah pengalaman saya dengan WinCC. Kami menggunakan PCS 7 v8.1, entah apakah problem ini berlaku juga pada WinCC/PCS 7 versi lain.
Problemnya adalah, ketika WinCC Runtime dijalankan, beberapa saat yang kami tidak tahu pasti (bisa jam/harian/mingguan) setelah itu Taskbar Windows menghilang. Ketika kami menekan tombol Start Windows tidak muncul Taskbar tersebut.
Dengan Taskbar yang hilang, kami tidak bisa melakukan beberapa action terhadap WinCC, seperti Exit Graphic Runtime dan lain-lain.
Oleh sebab itu kami mencari cara untuk bisa menampilkan Taskbar yang hilang tersebut, dan inilah solusinya:

Aplikasi TaskbarShowHide
Aplikasi ini dibuat dengan bahasa VB. Sumbernya kami dapat dari forum di internet. Dengan aplikasi ini kita bisa Show Taskbar dan Hide Taskbar, sederhana.
Berikut langkah-langkah untuk membuatnya:

1. Buka Visual Basic.
2. Pada Form1, tambahkan dua tombol, btnShow dan btnHide seperti berikut:


3. Buka jendela code untuk Form1, dan ketik code berikut:

Public Class Form1

    Private Sub btnShow_Click(sender As Object, e As EventArgs) Handles btnShow.Click
        ShowTaskBar()
    End Sub

    Private Sub btnHide_Click(sender As Object, e As EventArgs) Handles btnHide.Click
        HideTaskBar()
    End Sub
End Class



4. Tambahkan module baru dengan nama Module1.
5. Ketik code berikut:

Option Explicit On

Module Module1

    Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" _
        (ByVal lpClassName As String, ByVal lpWindowName As String) As Integer

    Private Declare Function SetWindowPos Lib "user32" _
        (ByVal hwnd As Integer, ByVal hWndInsertAfter As Integer, ByVal x As Integer, _
         ByVal y As Integer, ByVal cx As Integer, ByVal cy As Integer, _
         ByVal wFlags As Integer) As Integer

    Private Const SWP_HIDEWINDOW = &H80
    Private Const SWP_SHOWWINDOW = &H40

    Public Function HideTaskBar() As Boolean
        Dim lRet As Integer
        lRet = FindWindow("Shell_traywnd", "")
        If lRet > 0 Then
            lRet = SetWindowPos(lRet, 0, 0, 0, 0, 0, SWP_HIDEWINDOW)
            HideTaskBar = lRet > 0
        End If
        Return True
    End Function

    Public Function ShowTaskBar() As Boolean
        Dim lRet As Integer
        lRet = FindWindow("Shell_traywnd", "")
        If lRet > 0 Then
            lRet = SetWindowPos(lRet, 0, 0, 0, 0, 0, SWP_SHOWWINDOW)
            ShowTaskBar = lRet > 0
        End If
        Return True
    End Function
End Module


Run dan cobalah untuk Show/Hide Taskbar.
Selamat mencoba..

[Continue reading...]

Tuesday, 13 October 2015

NetBox

- 0 komentar
Aplikasi NetBox adalah aplikasi untuk memonitor status koneksi ke beberapa PC atau device yang terhubung di jaringan. Setiap PC ditampilkan dalam bentuk kotak, yang warnanya akan berubah sesuai dengan statusnya.

Berikut adalah tampilannya:

Untuk menambahkan Box baru, klik tombol Add Box. Kita bisa inputkan nama PC atau IP address.


Posisi dari Box bisa digeser dan ditempatkan di manapun kita inginkan. Untuk merapihkan secara otomatis, klik tombol Arrange.
Aplikasi akan secara periodic melakukan Ping ke semua Box, dan menampilkan statusnya dalam warna.

Berikut adalah jenis warna dan statusnya:
> Kuning   :  warna awal, belum dicek
> Hijau      :  status OK.
> Merah    :  status Not OK, ping RTO (Request Time Out)
> Abu        :  status Not OK, tidak bisa mendapatkan IP address

Untuk mengubah (edit) Box, double-click pada Box tersebut atau bisa juga dengan klik-kanan lalu pilih Edit.

Beberapa tombol pada tab Network:
> Add Box                       :  untuk menambah Box baru
> Add Boxes from list     :  untuk menambah Box-box baru dari file text
> Arrange                         :  untuk merapihkan posisi Box
> Load Net                      :  untuk me-load list Box dan posisinya dari file
> Save Net As                 :  untuk menyimpan list Box dan posisinya ke file 

Pada tab Advanced, kita bisa membuat dan mengubah Custom Command yang adalah perintah untuk melakukan sebuah aksi pada Box, misalnya melakukan Remote Desktop atau membuka sebuah file text yang ada di PC Box yang dipilih.



Berikut adalah contoh Command untuk Remote Desktop: 

 Berikut adalah contoh Command untuk Open Notepad:

 Custom Command akan ditampilkan pada menu ketika melakukan klik-kanan pada Box, dan akan dieksekusi saat menu tersebut dipilih, seperti pada gambar berikut:


 Pada tab Preferences, ada pilihan Snap to Grid dengan Grid Size yang bisa diatur, dan pilihan Auto Save Net on Close.


Silahkan download demo Exe-nya disini.


[Continue reading...]

Ping Logger

- 0 komentar
Aplikasi PingLogger adalah aplikasi sederhana untuk melakukan test ping ke komputer atau perangkat lain yang terhubung ke jaringan, kemudian menyimpan status ping tersebut ke sebuah file yang ditentukan.
PingLogger application is a simple application to do PING to a computer or other device connected to the network, and then save the Ping status to a specified file.

Berikut adalah tampilan dari aplikasi PingLogger:
Here is a view of the application PingLogger:

> Target IP bisa diisi dengan 2 target. 
> Cycle adalah peridoe siklus pengecekan ping.
> Tentukan file Text output, bisa juga melalui tombol browse.
> Tombol Start untuk memulai logging, Pause untuk menjeda, dan Stop untuk berhenti.
> Untuk membuka/melihat file output maka klik tombol Open Output File.
- Target IP can be filled with two targets.
- Cycle is a cyclic time to Ping.
- Define Text file output, it could be through the browse button.
- Start button to start logging, Pause to pause, and stop to stop.
- To open / view the output file then click the Open Output File button.

Berikut adalah contoh tampilan dari file output:
Here is an example of the output file:

Silahkan download projek VB dari PingLogger disini.
Please download the VB project of PingLogger here.
[Continue reading...]
 
Copyright © . HadiSCADA - Posts · Comments
Theme Template by BTDesigner · Powered by Blogger