Hey Stirling, the macro works great! I was also able to go in and edit a few things just to see how it would effect the macro. I was able to figure out that if I add additional Z increments, (.005 each) I can raise Z higher before coming back down.
For s=1 To numSlides
Code "G1 Z" & ZIncrement + ZIncrement + ZIncrement + ZIncrement + ZIncrement + ZIncrement 'lift Z a couple of tads
While IsMoving()
sleep 10
Wend
Code "G1 Z-" & ZIncrement + ZIncrement + ZIncrement + ZIncrement + ZIncrement 'lower Z a tad
While IsMoving()
sleep 10
Wend
So basically, with this edit, I can move Z up .03 then back down .025 which might be better to let the resin flow better between layers.
Now I also tried to adjust the sleep time between the two moves but didn't seem to work. I added sleep time after the G1 Z move so there was more of a pause before going back down but it didn't seem to effect it. I put in 1000 instead of 10 (where bold). What am I missing here?
One more question: Does this macro control the timing of the slide show? Does it override the timing built into the PPT show? It seems it did because when I played with the exposureTime integer, it still seemed to stay in sync with the slide show.
Thanks again for your help. Now I just need to figure my black screen issue. The Z move has to happen on a black screen so I've been trying to figure out the transitions and fade animations in PPT to accomplish this, still working on it.