On Wed, 28 Apr 2010 19:40 +0100, "Andy Pugh" <[email protected]> wrote: > On 28 April 2010 19:13, yann <[email protected]> wrote: > > > The result is at the end of movement, M5 take some "long" delay to execute > > (maybe half a second or like that), witch results in a big glue spot at the > > end of the line. > > That sounds rather odd, I have no clue but someone else might know > what is going on. > > You could try M64 / M65 and hook the dispenser up to one of the > motion.digital-out-XX lines. > http://www.linuxcnc.org/docview/html/gcode_main.html#sec:M62-to-M65: > > -- > atp >
You want to use M62 and M63. If you program: G21 (use mm) G64 P1 (blending, with 1mm tolerance) G0 X0 Y0 (go to start position) G1 X100 F100 (move without dispensing) M62 P1 (turn on dispenser) G1 Y100 F100 (move while dispensing) M63 P1 (turn off dispenser) G1 X0 F100 (move without dispensing) Output 1 will turn on as X midway through the blend between the first two moves. (Since those two moves are a 90 degree turn, the blend will result in a roughly 1mm radius at the corner). Read the documentation for G61, G61.1, G64 for more about blending. Read the documentation for M62/63 for more about digital outputs. Note that you probably don't want to use M64/65. M64 and M65 are executed as soon as the interpreter reads them, while motion commands are queued up and each one is executed when the previous one finishes, so the motion and the glue would be out of sync. Regards, John Kasunich -- John Kasunich [email protected] ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
