how to sync data from enum data type to modbus master

hello., I'm new to arduino modbus.,I'm working on Arduino mega 2560 and Uno where they are connected as rx to tx and tx to rx.here by usin enum i'm sending some n number of data .,so how to sync this values to modbus master and slave.,and also when we give the register address the data stored in modbus should be displyed in serial monitor.can anyone help me?

If you try harder to explain your problem, somebody may understand it, or you may find the solution yourself already. A good description of a problem is half its solution :slight_smile: