How to connect Mitsubishi Ethernet modules to my router

tientran

Member
Join Date
Feb 2020
Location
viet nam
Posts
9
Hi everybody!
I have 2 Mitsubishi Q series PLCs that have built-in IP addresses of 192.168.3.xx and both of them have Ethernet modules QJ71E71-100 with IP addresses of 192.168.4.xx.
I have been tasked to connect those Ethernet modules to our SCADA system to read data from the PLCs. The problem is that I can not ping those modules from a router that we currently use for our system: 192.168.50.xx. We have a similar case where the Siemens S7-300 and S7-400 PLCs are connected to a router with the address 10.133.120.xxx and I can ping the PLCs just fine. Back then the people who were in charge worked with the OEM company to get that done since the S7-300 and S7-400 have settings where you can set the gateway to use a router and the QJ71E71-100 does not.
So my question is how do I connect those Ethernet modules to my 192.168.50.xx router so that I can connect it to Kepware.
Thanks a lot.
 
There is not enough information Post #1 to answer its question. Perhaps the simplest approach would be to provide a sketch (hand-drawn image) of the various LANs and their interconnections, the LANs labeled with network addresses (e.g. 192.168.50.0/24, not 192.168.50.xx), and the routers and other devices labeled with their IP addresses.

If the Mitsubishi PLCs are connected on the 192.168.50.xx side (LAN) of the router, then at least one IP address on each Mitsubishi PLCs must be changed from 192.168.3.xx or 192.168.4.xx to 192.169.50.xx.

If the Mitsubishi PLCs are not on the 192.168.50.xx side (LAN) of the router, then (1) the devices on the 192.168.50.xx side (LAN) of the router must be configured to use the router as the gateway to whatever LAN the Mitsubishi routers are on, and the router and all other routers between must know the routes to LANs 192.168.3.xx (192.168.3.0/24?) and 192.168.4.xx (192.168.4.0/24).

I realize this is not a very useful reply, but it is perhaps the best I can do with the information provided.
 
There is not enough information Post #1 to answer its question. Perhaps the simplest approach would be to provide a sketch (hand-drawn image) of the various LANs and their interconnections, the LANs labeled with network addresses (e.g. 192.168.50.0/24, not 192.168.50.xx), and the routers and other devices labeled with their IP addresses.

If the Mitsubishi PLCs are connected on the 192.168.50.xx side (LAN) of the router, then at least one IP address on each Mitsubishi PLCs must be changed from 192.168.3.xx or 192.168.4.xx to 192.169.50.xx.

If the Mitsubishi PLCs are not on the 192.168.50.xx side (LAN) of the router, then (1) the devices on the 192.168.50.xx side (LAN) of the router must be configured to use the router as the gateway to whatever LAN the Mitsubishi routers are on, and the router and all other routers between must know the routes to LANs 192.168.3.xx (192.168.3.0/24?) and 192.168.4.xx (192.168.4.0/24).

I realize this is not a very useful reply, but it is perhaps the best I can do with the information provided.
Thank you for the answer. So I decided to change the address of the Ethernet Module but some of the problems appear.
As you can tell this is the first time that I have worked with Mitsubishi PLC Q series. When I upload the PLC to my PC this pops up. Is it ok or is my GX Works2 missing something? When I uploaded the program to the PC there was only one GD2 file, the backup files of the previous guy who worked before me have a bunch of XML files.
 

Attachments

  • mitsu.jpg
    mitsu.jpg
    382.5 KB · Views: 8
The first thing to do is define the subnet(s) that the plant needs.

Two IPs can only connect to each other if they are on the same subnet or have a gateway that roues between several subnets.

The simplest thing would be to change all the IPs to the same subnet and if there are enough with 254 IPs, you can change all of them to 192.168.1.x and use the typical network mask 255.255.255.0 that is /24

If you need 500 IPs, you can use 255.255.254.0. that is /23

It is advisable to use a mask that is as restrictive as possible since it will work faster.

Obviously there must also be a physical connection, that is, at the upper level all the cables must come from the same switch rack
 
If the original programmer wrote it in GXW2 & in FBD/LAD then it is probably a structured program if you do not have the source file or the programmer did not download the symbolic information to the PLC then you will get a ladder program with loads of jumps to routines with no comments so will seem a mess.
Also when you upload it probably selected simple single file project so there will be differences i.e. no comments or symbols. & the GXW2 project will be different structure. With Mitsi & GXWorks you really need a copy of the source file & can only upload to the project to keep it's format if the symbolic file was downloded to the PLC or it cannot re-construct the FBD format & structure.
 
If I change the address of QJ71E71-100 to 192.168.50.xxx then how do I connect it to PC (192.168.50.23) via Router (192.168.50.1)?
What is the settings? I want to connect it to Kepware by the way.
 
If I change the address of QJ71E71-100 to 192.168.50.xxx then how do I connect it to PC (192.168.50.23) via Router (192.168.50.1)?
What is the settings? I want to connect it to Kepware by the way.

If the PLC, router and PC have a netmask of 255.255.255.0 configured, (sometimes also expressed as /24) then you will have no problem connecting to each other.

Keep in mind that not all devices respond to ping, just because it doesn't respond doesn't mean it can't connect.
 
So this is the current setting of the QJ71E71-100 that i just upload the project from the PLC. Picture 1 is the IP of the PC that I install Kepserverex4. Pictures 2, 3, 4 are the setting of QJ71E71-100. If I want to connect to QJ71E71-100 to router 192.168.50.1 so that I can access it from multiple PC that connected to the same router what should i do? If I change the IP of QJ71E71-100 to 192.168.50.10 then the setting of Kepserverex Should be 192.168.50.10:N2:255, UDP port 5001 right???
 

Attachments

  • 1.JPG
    1.JPG
    39.6 KB · Views: 4
  • 2.JPG
    2.JPG
    124.4 KB · Views: 4
  • 3.JPG
    3.JPG
    72.7 KB · Views: 4
  • 4.JPG
    4.JPG
    40.9 KB · Views: 3
Kepserver (well the version I have 5.xx) does n ot work well on TCP use UDP (IEEE802.3) You need to set the host IP address & port in the "network Parameter"
I don't have a QJ71 so cannot try it but should be similar to the post I commented on

 

Similar Topics

M
Is an any way to connect Mitsubishi FX1N to the Ethernet? I don't see any modules from Mitsu.
Replies
30
Views
16,503
Got a used with warranty Q064UDEH It is not going to have the correct parameters to allow me to Connect the Ethernet and download the program...
Replies
4
Views
403
This question is about a Q68TD-G-H01. When I disconnect the thermocouple connected to channel 8 of the module, I am expecting D111.F to go TRUE...
Replies
12
Views
3,463
Hi, I would like to connect my laptop to a Mitsubishi FXCPU via the GOT serial port. I can connect using the FX-USB-AW converter if plugging into...
Replies
22
Views
5,783
Hi all, Trying to find the best way to connect to a PLC over the internet, I'm in England....PLC is in Ireland and need remote access. How does...
Replies
8
Views
2,516
Back
Top Bottom