i need help with codeing and arduino MODBUS/rs485

Hi!

I have a big ptoblem. I accidentaly ordered a wind directoin sernsor whitch uses a rs485 communication not the 0-5v one. If i found it uses rs485 communication then i ordered thath arduino rs485 module aswell (Nettigo: MAX485 UART TTL RS485 converter [Yā nǔ shén]) but i cant figure out the code to read the data to the rs485 module.
Is there anyone here who can help me with this problem? I need some kinda code or something becouse i cant find some solutions from nowhere. And unlucky i'm bad making ardu