Wednesday 23 July 2014

Simple Scada 2 - Analog Slider & Trend

- 1 komentar
Projek ini adalah projek sederhana untuk membuat objek Slider yang bisa mengubah nilai analog dan objek Trend untuk menampilkan nilainya.
This is a simple project to make a Slider objek for change Analog value, and to make Trend objek to display the value.

Seperti projek sebelumnya (Simple Scada 1), pojek ini juga dibuat dengan VS 2010 Express.
This project is build using VS 2010 Express, like the previous project (Simple Scada 1).

Berikut adalah tampilan design dari projek:
This is the design view of project:


Objek-objeknya terdiri dari komponen Winsock untuk komunikasi ke Modbus TCP Server (yang kali ini kita juga akan menggunakan simulator Mod_RSsim), lalu sebuah textbox untuk Analog Value, objek VScrollBar untuk Slider Analog dan objek Chart untuk Trend Analog, juga beberapa label sebagai pelengkap.
This project consist of Winsock component for communicating with Modbus TCP Server (which is using Mod_RSsim), then a textbox for Analog Value, then a VScrollBar object for Analog Slider, and then Chart object for Analog Trend, and also some label.

Objek TimerRead dan TimerTO fungsinya seperti pada projek sebelumnya, yaitu TimerRead untuk membaca nilai register setiap 1 detik sekali, dan TimerTO untuk waktu Time Out sebuah perintah dikirim ke Modbus Server. Yang baru adalah TimerTrend, yang berfungsi untuk menampilkan nilai dari register ke Chart setiap 1 detik sekali.
TimerRead is for read Modbus register every 1 second. TimerTO is for Time Out command which is send to Modbus Server. The new one is TimerTrend, for displaying analog value from register to Chart every 1 second.

Berikut adalah tampilan ketika projek dijalankan:
This is the runtime view of project:

Pastikan aplikasi Mod_RSsim sudah jalan sebelum projek ini dijalankan.
Make sure that Mod_RSsim is running before Run the project.

Projek SimpleScada_2 bisa diunduh disini:
SimpleScada_2 project can be downloaded here:
http://goo.gl/R1dP0M


Semoga bermanfaat.
[Continue reading...]

Wednesday 16 July 2014

Simple Scada 1

- 0 komentar

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.

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