Help
I am partway through a project getting my 8 station tool turret up and running and now I'm stumped.
So far the turret is working mechanically and when I press a button a short macro controls it so that
it indexes one position. At the same time a Brain program reads 4 sensors compares against truth table
then outputs the current tool. All that appears to be working fine.
The next step of the project was to make it fully automatic with all the indexing controlled from M6start macro.
I thought it would be a relatively straightforward extension of my initial program. Apparently not.
After some investigation I identified where the program was failing. It wasn't reading the selected tool !!!
I have whittled the program down to the minimum just to test this function
(M6Start.m1s)
Dim tool As Integer
tool = GetSelectedTool()
Message " Requested Tool " & tool ' just a test output to check function read
As a test when I type for example M6 T4 into the MDI line I was expecting to get
Requested Tool 4 instead I get Requested Tool 0 and the current tool DRO also changes to '0'
I have tried on mach3 mill and it works as expected but not on mach3 lathe
For information
I have CONFIG - TOOL CHANGE- set to Auto tool changer
tried on versions R3.043.066 and R3.043.052 with three different lathe screen sets
I have looked through the forum and cannot see this flagged up as a recurring fault
and considering the amount of lathe tool turrets there are out there is must be something I am doing wrong
Any help would be greatly appreciated
cheers George
ps I have also tried removing the brain program from the equation but result is just the same