The machine moves back and forth across the "Y" axis automatically. There is a second switch to make it increment along the "X" axis. He wants to make the machine lower the grinding head by (e.g.) .01mm after each pass along the Y to a full .1mm, then raise the head, increment along the X, then repeat. Kinda like a big Etch-a-Sketch and you're making the hole screen black.
It's a simple problem but creating an interface, driving the steppers, etc. is quite a lot for a newbie to take on.
Hi dimon_tare:
I'd like to help. I actually really enjoy working with machine tools (I have a small manual machine shop here) and I have years of automating electromechanical machinery with software.