Wednesday 16 July 2014

Simple Scada 1


Projek ini adalah projek HMI/Scada sederhana menggunakan VB.Net. Ditujukan untuk anda yang masih tahap dasar dalam mempelajari pembuatan aplikasi HMI/Scada menggunakan VB.Net.
This is a simple HMI/Scada project using VB.net for basic. 

Projek ini dibuat dengan Ms. Visual Studio 2010 Express. Protokol komunikasi yang digunakan adalah Modbus TCP. Kami menggunakan kontrol Winsock untuk komunikasi ke Modbus TCP Server. Jadi ada kontrol yang ditambahkan pada projek ini yaitu Microsoft Winsock Control.
This project build using MS Visual Studio 2010 Express. The protocol is Modbus TCP. We use WinSock component to communicate with Modbus TCP Server. 



Kami menggunakan Mod_RSsim sebagai Modbus Server Simulator. Jadi IP Address yang diset pada kontrol Winsock adalah IP localhost (127.0.0.1).
We use Mod_RSsim as a Modbus Server Simulator. So the IP address for Winsock is localhost IP (127.0.0.1).

Pada projek ini kita akan menampilkan sebuah LED yang warnanya akan Merah jika nilai dari register MW 1 tidak bernilai 1 dan akan berwarna Hijau jika bernilai 1. Ada dua buah tombol, ON dan OFF, untuk menset LED. Juga ada objek Analog Value untuk menunjukan nilai dari register MW 5, disertai textbox New Value dan tombol Write untuk merubah nilai analog tersebut.
In this project, we will show a LED picture which will be Red when the value of Modbus registerMW1 is not equal to 1, and will be Green when it equal to 1. There is a ON and OFF button to set the LED. Also there is a Analog Value to show the value of Register MW5, with a textbox and button to write the value.



  
Sebelum menjalankan aplikasi ini, pastikan Modbus Server-nya (dalam contoh ini adalah Mod_RSsim) sudah active.
Before run this application, make sure that Modbus Server (Mod_RSsim) is running.

Silahkan diunduh projek SimpleScada_1 ini disini:
The project can be downloaded here:

Untuk simulator modbus Mod_RSsim bisa diunduh disini:
Mod_RSsim can be downloaded here:
http://www.plcsimulator.org/downloads
Artikel lebih lengkap mengenai penggunaan Mod_RSsim silahkan baca disini:
More detail article about Mod_RSsim is here:



Semoga bermanfaat.

0 komentar:

Post a Comment

 
Copyright © . HadiSCADA - Posts · Comments
Theme Template by BTDesigner · Powered by Blogger