Stephen Wille Padnos wrote: > Jon Elson wrote: > > >> OK, now that I have a bunch of other problems fixed, I need to see how >> to implement the title question. >> >> This customer has a Haas mini-mill, and wants to use EMC to control an >> indexing head. So, he will have the XYZ moves programmed in the Haas, >> and the A axis programmed in EMC. When he needs the next A position, he >> has the Haas send a contact closure to a digital input on the PWM >> controller, which I think can wake it out of an optional stop, and when >> it gets to the next position, it sends a contact closure back to the >> Haas to continue machining. >> >> Has anyone done this? I'm a little vague on what the G-code for this >> would look like on the EMC side, and which hal pins one would hook the >> digital I/O up to. (ISTR there has been development in this area just >> within the last 2 weeks or so.) >> >> >> > This sounds like a HAL problem more than an EMC problem. The only > "difficult" part is getting the number of degrees to move into the HAL. > This is no more difficult than pushing G-code to move the correct amount. > > Another option: a simple indexing component should be easy to write. > The limit3 component will output an accel and vel-limited position > command given a step input, so you don't even need to write motion > profiling code in the indexer component. The output of the limit3 would > then be fed to PID just as you do with EMC. > > - Steve > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > >
very interesting, HAL sounds like the way to use a robot as a tool changer not really inter-operating, but simple handshaking and 'interleaved' programs where robot runs, then machine runs, then robot runs then... regards tomp ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
