Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

461
Views
How do I convert 1 word (2 bytes) to a float in Node.js?

I'm using Node-RED to read input from a Modbus server more specifically the MOXA ioLogik E2262 and the manual for the controller says if you use Function 4 from the modbus commands to read an analogue signal, the data type returned will be "1 word".

So I assume the Modbus Flex Getter node should be outputting "1 word"/ "2 bytes". I'm trying to read a temperature value so I'd like it to be a float value. Looking at the Modbus response though,I'm getting "65535" and I can't figure out what this is.

Can someone please help me with this ?
Modbus/TCP Address Mappings

Node-RED flow

enter image description here

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!