Seiten

Dienstag, 1. Juli 2014

RV-M1 Wrapper

RV-M1 Wrapper ist eine .NET-Klassenbibliothek, zum Programmieren der Mitsubishi Mehrachsroboter RV-M1. Mit Hilfe der Bibliothek ist es möglich die Roboter mit einer modernen Programmiersprache (z.B. Visual Basic oder C#) und einer modernen Entwicklungsumgebung (z.B. Visual Studio) zu programmieren.RV-M1 wrapper is a .NET class library for programming the Mitsubishi multi axis robots RV-M1. Using the library, it is possible to program the robots with a modern programming language (such as Visual Basic or c#) and a modern development environment (such as Visual Studio).

1. Erstellen Sie ein Projekt in Visual Studio1. Create a project in Visual Studio


Starten Sie z.B. mit einer WindowsFormsApplication.Start e.g. with a WindowsFormsApplication.

2. RV-M1_Wrapper.dll zum Projekt hinzufügen2. Add the RV-M1_Wrapper.dll to the project


Fügen Sie über den Projektmappen-Explorer (Verweise) die Klassenbibliothek hinzu.Add the class library using the Solution Explorer (references).

3. Bibliothek im Projekt benutzen3. Use the library in your project

using System.Windows.Forms;
using RV_M1_Wrapper;  // Namespace einbinden

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        private Mrl mrl = new Mrl();  // Objekt erzeugen

        public Form1()
        {
            InitializeComponent();

            mrl.NestPosition();  // Methode verwenden
        }
    }
}

Fügen Sie den Namespace RV-M1_Wrapper in den using-Direktiven hinzu. Erzeugen Sie ein MRL-Object und nutzen Sie dann die vorhandenen Methoden.Add the namespace RV-M1_Wrapper in the using directives. Create a MRL object and then use the existing methods.

Umfang und Bezeichnung der Methoden sind aus dem RV-M1-Handbuch abgeleitet.Scope and names of the methods are derived from the RV-M1 manual.