In today’s article I’ll explain how you setup communications in the Mitsubishi Programming Software, GX Works.

For those coming to GX Works 3 from GX Works 2 (or earlier,) finding the right area to modify the parameters is the first step. (see figure 1)

Figure 1 -GX2 on Left, GX3 on Right. Image by Paul Hunt

As you can see above, there is a different look and feel between the two software packages. There are many similarities too, but I think the overall feel is much more intuitive (especially in parameter settings) in the newer GX Works 3 software.

Once you have your IP addresses chosen for your components, it may also be handy to have associated connection documentation (if available) that may be specific to each vendor in front of you. In this case, I also have a camera system that works with Mitsubishi and has step-by-step guidelines to get connected that are protocol specific.

Once the controller’s own IP configuration is set, you will need to access the Ethernet port parameters in the software by going to the “External Device Configuration”.  This will be visible on the right side in the “Setting Item” window after double-clicking either the “Module Parameters” in GX Works 2, or the “Ethernet Port” in GX Works 3, as shown in Figure 2.

Figure 2 – R04 (left) and FX5 (right) Image by Paul Hunt

Then click on the “Configuration Access Button” (ellipsis,) on the right.

In Figure 3 below you can see what these connections look like after being setup for both the FX5 (right) and the R processor (left).

Figure 3 R-Series (left) FX5 (right.) Image by Paul Hunt

Note: In my system above, the “Active” connection module is a Moxa Nport, the “SLMP (UDP)” connection module” is a Camera (Vision) Controller, and the “MELSOFT” connection module is an HMI.

To add your devices, you drag and drop connections from the “Module List” window on the right side of the software, and then drop them in the main config window on the left. Next, step through each of the white fields at the top and enter in all of the required parameters:

Figure 4 Populating Communications Config from Module List. Image by Paul Hunt

When complete, be sure you press the button on the top of the window that says to “Close with Reflecting the Setting” or else the settings will be lost.

Figure 5, “Close with Reflecting the Setting.” Image by Paul Hunt

Once set, the next step is to get these parameters downloaded to the processor, and I’ll cover those steps in detail in my next article.

Author’s Note: The PLC in the above application connects through a lightly managed switch to a Serial Controlled Unit (via a Moxa Nport Ethernet to Serial server), an Ethernet Controlled Camera (Vision) System, and an HMI.

This is a little more advanced than just starting with a typical PLC and HMI that would connect quickly, easily, and somewhat seamless. But I thought showing a more complex system was a good way to demonstrate the flexibility, intuitive setup, and ability of having the multiple devices set up in the same configuration window.

Written by Paul Hunt
Senior Automation Engineer and Freelance Writer

Have a question? Join our community of pros to take part in the discussion! You'll also find all of our automation courses at TheAutomationSchool.com.

Sponsor and Advertise: Get your product or service in front of our 75K followers while also supporting independent automation journalism by sponsoring or advertising with us! Learn more in our Media Guide here, or contact us using this form.

Paul Hunt
 


LEAVE A REPLY

Please enter your comment!
Please enter your name here