Start and Stop sampler
08 Mar 2012 12:27 - 08 Mar 2012 13:00 #18457
by Fremder
Start and Stop sampler was created by Fremder
Hi,
i have a litle problem
to start the
sampler.0.enable 1
to end
sampler.0.enable 0
nice and ok. ...
to make a exact START and STOP i search for a PIN and the count its to set.
# if sampler.sample-num > 1000 then sampler.enabled 0
when i make a timing for 1000 steps then the sampler.sample-num goes from 0 to ... 1000
its there = 1000 then the sampler "must" be stoped with sampler.enabled 0
*g*
yes its not verry nice code from me (I am ashamed)
i started with in gcode with M171 and finish with M172 at the end from gcode.
then i have linear-way's there was >insinde< 1000 steps but sometimes
the drive is a little slower and then the sampler overruns
# if sampler.sample-num > 1000 then sampler.enabled 0
i think this make a autoStop
i have a litle problem
to start the
sampler.0.enable 1
to end
sampler.0.enable 0
nice and ok. ...
to make a exact START and STOP i search for a PIN and the count its to set.
# if sampler.sample-num > 1000 then sampler.enabled 0
when i make a timing for 1000 steps then the sampler.sample-num goes from 0 to ... 1000
its there = 1000 then the sampler "must" be stoped with sampler.enabled 0
*g*
yes its not verry nice code from me (I am ashamed)
i started with in gcode with M171 and finish with M172 at the end from gcode.
then i have linear-way's there was >insinde< 1000 steps but sometimes
the drive is a little slower and then the sampler overruns
# if sampler.sample-num > 1000 then sampler.enabled 0
i think this make a autoStop
Last edit: 08 Mar 2012 13:00 by Fremder.
Please Log in or Create an account to join the conversation.
Time to create page: 0.147 seconds