[Emc-users] Pyvcp position number
I would like to add a PYVCP that shows the actual X, Y, and Z position but larger than the Axis gui does standard. I have a working PYVCP panel but I am having trouble picking the correct hook into hal. I used Xpos, Ypos and Zpos and it responds to the movement of the axis but they do not match position. Does anyone know the actual variable that will give me exactly what is shown on the Axis gui for X, Y and Z position? Thanks, Mike -- 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
Re: [Emc-users] Pyvcp position number
Don't see anything in halui for position. Alex Joni wrote: Also look at halui for some positions exported. Regards, Alex - Original Message - From: John Kasunich jmkasun...@fastmail.fm To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Monday, December 15, 2008 9:43 PM Subject: Re: [Emc-users] Pyvcp position number mcinqu...@distechsystems.com wrote: I would like to add a PYVCP that shows the actual X, Y, and Z position but larger than the Axis gui does standard. I have a working PYVCP panel but I am having trouble picking the correct hook into hal. I used Xpos, Ypos and Zpos and it responds to the movement of the axis but they do not match position. Does anyone know the actual variable that will give me exactly what is shown on the Axis gui for X, Y and Z position? The positions available in HAL are not going to be the one you want. HAL is used mostly for low level stuff - motor control, etc. It doesn't have access to things like g-code offsets, tool length offsets, and all the other interpreter-only things that affect position. I believe there is a way to make the displays in Acis bigger, you might want to check the wiki for that. Regards, John Kasunich -- 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.18/1849 - Release Date: 15.12.2008 09:01 -- 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 -- 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
Re: [Emc-users] Pyvcp position number
I am using 2.2.5. I looked at the link thanks. It looks like they ended up with the same results I am seeing. When axis opens, the PYVCP position is set to zero but the axis position is remembered causing a difference. And tool offsets will probably cause the same problem. sam sokolik wrote: I think it should be there.. http://www.cnczone.com/forums/showthread.php?t=60199 Rayh added it IIRC. What version are you using? sam mcinqu...@distechsystems.com wrote: Don't see anything in halui for position. Alex Joni wrote: Also look at halui for some positions exported. Regards, Alex - Original Message - From: John Kasunich jmkasun...@fastmail.fm To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Monday, December 15, 2008 9:43 PM Subject: Re: [Emc-users] Pyvcp position number mcinqu...@distechsystems.com wrote: I would like to add a PYVCP that shows the actual X, Y, and Z position but larger than the Axis gui does standard. I have a working PYVCP panel but I am having trouble picking the correct hook into hal. I used Xpos, Ypos and Zpos and it responds to the movement of the axis but they do not match position. Does anyone know the actual variable that will give me exactly what is shown on the Axis gui for X, Y and Z position? The positions available in HAL are not going to be the one you want. HAL is used mostly for low level stuff - motor control, etc. It doesn't have access to things like g-code offsets, tool length offsets, and all the other interpreter-only things that affect position. I believe there is a way to make the displays in Acis bigger, you might want to check the wiki for that. Regards, John Kasunich -- 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.18/1849 - Release Date: 15.12.2008 09:01 -- 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 -- 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 -- 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 -- 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
Re: [Emc-users] M66 digital input control?
I think I would try pypvc first. Emory Smith wrote: 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 -- Thanks, Mike Cinquino Project Manager Distech Systems Inc. Rochester, NY 14606 Phone: 585-254-7020 Fax: 585-254-1905 www.distechsystems.com