I think you should also have some logic to eliminate the possibility of the manual tool change button releasing the tool during any operation other than the manual mode. You don't want to tool change button to release the tool while the spindle is running or during an automatic tool change.
On Tue, Apr 21, 2020, 10:34 AM Jon Elson <[email protected]> wrote: > On 04/20/2020 10:39 PM, John Dammeyer wrote: > > Sorry, I may have been premature. The STMBL has a HAL like interface > for configuration. It has the AND operation for example: > > # Now enable drive if external signal there > > load and > > and0.rt_prio = 12 > > fault0.en=io0.C78 > > # No fault when not enabled. > > and0.in0 = io0.C78 > > and0.in1 = fault0.fault > > enc_cmd0.fault = and0.out > > > > > The hal component is and2 (for 2 inputs). So, the above > would actually be : > > loadrt and2 > and2.0.rt_prio = 12 > fault0.en=io0.C78 > # No fault when not enabled. > and2.0.in0 = io0.C78 > and2.0.in1 = fault0.fault > enc_cmd0.fault = and2.0.out > > I'm assuming this needs to be loaded as a real-time component. > > Jon > > > > > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
