Look at Reeftronics home page. Russ made a utility to do that. It's on the right side of the page. You can also import that XML data into an Excel file using the 'data' function in Excel if you know how to do that but Russ's tool is the easiest.
[COLOR="RoyalBlue"]If MainTmp > 80.0 Then OFF [/COLOR]
If MainTmp < 77.8 Then ON
[COLOR="royalblue"]If MainTmp > 78.0 Then OFF[/COLOR]
[COLOR="royalblue"]If MainTmp < 75.0 Then OFF [/COLOR]
If MainTmp > 78.2 Then ON
[COLOR="royalblue"]If MainTmp < 78.0 Then OFF [/COLOR]
If Outlet Return_1 = OFF Then OFF
Not sure what you intend, but the highlighted code is redundant within each outlet.
For example, if the temp is 78.1 the heater will be OFF so 'If MainTmp > 80.0...' is unneeded. Also, remove Set OFF from both outlets if you intend to control the temp over a range. With it there it will turn off the heater as soon as the temp reaches 77.8.
The Time command is accurate to the whole minute. So, just in case you were not aware, OldSWout_4 will run from 17:01 to 17:05 and NewSWin_8 will run from 17:06 to 17:10.