The numbering starts at 0 so your first sensor would be $$SENC[0]$$ coding wise its best to use the repeat loop above.

Glad its working for you.