Re: [Emc-users] Changing the scale factor of an axis

2012-01-20 Thread Lars Andersson
vel-cmd " so there is no need for the ddt step. I will try that. // Lars > -Original Message- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: den 19 januari 2012 22:04 > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Changing the scale

Re: [Emc-users] Changing the scale factor of an axis

2012-01-19 Thread andy pugh
On 19 January 2012 20:43, Lars Andersson wrote: > I think I will try to change the A-axis to velocity mode and put a HAL > component in series that takes the derivative of commanded position That might not be necessary, you can probably use the existing axis velocity pin. (axis.3.join-vel-cmd) c

Re: [Emc-users] Changing the scale factor of an axis

2012-01-19 Thread Lars Andersson
:15 > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Changing the scale factor of an axis > > On 01/18/2012 12:41 PM, Lars Andersson wrote: > > This immediately gives a "joint 3 following error" even for a very > small > > change. > > > >

Re: [Emc-users] Changing the scale factor of an axis

2012-01-18 Thread Karl Cunningham
On 01/18/2012 12:41 PM, Lars Andersson wrote: > This immediately gives a "joint 3 following error" even for a very small > change. > > Can I work around this? The problem appears to be, as someone pointed out, that changing the scale factor also causes a step in the output due to a multiplying th

Re: [Emc-users] Changing the scale factor of an axis

2012-01-18 Thread andy pugh
On 18 January 2012 20:41, Lars Andersson wrote: > This is not allowed, "stepgen.3.position-scale" is a parameter, not a pin You could put a "scale" component between the axis and the stepgen. I think, though, that you might have more luck putting the A stepgen into velocity mode, and linking to

Re: [Emc-users] Changing the scale factor of an axis

2012-01-18 Thread John Thornton
Lars, Take a look at the THC comp to see how I hijacked the position commanded for Z and lied about the position feedback. John On 1/18/2012 2:53 PM, Ben Jackson wrote: > On Wed, Jan 18, 2012 at 09:41:12PM +0100, Lars Andersson wrote: >> I try manually while running: >> >> setp stepgen.3.positi

Re: [Emc-users] Changing the scale factor of an axis

2012-01-18 Thread Sebastian Kuzminsky
I think as long as you're modeling your extruder as an axis, you can't change it's speed without also changing the speed of all the other axes (by using the feed override knob on the motion controller). Also, as long as your extruder's position is controlled by the motion controller, you won't

Re: [Emc-users] Changing the scale factor of an axis

2012-01-18 Thread Ben Jackson
On Wed, Jan 18, 2012 at 09:41:12PM +0100, Lars Andersson wrote: > I try manually while running: > > setp stepgen.3.position-scale 210 (it was was 200 before) > > This immediately gives a "joint 3 following error" even for a very small > change. That's because the absolute position of A just m

Re: [Emc-users] Changing the scale factor of an axis

2012-01-18 Thread Viesturs Lācis
2012/1/18 Lars Andersson : > > net flowrate stepgen.3.position-scale <=  input.0.abs-rx-position > > This is not allowed, "stepgen.3.position-scale" is a parameter, not a pin Then You can solve the cause of the problem - change it from parameter to pin. In simple HAL module it would require changi

[Emc-users] Changing the scale factor of an axis

2012-01-18 Thread Lars Andersson
I would like to dynamically change the flow rate of material feed of my plastic rapid prototyper. The material is dispensed by a step motor on the A-axis. A is running proportional to the combined speed of X and Y (always counting up) . The scale factor for A is set at the G-code generation, it is