For simulation, you could connect a few switches to the parport with appropriate pull-up resistors. You've probably got an old printer cable lying around that you could cut up and trace out (with an Ohmmeter) a few pins for ground, +5 and some inputs. While you're at it, you could also hang some LEDs on your test jig to let you know that "X" has happened (via an "M" code) and when to press a button, etc. Such a jig could be ugly and simple or as elaborate as you wish.
On Wed, Dec 10, 2008 at 09:23, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > The way I interpret the wiki and the manual is that the command waits > for the input only as long as the Q timer is set for. This works well > for error handling but for a machine interface I would want it to wait > w/o error handling. > Is there a way to test this in one of the simulations. I don't have a > working system in front of me right now to test it. I am not sure how I > would simulate the input with out hardware? > > Thanks, > Mike > > Alex Joni wrote: >> M66 P1 L1 waits for pin motion.*00* to become true. >> If that doesn't work like that, then you probably need a large Q number. >> >> Regards, >> Alex >> >> >> ----- Original Message ----- >> From: <[EMAIL PROTECTED]> >> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> >> Sent: Tuesday, December 09, 2008 10:42 PM >> Subject: Re: [Emc-users] M66 digital input control? >> >> >> >>> Thanks- Is there a way to wait indefinitely for an input using M66? >>> Would L0 do this? >>> >>> Chris Radek wrote: >>> >>>> On Tue, Dec 09, 2008 at 02:00:40PM -0500, [EMAIL PROTECTED] >>>> wrote: >>>> >>>> >>>>> The wiki shows more definition on the implementation of the M66 digital >>>>> input control. My question is around the P words. Are you limited to P0 >>>>> - P3 or can I continue with more P words like P4, P5, etc... if needed? >>>>> >>>>> >>>> Looks like you can have up to 64 digital ins/outs without >>>> recompiling. To set the number higher than 4 (the default), add >>>> num_dio=XX or num_aio=XX to your loadrt emcmot command. >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, >>>> Nevada. >>>> The future of the web can't happen without you. Join us at MIX09 to help >>>> pave the way to the Next Web now. Learn more and register at >>>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >>>> _______________________________________________ >>>> Emc-users mailing list >>>> Emc-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/emc-users >>>> >>>> >>>> >>>> >>> -- >>> Thanks, >>> >>> Mike Cinquino >>> Project Manager >>> Distech Systems Inc. >>> Rochester, NY 14606 >>> >>> Phone: 585-254-7020 >>> Fax: 585-254-1905 >>> >>> www.distechsystems.com >>> >>> >>> ------------------------------------------------------------------------------ >>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, >>> Nevada. >>> The future of the web can't happen without you. Join us at MIX09 to help >>> pave the way to the Next Web now. Learn more and register at >>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >>> _______________________________________________ >>> Emc-users mailing list >>> Emc-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-users >>> >> >> >> -------------------------------------------------------------------------------- >> >> >> >> No virus found in this incoming message. >> Checked by AVG - http://www.avg.com >> Version: 8.0.176 / Virus Database: 270.9.15/1839 - Release Date: 09.12.2008 >> 09:59 >> >> >> ------------------------------------------------------------------------------ >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >> The future of the web can't happen without you. Join us at MIX09 to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> >> >> > > -- > Thanks, > > Mike Cinquino > Project Manager > Distech Systems Inc. > Rochester, NY 14606 > > Phone: 585-254-7020 > Fax: 585-254-1905 > > www.distechsystems.com > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > -- "Those that forget the pasta are doomed to reheat it." Emory ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users