I want to control two units 0-10V control inputs simultaneously and inverted way.  

For instance if the unit1 input is 5V the unit2 output will be OFF(zero V) and vice versa.

I could do this with using a comparator and its inverting input but there is one more condition I need to achieve. I want to set the outputs to a same voltage value as well. 

Basically I want to simultaneously set both units outputs by a potentiometer(any voltage between zero to 10V) but still their outputs will remain inverted(when uni1 is ON unit2 is OFF vice versa). How can this be achieved in a way without using microcontroller?

**EDIT:**

I hope this makes more clear:

[![enter image description here](https://i.stack.imgur.com/8CySQ.png)](https://i.stack.imgur.com/8CySQ.png)

-When FunGen is ON unit1 must be ON and unit2 must be OFF

-When FunGen is OFF unit2 must be ON and unit1 must be OFF

-An interface(like I draw with dashed rectangle) must adjust the voltages to unit1 and unit2 same value when any of them receives voltage). The voltage value must be able to be set from zero to 10V. 

Precision is not important down to 5% is fine for me and zero volt can be 0.2V.

Edit 2:

Related to an answer:

[![![enter image description here](https://i.stack.imgur.com/tUmve.png)](https://i.stack.imgur.com/tUmve.png)