Skip to content

Manodgr8/SCADA-System

Repository files navigation

SCADA-System

A Windows-based SCADA system developed in C# to communicate with a Mitsubishi FX5U PLC.

Author: Nex Gen Automation


Features

  • PLC Communication: Connects to a Mitsubishi FX5U PLC via Ethernet using the ActUtlTypeLib (MX Component).
  • Animated Login: Secure, animated login screen with a 3-attempt password policy.
  • Responsive UI: The main window is maximized to fit any desktop screen.
  • Sliding Navigation: A modern, collapsible side panel for easy navigation between screens.
  • PLC I/O Monitoring:
    • Dedicated screens for Input Status and Output Status.
    • Real-time ON/OFF status visualization.
    • Customizable names for all I/O points.
    • Search functionality to quickly find specific I/O points.
  • Data Register Access: A screen to read from and write to PLC data registers (Numeric and Alphanumeric).
  • Process Visualization: A Wagon Status screen that visually represents a chemical processing line with:
    • 11 processing tanks.
    • 1 loading/unloading station.
    • 2 overhead wagon transporters.
    • Wagon movement animated based on real-time PLC data register values.

Prerequisites

  1. Microsoft Visual Studio: 2019 or later.
  2. .NET Framework: Version 4.7.2 or later.
  3. Mitsubishi MX Component: Version 4 or later must be installed. This provides the necessary ActUtlTypeLib.dll for PLC communication.

Setup Instructions

  1. Create Project:

    • Open Visual Studio.
    • Create a new project.
    • Select Windows Forms App (.NET Framework) and choose C#.
    • Name the project ScadaSystem and the solution SCADA-System.
  2. Add COM Reference:

    • In the Solution Explorer, right-click on your project's References.
    • Select Add Reference....
    • Go to the COM tab on the left.
    • Find and check Mitsubishi ActUtlType Control.
    • Click OK. This will add ActUtlTypeLib and AxActUtlTypeLib to your project references.
  3. Add Project Files:

    • Add the C# files provided in this repository to your project. You can do this by right-clicking the project, selecting Add -> Existing Item..., and selecting the files.
    • Ensure you maintain the folder structure (e.g., Forms, Controls, Services).
  4. Configure PLC Connection:

    • Open the Services/PlcService.cs file.
    • In the Connect method, modify the actUtlType.ActLogicalStationNumber property to match the station number you configured in the MX Component connection utility.
  5. Build and Run:

    • Build the solution (F6).
    • Run the application (F5).

About

PLC : FX5U, SCADA : Language C#, Windows based SCADA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages