Mitsubishi Q02CPU comm. through Q71E71-100

Hi!

I am currently trying to read a Q02CPUs tags through a Q71E71-100 ethernet card that was installed into the Mitsubishi PLC. I am trying to access the Ethernet card through the default open UDP ports 5000/5001 or the default open TCP ports 5002 which my mitsubishi experienced colleague recommended. Connection with IPs etc are all OK.

I've seen this post: Q-series [solution]

And tried to verify possible errors with it but no success, I am getting a "Error: timeout" when trying to poll and read a value.
From what I've seen in the Ethernet Protocol Manual, Q71E71-100 Supports MCProtocol but the "open settings/port settings" drop down list doesnt list it in GX Developer 7.04.

Is there a working example with Q71E71-100 ethernet card?
Please have a look if anything looks way wrong, attaching some screenshots of my setup.

Can only post 2 screenshots apparently, more to follow.


image



GX router settings

Personally, I would not recommend default ports. I would recommend setup of a couple of dedicated protocols in the "Ethernet open settings" - like in the picture from the other post.

Also, I'd recommend 4E UDP (as it has a sequence number embedded in the protocol to improve data integrity/correlation between host and PLC)

PS: disable router relay function unless you have a specific reason to use it.

Hi!

Thank you for a fast reply! :slight_smile:

  • At the moment I cannot do a hardware change which causes the machine to stop, but I'll plan this in for the future. How come default port is not recommended? Traffic?

  • OK switching to 4E, thank you for the tip.

  • Router is on due to the customers factory network/machine network having it. Will this cause problems?

  • Also the ethernet open settings for port configuration differ from the built in ethernet port vs the Q71E71-100 Card, e.g there is no "Allow online changes FTP/MCProtocol" option. This is how it would look for me to config the ports from the other post. Also notice it says "Fixed Buffer" wont this be problematic for the mcprotocol node?

Also the ethernet open settings for port configuration differ from the built in ethernet port vs the Q71E71-100 Card

Here are some working settings for the Q71E71 card...


NOTE: Switch to decimal input or convert the numbers in my screenshot to hexadecimal.

There is no harm setting up a few for future needs - also, if the port locks up (as they often do on Mitsi Ethernet) you can switch port numbers in node-red easily.

How come default port is not recommended? Traffic?

Partly Yes - it is used by programming tool, HMI etc
Also, I have had mixed results trying to connect to the defaults where as a dedicated port works every time.

  • Router is on due to the customers factory network/machine network having it. Will this cause problems?

It has no routes entered, being switched on is pointless.

Thank you for the example!

I fear as I am not getting it to read at all with my current setup (I've read manual and tried lots of different configs in Node-Red) I will have to wait for my experimental PLC or try the port changes at opportunity as customer.

I assume your "Broadcast Together" is "Simultan" for me? Assigned Transmission target device IP for you is "255.255.255.255"?

Also where would one change hex input to decimal?
Under options it is already set to decimal (doubt it is this param though)
image

It is usually above the port entries (at the top of the form where you setup the 16 ports) - dont worry, just enter hex equivalent values if you cant find it.

Yes, it means any ip.

Great!

Finally got time to setup communications on my Q06UDEHCPU on my bench, using QJ71E71-100 now works. Although, I had to use the 3E frame in Node-RED, 4E wouldn't work, is this maybe unsupported with the ethernet card?

1 Like