Not sure what are the sizes and pressure of each tank...
If you wanted to use the larger one as stand by and wired in... it's simple logic..
adjust the larger compressor with cut in pressure lower (cut in pressure is when the compressor trigger on) than the smaller one... and pipe the regulated output of the larger compressor to a shutoff valve --> check valve --> Smaller tank at a regulated pressure no greater than the smaller tank's rating.
keep the larger compressor off when you don't needed it...
when both compressor are on...
Both tanks will supply air, the larger tank will supply a regulated pressure via a check valve, when the system pressure drops below 100PSI the smaller compressor kicks in...
when the larger compressor (set at lower cut in pressure) drops down the cut in pressure the larger compress runs... if the larger tank pressure is less than the smaller tank.... the check valve will prevent the air from the smaller tank to enter the larger one...
If your tool consumes at larger rate that drops the system pressure below both compressors cut-in then both compressor turns on... the faster filling one (probably the larger one in certain scenario would also recharge the smaller tank)..
If the smaller tank recharge faster... the larger tank will still run to recharge... the check valve would have prevent the air from smaller tank to enter the larger tank... effectively stopping the smaller compressor from charging the larger compressor.
That is in theory... not sure in practice.... never encounter a situation I would need this... of cause if you find an electronic valve... and two pressure transducer... you can have some fun with the valves as well...and some electronics to make your compressor smart
at least with this setup your wiring is independent of any other wiring... you will needed to set each compressor up with a proper fuse/breaker and wires independently... it's purely mechanical... all you needed is a ball valve for shutoff the pressure between the two tanks... and a check valve... and of cause know how to adjust the cut-in....