New Modbusmq project: Testers needed!

Can anyone give me an example how to read an input on the Arduino, and map the I/O status to be polled by the Master?

I am not sure how the mapping is handled.