# Mitsubishi PLC FX3GE

**URL:** <https://discourse.nodered.org/t/mitsubishi-plc-fx3ge/42731>\
**Category:** Industrial\
**Created:** [16 March 2021 15:49 UTC](https://discourse.nodered.org/t/mitsubishi-plc-fx3ge/42731 "2021-03-16T15:49:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Khaledpro](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/khaledpro/32/38910_2.png) [@Khaledpro](https://discourse.nodered.org/u/Khaledpro)\
**Post date:** [16 March 2021 15:49 UTC](https://discourse.nodered.org/t/mitsubishi-plc-fx3ge/42731/1 "2021-03-16T15:49:15Z")

</div>

hello i wish you give well first i want to thank you for your efforts and your time  
I am working in a project using Mitsubishi PLC FX3GE if anyone has any information or something can help me I want to retrieve data from API using Node-red or C # application with TCP MC PROTOCOL  
I had this screnshoot, I wanna split it up if someone can help please ![plc](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/b/5b639dd3322df8f1cf512d437d15827e6e2dc302.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:** [16 March 2021 16:48 UTC](https://discourse.nodered.org/t/mitsubishi-plc-fx3ge/42731/2 "2021-03-16T16:48:09Z")

</div>

> [@Khaledpro](#):
>
> I had this screnshoot

I recognise that from the output of node-red-contrib-mcprotocol node

> [@Khaledpro](#):
>
> I wanna split it up if someone can help please

It is an object, simply access the properties you need to. There’s a great page in the docs that will explain how to use the debug panel to find the right path to any data item. [Working with messages : Node-RED](https://nodered.org/docs/user-guide/messages)

You dont need c# or any external application, just node-red & node-red-contrib-mcprotocol.

PS: use UDP if available (in my experiencem Mitsi TCP is terribly unreliable)

---

<div class="post-metadata">

**Author:** ![Khaledpro](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/khaledpro/32/38910_2.png) [@Khaledpro](https://discourse.nodered.org/u/Khaledpro)\
**Post date:** [17 March 2021 07:39 UTC](https://discourse.nodered.org/t/mitsubishi-plc-fx3ge/42731/3 "2021-03-17T07:39:00Z")

</div>

Thank you very much @Steve-Mcl that's nice of you i will try UDP and please if you have an example or tried mc write show me the form of data payload

---

<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:** [17 March 2021 08:10 UTC](https://discourse.nodered.org/t/mitsubishi-plc-fx3ge/42731/4 "2021-03-17T08:10:04Z")

</div>

> [@Khaledpro](#):
>
> mc write show me the form of data payload

The data to write should match the address. (read the built in help)

Here is a demo...

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

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

```auto
[{"id":"b1e7baa8.8017c8","type":"MC Read","z":"a86654ec.266648","name":"","topic":"","connection":"8a67d1bd.c84ff","address":"topic","addressType":"msg","outputFormat":0,"errorHandling":"throw","outputs":1,"x":588,"y":192,"wires":[["a3ecb901.2aad08"]]},{"id":"c29167b6.5e78c8","type":"inject","z":"a86654ec.266648","name":"Write to D0~D99","props":[{"p":"topic","vt":"str"},{"p":"count","v":"100","vt":"num"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"D0,100","x":220,"y":140,"wires":[["f142ce8b.0d0eb"]]},{"id":"964897ca.e69e18","type":"inject","z":"a86654ec.266648","name":"connect","props":[{"p":"connect","v":"true","vt":"bool"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"connect","x":434,"y":48,"wires":[["4f5d0cb3.963d84"]]},{"id":"b5c373c2.7f907","type":"inject","z":"a86654ec.266648","name":"disconnect","props":[{"p":"disconnect","v":"true","vt":"bool"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"disconnect","x":428,"y":96,"wires":[["4f5d0cb3.963d84"]]},{"id":"a3ecb901.2aad08","type":"debug","z":"a86654ec.266648","name":"Read Result","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":758,"y":192,"wires":[]},{"id":"4f5d0cb3.963d84","type":"MC Write","z":"a86654ec.266648","name":"","topic":"","connection":"8a67d1bd.c84ff","data":"payload","address":"topic","addressType":"msg","dataType":"msg","errorHandling":"throw","outputs":1,"x":588,"y":144,"wires":[["2f229d87.f79a52"]]},{"id":"2f229d87.f79a52","type":"debug","z":"a86654ec.266648","name":"Write Result","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":758,"y":144,"wires":[]},{"id":"9b1f21f7.25e2c","type":"inject","z":"a86654ec.266648","name":"Read D77","props":[{"p":"topic","vt":"str"},{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"D77","payload":"","payloadType":"str","x":204,"y":192,"wires":[["b1e7baa8.8017c8"]]},{"id":"f142ce8b.0d0eb","type":"function","z":"a86654ec.266648","name":"make test data","func":"var count = msg.count || 5\nvar data = [];\n\nfor (let index = 0; index < count; index++) {\n data[index] = index;\n}\n\nmsg.payload = data;\n\nreturn msg;\n\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":416,"y":144,"wires":[["4f5d0cb3.963d84"]]},{"id":"8954a47e.149188","type":"inject","z":"a86654ec.266648","name":"Read 10 from D50","props":[{"p":"topic","vt":"str"},{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"D50,10","payload":"","payloadType":"str","x":234,"y":240,"wires":[["b1e7baa8.8017c8"]]},{"id":"8a67d1bd.c84ff","type":"MC Protocol Connection","name":"","host":"localhost","port":"5003","protocol":"UDP","frame":"4E","plcType":"Q","ascii":false,"PLCStation":"","PCStation":"","PLCModuleNo":"","network":"","octalInputOutput":false,"timeout":"3000"}]

```

---

<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:** [16 May 2021 08:11 UTC](https://discourse.nodered.org/t/mitsubishi-plc-fx3ge/42731/5 "2021-05-16T08:11:00Z")

</div>

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