Skip to main content

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.

FX5U Web Server Example
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 software from Mitsubishi FA (Factory Automation). 

The prescribed approach to getting the software is to contact your Mitsubishi FA local office and request it.

There are two versions of the tool available, the original 32-Bit version and the newer 64-Bit version. And these are the package names you should be looking for...

sw1dnn-wsvdt-md-101b or -100a

...where 101b is the 64-Bit version and 100a is the 32-Bit version

As well as the Operating System version requirements, the 64-Bit version adds some editor feature improvements, and significantly, allows us to reduce the web page refresh rate down from 5 seconds to 1 second - should that be an essential requirement (bearing in mind the extra load on the PLC). 

Note! Both versions can be used with any compatible FX5U PLC

SD Card

Whilst the default System Web Pages are served by the FX5U from the PLC standard hardware, for your User Web Pages you will need to fit a SD Card into the slot on the front of the PLC. The SD Card can be up to 32 Gb and will hold the entire web site you create, including resources such as PDF files.

A full size 4 to 32 Gb SD Card

Once we have the SD Card available, we need to format its file system in a specific way. For this, it must be inserted into your PC (or attached card reader), and using Windows Explorer, create the following empty folder structure in the root of the card...

SD Card Root Folder Structure

This only needs done the once. 

After this, we could continuously use the PC/card reader to revise all updates to our web site pages - or we could now leave the SD Card in the FX5U and use FTP to do updates over the network. So, we'll look at this option next.

Web Server/FTP Server Setup

To enable the FX5U Web Server, please review the details in a previous post, and ensure you set up a User with a password, and enable them to access both System and User Pages with the "Permit Both Displays" setting...

Now, to additionally enable the FTP Server, in GX Works3, browse to the FTP Server node under Project > Parameter > FX5CPU > Module Parameter > Ethernet Port...

Then set the function to "Use" the FTP Server, and note the default Login Name: FXCPU and finally, set the "Allow Online Change" to enable...

That's it! Download to, and then reboot the PLC to commit the changes.

All we need to know now is the IP Address of the PLC, the Login Name, and the default password (which, to save you trawling all through the documentation) is also actually "FXCPU" 😏

Create a Web Page

Let's now create our first web page, add a web control and upload it to the PLC.

Start the Web Design Tool (which is installed in C:\WSVDT, not Program Files)...

You'll probably get hit with the User Access Control caution, press "Yes" to continue.

With the app loaded let's choose Project > Create Project...

Select the PLC type...

As per usual web server convention, the first page created is "index.html"...

New blank project screen

As an example, let's say we want to display a value, perhaps the total of a counter. And let's say that counter value is being written to PLC store D0. From the PLC Components palette, click and drag a Data Block control onto your web page...

It will default to D0 (both for text and PLC store)...


If you want to change the PLC store then select the control and click the Settings button...

From here we can change the store, displayed text, value format and so forth...



Press [OK] when all done.

Upload the Web Page

From the main menu choose Communication > Communication Settings and enter the values as previously mentioned...


Ensure the PLC is online, on the same network, and then hit the [Comm. Test] button to check the settings. Windows Firewall should prompt for permission the first time you use the tool...


So [Allow access] then continue...


Oh dear... 😒

If required, resolve any issues, and try again...


Yay! 👏

Now we can write the project to the SD Card. Choose Communication > File Write and follow the prompts through...





As an aside, despite the last message shown above, the PLC (in this example at least) never needs reset, and in fact, if a web browser is already attached to the web page, just hitting "refresh" is enough to update.

Test the Web Page

Use the service switch on the front of the PLC to go between Run-Stop-Reset and back to Run (if required).

Chrome/browse to the IP Address of your PLC, and when presented with the login page use your credentials...



Once logged in, the System Web Page will be displayed, then on the lower left hand side of the navigation pane choose "User WebPage"...


Your Index.html page should now be displayed... 


Okay, not very exciting, let's actually add some counter up code to the PLC...


Better. 👍

Conclusion

There are some limitations, for example, we cannot format numbers using the ##.# type setting found in GT Designer 3, so you may want to format numbers in the PLC when required.

We can however create links to Internet URL's in a new TAB, and download manuals and drawings in PDF format from the SD Card, so a complete service and maintenance package can be served up.


~~~ 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, 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 importa

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