This document describes connecting MX OPC UA server with Mitsubishi PLC. Basic MX OPC UA configuration tool functions are presented

MX OPC UA Server - Quick Start Guide [OPCUA]


This document describes connecting MX OPC UA server with Mitsubishi PLC. Basic MX OPC UA configuration tool functions are presented

Install MX OPC UA server. Then open MX OPC UA Server> The icon should be displayed on the taskbar. After that, open MX OPC Configuration Tool




Certificate Generation

When you open MX OPC UA Server Configuration Tool for the first time, you are asked to create a server certificate




If you want to create a new certificate when it is already done, you need to delete file configtool.der from the path:

C:\Program Files (x86)\MELSOFT\MX OPC Server UA\PKI\CA\certs
If you open Configurator again, Create Certificate Windows will display again

Connection to the server
Go to File - open server



If MX OPC UA is running on your local computer:



You can also monitor the status of the server from View - Diagnostic




Device Configuration


Right - click on Address Space and select New MX Device 



Click Configure (1), select the interface of connection from PC side (2) and conenction destination (3)
In this example we are connected  to build - in ethernet port of FX5U



In the next window of teh wizard you can enter IP address manually or scan teh network (Find CPU on network)
Confirm with OK



Select the CPU series and type




Troubleshooting 
If you cannot connect, check ethernet connectio, IP setting and Melsoft connection




Melsoft connection is used to ceonnect MX OPC UA to PLC, but also to connect GXW3 on your PC to PLC 
If more than one connection needs to be established, you need to add it in ethernet configuration of ethernet port
Open your project in GXW3 and follow these steps:



From Module list - Ethernet Device (General) Drag and Drop MELSOFT Connection Module



Try to connect from MX OPC UA, connection should be succesful now



When the connection is established, you can set the device properties - basic properties related to communication and advanced (time-outs, back up device)
For now advanced settings will be left default in this example
Confirm with Save


Monitoring tags


In the next part we will add the tags to be monitored to our device (FX5 PLC)

1. Create Tag

Right - click the device name
You can add Tag, or Add tag group first (which is a folder of variables)



In Basic tab,  name the tag and define, which PLC variable it will we connected to (1), set polling method (2)
Polling method definition described in 2. Polling Method



In Advanced tab:
enable/ disable tag - decide if it is active or not
Use the conversion - definition of conversion presented in 4. Conversion  
Simulate device - if you do not have connection to real tag, you can simulate the signal (it won't be read from PLC, but generated with the system)



In Alarm Tag - define alarming for tag. Alarm definition is described in 3. Setting the alarms 



Multiplying - more stan one Tag will be created



2. Polling Method 

it is the time interval, at which server gets the new value from source
Phase is used to shift samples from different sources in time (relatine to each other )



Sample of phase settings:




3. Setting the alarms 




Limit alarm - when measured vaule reaches the alarm level, alarm is generated
Sample:



You can see the infromaction about alarm occurence in monitoring. 
It will be also send to OPC client



4. Conversion  

used when you want to scale the incoming value 








    • Related Articles

    • Connecting MX OPC Server UA to FX5 via Melsoft Connection

      This article show how to configure connection between MX OPC Server UA and FX5 via Melsoft Connection. FX5 side configuration Open your FX5 project in GX Works3 to add new/additional Melsoft Connection. Go to the Navigation tree -> Parameter -> ...
    • Connecting MX OPC Server UA to iQ-R via Melsoft Connection

      This article show how to configure connection between MX OPC Server UA and iQ-R via Melsoft Connection. iQ-R side connection Open your iQ-R project in GX Works3 to add new/additional Melsoft Connection. Go to the Navigation tree -> Parameter -> ...
    • Iconics Suite - Connecting MX OPC Server UA to the Iconics Suite [Iconics Suite connection]

      This article show how to connect the MX OPC Server UA to the Iconics Suite/ Genesis64 application. Confirm that Your MX OPC Server UA i running. If You can see the MX OPC icon in the tray that mean the server is running. Run Workbench and go to the ...
    • PLC - iQF- Quick start of FX5-OPC

      This article briefly describes how to parameterize FX5-OPC server modul The article covers how to set up communication with UaExpert software Client an Unsecured and secured way. System Layout Unsecured communication for Testing ( No server and ...
    • OPC UA Server and Client function in MESUS

      Summary: the document descibes connection of MESUS DeviceWise with OPC UA Server and OPC UA Client MESUS as OPC UA Client Download and Add dw.dwopua package Restat Node and add new OPC UA Client Device In Variables, chcek if you can read OPC UA ...