I tried this with the 1.2.5 mods, and couldn't get it to work.  The quarry wouldn't move properly without crashing things.
 
So I tried using a deployer/blockbreaker when the frame machine moved, which worked but would always put the quarry down facing a certain direction, which happened to be eating half my frame machine.
 
I also tried using the IC2 miner in a similar fashion, but couldn't get the MFE & cables to play nicely with frames.
 
If you have any luck, I'ld love to see how.