AT90CAN128 Modbus and Can

Hi !
My goal is to have a module capable of communicating in CAN and RS485 (modbus), as well as controlling relays via digital pins. So I found this : https://learn.sparkfun.com/tutorials/ast-can485-hookup-guide/introduction[](https://learn.sparkfun.com/tutorials/ast-can485-hookup-guide/introduction)

This is perfect ! I want to use it with arduino so after some research...
I have found the core for the AT90CAN : GitHub - MCUdude/MegaCore: Arduino hardware package for ATmega64, ATmega128, ATmega165, ATmega169, ATmega325, ATmega329, ATmega640, ATmega645, ATmega649, ATmega1280, ATmega1281, ATmega2560, ATmega2561, ATmega3250, ATmega3290, ATmega6450, ATmega6490, AT90CAN32, AT90CAN64 and AT90CAN128

An Arduino core for [...] AT90CAN128, all running Optiboot flash. This core requires at least Arduino IDE v1.6, where v1.8.5+ is recommended.

If you're into "pure" AVR programming, I'm happy to tell you that all relevant keywords are being highlighted by the IDE through a separate keywords file. Make sure to check out the example files (File > Examples > AVR C code examples).

This is perfect, I'm going to install this (latest release from december 2020) ! And after, install library for CAN by atlantis : CAN485/Libraries/Arduino at master · Atlantis-Specialist-Technologies/CAN485 · GitHub

So, now, I just need to find a good library for the modbus protocol ! But impossible to find that for the AT90CAN...

I have found the github repository of simple modbus : GitHub - debenzhang/modbusino: Small Modbus slave, RTU (serial) for Arduino
I don't know how it works exactly. How are the addresses to read and write created, how are they accessed?