FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
121 views 1 comments
by anonymous
Hello ,

is there a way that we can include GPS position data ( long / lat)    in modbus http channel ?

1 Answer

0 votes
by anonymous

Hi,

I assume you would like to request GPS information from the TRB245 and send it via the Data To Server functionality using HTTP. I also assume GPS is enabled and your device obtains a fixed location.

TRB245 needs to be configured as Modbus TCP slave.

TRB245 Modbus TCP master settings need to be configured to send requests to the device itself (127.0.0.1 Localhost address).

To read GPS latitude and longitude you will need to read holding registers 144 and 146 (Read 2 registers) with 32 bit float representation. This and other Modbus information can be found on the Modbus wiki page here.

Kind Regards,

Andzej

by anonymous
Thanks ,

will try this.