# FX5U PLC Not Communicating with mc protocol node in Node-RED

**URL:** <https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313>\
**Category:** Industrial\
**Created:** [11 October 2024 11:04 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313 "2024-10-11T11:04:54Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jayeshpitale1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jayeshpitale1/32/70216_2.png) [@Jayeshpitale1](https://discourse.nodered.org/u/Jayeshpitale1)\
**Post date:** [11 October 2024 11:04 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/1 "2024-10-11T11:04:54Z")

</div>

Hi There,  
The problem which i faced for Fx3U has got solved. and i would tell the Plc Guy to Change TCP to UDP as you Suggested me.  
But i have another Issue with Fx5U which one plc is master and other are slave  
the issue is that it is not communicating with mc protocol as i faced issue with Fx3U but i tried to play with the Bellow Details  
These settings are not set (default)  
-Network No  
-PC No  
-Dest Module  
-Dest Module Stn No  
But the issue is same, and it is working on KepServer Still i got a Old Data from him about that PLC which i am sharing you the Screenshot.

![fd517f7ccfd4dfb1ebc16c085183555db54bbef5_2_690x351](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/c/cc2c89a64171499637118cc0a730cc21bee7645c.jpeg)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [11 October 2024 11:10 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/2 "2024-10-11T11:10:29Z")

</div>

duplicate of [How to connect Mitsubishi plc fx3u and Fx5u with node red - #13 by Jayeshpitale1](https://discourse.nodered.org/t/how-to-connect-mitsubishi-plc-fx3u-and-fx5u-with-node-red/92205/13)

---

<div class="post-metadata">

**Author:** ![Jayeshpitale1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jayeshpitale1/32/70216_2.png) [@Jayeshpitale1](https://discourse.nodered.org/u/Jayeshpitale1)\
**Post date:** [11 October 2024 11:11 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/3 "2024-10-11T11:11:03Z")

</div>

i thought you have not replied to it so i created new can you please give me a solution

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [11 October 2024 11:14 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/4 "2024-10-11T11:14:45Z")

</div>

I did not reply as i simply cannot understand your information.

To further help I would need clear and exact information of

- Is this a PLC Card (or built in) Ethernet port
- Open settings for the working FX3
- image of mc protocol config settings that work OK on FX3 PLC
- Open settings for the NOT working FX5
- image of mc protocol config settings that do NOT on FX5 PLC

Other questions

- Is this the SAME node-RED?
- Is the FX5 on the same network as the FX3 and does it have same MASK
-

---

<div class="post-metadata">

**Author:** ![Jayeshpitale1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jayeshpitale1/32/70216_2.png) [@Jayeshpitale1](https://discourse.nodered.org/u/Jayeshpitale1)\
**Post date:** [11 October 2024 11:44 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/5 "2024-10-11T11:44:33Z")

</div>

@Steve-Mcl

> - Is this a PLC Card (or built in) Ethernet port

For FX3U there is ENET-ADP.  
For FX5U it inbuilt Ethernet and is connected with switch also it is master and 3 or 4 are slave.

> - Open settings for the working FX3

i dont have it but i learned from him he showed me from his laptop so i got working with mc protocol

> - image of mc protocol config settings that work OK on FX3 PLC

 ![IMG-20241011-WA0001](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/5/35e962a6708c693dae1111976b0a4c0acb1f179f.jpeg)  
 ![IMG-20241011-WA0003](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/c/dc02d6af91615b5b5dd2a692ee261753ee743e59.jpeg)  
 ![IMG-20241011-WA0004](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/d/fdb37dde73d5b19c733e1dd76d28b3742cf4d7de.jpeg)

Now i have to add mc protocol node for every address is there any solution where i can get all in one but the thing is i also need to show it in UI

> - Open settings for the NOT working FX5

the plc guy showed old one which i posted earlier and i am getting new image from it

> - image of mc protocol config settings that do NOT on FX5 PLC

 ![IMG-20241011-WA0005](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/d/ada0cfa8ff6278e7be35e00613d94df10bf7b093.jpeg)  
 ![IMG-20241011-WA0007](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/4/e474b269a5d0d64d7519c3924d01466d608a6402.jpeg)  
 ![IMG-20241011-WA0002](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/1/a12e3b9819d97266795836d03616dd055b9e34e4.jpeg)  
 ![IMG-20241011-WA0006](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/7/d7f51e20f087b1df8e8bea28ed0f59a958484abe.jpeg)

---

<div class="post-metadata">

**Author:** ![Jayeshpitale1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jayeshpitale1/32/70216_2.png) [@Jayeshpitale1](https://discourse.nodered.org/u/Jayeshpitale1)\
**Post date:** [11 October 2024 12:22 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/6 "2024-10-11T12:22:02Z")

</div>

@Steve-Mcl ,  
Hello There,  
I posted everything you asked me could you please give me a solution on this.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [11 October 2024 12:40 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/7 "2024-10-11T12:40:18Z")

</div>

> [@Jayeshpitale1](#):
>
> I posted everything you asked me could you please give me a solution on this

Not possible without all information (I need the open settings) but at a guess, PORT 45237 is incorrect.

I see you are still selecting TCP mode - i will say this only once more, please switch to UDP. TCP on Mitsi is unreliable in my experience.

---

<div class="post-metadata">

**Author:** ![Jayeshpitale1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jayeshpitale1/32/70216_2.png) [@Jayeshpitale1](https://discourse.nodered.org/u/Jayeshpitale1)\
**Post date:** [11 October 2024 13:25 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/8 "2024-10-11T13:25:29Z")

</div>

Hi,  
I will re-ask my question in short.  
My PLC is FX5u - Running on TCP-IP 191.168.2.10 (it is master plc and it has two slave plcs of same model) ignoring slaves and I want to communicate with master PLC.

Communication from Melsoft GX works3 happens smoothly.

 ![IMG-20241011-WA0012](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/1/f10983733bc88642643d2e5816f7abb7505eb4aa.jpeg)

Communication from KepServerEx 6 also happens smoothly [screenshot attached]

 ![IMG-20241011-WA0011](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/7/0782026f89a372d55f636dabb4e02bc581b5bbba.jpeg)

My node -red configuration which fails to connect.

 ![IMG-20241011-WA0014](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/1/d196db2746990acde8079e50aa8ac60e17b33bcb.jpeg)  
 ![IMG-20241011-WA0013](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/c/5c83431681574cc5875c70ee2cb5eff7333d9306.jpeg)  
 ![IMG-20241011-WA0015](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/4/b4fedec7038baefd82ad9210cf836fda33152961.jpeg)

I am unable to communicate through node red.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [11 October 2024 13:42 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/9 "2024-10-11T13:42:07Z")

</div>

Sorry, i cannot help further.

i am unfamiliar with the FX5 and where its Ethernet "Open Settings" are set (or if it even has them) Without that info I cannot assist.

On a Q series, the "Open Settings" look like this:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/9/993d023435bfc9d30d551942eb9b310a27ea3d87.png)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [11 October 2024 13:42 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/10 "2024-10-11T13:42:51Z")

</div>

If you have a spare FX5 PLC and wish to donate it to me, i will endevour to upgrade and improve the MC Protocol nodes. without a PLC to play with, i am working blind.

---

<div class="post-metadata">

**Author:** ![Jayeshpitale1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jayeshpitale1/32/70216_2.png) [@Jayeshpitale1](https://discourse.nodered.org/u/Jayeshpitale1)\
**Post date:** [11 October 2024 15:29 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/11 "2024-10-11T15:29:21Z")

</div>

What about Multiple Address to handle in 1 node is it possible to use and i need to show it as UI separated For FX3U as i posted you the Screenshot where i add every single node for every address.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [11 October 2024 15:35 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/12 "2024-10-11T15:35:31Z")

</div>

> [@Jayeshpitale1](#):
>
> What about Multiple Address to handle in 1 node is it possible

See this in another thread recently posted and answered.

> [@Multiple address in function node or mc protocol node](https://discourse.nodered.org/t/multiple-address-in-function-node-or-mc-protocol-node/92294/2):
>
> The MC Protocol node can request more than 1 thing at a time. This is documented in the built in help. NOTE: Addresses must be in the same device area (memory area). NOTE: Even if you want DM1, DM30 and DM99 - it is STILL quicker (and better, for consistency) to request 1 lot of 100 things than it is to make 3 separate requests Here is an article I wrote explaining why: [Modernize your legacy industrial data. Part 2. • FlowFuse](https://flowfuse.com/blog/2023/09/modernize-your-legacy-industrial-data-part2/) PS: the buffer-parser node can help with data conversi…

PS: Is that also you? or perhaps a colleagues account?

---

<div class="post-metadata">

**Author:** ![Jayeshpitale1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jayeshpitale1/32/70216_2.png) [@Jayeshpitale1](https://discourse.nodered.org/u/Jayeshpitale1)\
**Post date:** [11 October 2024 16:22 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/13 "2024-10-11T16:22:37Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/c/5ce4a4861b3109b3a23fb4523b7c5f87d3d0dded.png)  
this is the setting for FX5U PLC

@Steve-Mcl

> PS: Is that also you? or perhaps a colleagues account?

We Might be both on same issue but i am not knowing him

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [11 October 2024 16:27 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/14 "2024-10-11T16:27:27Z")

</div>

What is the IP of the computer running Node-RED?

Have you tried UDP (i see the port 1 is set for UDP)

---

<div class="post-metadata">

**Author:** ![Jayeshpitale1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jayeshpitale1/32/70216_2.png) [@Jayeshpitale1](https://discourse.nodered.org/u/Jayeshpitale1)\
**Post date:** [11 October 2024 16:30 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/15 "2024-10-11T16:30:33Z")

</div>

@Steve-Mcl  
the computer ip is 192.168.2.100  
i tried with UDP it still not working

is there any way to connect me on my laptop or can you provide your contact for better understanding

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [11 October 2024 16:45 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/16 "2024-10-11T16:45:07Z")

</div>

> [@Jayeshpitale1](#):
>
> the computer ip is 192.168.2.100

The IP set in port 1 does not match so you cannot use that one  
2 (MELSEC) wont work  
3 (SLMP) is possible - but you have already tried that  
4 is a socket (AKA RAW ethernet) (not MC protocol) - that wont work

Question. Is No 4 (the raw socket) used for anything? If not, set it to SLMP UDP & give that a go.  
Question. If you remove the IP (or set it to 255.255.255.255) on connection No 1, you will be able to connect to that (the IP currently set in that row will prevent `.100` connecting)

PS I am a little concerned that 3 and 4 have the same PORT number and are both TCP. That may be a factor!

Example - [look at these](https://lens.google.com/search?ep=gisbubu&hl=en-GB&re=df&p=AbrfA8qv5MYX-DHo7bP9Eyp1BnoKJPRrD__CBm_zoRLsZkG-jk4XMUdqyWqFdlnPtEmjSxpGdc-k-Iv_WQ41TH5GyladW6KzuUEs1xItRHF-lnAPJxgj76qkkyrIWpFVkioISphucWY3z0qc_Y-e_IZcYg7fUVOARYt1mliT78gXhaqM0-S45Y2LbehQ1ich-2zk2R9C669CYu8XDWIeVPZEaMM53wtsbDmdq3MipZJTx5GeyVk6xLco028YhuPy2AHSYm0YbD-EYxCBUaScJobvp6a1iTlrb2i_RjT0BIgqpJ7KXFS7WibUXJKwedNhZeM%3D#lns=W251bGwsbnVsbCxudWxsLG51bGwsbnVsbCxudWxsLG51bGwsIkVrY0tKR1JoWTJWaVpXRTNMV014TlRrdE5HWmpOQzA0WXpOa0xURmpNV1EzTURrMVpEaGxaaElmVFRjMlZUZHZjREozYjFsbVRVbG5SM0JuU1V4dVVESTBSM2xFU0VwNGF3PT0iLG51bGwsbnVsbCxbW251bGwsbnVsbCwiMy0wIl0sWyIxOWVkOTdkMi01MzBmLTQyZjQtOGQ0ZS1iMmQ0ZmJhZjI1N2YiXV0sbnVsbCxudWxsLG51bGwsbnVsbCxbIjE5ZWQ5N2QyLTUzMGYtNDJmNC04ZDRlLWIyZDRmYmFmMjU3ZiJdXQ==) - all similar screenshots have different port numbers!

EDIT  
Any changes you make in the PLC Open settings WILL need the PLC to be power cycled (because Mitsi still think its 1980!)

---

<div class="post-metadata">

**Author:** ![Jayeshpitale1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jayeshpitale1/32/70216_2.png) [@Jayeshpitale1](https://discourse.nodered.org/u/Jayeshpitale1)\
**Post date:** [11 October 2024 16:53 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/17 "2024-10-11T16:53:31Z")

</div>

@Steve-Mcl  
Actually, there are 4 PLC which is 1 master on 192.168.2.10 with image of Main PLC

 ![IMG_20241011_203134](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/e/be12247bf02ac0dbd95ebd1062d5213a2093f407.jpeg)  
and other on 192.168.2.11,12,13 has a HMI  
Now the Thing is that the Plc Guy says he cannot change anything in program setting as the PLC came Configured by Chinese Man and they are not giving the access to this PLC  
So is there any other way to get.

> is there any way to connect me on my laptop or can you provide your contact for better understanding

What about this. you didn't answered.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [11 October 2024 16:54 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/18 "2024-10-11T16:54:27Z")

</div>

> [@Jayeshpitale1](#):
>
> came Configured by Chinese Man and they are not giving the access to this PLC

And that is why your engineers should be sacked 😉

the design spec should always state "access to the PLC is required"

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [11 October 2024 16:55 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/19 "2024-10-11T16:55:36Z")

</div>

> [@Jayeshpitale1](#):
>
> > is there any way to connect me on my laptop or can you provide your contact for better understanding
> 
> What about this. you didn't answered.

Not sure what the question means. but if you mean "can your personal laptop connect" then probably not - due to the afore mentioned ill configured settings in the PLC that should be changed

---

<div class="post-metadata">

**Author:** ![Jayeshpitale1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jayeshpitale1/32/70216_2.png) [@Jayeshpitale1](https://discourse.nodered.org/u/Jayeshpitale1)\
**Post date:** [11 October 2024 16:56 UTC](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313/20 "2024-10-11T16:56:23Z")

</div>

@Steve-Mcl  
But they have provided an old program with the setting above which i send you before

[Next page](https://discourse.nodered.org/t/fx5u-plc-not-communicating-with-mc-protocol-node-in-node-red/92313.md?page=2)
