can i make a user defined G code to call a series of vb scripts?ie. to keep old program compatability from the machine im converting which for instance uses G99 to call a vertical drilling cycle.i can write the vb script for the cycle but can i call it with G99 or would it have to be with an M call.

I have read where you guys home to a index pulse. I am trying to understand this, I searched the forum but can't find any specific info.

Specifically where does the pulse come from and where is it connected to on the Galil ICM breakout? Is it sent from the drives though the a/b encoder output? On my drives I know I saw a reference to a separate output for index +z/-z I think it's referred to. Do I use these? Where on the Galil ICM would I connect these? Any info would be helpful, thanks.

I found this in the manual for the drive. The drive has a "0" position marker pulse it outputs, but the pulse comes out on a separate terminal then the main channel a/b. As far as I can tell, the signal is not included on channel a/b. Is the Galil looking for this index pulse on the A/B channel?

BTW, I am using SFD feedback as mentioned below.

From the Danaher S200 Drive Manual ""The CH Z Output is only available when using SFDFeedback. These two terminals function as a differential,TTL marker pulse. The output pulse occurs once permotor shaft revolution, starting at feedback deviceposition = 0. Its width is one line width or two quadratureencoder widths. The CH Z uses the same differentialdriver as described for CH A and CH B.""

Your Galil has A,B & I inputs for each axis. You would connect the channel Z outputs from your amp to the I inputs of the Galil. If using differential inputs, just wire Z+ to I+ and Z- to I-. I am using Yaskawa drives here and they work the same. It is nice to shut the machine down and come back the next day, home the machine and everything is within .0002 of where I left it.Kenny.