I have a 2 axis NC mill with anilam 1100 controller. I want to do some automated photo focus stacking which this seems ideal for, but somehow I need to generate a trigger signal to trip the shutter after each move. I was thinking the spindle control could do it, but it seems there is no command syntax for controlling the spindle in a program, only from buttons on the front panel.

How can I control the spindle, or what other way is there to generate a trigger signal after each move?

Possibly I could let the camera drive the move by inserting a Zmove between each XY move and issue a continue signal after each exposure. That would probably require hacking into the key panel to make that connection.

Any other ideas?

Thanks.