Skip to content

Using C# Form Application, changes can be made on MX OPC Tags and MELSEC GX Works3 circuits can be manipulated with C#

Notifications You must be signed in to change notification settings

mertsgrr/mxopc_csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

Controlling MX OPC with C#

  • Used in the Project
    Visual Studio - v2022
    C#
    .Net - 6.0

Required Programs

Factory IO 3D factory simulation for automation technologies. Allows to build a virtual factory using a selection of common industrial parts.

MX OPC Configurator
Allows users to access data from a MELSEC programmable controller using the OPC format

MELSEC GX Works3
Latest generation of programming and maintenance software offered by Mitsubishi Electric specifically designed for the MELSEC iQ-R and MELSEC iQ-F Series control system.

Download Required Files

Click to download

Installation

Factory IO

  • Go to Documents/Factory IO/My Scenes and copy the StartStopConveyor.factoryio file there
  • Open Factory IO
  • Click the Scenes menu
  • Open the scene you just added from My Scenes

MX OPC Configurator

  • Open MX OPC Configurator
  • Go to File menu from the top left
  • Select CSV Import option
  • Import the mxopc_tags.csv file

MELSOFT GX Works3

  • Open MELSOFT GX Works3
  • Go to Project menu from the top left
  • Select Open option
  • Open GXStartStop.gx3 file

Usage

  1. Make sure MX OPC is running. (by clicking the green arrow in the menu in the MX OPC Configurator)
  2. Open MELSEC GX Works3.
  3. Convert the project by pressing the F4 key (or clicking "Convert/Convert(B)" from the top menu)
  4. Start the simulation by clicking "Debug/Simulation/Start Simulation" in the top menu)
  5. Run the C# program
  6. Select "SistemStart" tag from the combobox named "Tags"
    • Select value "1"(to start the simulation) from the combobox named "Value"
    • Select value "0"(to stop the simulation) from the combobox named "Value"

About

Using C# Form Application, changes can be made on MX OPC Tags and MELSEC GX Works3 circuits can be manipulated with C#

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages