Floating value in S7 node

I am using Siemens S7 node to extract floating value from plc but the value it is showing is quite big and not showing me real numbers of debug node.

Let's i store 10.1 at MD10 but the value in node is very big integer number

Could you please post your flow here, together with what is shown on Node-RED and what should be the value on the PLC (maybe a screenshot from SIMATIC)

Hello

You need to use something like msg.payload.tag.toFixed(2)) for 2 decimal places

Thanks for your reply, I have used MR instead of MD and use round function to round for 2 decimal place

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