First off, you're missing some things. How does the PLC know when to start all this wonderful sequencing stuff? Is there a start PB, a sensor to detect the metal in the tank, or what?
You state an ideal control strategy. What about a non-ideal one? Just how critical is the temperature dynamics of the tratment process? How tightly does the ramp have to be controlled?
For staters, you'll need to get look at the instruction set and find the PID instruction. You will use that instruction to control your two analog outputs. You will want to "disable" the one that isn't currently active, which may be tricky. I don't know the 984 PID instruction, but PID instruction don't often take kindly to being disabled. They tend to remember their last values, and so when re-enabled, use the last place as a starting point, which can lead to initially overshooting.
To ramp a setpoint, simply do the following:
A) When you are initially starting the ramp, capture the current PV, and subtract it from the SP to get your Delta.
B) Start a timer equal to the length of the ramp duration. For long ramps (hours), you might use a counter in conjunction with a timer. Ther timer will pulse once per minute, the counter will count the minutes.
C) The setpoint that you would use for your PID is :
PID_SP = Captured_PV + ( Delta * Timer_Accum / Timer_Preset )
Continuously change the PID's setpoint with this value. The PID will do all the work to "maintain" the ever-increasing (or deacreasing) temperature.
If you are expecting to pay for all 4 kids' colleges, you're overcharging. One kid through community college, maybe.
If you need much more help, as Jay Anthony recently posted, contract consulting starts at $125/hr.