How to get Real64 from MC Protocol

I'm get data from mitsubishi plc via node mc protocol but number is mismatch

data in node-red and setting

I think you have found a short coming in the mc-protocol nodes.

Until I can add support for 64bit REAL to the library, you can use my buffer-parser node to convert 4x 16 bit UINTS into a REAL (aka Double)

Set the MC Protocol node to return 4x UINT values (DUINT9516,4), feed them into a buffer-parser node.

Demo

buffer-parser

Request:

I think i might have fixed REAL value support however I currently have no means of testing.

If you are in a position to help I would appreciate it.

To test this branch, could you install and test out?

In your .node-red directory, run:

npm install https://github.com/Steve-Mcl/node-red-contrib-mcprotocol#add-real-double

Let me know if that works

Restart node red after the install.

thank you so much sir i will try

can't install

You will need to install git.

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