Referring back to my May 10 posting you have left out the etable and ssum commands and your *get command is incorrect (see below.)
*DO, step, 1, 55, 1
set,,,,,,,step ! store results for set step
etable,energy,sene
ssum
*get,my_energy,ssum,,ITEM,energy
*GET,energy,SENE,step,ITEM ! this command was incorrect (see above)