I have a Okuma LB 12 with OSP 500-LG controls, I running the loop program with this,

N11 V01=1
N112 V01=V01+1

( PROGRAM )

/ IF [ V1 LE ? ] N112
M2

( ? number of parts )

But for the life of me I cant figure out where the part counter is, and if I interupt the loop by reseting the count starts over.
Does any one know how to bring up the counter, and keep the count the same even after reseting.