rs485 serial communication

hi i have been working on some projects using arduino. i am using a new sensor pgv100-f200a-r4-v19 since it communicates through rs 485 communication

i have to send a two bytes request data

the request telegram and response telegram i have attached

the response telegram is 21bytes data
please help me to solve this
need a code for this sensor.
i used max485 convertor for communication between arduino and rs485

Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Thanks.. Tom.. :slight_smile:

Also have a look at the examples in Serial Input Basics - simple reliable ways to receive data.