# How to set up the address format using Mitsubishi MC Protocol Read Node?

**URL:** <https://discourse.nodered.org/t/how-to-set-up-the-address-format-using-mitsubishi-mc-protocol-read-node/83277>\
**Category:** Industrial\
**Created:** [29 November 2023 08:38 UTC](https://discourse.nodered.org/t/how-to-set-up-the-address-format-using-mitsubishi-mc-protocol-read-node/83277 "2023-11-29T08:38:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gforcelong](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gforcelong/32/85338_2.png) [@gforcelong](https://discourse.nodered.org/u/gforcelong)\
**Post date:** [29 November 2023 08:38 UTC](https://discourse.nodered.org/t/how-to-set-up-the-address-format-using-mitsubishi-mc-protocol-read-node/83277/1 "2023-11-29T08:38:13Z")

</div>

I'm using Mitsubishi MC Protocol Read Node and successfuly connected to a mitsubishi Q series PLC,but I'm a little confused about the address format of the mcread node:when the address is "DFLOAT900",I can get the correct data,but when i change the address to "D900,2" AND use the buffer parser node ,i can not get the right data,detail is shown on the picture below,any help would be appreciated

 ![11](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/b/2b0fe89fdd06c70800bb9fe2ce1499faa72efd66.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:** [29 November 2023 09:42 UTC](https://discourse.nodered.org/t/how-to-set-up-the-address-format-using-mitsubishi-mc-protocol-read-node/83277/2 "2023-11-29T09:42:11Z")

</div>

That is interesting (and I wrote both nodes!)

Can you do the following:

1. Request `DUINT900,2`

2. Request `DWORD900,2`

3. Show me what value are in the PLC registers (1WORD/16bit hexadecimal view)

* * *

What I do forget is how Mitsi packs floats into the DWORD - I have a distant memory of them being NOT `ieee 754` compliant

---

<div class="post-metadata">

**Author:** ![gforcelong](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gforcelong/32/85338_2.png) [@gforcelong](https://discourse.nodered.org/u/gforcelong)\
**Post date:** [29 November 2023 10:12 UTC](https://discourse.nodered.org/t/how-to-set-up-the-address-format-using-mitsubishi-mc-protocol-read-node/83277/3 "2023-11-29T10:12:36Z")

</div>

Thanks for your quick reply  
Request `DUINT900,2`and Request `DWORD900,2` have the same result which is:

```auto
[49316,17494]

```

 ![22](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/f/8f8c88af62827689c2edf0af270ff1d91acb717b.png)  
about the 3thd one ,since I'm not familiar with PLC registers and I can not show you what the hexadecimal view,any suggestion?

---

<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:** [29 November 2023 10:16 UTC](https://discourse.nodered.org/t/how-to-set-up-the-address-format-using-mitsubishi-mc-protocol-read-node/83277/4 "2023-11-29T10:16:38Z")

</div>

> [@gforcelong](#):
>
> `[49316,17494]`

Those numbers are NOT the same as last time.

Those numbers make sense!

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

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

---

<div class="post-metadata">

**Author:** ![gforcelong](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gforcelong/32/85338_2.png) [@gforcelong](https://discourse.nodered.org/u/gforcelong)\
**Post date:** [29 November 2023 10:28 UTC](https://discourse.nodered.org/t/how-to-set-up-the-address-format-using-mitsubishi-mc-protocol-read-node/83277/5 "2023-11-29T10:28:51Z")

</div>

Swap 16 does the trick! can u explain a little bit ? Thanks again for your anwser! Appreciate it!

---

<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:** [29 November 2023 10:54 UTC](https://discourse.nodered.org/t/how-to-set-up-the-address-format-using-mitsubishi-mc-protocol-read-node/83277/6 "2023-11-29T10:54:20Z")

</div>

IIRC, Mitsubishi PLCs are [Big Endian](https://www.webopedia.com/definitions/big-endian/) (but it doesnt really matter which endian they are TBH) its just that the computer you are reading data on is different endianess so the data has to be byte-swapped before the conversion.

---

<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:** [13 December 2023 10:55 UTC](https://discourse.nodered.org/t/how-to-set-up-the-address-format-using-mitsubishi-mc-protocol-read-node/83277/7 "2023-12-13T10:55:07Z")

</div>

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