Henrik,
If I follow your post correctly I can do the following
and thenCode:DATA @8,0 EE_CH1_Max DATA WORD 4095 EE_CH2_Max DATA WORD 4095 etc
The part I can't get my head round is assuming you place the data statement at the start of the code so this happens when the code is run, what distinguishes it from a fresh install and a reboot as surely the code is executed from the start when powered up and will use the data command when it reaches that line of code ?Code:read EE_CH1_Max, WORD CH1_Max read EE_CH2_Max, WORD CH2_Max





Bookmarks