How to read data from gateway connected to MODBUS device using nodered

read the manual for your device and decide what information you want to return.
It shows in the manual what you need to send to the device…

What you need to send depends on how you have configured the sensor, so no-one else will be able to tell you...

ok thanks

Hello once again

There is nothing related to the device specification....Can u please help me with this....make the data readable...i.e measuring the distance

That I have understood just give me the procedure of doing this?
Like I have to create some function or anything else?

I haven't got one of these sensors all I'm doing is reading the document you have posted.

But if theres a "sensor query format" my guess would be that you need to send the correct command to the sensor and it then returns the response.
How you do that could be in the inject node or a function node. But the command you send will depend on how you have configured your sensor.

ya I got u but what query I have to give is the main issue

The query will depend on the dip switches on the sensor...
As it says in the doc you posted.

I have configured my device to 0X01 now and next step is to give the same query right?
And that query has to give through injection but which type I have to give like string, number or buffer etc??