Charles you might find that any M code will cause a slight stoppage of 
the head as the M codes are not computed like gcodes with constant 
velocity in mind but rather as a separate command. Also it is not a 
motion command so there will be no motion when it is executed. If I was 
you I would look at doing a PWM with PID type controller for the temp 
control and that you can feed with any kind of value on a hal pin to 
control the temperature. A component in the background will not 
interfere with the smooth running of the head.

On 2013-11-21 00:33, Charles Steinkuehler wrote:
> Yep, I think that will work!
>
> Now off to re-work my HAL setup and test it...
>
> Thanks!
>
> On 11/20/2013 4:22 PM, sam sokolik wrote:
>> I think you want
>> http://linuxcnc.org/docs/devel/html/gcode/m-code.html#sec:M67-Analog-Output
>> maybe...
>>
>> sam
>> On 11/20/2013 04:16 PM, Charles Steinkuehler wrote:
>>> For my 3D printer, I am currently using the existing M1xx convention to
>>> do things like set the extruder temperature and set the cooling fan
>>> speed.  The problem is that this causes a brief pause in coordinated
>>> motion as the whole of LinuxCNC comes to a stand-still, my shell-script
>>> is executed to set a HAL signal value, and motion resumes again.  Each
>>> pause winds up turning into a small 'blob' of plastic as the extruder
>>> oozes a bit while it remains stuck in one spot.
>>>
>>> So...is there a way to communicate arbitrary values from gcode to HAL
>>> that doesn't cause motion to completely stop (or to stop for a lot less
>>> time than it takes to launch a sub-process running a shell script)?
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Shape the Mobile Experience: Free Subscription
>>> Software experts and developers: Be at the forefront of tech innovation.
>>> Intel(R) Software Adrenaline delivers strategic insight and game-changing
>>> conversations that shape the rapidly evolving mobile landscape. Sign up now.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
>>>
>>>
>>> _______________________________________________
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> ------------------------------------------------------------------------------
>> Shape the Mobile Experience: Free Subscription
>> Software experts and developers: Be at the forefront of tech innovation.
>> Intel(R) Software Adrenaline delivers strategic insight and game-changing
>> conversations that shape the rapidly evolving mobile landscape. Sign up now.
>> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>
>
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
>
>
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to