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

2012-01-20 Thread Lars Andersson
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 factor of an axis On 19 January 2012 20:43, Lars Andersson l

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

2012-01-19 Thread andy pugh
On 19 January 2012 20:43, Lars Andersson l...@larsandersson.com 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.

[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

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

2012-01-18 Thread Viesturs Lācis
2012/1/18 Lars Andersson l...@larsandersson.com: 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

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 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

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

2012-01-18 Thread andy pugh
On 18 January 2012 20:41, Lars Andersson l...@larsandersson.com 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

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 the