Like I said its not much, but its all I currently have.
actually it's quite a lot ... it shows us the SPECIFIC hardware that you're using – and the ADDRESSES of your inputs, outputs, and available data files ... without that type of information, all that we could give you were "general hints" ... but now that we have the existing file, we can go into more DETAIL ...
here are some notes on what I did ...
DISCLAIMER: this is all based on what I THINK that you're asking for ... you're there with the system – and I'm not ... but I think that this will at least get you in the ballpark with what you're trying to accomplish ...
(1) made a copy of your file and named it "PID TEST B.RSS" ...
(2) changed Thermocouple input configuration for I:3.0 to "Scaled for PID" ... (this is a lot simpler than the way you were shooting for) ...
(3) changed Analog Output configuration for O:1.1 to "Scaled for PID" ... (again - this is a lot simpler method than the way you were shooting for) ...
(4) set up a PID instruction to use existing PD11:0 data ... (it was available but previously unused) ...
(5) set up PID's Process Variable for I:3.0 ...
(6) set up PID's Control Variable to use O:1.1 ... (O:1.2 that you mentioned in your rung comment does not exist) ...
(7) set up PID's Setpoint MAX for 2498 ... (DegF for K-type thermocouple) ...
(8) set up PID's Setpoint MIN for -454 ... (DegF for K-type thermocouple) ...
(9) set PID's Setpoint to 100 ... (DegF – just to get you started) ...
(10) set up PID's Time Mode to TIMED ... (not the default of STI) ...
(11) set the PID's Loop Update entry to 0.50 ... (one-half second between PID executions ... this should be OK for most temperature control applications) ...
(12) set the PID's RG (Rate Gain) bit to 1 ... (for better resolution of Kc and Ti entries) ...
(13) set the PID's Output Max to 100 ... (just in case you ever decide to Limit the CV in the future) ...
(14) set the PID's Kc (Proportional setting) to 1.00 ... (just to get started ... the rest of the turning is up to you) ...
(15) deleted your RET instruction ... (those aren't needed – a JSR will "return" automatically) ...
(16) changed your SCP to use the new "Scaled for PID" configuration of your thermocouple input ...
(17) I did NOT make any changes to your comments ... (that's up to you) ...
see if this helps get you going ... if you need more help, save another version and post that with detailed questions ... I'm teaching next week so I won't have any spare time to help after this weekend ... good luck with your project ...
.