# Node-red-contrib-melsec Configuration

**URL:** https://discourse.nodered.org/t/node-red-contrib-melsec-configuration/99626
**Category:** General
**Created:** [10 November 2025 03:58 UTC](https://discourse.nodered.org/t/node-red-contrib-melsec-configuration/99626 "2025-11-10T03:58:49Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Dar](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@Dar](https://discourse.nodered.org/u/Dar)
#### Post date: [10 November 2025 03:58 UTC](https://discourse.nodered.org/t/node-red-contrib-melsec-configuration/99626/1 "2025-11-10T03:58:49Z")

</div>

Hello everyone,

I am trying to connect a Mitsubishi FX3G-60M PLC to my Raspberry Pi using Node-RED. My goal is just to read some data to display on my dashboard.

I'm using the `node-red-contrib-melsec-fx` nodes and am having trouble configuring the serial port (e.g., `/dev/ttyACM0`).

I thought the serial port settings would be inside the `melsec-fx-in` node, but I can't find them. The node only asks me to select a "Melsec FX endpoint," as you can see in this screenshot:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/0/20bcb176fadbbbf9d4168ecc38ce552a9167a369.png)

I guess the serial port configuration must be inside that "Melsec FX endpoint" node, but I don't know how to access or edit it.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/2/52fcf960b0f19be4cee67b262181f060f2ffd504.png)

Could someone please point me in the right direction?

Thank you!

---

<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: [10 November 2025 07:52 UTC](https://discourse.nodered.org/t/node-red-contrib-melsec-configuration/99626/2 "2025-11-10T07:52:21Z")

</div>

Hi, welcome to the forum

> [@Dar](#):
>
> I guess the serial port configuration must be inside that "Melsec FX endpoint" node, but I don't know how to access or edit it.

Have you tried clicking the pencil button to the right of "Melsec FX endpoint"?

* * *

As you are a new user, I recommend watching this playlist: [Node-RED Essentials](https://www.youtube.com/playlist?list=PLyNBB9VCLmo1hyO-4fIZ08gqFcXBkHy-6). The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.

---

<div class="post-metadata">

### Author: ![Dar](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@Dar](https://discourse.nodered.org/u/Dar)
#### Post date: [10 November 2025 08:40 UTC](https://discourse.nodered.org/t/node-red-contrib-melsec-configuration/99626/3 "2025-11-10T08:40:34Z")

</div>

> [@Steve-Mcl](#):
>
> Have you tried clicking the pencil button to the right of "Melsec FX endpoint"?

Hi @Steve-Mcl,

I clicked the pencil icon as you suggested:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/1/b171205aa5ae186f5aa22e38367a13a49ebc4b27.png)  
That opened the endpoint configuration node, which shows these options:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/5/e5987d762d6286671e88ed2c4870419af7be7678.png)

I am trying to retrieve data from the Mitsubishi PLC using its programming port, not the Ethernet port, which is why I was looking for the serial settings.

> [@Steve-Mcl](#):
>
> I recommend watching this playlist: [Node-RED Essentials](https://www.youtube.com/playlist?list=PLyNBB9VCLmo1hyO-4fIZ08gqFcXBkHy-6).

My confusion came from the fact that I have some experience retrieving data from Siemens PLCs using Node-RED, and those nodes handle the connection settings differently."

---

<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: [10 November 2025 08:53 UTC](https://discourse.nodered.org/t/node-red-contrib-melsec-configuration/99626/4 "2025-11-10T08:53:14Z")

</div>

Yeah, I have not used that node and seen you were a new user and (wrongly) assumed you were also new to Node-RED (they are still worth a watch if you've not seem them - a few good tips and tricks in there)

So, i am surprised there is no serial settings on that config node also!?  
However, a clue lies in the nodes source code: [node-red-contrib-melsec/red/melsec.js at abdf6d71013873bf44908f79cf3ec175f2e78065 · st-one-io/node-red-contrib-melsec · GitHub](https://github.com/st-one-io/node-red-contrib-melsec/blob/abdf6d71013873bf44908f79cf3ec175f2e78065/red/melsec.js#L187)

> ```js
> if (!melsecAdapter) return that.error('Missing "@protocols/node-melsec" dependency, avaliable only on the ST-One hardware. Please contact us at "st-one.io" for pricing and more information.')
> 
> ```

I.e. it looks like this requires ST-One hardware (and I guess thats where the setup is done)

* * *

If you are familiar with JavaScript, you could DIY this in a function node using [node-fxplc](https://www.npmjs.com/package/node-fxplc) node module. The readme has example code on how to connect serial and read/write addresses

See article [Use any npm module in Node-RED](https://flowfuse.com/blog/2023/06/import-modules/) for getting started with npm node modules.

---

<div class="post-metadata">

### Author: ![Dar](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@Dar](https://discourse.nodered.org/u/Dar)
#### Post date: [10 November 2025 13:23 UTC](https://discourse.nodered.org/t/node-red-contrib-melsec-configuration/99626/5 "2025-11-10T13:23:23Z")

</div>

Thank you very much for your help 🙏 much appreciated

---

<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: [10 November 2025 13:44 UTC](https://discourse.nodered.org/t/node-red-contrib-melsec-configuration/99626/6 "2025-11-10T13:44:36Z")

</div>

In the interest of sharing, if you have developed a working example, it would be good to post that on the forum for future readers. Perhaps in this thread or linked to a post in #Share Your Projects would be great.

Ta. Steve.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [24 November 2025 13:45 UTC](https://discourse.nodered.org/t/node-red-contrib-melsec-configuration/99626/7 "2025-11-24T13:45:32Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
