I’m using the RCM3610 to make a MODBUS RTU slave device. I’ve been looking at the sample code and can’t figure out a few things.

From my main program I would call MODBUS_Serial_tick() in MODBUS_SLAVE.LIB.

When that function is finished and returned to the main program, where can I find the received command and data? Would somebody show me some example code for accessing this information?

Thank you,

I’ve got things up and running. Just had to do some reading

Hi Sweit,

I’m starting a project about a serial modbus slave in a Rabbit4000.

How did you implement your slave? I can’t find any sample code to understand the modbus_slave.lib use.

Thank you in advance!