RUT956 Adding Timestamp to RS485 Data

Dear community,

I’m connecting a laser distance measurement sensor to the RUT956 using RS485 port. The laser sends an integer each 4ms, that i want to read and forward to my laptop by IP. I want to timestamp the data just after receiving the 485 data before the RUT transmits it by IP. Is there any way to do this?
Thanks!