Skip to main content

Mitsubishi FX5U, SLMP & Desktop.Dash

In a previous post we introduced the FX5U Web Server, now we'll look at using the SLMP pre-defined protocol over Ethernet and the Desktop.Dash app to monitor a value.

XML Control - Desktop.Dash is a simple, multi-purpose Windows app built around Mitsubishi and open protocols, for example MODBUS, that can be used to create an interface to your PLC or similar device with data values, lamps, buttons and more for HMI and ANDON like functionality...

7 Station Pie Machine & Desktop.Dash (click image to enlarge)

The SLMP (Seamless Messaging Protocol) aka MC Protocol Frame 1E, is built-in to the FX5U, and it just needs configured... 🔧

FX5U SLMP Setup

Start GX Works3 with a new or existing project and ensure the device IP Address is set from node Project > Parameter > FXCPU > Module Parameter > Ethernet Port, then choose Basic Settings > Own Node Settings...


Set your required IP Address (and Subnet default of 255.255.255.0 unless you require otherwise)...


And importantly, ensure the Communication Data Code value is changed from Binary to ASCII (X, Y, HEX).

Next, click on the Basic Settings > External Device Configuration, then double-click on the <Detailed Setting> option...


The Ethernet Configuration (built-in Ethernet Port) dialogue is opened...


On the right hand side pane expand the [+] Ethernet Device (General) node, and then select the SLMP Connection Module...


Drag and drop the SLMP module item down and onto the right hand side of the Host Station module...


Almost there! Now we just need to assign a Port number for the SLMP to work on. Click into the Port No. input box...


And enter a value you prefer, for example 2000...


Finally, choose [Close with Reflecting the Setting]... (means Save!)...


Once returned to the parent dialogue, press [Apply]...


That's it. Download the PLC Parameters (and optionally any program you have created) into the PLC and restart it.

For reference, in this example we'll be looking at the value of PLC Store D0 - so some changing value in that store will be useful! 😉

Desktop.Dash Driver Setup

Start Desktop.Dash with a new or existing project.

Choose Main Menu > Admin > Options...



Ensure that the "MC Protocol over Ethernet, MELSEC or Virtual Devices" driver is selected...


Also adjust the Polling Milli-seconds (delay between device reads) to a suitable value, say 50ms. Press [OK] to apply, and if a new project, you will also be prompted to choose a folder to save the project into.

Desktop.Dash Test Connection

Next, let's test the actual PLC connection. From the main menu choose System > Connected PLC...


Ensure the selected driver is "MC Protocol over Ethernet", then set the IP Address of the PLC and the Port # you chose earlier...


Hit the [Test Connection] button. All being well you should get something like...


All done here. Press [OK] and [Ok] again to close the Connected PLC dialogue.

Desktop.Dash Display Setup

We're going to add a "Display" gadget to the dashboard. This can display numercial values in a number of formats including text only, bar graph and gauge (Version 2 only).

From the Dashboard menu choose Display...



A new Display gadget will be added...


Drag out the dipslay into some free space, then right click on its interior and choose Setup...


Enter D0 directly into the DataPoint store (or use the [...] for the selection dialogue)...


Then press [Ok] to apply and close.

Desktop.Dash Run Mode

From the main menu choose System > Run (or hit F5)...



The displayed value should now update continuously...


To exit Run mode choose Main Menu > System > Stop (or hit F6).

Summary

The Mitsubishi FX5U with SLMP and Desktop.Dash provides a nice and easy solution to monitor data in near real-time without the delays enforced by the Web Design Tool and Web Server. Both approaches have their unique pros of course! Swings, roundabouts, slides - so many choices! 😵


~~~ End ~~~

Disclaimer

Whilst some effort has been put into this guide, there is no certainty it will work for you in the exact same manner. Its purpose is to offer ideas and steps that have worked in this example that might inspire your own projects.

Popular posts from this blog

Mitsubishi GS2107 HMI & VNC Server

The new generation Mitsubishi GS Series HMI's now support the VNC Server function previously only found in the much higher end GT2000 Series. Specifically, you'll need the GS21**-W-N (N for New!) version. We'll look at configuring the HMI with GT Designer 3, the VNC License Key and using the free UltraVNC client viewer... UltraVNC in remote control of a GS2107 Scope In this post we're going "broad strokes", so not too much nitty gritty on how to configure your HMI screens, as in our example we have a button that alternates a M store in the PLC, and this store is used in turn to alternate an image between "Pie" and "Pasty" and illuminating the associated "mode" lamps as shown above. We will though look in detail at the VNC server settings and installing the VNC License Key, talking of which, here's the part number and details:-  GT25-VNCSKEY-1 VNC licence key for GT2107-WTSD & GT25/27 series HMIs - 1 licence* £27.50 (as a...

Create an OpenVPN link to Mitsubishi PLC, HMI & more

Preamble OpenVPN is an open source project to provide Virtual Private Networking connections between clients and remote networks via the Internet (as an example). There are many use cases for VPN, today though we'll look at using VPN to connect a remote engineers laptop/PC to a site LAN for the specific purpose of remote monitoring and control using Mitsubishi tools such as GX Works and GT Designer, which is a mode I refer to as "device mode". An example of a VPN in “ device mode ”… Devices on both ends of the tunnel will be as though on the same network. Note! If OpenVPN is built into your device, as in this case a TP-Link ER605 VPN Router, then it can be used for free, and in conjunction with the remote client also using the free OpenVPN Connect app. Requirements There are three aspects to creating a VPN solution… Establish a VPN Server (whether home with hardware or a cloud service) Download and install a VPN Client for the required operating system/device Utilise a...