PCW, Thanks so much, we can finally control the spindle speeds...I am not a friend's shop to verify, but he has verified to me that it is functioning using M3/M5 commands...One note on this particular spindle is that the specs state that the minimum RPM is 8000...I have set the 8000 minimum in the .ini file so theoretically when spindle starts it should be running at 8000...As related to the Axis button interface, it appears (as shown in the halshow) in increments of 100, but where the increments begin is a mystery to me as I am not at the machine location...I am curious if those increments begin at the 8000 RPM's or start from base zero...If it does start at base zero, is there any way to have it begin at higher RPM...?
BTW...After your comment that "spindle-out" was not connected to anything, I did some reasearch I should have done a long time ago into the actual workings of HAL...Over the years I have usually been able to find answers to questions and problem situations to me just by reading this forum, as many other people have had similar experiences...Thus my number of posts in this forum are not a many as others...Based on this I have never actually learned that much about how HAL really functions...I decided after reading your post, that I had to know more than I did...
Day before yesterday (7 April), I had figured out just exactly what you today have suggested we use to accomplish the solution and I made up a test spindle.hal and sent it to my friend and he tested it today, I forgot to tell him to comment out the existing line pertaining to "net spindle-out" and it threw errors...I was in the dumps for a while, so I posted here and 8 minutes later you replied...It was exactly what you provided to the letter, so that meant to me that I had learned something and figured out what had to be done...What an elevating experience for me (and at my age...lol)
Thanks again for your help
Mike