[Emc-users] end of program

2008-12-15 Thread Len Shelton
Is there a code to just simply end a program? I have a scenario where I don't want to reset my offsets (M2 or M30) and I don't have a cycle start button (which makes sense with M60), but I want to jog the machine manually between runs. Axis keeps warning me that my program doesn't have a percent

Re: [Emc-users] end of program

2008-12-15 Thread Chris Radek
On Mon, Dec 15, 2008 at 09:34:53AM -0600, Len Shelton wrote: Is there a code to just simply end a program? I have a scenario where I don't want to reset my offsets (M2 or M30) and I don't have a cycle start button (which makes sense with M60), but I want to jog the machine manually between

Re: [Emc-users] Am I overloading the servo loop with my spi ndle encoder?

2008-12-15 Thread Tom
Tom kestrel...@... writes: I will look at the outputs on the scope tomorrow. Also, I connected my cable shield to power ground in the computer ribbon cable, so that may be causing excessive noise feedback. You have to jumper the Mesa 7i33 for differential inputs, and I think it has noise

Re: [Emc-users] Am I overloading the servo loop with my spindle encoder?

2008-12-15 Thread Stephen Wille Padnos
Tom wrote: Tom kestrel...@... writes: I will look at the outputs on the scope tomorrow. Also, I connected my cable shield to power ground in the computer ribbon cable, so that may be causing excessive noise feedback. You have to jumper the Mesa 7i33 for differential inputs, and I think it

[Emc-users] Pyvcp position number

2008-12-15 Thread mcinqu...@distechsystems.com
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

Re: [Emc-users] Pyvcp position number

2008-12-15 Thread John Kasunich
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

Re: [Emc-users] Pyvcp position number

2008-12-15 Thread Alex Joni
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

Re: [Emc-users] Am I overloading the servo loop with my spindle encoder?

2008-12-15 Thread Sebastian Kuzminsky
Stephen Wille Padnos wrote: The newer Mesa drivers have an estimated velocity output, which should be pretty accurate. The scaling (*60) should be able to run in the servo thread just fine. I'm not sure when the velocity output was added, but I'm pretty sure it's in the hostmot2 drivers

Re: [Emc-users] Pyvcp position number

2008-12-15 Thread mcinqu...@distechsystems.com
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

[Emc-users] second acceleration parameter

2008-12-15 Thread Jimmy Schneiderman
To Anyone that Can Help Me, A built a 30m x 6m x 3.8m CNC machine. Due to the size of the machine, it is a bit flexible. I was using a Brazilian Controller for the 3 axis. Machine was upgraded to 5 axis and I am trying to use LinuxCNC with Montec boards. The previous controller has 2 types of

Re: [Emc-users] Am I overloading the servo loop with my s pindle encoder?

2008-12-15 Thread Tom
Sebastian Kuzminsky s...@... writes: Stephen Wille Padnos wrote: The hostmot2 driver in 2.2.8 has the new velocity estimation code. Is there a new signal name for this? Tom -- SF.Net email is Sponsored by

Re: [Emc-users] Am I overloading the servo loop with my spindle encoder?

2008-12-15 Thread Sebastian Kuzminsky
Tom wrote: Sebastian Kuzminsky s...@... writes: Stephen Wille Padnos wrote: The hostmot2 driver in 2.2.8 has the new velocity estimation code. Is there a new signal name for this? The new pin is called encoder.XX.velocity. It's documented in the hostmot2 manpage, which gets installed

Re: [Emc-users] Pyvcp position number

2008-12-15 Thread sam sokolik
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.

Re: [Emc-users] Pyvcp position number

2008-12-15 Thread mcinqu...@distechsystems.com
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:

[Emc-users] Strange problem with position feed back

2008-12-15 Thread Eric H. Johnson
Hi all, I have a strange problem which looks like it is related to the position feedback, but I also suspect I may be looking in entirely the wrong place. I have a three axis configuration where the Z axis is mapped to a PWM for a laser. The hardware is the Mesa m5i20 controller with the hostmot2

Re: [Emc-users] Strange problem with position feed back

2008-12-15 Thread Jim Coleman
I'm not sure if theres a reason you used Z to power the laser, but have you considered wiring the laser to a spindle speed output? then you wouldnt have to be programming moves in Z in order to power the laser (at least thats how it seems it works to me?) then you just connect the spindle speed

Re: [Emc-users] Strange problem with position feed back

2008-12-15 Thread John Kasunich
Eric H. Johnson wrote: Hi all, I have a strange problem which looks like it is related to the position feedback, but I also suspect I may be looking in entirely the wrong place. I have a three axis configuration where the Z axis is mapped to a PWM for a laser. The hardware is the Mesa m5i20

Re: [Emc-users] Strange problem with position feed back

2008-12-15 Thread Eric H. Johnson
Jim, I have done that too, but the problem with using the spindle is that the system stutters when the spindle speed changes. Using Z allows smoothly changing laser power on the fly. I make Z values very small, then use large multipliers on the PWM scale so that laser power can change quickly

Re: [Emc-users] Strange problem with position feed back

2008-12-15 Thread Eric H. Johnson
Jim, That is exactly what I am doing. There is no PID, axis.2.motor-pos-cmd is connected directly to axis.2.motor-pos-fb, as follows: net Zpos-cmd axis.2.motor-pos-cmd = axis.2.motor-pos-fb Regards, Eric another thought. can you take out the pid loop completely? that way the pwmgen just

Re: [Emc-users] Strange problem with position feed back

2008-12-15 Thread Sebastian Kuzminsky
Eric H. Johnson wrote: There was some discussion a year or so ago about high speed I/O, which I would still like to do for laser writing and 3D engraving. That would require updating a PWM output as fast as every 200 microseconds (5Khz) or gating an output perhaps as fast as 50 microseconds.

Re: [Emc-users] Strange problem with position feed back

2008-12-15 Thread Sebastian Kuzminsky
Eric H. Johnson wrote: I have a strange problem which looks like it is related to the position feedback, but I also suspect I may be looking in entirely the wrong place. John Kasunich's advise is right on, as usual. The only thing I have to add is that Matt Shaver has reported following

Re: [Emc-users] Strange problem with position feed back

2008-12-15 Thread Stephen Wille Padnos
Sebastian Kuzminsky wrote: [snip] The only thing I have to add is that Matt Shaver has reported following errors with hm2 stepgen, and this issue has not been resolved yet. His workaround is to set the following error limit to practical infinity, until we figure out what's really going on.

Re: [Emc-users] Strange problem with position feed back

2008-12-15 Thread Sebastian Kuzminsky
Stephen Wille Padnos wrote: Sebastian Kuzminsky wrote: [snip] The only thing I have to add is that Matt Shaver has reported following errors with hm2 stepgen, and this issue has not been resolved yet. His workaround is to set the following error limit to practical infinity, until we

Re: [Emc-users] Gcode Newbie Question - repetitive part making

2008-12-15 Thread BRIAN GLACKIN
it won't be real quick, but you could order that as a back issue. Jon Jon, Is it fair to say that the investment in this publication is worthwhile? If so, I am not opposed to giving it a try after the 1st of the year. Jeff, Enjoying a brief warm spell here in PA so the opportunity was

Re: [Emc-users] Strange problem with position feed back

2008-12-15 Thread Eric H. Johnson
Steve, A question on that, how would the scale value enter into that calculation? I have motor-pos-cmd directly connected with motor-pos-fb, as below. Zpos-cmd is then connected to hm2_5i20.0.pwmgen.00.value and separately scaled. net Zpos-cmd axis.2.motor-pos-cmd = axis.2.motor-pos-fb setp

Re: [Emc-users] Strange problem with position feed back

2008-12-15 Thread Eric H. Johnson
Sebastian, The only thing I have to add is that Matt Shaver has reported following errors with hm2 stepgen, and this issue has not been resolved yet. His workaround is to set the following error limit to practical infinity, until we figure out what's really going on. I pushed it up to 1000,

Re: [Emc-users] Strange problem with position feed back

2008-12-15 Thread Chris Radek
On Mon, Dec 15, 2008 at 07:03:52PM -0500, Eric H. Johnson wrote: the system e-stops, but no error message is generated. When this happens what exactly do you see? I am wondering if the machine does not actually go into ESTOP mode (AXIS shows ESTOP at the bottom), maybe it might go into

Re: [Emc-users] Strange problem with position feed back

2008-12-15 Thread Sebastian Kuzminsky
Eric H. Johnson wrote: Sebastian, The servo period isn't much of a problem, with a 1.6 Ghz dual core processor I was able to get the servo period down to 250 to 300 micro-seconds before I started getting overruns. The problem I have not figured out yet is how to outfox the kinematics, since

[Emc-users] Changes to hostmot2 in 2.2.8

2008-12-15 Thread Eric H. Johnson
Sebastian, et al, Was there any significant change between 2.2.7 and 2.2.8 for the hostmot2 drivers. I just rebuilt a box so I could test away from the machine, and installed from the 2.2.8 binaries. I then ported my working 2.2.7 configurations over to the new box. On loadrt hostmot2, or loadrt

Re: [Emc-users] EMC 2.2.7 + 7i43 + Ted's sample, and same error than using EMC 2.2.6 + 7i43 + Ted's sample.... What now?

2008-12-15 Thread Richard Acosta
El 10/12/2008 09:12 p.m., Peter C. Wallace escribió: How did the DOS testing turn out? OK... sorry for the delay, but my work is killing me. Finaly i managed (lack of time not brain) to burn a DOS start cd and put there the files to make the test. When sc7i43p svst4_4b.bit 378,

Re: [Emc-users] Strange problem with position feed back

2008-12-15 Thread Eric H. Johnson
Chris, You are correct. I was using TkEMC (not my usual UI) for testing and misinterpreted what the button state was indicating. I see now that it was indicating machine off, not e-stop. Regards, Eric When this happens what exactly do you see? I am wondering if the machine does not actually go

Re: [Emc-users] Strange problem with position feed back

2008-12-15 Thread Eric H. Johnson
Sebastian, It is a problem for down the road, not on my current project. I am not currently trying to do laser writing / engraving but would like to do that in the not too distant future. The fist approach I took was to use the spindle, but I ran into a number of problems there, particularly

Re: [Emc-users] Gcode Newbie Question - repetitive part making

2008-12-15 Thread Jim Register
BRIAN GLACKIN wrote: it won't be real quick, but you could order that as a back issue. Jon Jon, Is it fair to say that the investment in this publication is worthwhile? If so, I am not opposed to giving it a try after the 1st of the year. Brian, Village Press usually has a booth

Re: [Emc-users] Strange problem with position feed back

2008-12-15 Thread John Kasunich
Eric H. Johnson wrote: Chris, You are correct. I was using TkEMC (not my usual UI) for testing and misinterpreted what the button state was indicating. I see now that it was indicating machine off, not e-stop. You can still trigger halscope on machine-off (axis.N.amp-enable-out goes

Re: [Emc-users] Strange problem with position feed back

2008-12-15 Thread John Kasunich
Eric H. Johnson wrote: Sebastian, It is a problem for down the road, not on my current project. I am not currently trying to do laser writing / engraving but would like to do that in the not too distant future. The fist approach I took was to use the spindle, but I ran into a number of

[Emc-users] Fwd: 5 axis tool length - 5 axis pivot length

2008-12-15 Thread Stuart Stevenson
Gentlemen, I have the geometric and angle compensations merged. I move the geometry using NCL and matrices and then calculate the position corrections and compare the results to the position of the matrices geometry. The matrices and calculated geometry match to seven place (the limit of the

Re: [Emc-users] Am I overloading the servo loop with my spi ndle encoder?

2008-12-15 Thread Tom
Sebastian Kuzminsky s...@... writes: The new pin is called encoder.XX.velocity. It's documented in the hostmot2 manpage, which gets installed when you install emc2.deb, and also available here: http://www.linuxcnc.org/docs/2.2/html/man/man9/hostmot2.9.html#encoder Sebastian, My