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 FX5U Web Design Tool - Getting Started

Introduction The Mitsubishi FX5U (aka iQ-F) Programmable Logic Controller takes all the Mitsubishi goodness of simplicity and backwards compatibility then adds a wealth of connectivity options with its built-in Ethernet port. These include a basic graphical Web Server, FTP Server, MODBUS/TCP and SLMP (aka MC Protocol) drivers. Example of Web Page served up by the FX5U The Mitsubishi User Web Page Design Tool is the software app that you can use to quickly develop out the Web Server aspect of the PLC, to include web pages, user access control, and direct monitoring and control of PLC values. All the heavy lifting of CGI, JavaScript, Web Controls and CSS are done for you with this app. This guide serves as an introduction to the tool, basic settings and procedures, with the intention to get the simplest web page up and running from your FX5U PLC. Software Your hurdle is actually discovering the tool exists (helping you with that here!) ...and then getting a copy. It's actually free s

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