oh sorry, after i wrote that i re-read the prior notes and i should clarify. i suppose the flashing green would sorta throw that system for a loop! did you figure this out or no?
You simply need two relays. First the power for the red light will be connected to the n/c contacts of the relay 1. The green signal coming from the first maching will run into the n/o contacts of relay two. the green signal from the second machine will energize relay two sending power to both...