SPN1 DNI Firmware- Use of the DNI function7 of 8 5/4/2016www.delta-t.co.ukThe SPN1 clock and any input times to these commands are assumed to be in the local time representedby the time zone set using the ‘L’ command. The SPN1 then converts this local time into universal time(UTC or GMT) for use in the solar position calculations. The results reported from the ‘A’ and ‘D’commands show the universal time (GMT) used in the calculation. This also gives you the opportunityto check that you have the correct time zone settings for your particular local clock time.SPN1 DNI Command usageGeneral command flowStrategies for use of these commandsThe latitude, longitude and time zone are stored in persistent memory in the SPN1, so only need to beset once on installation. They will then be correct unless the SPN1 is moved, or the time offset changes(e.g. daylight savings time?).Send RCheck for »(ASCII 175)Send the required commandCheckcommand hasbeen echoedfullyCheck forresponse,including finalAnalyse responseThe R command wakes the SPN1and puts it into a known state. Ifnecessary the internal oscillator iscalibrated to ensure accurateRS232 character recognition.The SPN1 responds with the ‘»’prompt (ASCII 175) to confirmthis.This command normally returnsimmediately, but you should waitup to 1s to be sure of this.The command you send is alwaysechoed back in full before anyresponse is sent.Any response will always end witha (ASCII 13).A few commands (I and ? - see thetechnical manual for the fullcommand set) return several linesof information, so you will need towait for several to bereceived to be sure the commandhas completed.The commands will normallycomplete in less than 1s, plus anyadditional communication delay ifyou are accessing the SPN1remotely