Hi, On Sonntag, 17. Mai 2020, 17:46:14 CEST andy pugh wrote: > On Sun, 17 May 2020 at 16:13, Reinhard <reinha...@schwarzrot-design.de> wrote: > > in ioControl.cc I found the note: "only valid when tool-prepare=TRUE", but > > where do I have to enable that switch? > > That pin is not mentioned in docs of ini-file nor in the man-page of > > iocontrol > Did you really mean iocontrol.0.tool-prepare? That pin is mentioned in > the manpage.
Yes, I meant that pin, but I was unprecise with my words. I wanted to say, that configuration of that pin is not mentioned. That's because I misunderstood source comment from ioControl. What I learned so far: a shortcutted pin is too fast, to see it toggle. So I break the loop and I saw, that the pin works without configuration. But ... ... don't know - the gcode-sequence I posted lately - is that valid for linuxcnc? That way every machine is programmed at work. The N-word may be special for Fanuc, as Fanuc shows the active N-word ... Anyway - axis and interpreter accept the code without error message, but with that code, the tool-prepare pin does not work as expected. The line headed by N10 sets up the parameters for tool T4, which has been changed just before. At the end of the line, T23 is commanded - so at that time, the tool-prepare pin should be active. But it is not. ... and it will not become active until next M6-command. After the second M6, axis shows T23 as active and the tool-prepare becomes active with prep-toolnum of T24. Don't know, whether I should do something different. Actually I monitor the tool-prepare- and tool-change-pin and when they become active I rise the -prepared-pins and -changed-pins to confirm the action. cheers Reinhard _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers