Here is the diagram for the standard setup of the DAC
The reference voltage is 5 volts
The amplification is -1
The amplifier is inverting
There are external resistors to bring the voltage down from 15 volts to 5 volt
There are internal resistors for the reference resistor and the DAC
The diagram for the code structure:

