Hi Terry
it is on Page 378 3rd paragraph down in the learn as you go manual.
Ah so.
Um - I don't seem to have a copy of that manual. Maybe that explains a few things?
Help? Pretty please!Yes, one could do it all under one roof, but the machine was delivered with the standard two versions of Mach (Mill and Lathe) and I have never bothered (like, never had the time) to change that. It works ... I do not want EVER to combine the operations!
From the spindle PS the two wires go to a Reversing relay. From there the two wires go to TWO double-pole Spindle relays. One drives the mill spindle, the other drives the lathe spindle. Only ONE of these two relays can be energised at any time: hardware logic gates do the lockout. If an eStop happens, both spindle relays will drop out.
So, when I fire up one of the systems, the first instruction is a macro call to enable the appropriate spindle relay. At the same time, the Config selects the appropriate input pin for the index pulse.
That's fine, but if I run an old program withoput the macro call, the spindle does not respond to an M3. All sorts of damage can ensue. So I am enhancing the M3 and M4 macros to first check the spindle power supply is ON, then check that the spindle enable relay is ON. If either test fails, the macro does a Pause, Stop, Rewind and ends.
The spindle PS has a mag trip on the input - a touchy beast which can drop out, so I have to check that first.
So I will have to change the pin definitions from Enable to output. Eh - not hard. If there is an eStop other safeties cut in anyhow - PWM stops immediately for instance, and the Enable on the Spindle PS drops out as well.
Cheers
Roger