Is it possible to do communication between Rumba and Arduino Mega?

I'am using Rumba Controller to drive 6 stepper motors and i'am also using Arduino Mega to control accelerometer sensor which require to measure angle of the any object.

I would like to use Arduino accelermeter sensor's output(angle value) as inputs for the Rumba Controller to move steppers.(Rumba also using ATMega2560).

My question is: Is there any way to do this?

My personel idea is:

-Use accelerometer sensor and get the angle result.
-Save this result to a readable file for arduino program.
-Use rumba controller to read this file as input.

Thank you for any help.